~ / rigs / deancourse / user-dot-agents

deancourse/user-dot-agents

集中版控 Claude Code 使用者層級設定(skills / hooks / settings.json / CLAUDE.md),以 symlink 連回家目錄 — 換機或重灌時 git clone + install.sh 一鍵還原。

↗ GitHub ★ 7 MIT updated 4mo ago personal setup Claude Code
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~911 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit deancourse/user-dot-agents/skills ./rig-user-dot-agents/skills
$ npx degit deancourse/user-dot-agents/hooks ./rig-user-dot-agents/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 deancourse/user-dot-agents/skills/baoyu-infographic .claude/skills/baoyu-infographic
$ npx degit deancourse/user-dot-agents/skills/find-skills .claude/skills/find-skills
$ npx degit deancourse/user-dot-agents/skills/frontend-design .claude/skills/frontend-design
$ npx degit deancourse/user-dot-agents/skills/illustrated-slides-with-nano-banana .claude/skills/illustrated-slides-with-nano-banana

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 *)",
      "Bash(rm -r *)",
      "Bash(rm -R *)",
      "Bash(rm -f *)",
      "Bash(sudo *)",
      "Bash(sudo)",
      "Bash(dd *)",
      "Bash(dd)",
      "Bash(mkfs *)",
      "Bash(mkfs)",
      "Bash(mkfs.*)",
      "Bash(diskutil erase *)",
      "Bash(chmod 777 *)",
      "Bash(chmod -R 777 *)",
      "Bash(git reset --hard *)",
      "Bash(git reset --hard)",
      "Bash(git push --force *)",
      "Bash(git push --force)",
      "Bash(git push -f *)",
      "Bash(git push -f)",
      "Bash(git clean -f *)",
      "Bash(git clean -f)",
      "Bash(git branch -D *)",
      "Bash(shutdown *)",
      "Bash(shutdown)",
      "Bash(reboot)",
      "Bash(reboot *)",
      "Bash(: > *)",
      "Bash(truncate *)",
      "Bash(truncate)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$HOME/.claude/hooks/guard-dangerous-commands.py\""
          }
        ]
      }
    ]
  }
}

Skills (4)

Hooks (1)

eventmatcherruns
PreToolUseBashpython3 "$HOME/.claude/hooks/guard-dangerous-commands.py"

Plugins (5)

codex@openai-codexskill-creator@claude-plugins-officialcontext7@claude-plugins-officialclaude-md-management@claude-plugins-officialzeabur@zeabur

Permissions

deny (31)
Bash(rm -rf *)
Bash(rm -fr *)
Bash(rm -r *)
Bash(rm -R *)
Bash(rm -f *)
Bash(sudo *)
Bash(sudo)
Bash(dd *)
Bash(dd)
Bash(mkfs *)
Bash(mkfs)
Bash(mkfs.*)
Bash(diskutil erase *)
Bash(chmod 777 *)
Bash(chmod -R 777 *)
Bash(git reset --hard *)
Bash(git reset --hard)
Bash(git push --force *)
Bash(git push --force)
Bash(git push -f *)
Bash(git push -f)
Bash(git clean -f *)
Bash(git clean -f)
Bash(git branch -D *)
Bash(shutdown *)
Bash(shutdown)
Bash(reboot)
Bash(reboot *)
Bash(: > *)
Bash(truncate *)
Bash(truncate)
ask (0)
—
allow (0)
—

Similar rigs

copied ✓