sarge-rzp/dotfiles
nix-darwin + home-manager dotfiles: nvim, wezterm, herdr, claude
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code
$ npx degit sarge-rzp/dotfiles/home/.claude ./rig-dotfiles # 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.
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": "rtk hook claude"
}
]
},
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "\"~/src/slash-cli/slash-hooks/capture.sh\" PreToolUse || true"
}
]
},
{
"matcher": "Skill",
"hooks": [
{
"type": "command",
"command": "\"~/src/slash-cli/slash-hooks/skill-precedence.sh\" || true"
}
]
}
]
}
} Hooks (22)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | rtk hook claude |
| PreToolUse | * | "~/src/slash-cli/slash-hooks/capture.sh" PreToolUse || true |
| PreToolUse | Skill | "~/src/slash-cli/slash-hooks/skill-precedence.sh" || true |
| SessionStart | * | "~/src/slash-cli/slash-hooks/capture.sh" SessionStart || true |
| SessionStart | * | "~/src/slash-cli/slash-hooks/mandatory-skills.sh" || true |
| SessionStart | * | "~/src/slash-cli/slash-hooks/auto-update.sh" || true |
| SessionStart | * | "~/src/slash-cli/slash-hooks/route.sh" || true |
| SessionStart | * | "~/src/slash-cli/slash-hooks/loop-gate.sh" || true |
| SessionStart | * | bash '~/.claude/hooks/herdr-agent-state.sh' session |
| UserPromptSubmit | * | "~/src/slash-cli/slash-hooks/capture.sh" UserPromptSubmit || true |
| UserPromptSubmit | * | "~/src/slash-cli/slash-hooks/loop-select.sh" || true |
| UserPromptExpansion | * | "~/src/slash-cli/slash-hooks/engram-inject.sh" || true |
| Stop | * | "~/src/slash-cli/slash-hooks/engram-feedback-reminder.sh" || true |
| Stop | * | "~/src/slash-cli/slash-hooks/loop-gate.sh" || true |
| PostToolUse | * | "~/src/slash-cli/slash-hooks/capture.sh" PostToolUse || true |
| PostToolUse | * | "~/src/slash-cli/slash-hooks/guardrails.sh" PostToolUse || true |
| PostToolUse | Skill | "~/src/slash-cli/slash-hooks/engram-skill-inject.sh" || true |
| PostToolUse | Write | "~/src/slash-cli/slash-hooks/artifact-contract.sh" || true |
| SubagentStart | * | "~/src/slash-cli/slash-hooks/capture.sh" SubagentStart || true |
| SubagentStop | * | "~/src/slash-cli/slash-hooks/capture.sh" SubagentStop || true |
| PreCompact | * | "~/src/slash-cli/slash-hooks/capture.sh" PreCompact || true |
| SessionEnd | * | "~/src/slash-cli/slash-hooks/capture.sh" SessionEnd || true |
Plugins (10)
caveman@cavemansuperpowers@claude-plugins-officialskill-creator@claude-plugins-officialcode-review@razorpay-marketplacecompass@razorpay-marketplacefrontend-engineer@razorpay-marketplacerzp-discover@razorpay-marketplacegithub@claude-plugins-officialredash@razorpay-marketplacewarp@claude-code-warp
Similar rigs
cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
Automator 7.3k tok ·
FailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Automator 22.9k tok ·
caliber-ai-org/ai-setup
Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Automator 3.2k tok ·
asklokesh/loki-mode
Autonomous software factory. Give it a GitHub issue, a spec or a one-line task; get back a pull request with a signed receipt anyone can re-check offline. Runs on your machine with your own keys: Claude, Codex, OpenCode.
Automator 8.2k tok ·