~ / rigs / fredchu / claude-dotfiles

fredchu/claude-dotfiles

Claude Code configuration: global rules, skills, hooks, settings

↗ GitHub ★ 2 MIT updated 2mo ago personal setup Claude Code
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~1.8k 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 fredchu/claude-dotfiles/skills ./rig-claude-dotfiles/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.

$ npx degit fredchu/claude-dotfiles/skills/apple-notes .claude/skills/apple-notes
$ npx degit fredchu/claude-dotfiles/skills/automl .claude/skills/automl
$ npx degit fredchu/claude-dotfiles/skills/earnings-process .claude/skills/earnings-process
$ npx degit fredchu/claude-dotfiles/skills/earnings-setup .claude/skills/earnings-setup
$ npx degit fredchu/claude-dotfiles/skills/earnings-status .claude/skills/earnings-status
$ npx degit fredchu/claude-dotfiles/skills/forensic-transcript-translator .claude/skills/forensic-transcript-translator
$ npx degit fredchu/claude-dotfiles/skills/futu-indicator-coder .claude/skills/futu-indicator-coder
$ npx degit fredchu/claude-dotfiles/skills/ical-cli .claude/skills/ical-cli
$ npx degit fredchu/claude-dotfiles/skills/notebooklm .claude/skills/notebooklm
$ npx degit fredchu/claude-dotfiles/skills/release-skills .claude/skills/release-skills
$ npx degit fredchu/claude-dotfiles/skills/rem-cli .claude/skills/rem-cli
$ npx degit fredchu/claude-dotfiles/skills/taiwan-earnings-translator .claude/skills/taiwan-earnings-translator

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": "*",
        "hooks": [
          {
            "type": "command",
            "command": "curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d \"$(cat)\" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true"
          }
        ]
      }
    ]
  }
}

Skills (12)

Hooks (13)

eventmatcherruns
PermissionRequest*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
PostToolUseLSP~/.claude/scripts/lsp-retry-hint.sh
PostToolUse*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
PostToolUseFailure*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
PreToolUse*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
SessionEnd*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
SessionStart*~/.claude/scripts/fetch-handoff.sh
SessionStart*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
SessionStart*bash '~/.claude/hooks/herdr-agent-state.sh' session
Stop*~/bin/codex-review-reminder
Stop*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
UserPromptSubmit*curl -sf -m 2 -X POST -H 'Content-Type: application/json' -d "$(cat)" http://localhost:$(cat ~/.ccani/port 2>/dev/null || echo 19280)/hook || true
UserPromptSubmit*~/.claude/scripts/dispatch_advisory_hook.sh

Plugins (21)

claude-code-setup@claude-plugins-officialclaude-hud@claude-hudclaude-md-management@claude-plugins-officialcode-simplifier@claude-plugins-officialcontext7@claude-plugins-officialdesign@knowledge-work-pluginsdiscord@claude-plugins-officialengineering@knowledge-work-pluginsfinance@knowledge-work-pluginsiterm2-tab-status@jaspersui-marketplacemarketing@knowledge-work-pluginsminimalist-entrepreneur@minimalist-entrepreneuroperations@knowledge-work-pluginsplayground@claude-plugins-officialplugin-dev@claude-plugins-officialpyright-lsp@claude-plugins-officialralph-loop@claude-plugins-officialsecurity-guidance@claude-plugins-officialskill-creator@claude-plugins-officialsuperpowers@claude-plugins-officialswift-lsp@claude-plugins-official

Permissions

deny (0)
—
ask (0)
—
allow (89)
Read
Write
Edit
Glob
Grep
Bash(git:*)
Bash(ls:*)
Bash(node:*)
Bash(npm:*)
Bash(npx:*)
Bash(python3:*)
Bash(pip:*)
Bash(pip3:*)
Bash(cat:*)
Bash(mkdir:*)
Bash(cp:*)
Bash(mv:*)
Bash(trash:*)
Bash(gh:*)
Bash(mcporter:*)
Bash(openclaw:*)
Bash(claude:*)
Bash(which:*)
Bash(find:*)
Bash(mdfind:*)
Bash(swift:*)
Bash(xcodebuild:*)
Bash(xcrun:*)
Bash(~/bin/rem:*)
Bash(~/bin/ical:*)
Bash(echo:*)
Bash(head:*)
Bash(tail:*)
Bash(wc:*)
Bash(sort:*)
Bash(uniq:*)
Bash(dirname:*)
Bash(basename:*)
Bash(date:*)
Bash(curl:*)
Bash(jq:*)
Bash(sed:*)
Bash(awk:*)
Bash(tar:*)
Bash(unzip:*)
Bash(chmod:*)
Bash(touch:*)
Bash(diff:*)
Bash(tee:*)
Bash(open:*)
Bash(pbcopy:*)
Bash(pbpaste:*)
Bash(codex:*)
Bash(~/bin/codex-dispatch:*)
Bash(~/bin/codex-auto-review:*)
Bash(~/bin/codex-or-local:*)
Bash(git init:*)
Bash(git add:*)
Bash(git rm:*)
Bash(git commit:*)

Similar rigs

copied ✓