~ / rigs / petekp / claude-code-setup

petekp/claude-code-setup

My forkable Claude Code setup with sync feature

↗ GitHub ★ 47 MIT updated 3d ago personal setup Claude CodeCodex 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
~3.3k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add --transport http openaiDeveloperDocs https://developers.openai.com/mcp
$ npx degit petekp/claude-code-setup/skills ./rig-claude-code-setup/skills

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.

$ claude mcp add --transport http openaiDeveloperDocs https://developers.openai.com/mcp
$ npx degit petekp/claude-code-setup/skills/calldiff .claude/skills/calldiff
$ npx degit petekp/claude-code-setup/skills/catch-up .claude/skills/catch-up
$ npx degit petekp/claude-code-setup/skills/claude-code-audit .claude/skills/claude-code-audit
$ npx degit petekp/claude-code-setup/skills/clean-copy .claude/skills/clean-copy
$ npx degit petekp/claude-code-setup/skills/code-comments .claude/skills/code-comments
$ npx degit petekp/claude-code-setup/skills/deep-research .claude/skills/deep-research
$ npx degit petekp/claude-code-setup/skills/discernment-nudge .claude/skills/discernment-nudge
$ npx degit petekp/claude-code-setup/skills/exhaustive-systems-analysis .claude/skills/exhaustive-systems-analysis
$ npx degit petekp/claude-code-setup/skills/frame-check .claude/skills/frame-check
$ npx degit petekp/claude-code-setup/skills/herdr-names .claude/skills/herdr-names
$ npx degit petekp/claude-code-setup/skills/latent-potential .claude/skills/latent-potential
$ npx degit petekp/claude-code-setup/skills/literate-guide .claude/skills/literate-guide
$ npx degit petekp/claude-code-setup/skills/plain .claude/skills/plain
$ npx degit petekp/claude-code-setup/skills/pr-description .claude/skills/pr-description
$ npx degit petekp/claude-code-setup/skills/pr-screenshot-comparison .claude/skills/pr-screenshot-comparison
$ npx degit petekp/claude-code-setup/skills/pr-self-review .claude/skills/pr-self-review
$ npx degit petekp/claude-code-setup/skills/react-change-review .claude/skills/react-change-review
$ npx degit petekp/claude-code-setup/skills/refine-prose .claude/skills/refine-prose
$ npx degit petekp/claude-code-setup/skills/spike .claude/skills/spike
$ npx degit petekp/claude-code-setup/skills/typography .claude/skills/typography
$ npx degit petekp/claude-code-setup/skills/vignette-todo-run .claude/skills/vignette-todo-run
$ npx degit petekp/claude-code-setup/skills/write-goal .claude/skills/write-goal

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

{
  "permissions": {
    "deny": [
      "**/.env*",
      "**/*.env",
      "**/secrets/**",
      "**/*secret*",
      "**/*credentials*",
      "**/node_modules/**",
      "**/.next/**",
      "**/dist/**",
      "**/build/**",
      "**/*.log"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$HOME/.claude/scripts/gh-skill-nudge.sh\" 2>/dev/null || true"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
OpenAI Developer Docs · "openaiDeveloperDocs" remote · remote 1.0k

Skills (22)

Hooks (9)

eventmatcherruns
SessionEnd*~/.claude/scripts/session-end-cleanup.sh
UserPromptSubmit*~/.claude/scripts/skill-usage-tracker.sh
PostToolUseSkill~/.claude/scripts/skill-usage-tracker.sh
Stop*$HOME/.claude/scripts/mcp-auth-watch.sh Stop
PreToolUseBashbash "$HOME/.claude/scripts/gh-skill-nudge.sh" 2>/dev/null || true
SessionStart*~/.claude/scripts/sync-codex-skills.sh
SessionStart*~/.claude/scripts/skill-doctor.sh --quiet
SessionStart*$HOME/.claude/scripts/mcp-auth-watch.sh SessionStart
SessionStart^(startup|resume|clear|compact|fork)$bash '~/.claude/hooks/herdr-agent-state.sh' session

Plugins (9)

codex@openai-codexlinear@claude-plugins-officialnotion@claude-plugins-officialplugin-dev@claude-plugins-officialrust-analyzer-lsp@claude-plugins-officialskill-creator@claude-plugins-officialslack@claude-plugins-officialswift-lsp@claude-plugins-officialtypescript-lsp@claude-plugins-official

Permissions

deny (10)
**/.env*
**/*.env
**/secrets/**
**/*secret*
**/*credentials*
**/node_modules/**
**/.next/**
**/dist/**
**/build/**
**/*.log
ask (0)
—
allow (120)
Edit
Search
WebSearch
Write
Bash(./setup.sh *)
Bash(~/.claude/scripts/*)
Bash(agent-browser *)
Bash(agent-browser * && *)
Bash(agent-browser *; *)
Bash(agent-browser * 2>/dev/null*)
Bash(AGENT_BROWSER_SESSION=* agent-browser *)
Bash(AGENT_BROWSER_SESSION=* agent-browser close)
Bash(AGENT_BROWSER_SESSION=* agent-browser open *)
Bash(AGENT_BROWSER_SESSION=* agent-browser snapshot*)
Bash(AGENT_BROWSER_SESSION=* agent-browser screenshot *)
Bash(AGENT_BROWSER_SESSION=* agent-browser set *)
Bash(AGENT_BROWSER_SESSION=* agent-browser click *)
Bash(AGENT_BROWSER_SESSION=* agent-browser fill *)
Bash(AGENT_BROWSER_SESSION=* agent-browser type *)
Bash(AGENT_BROWSER_SESSION=* agent-browser wait *)
Bash(AGENT_BROWSER_SESSION=* agent-browser * && *)
Bash(AGENT_BROWSER_SESSION=* agent-browser *; *)
Bash(AGENT_BROWSER_SESSION=* agent-browser * 2>/dev/null*)
Bash(terminal-browser open *)
Bash(terminal-browser new-tab *)
Bash(terminal-browser ls)
Bash(terminal-browser ls *)
Bash(terminal-browser action *)
Bash(terminal-browser action * && *)
Bash(terminal-browser action *; *)
Bash(sleep *)
Bash(sleep)
Bash(cat *)
Bash(cd *)
Bash(cd * && swift build)
Bash(cd * && swift build *)
Bash(cd * && swift run)
Bash(cd * && swift run *)
Bash(claude plugin *)
Bash(claude skill --help *)
Bash(claude skills --help *)
Bash(curl *)
Bash(echo *)
Bash(find *)
Bash(gh *)
Bash(git *)
Bash(grep *)
Bash(jq *)
Bash(lsof *)
Bash(ls *)
Bash(mkdir *)
Bash(npm *)
Bash(pbcopy *)
Bash(pgrep *)
Bash(pkill *)
Bash(pkill -f *)
Bash(pnpm *)
Bash(sqlite3 *)
Bash(swift build *)
Bash(swift run *)

Similar rigs

copied ✓