Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use simple, composable patterns to decide when to keep a deterministic workflow versus letting an LLM drive its own control flow with tools, retrieval, and memory. Prefer minimal patterns and add agentic loops only when they unlock necessary flexibility.
.claude/skills/majiayu000-agentic-patterns/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 2% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 12% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -13% | 0% |
To build sophisticated AI agents that can think, plan, and correct themselves using 2025-era cognitive architectures.
The Problem: Models make mistakes. The Solution: Ask the model to review its own output before finalizing it.
Generate -> Critique -> Refine.The Problem: Models need external information. The Solution: Interleave reasoning traces with tool execution.
Thought -> Action -> Observation -> Thought...The Problem: Complex tasks need decomposition. The Solution: Break goal into a sequence of steps.
Goal -> Plan -> Execute Step 1 -> Update Plan.The Problem: Context window limits. The Solution: External storage (Vector DB, Knowledge Graph).
The Problem: Models can't "do" things. The Solution: Structured output mapped to executable functions.
while not done:).Other measured skills in the registry, with their headline benchmark lift.