~ / rigs / mquesada02 / agent-config

mquesada02/agent-config

Personal Claude Code config: CLAUDE.md, skills, hooks and settings

↗ GitHub ★ 0 MIT updated today personal setup Claude CodeCodex
stack: Python
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~8.8k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 20/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit mquesada02/agent-config/.claude ./rig-agent-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 mquesada02/agent-config/skills/cicd-pipelines .claude/skills/cicd-pipelines
$ npx degit mquesada02/agent-config/skills/codebase-memory .claude/skills/codebase-memory
$ npx degit mquesada02/agent-config/skills/orca-cli .claude/skills/orca-cli
$ npx degit mquesada02/agent-config/skills/orca-computer-use .claude/skills/orca-computer-use
$ npx degit mquesada02/agent-config/skills/orchestration .claude/skills/orchestration
$ npx degit mquesada02/agent-config/skills/plan-review .claude/skills/plan-review
$ npx degit mquesada02/agent-config/skills/smart-commits .claude/skills/smart-commits
$ npx degit mquesada02/agent-config/skills/sql .claude/skills/sql

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

{
  "permissions": {
    "deny": [
      "Edit(~/.local/bin/**)",
      "Edit(~/bin/**)",
      "Edit(//usr/local/bin/**)",
      "Edit(//usr/bin/**)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 -I ~/.claude/hooks/workflow-audit/audit hook pre-tool-use"
          },
          {
            "type": "command",
            "command": "python3 -I ~/.claude/hooks/subagent-readonly/block_subagent_writes.py"
          },
          {
            "type": "command",
            "command": "python3 -I ~/.claude/hooks/setup-diff-prompt/setup_diff_prompt.py"
          },
          {
            "type": "command",
            "command": "python3 -I ~/.claude/hooks/worktree-branch/check_branch_name.py"
          }
        ]
      },
      {
        "matcher": "Grep|Glob",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/cbm-code-discovery-gate"
          }
        ]
      },
      {
        "matcher": "Bash|Read|Grep|Glob",
        "hooks": [
          {
            "type": "command",
            "command": "python3 ~/.claude/hooks/block-aws-credentials.py"
          }
        ]
      },
      {
        "matcher": "Skill",
        "hooks": [
          {
            "type": "command",
            "command": "python3 -I ~/.claude/hooks/forked-skills/block_forked_skills.py"
          }
        ]
      },
      {
        "matcher": "Bash|Monitor",
        "hooks": [
          {
            "type": "command",
            "command": "python3 -I ~/.claude/hooks/redact-secrets/redact_pre.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 || "
          }
        ]
      }
    ]
  }
}

Skills (8)

Hooks (34)

eventmatcherruns
SessionStart*python3 -I ~/.claude/hooks/workflow-audit/audit hook session-start
SessionStartstartup~/.claude/hooks/cbm-session-reminder
SessionStartresume~/.claude/hooks/cbm-session-reminder
SessionStartclear~/.claude/hooks/cbm-session-reminder
SessionStartcompact~/.claude/hooks/cbm-session-reminder
SessionStartstartup~/.claude/hooks/force-model-invocation.sh
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 ||
PreToolUseBashpython3 -I ~/.claude/hooks/workflow-audit/audit hook pre-tool-use
PreToolUseGrep|Glob~/.claude/hooks/cbm-code-discovery-gate
PreToolUseBash|Read|Grep|Globpython3 ~/.claude/hooks/block-aws-credentials.py
PreToolUseBashpython3 -I ~/.claude/hooks/subagent-readonly/block_subagent_writes.py
PreToolUseBashpython3 -I ~/.claude/hooks/setup-diff-prompt/setup_diff_prompt.py
PreToolUseBashpython3 -I ~/.claude/hooks/worktree-branch/check_branch_name.py
PreToolUseSkillpython3 -I ~/.claude/hooks/forked-skills/block_forked_skills.py
PreToolUseBash|Monitorpython3 -I ~/.claude/hooks/redact-secrets/redact_pre.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 ||
SubagentStart*~/.claude/hooks/cbm-subagent-reminder
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 ||
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*python3 -I ~/.claude/hooks/context-handoff/hook.py
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 ||
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 ||
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 ||
PostToolUse*python3 -I ~/.claude/hooks/context-handoff/hook.py
PostToolUseBash|Read|Greppython3 -I ~/.claude/hooks/redact-secrets/redact_post.py
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 ||
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

Plugins (4)

mattpocock-skills@mattpococki-have-adhd@i-have-adhdcontext-mode@context-modediagram-design@diagram-design

Permissions

deny (4)
Edit(~/.local/bin/**)
Edit(~/bin/**)
Edit(//usr/local/bin/**)
Edit(//usr/bin/**)
ask (0)
—
allow (0)
—

Similar rigs

copied ✓