~ / rigs / korthout / mac

korthout/mac

dotfiles and package management for my mac

↗ GitHub ★ 1 no license updated today personal setup Claude Code
stack: LuaShell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.3k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 18/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit korthout/mac/.claude ./rig-mac  # 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 korthout/mac/.claude/skills/commit-style .claude/skills/commit-style
$ npx degit korthout/mac/.claude/skills/create-pr .claude/skills/create-pr
$ npx degit korthout/mac/.claude/skills/create-tdd-plan .claude/skills/create-tdd-plan
$ npx degit korthout/mac/.claude/skills/daily-standup .claude/skills/daily-standup
$ npx degit korthout/mac/.claude/skills/grill-me-with-docs .claude/skills/grill-me-with-docs
$ npx degit korthout/mac/.claude/skills/grill-me .claude/skills/grill-me
$ npx degit korthout/mac/.claude/skills/optimize-skill .claude/skills/optimize-skill
$ npx degit korthout/mac/.claude/skills/pdp-confidence-update .claude/skills/pdp-confidence-update
$ npx degit korthout/mac/.claude/skills/pr-review-comments .claude/skills/pr-review-comments
$ npx degit korthout/mac/.claude/skills/resolve-backport-conflicts .claude/skills/resolve-backport-conflicts
$ npx degit korthout/mac/.claude/skills/review-epic .claude/skills/review-epic
$ npx degit korthout/mac/.claude/skills/review-triage .claude/skills/review-triage
$ npx degit korthout/mac/.claude/skills/start-tdd .claude/skills/start-tdd
$ npx degit korthout/mac/.claude/skills/support-case .claude/skills/support-case
$ npx degit korthout/mac/.claude/skills/wait-what .claude/skills/wait-what
$ npx degit korthout/mac/.claude/skills/writing-as-me .claude/skills/writing-as-me
$ curl -fsSL --create-dirs -o .claude/agents/adversarial-verifier.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/adversarial-verifier.md
$ curl -fsSL --create-dirs -o .claude/agents/codebase-analyzer.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/codebase-analyzer.md
$ curl -fsSL --create-dirs -o .claude/agents/codebase-locator.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/codebase-locator.md
$ curl -fsSL --create-dirs -o .claude/agents/codebase-pattern-finder.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/codebase-pattern-finder.md
$ curl -fsSL --create-dirs -o .claude/agents/design-alignment-reviewer.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/design-alignment-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/github-issue-searcher.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/github-issue-searcher.md
$ curl -fsSL --create-dirs -o .claude/agents/review-triage.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/review-triage.md
$ curl -fsSL --create-dirs -o .claude/agents/cheap-zones.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/review-triage/cheap-zones.md
$ curl -fsSL --create-dirs -o .claude/agents/dangers.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/review-triage/dangers.md
$ curl -fsSL --create-dirs -o .claude/agents/observations.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/review-triage/observations.md
$ curl -fsSL --create-dirs -o .claude/agents/splits.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/review-triage/splits.md
$ curl -fsSL --create-dirs -o .claude/agents/transcript-extractor.md https://raw.githubusercontent.com/korthout/mac/main/.claude/agents/transcript-extractor.md

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

{
  "permissions": {
    "deny": [
      "Read(~/.m2/settings.xml)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.claude/hooks/commit-title-check.sh"
          },
          {
            "type": "command",
            "command": "rtk hook claude"
          },
          {
            "type": "command",
            "command": "python3 $HOME/.claude/hooks/check-no-hardwrap.py"
          }
        ]
      },
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "if [ -z \"${HOME-}\" ]; then case \"${OSTYPE-}\" in msys*|cygwin*|win32*) printf '{}\\n'; if [ -z \"${ORCA_AGENT_HOOK_PORT-}\" ] || [ -z \"${ORCA_AGENT_HOOK_TOKEN-}\" ] || [ -z \"${ORCA_PANE_KEY-}\" ]; then exit 0; fi; { command -p cat 2>/dev/null || "
          }
        ]
      }
    ]
  },
  "sandbox": {
    "enabled": true
  }
}

Skills (16)

Subagents (12)

adversarial-verifier
model: sonnet
Independently verifies one or a few specific, already-stated claims or findings (code behavior, computed numbers, root causes) against ground truth and returns a CONFIRMED/REFUTED verdict with evidenc
codebase-analyzer
model: sonnet
Analyzes codebase implementation details and how components work
codebase-locator
model: haiku
Locates files, directories, and components relevant to a feature or task
codebase-pattern-finder
model: haiku
Finds similar implementations, usage examples, and patterns to model after
design-alignment-reviewer
model: sonnet
Reviews a proposed feature's design or spec — or the concepts a PR introduces — for whether the intended behavior fits the product's existing conceptual model (naming, semantics, existing precedent).
github-issue-searcher
model: haiku
Searches GitHub issues to find existing issues matching a description, error, or stack trace
review-triage
model: sonnet
Use when reviewing someone else's pull request and deciding how many minutes it deserves and where to aim them.
cheap-zones—
dangers—
observations—
splits—
transcript-extractor
model: haiku
Extracts structured data (tool-call histograms, Agent subagent_type/prompt patterns, specific field values) from Claude Code JSONL transcripts and usage-data session-meta/facets files, using targeted

Hooks (20)

eventmatcherruns
PreToolUseBash$HOME/.claude/hooks/commit-title-check.sh
PreToolUseBashrtk hook claude
PreToolUseBashpython3 $HOME/.claude/hooks/check-no-hardwrap.py
PreToolUse*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
WorktreeCreate*$HOME/.claude/hooks/worktree-create.sh
UserPromptSubmit*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
Stop*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
PostToolUse*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
PostToolUseFailure*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
PermissionRequest*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
SessionStart*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
StopFailure*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
SubagentStart*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
SubagentStop*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
TeammateIdle*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
PostCompact*if [ -n "${HOME-}" ] && [ -f "${HOME-}/.orca/agent-hooks/claude-hook.sh" ] && [ -r "${HOME-}/.orca/agent-hooks/claude-hook.sh" ] && [ -x "${HOME-}/.orca/agent-hooks/claude-hook.sh" ]; then ORCA_HOOK_AGENT_PID="${PPID:-}"; export ORCA_HOOK_A
SessionEnd*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
Elicitation*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
ElicitationResult*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||
PostToolBatch*if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null ||

Plugins (2)

claude-hud@claude-hudcreate-architecture-decision@actora

Permissions

deny (1)
Read(~/.m2/settings.xml)
ask (0)
—
allow (42)
Bash(curl -s "https://api.github.com/repos/camunda/camunda/actions/*)
Bash(curl -s "https://api.github.com/repos/camunda/camunda/issues/*)
Bash(curl -s "https://api.github.com/repos/camunda/camunda/pulls/*)
Bash(curl -s "https://api.github.com/search/issues?q*)
Bash(gh api *)
Bash(gh issue *)
Bash(gh pr edit *)
Bash(gh search *)
Bash(git add *)
Bash(git branch *)
Bash(git commit *)
Bash(git describe *)
Bash(git diff *)
Bash(git log *)
Bash(git ls-files *)
Bash(git remote *)
Bash(git rev-parse *)
Bash(git show *)
Bash(git stash *)
Bash(git status *)
Bash(git tag *)
Bash(git worktree *)
Bash(mvn compile *)
Bash(mvn install *)
Bash(mvn license:format *)
Bash(mvn spotless:apply *)
Bash(mvn test *)
Bash(mvn test-compile *)
Bash(mvn verify *)
Bash(rtk diff *)
Bash(rtk find *)
Bash(rtk gh *)
Bash(rtk git *)
Bash(rtk grep *)
Bash(rtk json *)
Bash(rtk log *)
Bash(rtk ls *)
Bash(rtk read *)
Bash(rtk rg *)
Bash(rtk tree *)
mcp__claude_ai_Glean__search
mcp__claude_ai_Glean__read_document

Similar rigs

copied ✓