~ / rigs / akumidv / ai_akmon

akumidv/ai_akmon

An LLM-agnostic governance baseline for AI-assisted software development — separating how agents build a project from how they use it. Best-practices reference, deployable as a submodule.

↗ GitHub ★ 1 NOASSERTION updated 4d ago project Claude CodeCodex
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~1.3k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit akumidv/ai_akmon/.claude ./rig-ai_akmon  # 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 akumidv/ai_akmon/skills/release .claude/skills/release
$ npx degit akumidv/ai_akmon/skills/stats-digest .claude/skills/stats-digest

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/hooks/git-commit-guard.py\""
          }
        ]
      },
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/hooks/role-on-code.py\""
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/hooks/analysis-guard.py\""
          }
        ]
      },
      {
        "matcher": "Task|Agent",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/hooks/delegation-log.py\""
          }
        ]
      },
      {
        "matcher": "Bash|Edit|Write|MultiEdit|Task|Agent|Read|Grep|Glob",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR/hooks/delegation-nudge.py\""
          }
        ]
      }
    ]
  }
}

Skills (2)

Hooks (9)

eventmatcherruns
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR/hooks/git-commit-guard.py"
PreToolUseEdit|Write|MultiEditpython3 "$CLAUDE_PROJECT_DIR/hooks/role-on-code.py"
PreToolUseEdit|Write|MultiEditpython3 "$CLAUDE_PROJECT_DIR/hooks/analysis-guard.py"
PreToolUseTask|Agentpython3 "$CLAUDE_PROJECT_DIR/hooks/delegation-log.py"
PreToolUseBash|Edit|Write|MultiEdit|Task|Agent|Read|Grep|Globpython3 "$CLAUDE_PROJECT_DIR/hooks/delegation-nudge.py"
SessionStart*python3 "$CLAUDE_PROJECT_DIR/hooks/session-start-agent.py"
SessionStart*python3 "$CLAUDE_PROJECT_DIR/hooks/model-routing.py"
UserPromptSubmit*python3 "$CLAUDE_PROJECT_DIR/hooks/model-routing.py"
Stop*python3 "$CLAUDE_PROJECT_DIR/hooks/gate-audit.py"

Similar rigs

copied ✓