~ / rigs / petertriho / nix-config

petertriho/nix-config

Personal nix flakes config

↗ GitHub ★ 4 Unlicense updated today personal setup Claude Code Claude plugin
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~1.3k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
1/5
Pre-tool screening hook · details

Copy this rig

# review before running: this installs third-party code
$ npx degit petertriho/nix-config/dotfiles/claude/.claude ./rig-nix-config  # 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 petertriho/nix-config/dotfiles/agents/.agents/skills/agent-skill-tuning .claude/skills/agent-skill-tuning
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/architecture-review .claude/skills/architecture-review
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/autoresearch .claude/skills/autoresearch
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/code-review .claude/skills/code-review
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/context7 .claude/skills/context7
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/execute .claude/skills/execute
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/execution-review .claude/skills/execution-review
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/plan-evaluate .claude/skills/plan-evaluate
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/plan-to-tasks .claude/skills/plan-to-tasks
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/planner .claude/skills/planner
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/simplify .claude/skills/simplify
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/socratic-quiz .claude/skills/socratic-quiz
$ npx degit petertriho/nix-config/dotfiles/agents/.agents/skills/systematic-debugging .claude/skills/systematic-debugging
$ npx degit petertriho/nix-config/dotfiles/claude/.claude/skills/peter-exp .claude/skills/peter-exp
$ npx degit petertriho/nix-config/dotfiles/claude/.claude/skills/peter .claude/skills/peter
$ npx degit petertriho/nix-config/dotfiles/claude/.claude/skills/pi-subagent .claude/skills/pi-subagent

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": "EnterPlanMode",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$HOME/.claude/hooks/PreToolUse\""
          }
        ]
      }
    ]
  }
}

Skills (16)

Hooks (8)

eventmatcherruns
Notificationpermission_prompt|elicitation_dialogworkmux set-window-status waiting
PermissionRequest*bash "$HOME/.claude/hooks/PermissionRequest"
PreToolUseEnterPlanModebash "$HOME/.claude/hooks/PreToolUse"
PostToolUse*workmux set-window-status working
Stop*bash "$HOME/.claude/hooks/Stop"
Stop*workmux set-window-status done
UserPromptSubmit*bash "$HOME/.claude/hooks/UserPromptSubmit"
UserPromptSubmit*workmux set-window-status working

Similar rigs

copied ✓