Xpersona
A

ADK Skill Patterns

CLAWHUB · Unverified

5 proven agent skill design patterns (Tool Wrapper, Generator, Reviewer, Inversion, Pipeline) from Google's ADK. Build reliable, composable skills with templ... Skill: ADK Skill Patterns Owner: maxlauriehutchinson Summary: 5 proven agent skill design patterns (Tool Wrapper, Generator, Reviewer, Inversion, Pipeline) from Google's ADK. Build reliable, composable skills with templ... Tags: adk:1.0.0, agents:1.0.0, latest:1.0.0, patterns:1.0.0, skills:1.0.0 Version history: v1.0.0 | 2026-03-29T13:04:54.544Z | auto - Initial release of adk-skill-patterns. - Documents 5 proven age

62
Rank
84
Safety
989
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 989 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179qr50zp85a1ac75z9px9jnh83v5nt:adk-skill-patterns
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-maxlauriehutchinson-adk-skill-patterns/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

20,834 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: adk-skill-patterns
description: 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.
metadata:
  openclaw:
    emoji: 🧩
  version: 1.0.0
---

# ADK Skill Patterns 🧩

**Source:** Google Cloud Tech — 5 Agent Skill Design Patterns  
**Adapted for:** OpenClaw Agent System  
**Purpose:** Build reliable, composable agent skills using proven architectural patterns

---

## Overview

The 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.

| Pattern | Question It Answers | Use When |
|---------|---------------------|----------|
| **Tool Wrapper** | "How do I make my agent an expert on a specific library?" | Agent needs deep, contextual knowledge about a technology |
| **Generator** | "How do I enforce consistent output structure?" | Output format must be predictable every time |
| **Reviewer** | "How do I separate what to check from how to check it?" | Code review, quality gates, compliance checking |
| **Inversion** | "How do I stop the agent from guessing and gather requirements first?" | Complex tasks requiring full context before execution |
| **Pipeline** | "How do I enforce a strict multi-step workflow?" | Multi-phase tasks with checkpoints and approvals |

---

## Pattern 1: Tool Wrapper

**Purpose:** Give your agent on-demand context for a specific library/framework.

**Mechanism:**
- Listens for library keywords in prompts
- Dynamically loads documentation from `references/`
- Applies conventions as absolute truth only when needed

**Example Use Cases:**
- FastAPI conventions
- Internal coding standards
- Framework-specific best practices
- API design guidelines

**Template:** See `templates/tool-wrapper-SKILL.md`

---

## Pattern 2: Generator

**Purpose:** Enforce consistent output via fill-in-the-blank orchestration.

**Mechanism:**
- `assets/` holds output template
- `references/` holds style guide
- Instructions act as project manager
- Asks for missing variables before generating

**Example Use Cases:**
- API documentation generation
- Standardized commit messages
- Project scaffolding
- Technical reports

**Template:** See `templates/generator-SKILL.md`

---

## Pattern 3: Reviewer

**Purpose:** Separate review criteria from review execution.

**Mechanism:**
- Stores modular rubric in `references/review-checklist.md`
- Methodically scores submissions
- Groups findings by severity
- Swap checklist = completely different audit

**Example Use Cases:**
- PR review automation
- Security vulnerability scanning
- Code quality audits
- Compliance checking

**Template:** See `templates/reviewer-SKILL.md`

---

## Pattern 4: Inversion

**Purpose:** Stop agents from guessing — make them interview first.

**Mechanism:**
- Agent act

_meta.json

{
  "ownerId": "kn7dzd7mtrztcwh43p6p4vkws180dnyv",
  "slug": "adk-skill-patterns",
  "version": "1.0.0",
  "publishedAt": 1774789494544
}

references/pattern-selection-checklist.md

# Pattern Selection Checklist

## Quick Decision Matrix

| If the user wants to... | Use Pattern | File to Load |
|------------------------|-------------|--------------|
| Teach agent about a library | Tool Wrapper | `templates/tool-wrapper-SKILL.md` |
| Generate consistent documents | Generator | `templates/generator-SKILL.md` |
| Review/audit something | Reviewer | `templates/reviewer-SKILL.md` |
| Gather requirements first | Inversion | `templates/inversion-SKILL.md` |
| Multi-step workflow | Pipeline | `templates/pipeline-SKILL.md` |

## Pattern Combinations

### Common Compositions

**Documentation Pipeline (Pipeline + Generator + Reviewer)**
```
1. Parse code (Pipeline Step 1)
2. Generate docstrings (Generator)
3. Review quality (Reviewer)
4. Assemble final docs (Pipeline Step 4)
```

**Requirements → Plan (Inversion + Generator)**
```
1. Interview user for requirements (Inversion)
2. Fill plan template (Generator)
```

**Expert Review (Tool Wrapper + Reviewer)**
```
1. Load framework conventions (Tool Wrapper)
2. Review code against conventions (Reviewer)
```

## When to Use Each Pattern

### Tool Wrapper
✅ Agent needs deep knowledge about specific technology  
✅ Knowledge should only load when relevant  
✅ Multiple technologies need different expertise  
❌ General knowledge tasks  
❌ One-off queries

### Generator
✅ Output must be consistent every time  
✅ Template-based documents  
✅ Standardized formats (reports, docs, messages)  
❌ Creative/open-ended tasks  
❌ Exploratory work

### Reviewer
✅ Quality gates and audits  
✅ Modular criteria that may change  
✅ Consistent scoring/grading  
❌ Tasks without clear criteria  
❌ Subjective assessments

### Inversion
✅ Complex tasks requiring full context  
✅ Preventing premature solutions  
✅ Requirements gathering  
❌ Simple, well-defined tasks  
❌ When user already provided all context

### Pipeline
✅ Multi-phase workflows  
✅ Checkpoints requiring approval  
✅ Complex processes with dependencies  
❌ Single-step tasks  
❌ Exploratory/iterative work

## Anti-Pattern Detection

| Symptom | Likely Problem | Solution |
|---------|---------------|----------|
| Agent gives generic advice | Missing Tool Wrapper | Add domain-specific reference |
| Different output every time | Missing Generator | Create template + style guide |
| Inconsistent review quality | Missing Reviewer | Create modular checklist |
| Agent assumes requirements | Missing Inversion | Add structured interview |
| Steps get skipped | Missing Pipeline | Add explicit gates |

skill-card.md

## Description:

ADK Skill Patterns provides five agent skill design patterns from Google's ADK with templates, decision trees, and composition guides for building reliable, composable skills.

This skill is ready for commercial/non-commercial use.

## Publisher:

[maxlauriehutchinson](https://clawhub.ai/user/maxlauriehutchinson)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and skill authors use this skill to choose and compose agent skill design patterns for reliable tool wrappers, generators, reviewers, requirement-gathering flows, and sequential pipelines.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Reused templates with broad descriptions or activation conditions could trigger on unrelated user requests.

Mitigation: Narrow each derived skill description to the exact domain, audience, and activation conditions before publishing or installing it.

Risk: Pattern guidance or generated templates could be applied incorrectly when creating a new skill.

Mitigation: Review and scan derived skills before deployment, using the release security guidance as the baseline.

## Reference(s):

- [Pattern Selection Checklist](references/pattern-selection-checklist.md)
- [Google Cloud Tech source post](https://x.com/GoogleCloudTech/status/2033953579824758855)
- [ClawHub skill page](https://clawhub.ai/maxlauriehutchinson/skills/adk-skill-patterns)

## Skill Output:

**Output Type(s):** [guidance, markdown, code, configuration]

**Output Format:** [Markdown guidance with reusable SKILL.md templates]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Markdown-only pattern reference; no hidden execution, persistence, or data access behavior found in security evidence.]

## Skill Version(s):

1.0.0 (source: server release evidence and artifact metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

templates/generator-SKILL.md

# SKILL.md — Generator Pattern
# Pattern: Generator
# Use: Enforce consistent output via fill-in-the-blank orchestration

---
name: report-generator
description: Generates structured technical reports in Markdown. Use when the user asks to write, create, or draft a report, summary, or analysis document.

metadata:
  pattern: generator
  output-format: markdown
  version: 1.0
---

## Role
You are a technical report generator. Follow these steps exactly.

## Step 1: Load References
Load 'references/style-guide.md' for tone and formatting rules.

## Step 2: Load Template
Load 'assets/report-template.md' for the required output structure.

## Step 3: Gather Missing Information
Ask the user for any missing information needed to fill the template:
- Topic or subject
- Key findings or data points
- Target audience (technical, executive, general)
- Desired length/depth

## Step 4: Generate
Fill the template following the style guide rules.
Every section in the template must be present in the output.

## Step 5: Deliver
Return the completed report as a single Markdown document.

## Important
- Do NOT skip any template sections
- Maintain consistent formatting throughout
- Follow the style guide exactly

Sponsored

Ads related to ADK Skill Patterns and adjacent AI workflows.