~ / rigs / habibafaisal / falcon

habibafaisal/falcon

A Claude Code harness for careful projects: codebases where a silent bug is expensive, the kind that passes its own tests and is wrong anyway.

↗ GitHub ★ 0 MIT updated 26d ago project Claude Code
stack: Python
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~1.9k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 39/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit habibafaisal/falcon/.claude ./rig-falcon  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit habibafaisal/falcon/skills/falcon-init .claude/skills/falcon-init
$ npx degit habibafaisal/falcon/template/.claude/skills/falcon-setup .claude/skills/falcon-setup
$ npx degit habibafaisal/falcon/template/.claude/skills/review-harness .claude/skills/review-harness
$ curl -fsSL --create-dirs -o .claude/agents/oracle.md https://raw.githubusercontent.com/habibafaisal/falcon/main/template/.claude/agents/oracle.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/template/.claude/hooks/no_stash_while_live.py\""
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/template/.claude/hooks/no_discard_uncommitted.py\""
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/no_stash_while_live.py\""
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/no_discard_uncommitted.py\""
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/human_ratifies.py\""
          }
        ]
      },
      {
        "matcher": "Write|Edit|MultiEdit|NotebookEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/protect_paths.py\""
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/human_ratifies.py\""
          }
        ]
      }
    ]
  }
}

Skills (3)

Subagents (1)

oracleThe codebase oracle — consult-only. Ask it "where does X live", "which invariant governs Y", "is Z built / designed-not-wired / ruled-unbuilt / unruled", "why is it shaped this way", "what must stay i

Hooks (8)

eventmatcherruns
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/template/.claude/hooks/no_stash_while_live.py"
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/template/.claude/hooks/no_discard_uncommitted.py"
PreToolUseWrite|Edit|MultiEdit|NotebookEditpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/protect_paths.py"
PreToolUseWrite|Edit|MultiEdit|NotebookEditpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/human_ratifies.py"
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/no_stash_while_live.py"
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/no_discard_uncommitted.py"
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/.claude/hooks/human_ratifies.py"
Stop*python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/next_md_size.py"

Similar rigs

copied ✓