[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76X0WR84W46E8BF6XCG64MJ":3,"skill-same:01M76X0WR84W46E8BF6XCG64MJ":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M76X0WR84W46E8BF6XCG64MJ","adk-skill-patterns",null,"5 proven agent skill design patterns (Tool Wrapper, Generator, Reviewer, Inversion, Pipeline) from Google's ADK. Build reliable, composable skills with templates, decision trees, and composition guides. Stop cramming logic into prompts—use structured patterns instead.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Fadk-skill-patterns\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: adk-skill-patterns\ndescription: 5 proven agent skill design patterns (Tool Wrapper, Generator, Reviewer, Inversion, Pipeline) from Google's ADK. Build reliable, composable skills with templates, decision trees, and composition guides. Stop cramming logic into prompts—use structured patterns instead.\nmetadata:\n  openclaw:\n    emoji: 🧩\n  version: 1.0.0\n---\n\n# ADK Skill Patterns 🧩\n\n**Source:** Google Cloud Tech — 5 Agent Skill Design Patterns  \n**Adapted for:** OpenClaw Agent System  \n**Purpose:** Build reliable, composable agent skills using proven architectural patterns\n\n---\n\n## Overview\n\nThe specification explains how to package a skill, but offers zero guidance on how to structure the logic inside it. These 5 patterns solve that problem.\n\n| Pattern | Question It Answers | Use When |\n|---------|---------------------|----------|\n| **Tool Wrapper** | \"How do I make my agent an expert on a specific library?\" | Agent needs deep, contextual knowledge about a technology |\n| **Generator** | \"How do I enforce consistent output structure?\" | Output format must be predictable every time |\n| **Reviewer** | \"How do I separate what to check from how to check it?\" | Code review, quality gates, compliance checking |\n| **Inversion** | \"How do I stop the agent from guessing and gather requirements first?\" | Complex tasks requiring full context before execution |\n| **Pipeline** | \"How do I enforce a strict multi-step workflow?\" | Multi-phase tasks with checkpoints and approvals |\n\n---\n\n## Pattern 1: Tool Wrapper\n\n**Purpose:** Give your agent on-demand context for a specific library\u002Fframework.\n\n**Mechanism:**\n- Listens for library keywords in prompts\n- Dynamically loads documentation from `references\u002F`\n- Applies conventions as absolute truth only when needed\n\n**Example Use Cases:**\n- FastAPI conventions\n- Internal coding standards\n- Framework-specific best practices\n- API design guidelines\n\n**Template:** See `templates\u002Ftool-wrapper-SKILL.md`\n\n---\n\n## Pattern 2: Generator\n\n**Purpose:** Enforce consistent output via fill-in-the-blank orchestration.\n\n**Mechanism:**\n- `assets\u002F` holds output template\n- `references\u002F` holds style guide\n- Instructions act as project manager\n- Asks for missing variables before generating\n\n**Example Use Cases:**\n- API documentation generation\n- Standardized commit messages\n- Project scaffolding\n- Technical reports\n\n**Template:** See `templates\u002Fgenerator-SKILL.md`\n\n---\n\n## Pattern 3: Reviewer\n\n**Purpose:** Separate review criteria from review execution.\n\n**Mechanism:**\n- Stores modular rubric in `references\u002Freview-checklist.md`\n- Methodically scores submissions\n- Groups findings by severity\n- Swap checklist = completely different audit\n\n**Example Use Cases:**\n- PR review automation\n- Security vulnerability scanning\n- Code quality audits\n- Compliance checking\n\n**Template:** See `templates\u002Freviewer-SKILL.md`\n\n---\n\n## Pattern 4: Inversion\n\n**Purpose:** Stop agents from guessing — make them interview first.\n\n**Mechanism:**\n- Agent acts as interviewer, not executor\n- Structured questions in phases\n- Hard gates prevent premature synthesis\n- User drives through answers, not prompts\n\n**Example Use Cases:**\n- Project planning\u002Frequirements gathering\n- System design interviews\n- Complex task specification\n- Knowledge extraction\n\n**Template:** See `templates\u002Finversion-SKILL.md`\n\n---\n\n## Pattern 5: Pipeline\n\n**Purpose:** Enforce strict sequential workflow with hard checkpoints.\n\n**Mechanism:**\n- Instructions = workflow definition\n- Diamond gate conditions (user approval required)\n- Cannot bypass steps or present unvalidated results\n- Progressive disclosure keeps context clean\n\n**Example Use Cases:**\n- Documentation generation workflows\n- Multi-step code generation\n- Complex build\u002Fdeploy pipelines\n- Research synthesis workflows\n\n**Template:** See `templates\u002Fpipeline-SKILL.md`\n\n---\n\n## Decision Tree\n\n```\nSTART: What does your skill need to do?\n│\n├─→ Provide deep knowledge about a specific library\u002Fframework?\n│   └─→ Use: TOOL WRAPPER\n│\n├─→ Produce consistent, templated output?\n│   └─→ Use: GENERATOR\n│\n├─→ Check\u002Faudit something against criteria?\n│   └─→ Use: REVIEWER\n│\n├─→ Gather requirements before acting?\n│   └─→ Use: INVERSION\n│\n├─→ Execute strict multi-step workflow?\n│   └─→ Use: PIPELINE\n│\n└─→ Multiple of the above?\n    └─→ Patterns COMPOSE (see below)\n```\n\n---\n\n## Pattern Composition\n\nThese patterns are **not mutually exclusive** — they compose:\n\n| Combination | Effect |\n|-------------|--------|\n| Pipeline + Reviewer | Multi-step workflow with quality gate at the end |\n| Generator + Inversion | Gather variables via interview, then fill template |\n| Pipeline + Tool Wrapper | Each step loads specific expertise as needed |\n| Reviewer + Generator | Review output before generating final document |\n\n**Principle:** Your agent only spends context tokens on the exact patterns it needs at runtime.\n\n---\n\n## Quick Reference: Pattern Selection\n\n| Scenario | Pattern | Why |\n|----------|---------|-----|\n| \"Teach my agent FastAPI conventions\" | Tool Wrapper | Context loads only when FastAPI mentioned |\n| \"Generate consistent API docs\" | Generator | Template + style guide = predictable output |\n| \"Automate PR reviews\" | Reviewer | Swap checklist for different audit types |\n| \"Plan a new project\" | Inversion | Gathers full requirements before designing |\n| \"Generate docs from code\" | Pipeline | Parse → Generate → Review → Assemble |\n\n---\n\n## Directory Structure\n\n```\nskills\u002F\n└── your-skill\u002F\n    ├── SKILL.md              # Instructions (implements pattern)\n    ├── references\u002F           # Knowledge, checklists, style guides\n    │   ├── conventions.md\n    │   ├── review-checklist.md\n    │   └── style-guide.md\n    └── assets\u002F               # Templates, examples\n        ├── report-template.md\n        └── plan-template.md\n```\n\n---\n\n## Anti-Patterns to Avoid\n\n❌ **Cramming everything into system prompt** — Use Tool Wrapper instead  \n❌ **Different output every run** — Use Generator for consistency  \n❌ **Hardcoded review criteria** — Use Reviewer for modularity  \n❌ **Agent assumes context** — Use Inversion to gather requirements  \n❌ **Skipped steps in workflows** — Use Pipeline for enforcement\n\n---\n\n## Implementation Notes for OpenClaw\n\n1. **File Loading:** Use `read` tool to load references\u002Fassets dynamically\n2. **Pattern Detection:** Check user's intent to determine which pattern to apply\n3. **Composition:** Chain skills via `sessions_spawn` for complex workflows\n4. **Gates:** Explicit user confirmation before proceeding (especially Pipeline\u002FInversion)\n\n---\n\n## Using This Skill\n\n### To Apply a Pattern\nAsk me: \"Use the [pattern-name] pattern to [task]\"\n\nExamples:\n- \"Use the Tool Wrapper pattern to create a FastAPI expert skill\"\n- \"Use the Generator pattern to standardize my report outputs\"\n- \"Use the Reviewer pattern to build a code quality checker\"\n- \"Use the Inversion pattern to plan my new project\"\n- \"Use the Pipeline pattern to create a documentation workflow\"\n\n### To Get Pattern Advice\nAsk: \"Which pattern should I use for [scenario]?\"\n\n### To Compose Patterns\nAsk: \"How do I combine [pattern-1] and [pattern-2]?\"\n\n---\n\n**Source Article:** https:\u002F\u002Fx.com\u002FGoogleCloudTech\u002Fstatus\u002F2033953579824758855  \n**Last Updated:** March 29, 2026\n","# ADK Skill Patterns 🧩\n\n**Source:** Google Cloud Tech — 5 Agent Skill Design Patterns  \n**Adapted for:** OpenClaw Agent System  \n**Purpose:** Build reliable, composable agent skills using proven architectural patterns\n\n---\n\n## Overview\n\nThe specification explains how to package a skill, but offers zero guidance on how to structure the logic inside it. These 5 patterns solve that problem.\n\n| Pattern | Question It Answers | Use When |\n|---------|---------------------|----------|\n| **Tool Wrapper** | \"How do I make my agent an expert on a specific library?\" | Agent needs deep, contextual knowledge about a technology |\n| **Generator** | \"How do I enforce consistent output structure?\" | Output format must be predictable every time |\n| **Reviewer** | \"How do I separate what to check from how to check it?\" | Code review, quality gates, compliance checking |\n| **Inversion** | \"How do I stop the agent from guessing and gather requirements first?\" | Complex tasks requiring full context before execution |\n| **Pipeline** | \"How do I enforce a strict multi-step workflow?\" | Multi-phase tasks with checkpoints and approvals |\n\n---\n\n## Pattern 1: Tool Wrapper\n\n**Purpose:** Give your agent on-demand context for a specific library\u002Fframework.\n\n**Mechanism:**\n- Listens for library keywords in prompts\n- Dynamically loads documentation from `references\u002F`\n- Applies conventions as absolute truth only when needed\n\n**Example Use Cases:**\n- FastAPI conventions\n- Internal coding standards\n- Framework-specific best practices\n- API design guidelines\n\n**Template:** See `templates\u002Ftool-wrapper-SKILL.md`\n\n---\n\n## Pattern 2: Generator\n\n**Purpose:** Enforce consistent output via fill-in-the-blank orchestration.\n\n**Mechanism:**\n- `assets\u002F` holds output template\n- `references\u002F` holds style guide\n- Instructions act as project manager\n- Asks for missing variables before generating\n\n**Example Use Cases:**\n- API documentation generation\n- Standardized commit messages\n- Project scaffolding\n- Technical reports\n\n**Template:** See `templates\u002Fgenerator-SKILL.md`\n\n---\n\n## Pattern 3: Reviewer\n\n**Purpose:** Separate review criteria from review execution.\n\n**Mechanism:**\n- Stores modular rubric in `references\u002Freview-checklist.md`\n- Methodically scores submissions\n- Groups findings by severity\n- Swap checklist = completely different audit\n\n**Example Use Cases:**\n- PR review automation\n- Security vulnerability scanning\n- Code quality audits\n- Compliance checking\n\n**Template:** See `templates\u002Freviewer-SKILL.md`\n\n---\n\n## Pattern 4: Inversion\n\n**Purpose:** Stop agents from guessing — make them interview first.\n\n**Mechanism:**\n- Agent acts as interviewer, not executor\n- Structured questions in phases\n- Hard gates prevent premature synthesis\n- User drives through answers, not prompts\n\n**Example Use Cases:**\n- Project planning\u002Frequirements gathering\n- System design interviews\n- Complex task specification\n- Knowledge extraction\n\n**Template:** See `templates\u002Finversion-SKILL.md`\n\n---\n\n## Pattern 5: Pipeline\n\n**Purpose:** Enforce strict sequential workflow with hard checkpoints.\n\n**Mechanism:**\n- Instructions = workflow definition\n- Diamond gate conditions (user approval required)\n- Cannot bypass steps or present unvalidated results\n- Progressive disclosure keeps context clean\n\n**Example Use Cases:**\n- Documentation generation workflows\n- Multi-step code generation\n- Complex build\u002Fdeploy pipelines\n- Research synthesis workflows\n\n**Template:** See `templates\u002Fpipeline-SKILL.md`\n\n---\n\n## Decision Tree\n\n```\nSTART: What does your skill need to do?\n│\n├─→ Provide deep knowledge about a specific library\u002Fframework?\n│   └─→ Use: TOOL WRAPPER\n│\n├─→ Produce consistent, templated output?\n│   └─→ Use: GENERATOR\n│\n├─→ Check\u002Faudit something against criteria?\n│   └─→ Use: REVIEWER\n│\n├─→ Gather requirements before acting?\n│   └─→ Use: INVERSION\n│\n├─→ Execute strict multi-step workflow?\n│   └─→ Use: PIPELINE\n│\n└─→ Multiple of the above?\n    └─→ Patterns COMPOSE (see below)\n```\n\n---\n\n## Pattern Composition\n\nThese patterns are **not mutually exclusive** — they compose:\n\n| Combination | Effect |\n|-------------|--------|\n| Pipeline + Reviewer | Multi-step workflow with quality gate at the end |\n| Generator + Inversion | Gather variables via interview, then fill template |\n| Pipeline + Tool Wrapper | Each step loads specific expertise as needed |\n| Reviewer + Generator | Review output before generating final document |\n\n**Principle:** Your agent only spends context tokens on the exact patterns it needs at runtime.\n\n---\n\n## Quick Reference: Pattern Selection\n\n| Scenario | Pattern | Why |\n|----------|---------|-----|\n| \"Teach my agent FastAPI conventions\" | Tool Wrapper | Context loads only when FastAPI mentioned |\n| \"Generate consistent API docs\" | Generator | Template + style guide = predictable output |\n| \"Automate PR reviews\" | Reviewer | Swap checklist for different audit types |\n| \"Plan a new project\" | Inversion | Gathers full requirements before designing |\n| \"Generate docs from code\" | Pipeline | Parse → Generate → Review → Assemble |\n\n---\n\n## Directory Structure\n\n```\nskills\u002F\n└── your-skill\u002F\n    ├── SKILL.md              # Instructions (implements pattern)\n    ├── references\u002F           # Knowledge, checklists, style guides\n    │   ├── conventions.md\n    │   ├── review-checklist.md\n    │   └── style-guide.md\n    └── assets\u002F               # Templates, examples\n        ├── report-template.md\n        └── plan-template.md\n```\n\n---\n\n## Anti-Patterns to Avoid\n\n❌ **Cramming everything into system prompt** — Use Tool Wrapper instead  \n❌ **Different output every run** — Use Generator for consistency  \n❌ **Hardcoded review criteria** — Use Reviewer for modularity  \n❌ **Agent assumes context** — Use Inversion to gather requirements  \n❌ **Skipped steps in workflows** — Use Pipeline for enforcement\n\n---\n\n## Implementation Notes for OpenClaw\n\n1. **File Loading:** Use `read` tool to load references\u002Fassets dynamically\n2. **Pattern Detection:** Check user's intent to determine which pattern to apply\n3. **Composition:** Chain skills via `sessions_spawn` for complex workflows\n4. **Gates:** Explicit user confirmation before proceeding (especially Pipeline\u002FInversion)\n\n---\n\n## Using This Skill\n\n### To Apply a Pattern\nAsk me: \"Use the [pattern-name] pattern to [task]\"\n\nExamples:\n- \"Use the Tool Wrapper pattern to create a FastAPI expert skill\"\n- \"Use the Generator pattern to standardize my report outputs\"\n- \"Use the Reviewer pattern to build a code quality checker\"\n- \"Use the Inversion pattern to plan my new project\"\n- \"Use the Pipeline pattern to create a documentation workflow\"\n\n### To Get Pattern Advice\nAsk: \"Which pattern should I use for [scenario]?\"\n\n### To Compose Patterns\nAsk: \"How do I combine [pattern-1] and [pattern-2]?\"\n\n---\n\n**Source Article:** https:\u002F\u002Fx.com\u002FGoogleCloudTech\u002Fstatus\u002F2033953579824758855  \n**Last Updated:** March 29, 2026\n",{"name":5,"metadata":24,"description":7},{"version":25,"openclaw":26},"1.0.0",{"emoji":27},"🧩","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fa\u002Fadk-skill-patterns",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill adk-skill-patterns",{"tool":43,"command":44},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill adk-skill-patterns",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill adk-skill-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Fadk-skill-patterns\u002FSKILL.md",true,[],[52,60,67,74,81,88],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":59},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":59},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":59},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":59},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":59},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":59},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]