~ / rigs / diminishedprime / ai-dotfiles

diminishedprime/ai-dotfiles

AI tool dotfiles (Claude config, skills, agents, hooks)

↗ GitHub ★ 1 MIT updated 3mo ago personal setup Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~1.7k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit diminishedprime/ai-dotfiles/.claude ./rig-ai-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.

$ npx degit diminishedprime/ai-dotfiles/.claude/skills/catchup .claude/skills/catchup
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/git-start-tracking .claude/skills/git-start-tracking
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/semantic-commit .claude/skills/semantic-commit
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/stop-the-firehose .claude/skills/stop-the-firehose
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/tdd .claude/skills/tdd
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/worktree-implement .claude/skills/worktree-implement
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/worktree-merge .claude/skills/worktree-merge
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/worktree-new-feature .claude/skills/worktree-new-feature
$ npx degit diminishedprime/ai-dotfiles/.claude/skills/zensical .claude/skills/zensical
$ curl -fsSL --create-dirs -o .claude/agents/semantic-commit-audit.md https://raw.githubusercontent.com/diminishedprime/ai-dotfiles/main/.claude/agents/semantic-commit-audit.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": "~/.claude/hooks/pre-tool-use.sh"
          }
        ]
      },
      {
        "matcher": "Read|WebFetch|WebSearch|Write|Edit|Task|Agent",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/log-read.sh"
          }
        ]
      }
    ]
  }
}

Skills (9)

Subagents (1)

semantic-commit-audit
model: haiku
—

Hooks (4)

eventmatcherruns
PreToolUseBash~/.claude/hooks/pre-tool-use.sh
PreToolUseRead|WebFetch|WebSearch|Write|Edit|Task|Agent~/.claude/hooks/log-read.sh
PostToolUseRead|WebFetch|WebSearch|Write|Edit|Task|Agent~/.claude/hooks/log-read.sh
PostToolUseEdit|Write|MultiEditcommand -v prettier >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read -r f; case "$f" in *.md) prettier --prose-wrap always --write "$f" ;; esac; } 2>/dev/null || true

Permissions

deny (0)
—
ask (0)
—
allow (3)
Write(~/worktree-features/*.md)
Edit(~/worktree-features/*.md)
Read(~/.claude/skills/**)

Similar rigs

copied ✓