~ / rigs / freemty / ai-dotfiles

freemty/ai-dotfiles

🤖 Sync AI CLI configs (Claude Code, Codex, Gemini) across machines with automatic API key redaction. Deploy to remote servers in one command.

↗ GitHub ★ 4 no license updated 6mo ago personal setup Claude CodeCodexGemini CLI
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~6.6k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Blocks destructive commands · Pre-tool screening hook · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add notion -e NOTION_<redacted> -- npx -y @notionhq/notion-mcp-server
$ npx degit freemty/ai-dotfiles/claude/.claude ./rig-ai-dotfiles  # 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.

$ claude mcp add notion -e NOTION_<redacted> -- npx -y @notionhq/notion-mcp-server
$ curl -fsSL --create-dirs -o .claude/agents/cc-advisor.md https://raw.githubusercontent.com/freemty/ai-dotfiles/main/claude/.claude/agents/cc-advisor.md
$ curl -fsSL --create-dirs -o .claude/agents/fars-system-expert.md https://raw.githubusercontent.com/freemty/ai-dotfiles/main/claude/.claude/agents/fars-system-expert.md

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": "WebFetch",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/webfetch-block.sh"
          }
        ]
      },
      {
        "matcher": "Bash|Write|Edit",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/secrets-guard.sh"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/destructive-git.sh"
          }
        ]
      },
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/codeisland-hook.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
Notion
env: NOTION_TOKEN
npm 6.0k

Subagents (2)

cc-advisor
model: sonnet
>
fars-system-expert
model: opus
>

Hooks (6)

eventmatcherruns
Notification*bash ~/.claude/hooks/notify.sh
PreToolUseWebFetchbash ~/.claude/hooks/webfetch-block.sh
PreToolUseBash|Write|Editbash ~/.claude/hooks/secrets-guard.sh
PreToolUseBashbash ~/.claude/hooks/destructive-git.sh
PreToolUse*bash ~/.claude/hooks/codeisland-hook.sh
Stop*bash ~/.claude/hooks/wiki-auto-ingest.sh

Plugins (11)

claude-api@anthropic-agent-skillscodex@openai-codexdocument-skills@anthropic-agent-skillslabmate@labmate-marketplaceunbox-skills@labmate-marketplacemeta-audit@labmate-marketplacesuperpowers@claude-plugins-officialralph-loop@claude-plugins-officialplugin-dev@claude-plugins-officialchrome-devtools-mcp@claude-plugins-officialhuggingface-skills@claude-plugins-official

Similar rigs

copied ✓