swain-config

Installation
SKILL.md

Governance

Ensure the host project's agent context file contains the swain governance rules. This skill is idempotent — run it every session; it only writes on first use.

Session-start check

  1. Detect the agent platform and locate the context file:

    Platform Context file Detection
    Claude Code CLAUDE.md (project root) Default — use if no other platform detected
    Cursor .cursor/rules/swain-governance.mdc .cursor/ directory exists
  2. Check whether governance rules are already present:

    grep -l "swain governance" CLAUDE.md .cursor/rules/swain-governance.mdc 2>/dev/null
    
Related skills

More from cristoslc/swain

Installs
19
Repository
cristoslc/swain
GitHub Stars
2
First Seen
Mar 8, 2026