~ / rigs / marcuslannister / claude-code-settings

marcuslannister/claude-code-settings

Claude Code settings, hooks, and skills

↗ GitHub ★ 0 MIT updated today personal setup Claude CodeCopilot Claude plugin
field: unknown workflow: Planning & specsPR / code review
stack: Shell
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
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · Sandbox or ask-first rules · details
Quality 22/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit marcuslannister/claude-code-settings/agents ./rig-claude-code-settings/agents
$ npx degit marcuslannister/claude-code-settings/hooks ./rig-claude-code-settings/hooks

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 marcuslannister/claude-code-settings/plugins/autonomous-skill/skills/autonomous-skill .claude/skills/autonomous-skill
$ npx degit marcuslannister/claude-code-settings/plugins/codex-skill/skills/codex-skill .claude/skills/codex-skill
$ npx degit marcuslannister/claude-code-settings/plugins/kiro-skill/skills/kiro-skill .claude/skills/kiro-skill
$ npx degit marcuslannister/claude-code-settings/plugins/nanobanana-skill/skills/nanobanana-skill .claude/skills/nanobanana-skill
$ npx degit marcuslannister/claude-code-settings/plugins/spec-kit-skill/skills/spec-kit-skill .claude/skills/spec-kit-skill
$ npx degit marcuslannister/claude-code-settings/plugins/youtube-transcribe-skill/skills/youtube-transcribe-skill .claude/skills/youtube-transcribe-skill
$ curl -fsSL --create-dirs -o .claude/agents/Explore.md https://raw.githubusercontent.com/marcuslannister/claude-code-settings/main/agents/Explore.md
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/marcuslannister/claude-code-settings/main/agents/implementer.md
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/marcuslannister/claude-code-settings/main/agents/reviewer.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": [
      "Bash(rm -rf:*)",
      "Bash(rm -fr:*)",
      "Read(.env)",
      "Read(.env.*)",
      "Read(**/.env)",
      "Read(**/.env.*)",
      "Read(~/.ssh/**)",
      "Read(~/.aws/**)",
      "Read(**/*credential*)",
      "Read(**/*secret*)",
      "Read(**/*.pem)",
      "Read(**/*.key)",
      "WebFetch"
    ],
    "ask": [
      "Bash(sudo:*)",
      "Bash(chmod 777:*)",
      "Bash(git push --force:*)",
      "Bash(git push -f:*)",
      "Bash(git reset --hard:*)",
      "Bash(git clean -fd:*)",
      "Bash(npm publish:*)",
      "Bash(eval:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|NotebookEdit|mcp__anvil-emacs-eval__(file-(replace-string|replace-regexp|batch|batch-across|insert-at-line|de",
        "hooks": [
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/block-skill-copy-edit.sh\""
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/block-git-destructive.sh\""
          },
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/block-env-dump.sh\""
          },
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/block-secret-file-read.sh\""
          },
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/enforce-modern-cli.sh\""
          },
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/gh-json.sh\""
          },
          {
            "type": "command",
            "command": "\"$HOME/.claude/hooks/redirect-to-anvil.sh\""
          }
        ]
      }
    ]
  }
}

Skills (6)

Subagents (3)

Explore
model: haiku
Fast read-only search. Use for file search, symbol lookup, call sites, and finding tests.
implementer
model: sonnet
Implements one bounded task from the architect and runs the checks that the task names.
reviewer
model: opus
Reviews a candidate change that the architect supplies, for bugs, regressions, and security. Use after each implementer task, before the architect accepts it.

Hooks (13)

eventmatcherruns
PreToolUseEdit|Write|NotebookEdit|mcp__anvil-emacs-eval__(file-(replace-string|replace-regexp|batch|batch-across|insert-at-line|de"$HOME/.claude/hooks/block-skill-copy-edit.sh"
PreToolUseBash"$HOME/.claude/hooks/block-git-destructive.sh"
PreToolUseBash"$HOME/.claude/hooks/block-env-dump.sh"
PreToolUseBash"$HOME/.claude/hooks/block-secret-file-read.sh"
PreToolUseBash"$HOME/.claude/hooks/enforce-modern-cli.sh"
PreToolUseBash"$HOME/.claude/hooks/gh-json.sh"
PreToolUseBash"$HOME/.claude/hooks/redirect-to-anvil.sh"
SessionStart*bash "$HOME/.claude/hooks/herdr-agent-state.sh" session
SessionStart*bash "$HOME/.claude/hooks/nowledge-lean.sh"
SessionStart*bash "$HOME/.claude/hooks/ponytail-lean.sh"
SessionStart*bash "$HOME/.claude/hooks/eli5-lean.sh"
UserPromptSubmit*codegraph prompt-hook
PostToolUse*"$HOME/.claude/hooks/context-handoff.sh"

Plugins (5)

mattpocock-skills@mattpocockponytail@ponytailnowledge-mem@nowledge-communityeli5@claude-communityrust-analyzer-lsp@claude-plugins-official

Permissions

deny (13)
Bash(rm -rf:*)
Bash(rm -fr:*)
Read(.env)
Read(.env.*)
Read(**/.env)
Read(**/.env.*)
Read(~/.ssh/**)
Read(~/.aws/**)
Read(**/*credential*)
Read(**/*secret*)
Read(**/*.pem)
Read(**/*.key)
WebFetch
ask (8)
Bash(sudo:*)
Bash(chmod 777:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git reset --hard:*)
Bash(git clean -fd:*)
Bash(npm publish:*)
Bash(eval:*)
allow (14)
Skill(codex-skill)
Skill(claude-code-settings:codex-skill)
Skill(nanobanana-skill)
Skill(claude-code-settings:nanobanana-skill)
Skill(youtube-transcribe-skill)
Skill(claude-code-settings:youtube-transcribe-skill)
Skill(autonomous-skill)
Skill(claude-code-settings:autonomous-skill)
Bash(codex:*)
Bash(eza:*)
Bash(fd:*)
Bash(rg:*)
Bash(echo:*)
mcp__codegraph__*

Similar rigs

copied ✓