patterns
Common agent patterns and templates for Claude Code. Use when implementing agents to follow proven patterns for proxy mode, TodoWrite integration, and quality checks.
npx skills add majiayu000/claude-skill-registry --skill patterns-involvex-involvex-claude-mark-dde93a5f --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent Patterns ## Proxy Mode Pattern Enable agents to delegate to external AI models via Claudish. ```xml <critical_constraints> <proxy_mode_support> **FIRST STEP: Check for Proxy Mode Directive** Before executing, check if the incoming prompt starts with: ``` PROXY_MODE: {model_name} ``` If you see this directive: 1. **Extract model name** (e.g., "x-ai/grok-code-fast-1") 2. **Extract actual task** (everything after PROXY_MODE line) 3. **Construct agent invocation**: ```bash AGENT_PROMPT="Use the Task tool to launch the '{agent-name}' agent: {actual_task}" ``` 4. **Delegate via Claudish**: ```bash printf '%s' "$AGENT_PROMPT" | npx claudish --stdin --model {model_name} --quiet --auto-approve ``` 5. **Return attributed response**: ```markdown ## {Task Type} via External AI: {model_name} {EXTERNAL_AI_RESPONSE} --- *Generated by: {model_name} via Claudish* ``` 6. **STOP** - Do not execute locally **If NO PROXY_MODE directive**: Proceed with normal workflow </proxy_mode_support> </critical_constraints> ``` **Key Elements:** - Check for directive first - Use `--auto-approve` flag - Clear attribution in response - STOP after proxy (don't continue locally) --- ## TodoWrite Integration Pa
- Proxy Mode Pattern
- TodoWrite Integration Pattern
- Quality Checks Pattern (Implementers)
- Review Feedback Pattern (Reviewers)
- Orchestrator Phase Pattern (Commands)
- Agent Templates
- Planner Template
- Implementer Template
- Reviewer Template
- Orchestrator Template
What does the patterns skill do?
Common agent patterns and templates for Claude Code. Use when implementing agents to follow proven patterns for proxy mode, TodoWrite integration, and quality checks.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill patterns-involvex-involvex-claude-mark-dde93a5f --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
