cus45/ccg-switch
管理您的 Claude · Codex · Gemini 配置
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code
$ npx degit cus45/ccg-switch/.claude ./rig-ccg-switch # 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 cus45/ccg-switch/.agents/skills/trellis-before-dev .claude/skills/trellis-before-dev $ npx degit cus45/ccg-switch/.agents/skills/trellis-brainstorm .claude/skills/trellis-brainstorm $ npx degit cus45/ccg-switch/.agents/skills/trellis-break-loop .claude/skills/trellis-break-loop $ npx degit cus45/ccg-switch/.agents/skills/trellis-check .claude/skills/trellis-check $ npx degit cus45/ccg-switch/.agents/skills/trellis-continue .claude/skills/trellis-continue $ npx degit cus45/ccg-switch/.agents/skills/trellis-finish-work .claude/skills/trellis-finish-work $ npx degit cus45/ccg-switch/.agents/skills/trellis-meta .claude/skills/trellis-meta $ npx degit cus45/ccg-switch/.agents/skills/trellis-start .claude/skills/trellis-start $ npx degit cus45/ccg-switch/.agents/skills/trellis-update-spec .claude/skills/trellis-update-spec
$ curl -fsSL --create-dirs -o .claude/agents/trellis-check.md https://raw.githubusercontent.com/cus45/ccg-switch/main/.claude/agents/trellis-check.md $ curl -fsSL --create-dirs -o .claude/agents/trellis-implement.md https://raw.githubusercontent.com/cus45/ccg-switch/main/.claude/agents/trellis-implement.md $ curl -fsSL --create-dirs -o .claude/agents/trellis-research.md https://raw.githubusercontent.com/cus45/ccg-switch/main/.claude/agents/trellis-research.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": "Task",
"hooks": [
{
"type": "command",
"command": "python .claude/hooks/inject-subagent-context.py"
}
]
},
{
"matcher": "Agent",
"hooks": [
{
"type": "command",
"command": "python .claude/hooks/inject-subagent-context.py"
}
]
}
]
}
} Skills (9)
trellis-before-devtrellis-brainstormtrellis-break-looptrellis-checktrellis-continuetrellis-finish-worktrellis-metatrellis-starttrellis-update-spec
Subagents (3)
| trellis-check | | |
| trellis-implement | | |
| trellis-research | | |
Hooks (6)
| event | matcher | runs |
|---|---|---|
| SessionStart | startup | python .claude/hooks/session-start.py |
| SessionStart | clear | python .claude/hooks/session-start.py |
| SessionStart | compact | python .claude/hooks/session-start.py |
| PreToolUse | Task | python .claude/hooks/inject-subagent-context.py |
| PreToolUse | Agent | python .claude/hooks/inject-subagent-context.py |
| UserPromptSubmit | * | python .claude/hooks/inject-workflow-state.py |
Slash commands (2)
/trellis/continue/trellis/finish-work
Similar rigs
fy-agent/fyagent
For You Agent——AI 时代的个人随身数字人格。把你的模型、AI 账号、技能、提示词和工作方式,带到每一个 AI 工具里。
Skill Collector 1.2k tok ·
gdm257/dotfiles
—
Skill Collector 5.2k tok ·
cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
Automator 7.3k tok ·
FailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Automator 22.9k tok ·