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.
stack: Shell
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
up to ~6.6k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Blocks destructive commands · Pre-tool screening hook · details
Quality 0/100 Guardrails v2
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)
| server | source | est. tokens |
|---|---|---|
| Notion env: NOTION_TOKEN | npm | 6.0k |
Subagents (2)
| cc-advisor model: sonnet | > |
| fars-system-expert model: opus | > |
Hooks (6)
| event | matcher | runs |
|---|---|---|
| Notification | * | bash ~/.claude/hooks/notify.sh |
| PreToolUse | WebFetch | bash ~/.claude/hooks/webfetch-block.sh |
| PreToolUse | Bash|Write|Edit | bash ~/.claude/hooks/secrets-guard.sh |
| PreToolUse | Bash | bash ~/.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
makenotion/claude-code-notion-plugin
Connect Claude Code to Notion via this Plugin
Pragmatist 6.0k tok · · Q0
ushmz/dotfiles
😎 My config files
Pragmatist 6.0k tok · · Q15
ViniVMA/dotfiles
—
Pragmatist 6.0k tok · · Q0
awkoy/notion-mcp-server
Notion MCP server with token auth: connect Claude Code, Claude Desktop, Cursor, VS Code and Codex to Notion pages, databases, comments and files. 3 tools, 94% less context than the official server, works on any plan, runs headless.
Pragmatist 6.1k tok · · Q0