~ / rigs / avtak / divan

avtak/divan

A personal system of record that AI coding agents can work in safely: rules, skills, hooks, a lint and git sync.

↗ GitHub ★ 3 NOASSERTION updated 8d ago project Claude CodeCodex
field: unknown workflow: Git & commits
stack: Python
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~3.0k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 20/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit avtak/divan/.claude ./rig-divan  # 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 avtak/divan/skills/delegate .claude/skills/delegate
$ npx degit avtak/divan/skills/focus-guard .claude/skills/focus-guard
$ npx degit avtak/divan/skills/record .claude/skills/record
$ npx degit avtak/divan/skills/repo-sync .claude/skills/repo-sync
$ npx degit avtak/divan/skills/working-terms .claude/skills/working-terms

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|PowerShell",
        "hooks": [
          {
            "type": "command",
            "command": "python3"
          }
        ]
      }
    ]
  }
}

Skills (5)

Hooks (4)

eventmatcherruns
SessionStartstartup|resume|clearpython3
UserPromptSubmit*python3
PreToolUseBash|PowerShellpython3
PostToolUseEdit|Writepython3

Similar rigs

copied ✓