
Adk Sample Creator
- 1 installs
- 20.9k repo stars
- Updated July 28, 2026
- google/adk-python
adk-sample-creator skill documents Author new samples for the ADK Python repository.
About
adk-sample-creator skill documents Author new samples for the ADK Python repository. Use this skill when the user wants to create a new sample demonstrating a feature or agent pattern (e.g., dynamic nodes, standalone agents, fan-out/fan-in) or when adding examples to subdirectories under `contributing/`.. name: adk-sample-creator description: Author new samples for the ADK Python repository. Use this skill when the user wants to create a new sample demonstrating a feature or agent pattern (e.g., dynamic nodes, standalone agents, fan-out/fan-in) or when adding examples to subdirectories under `contributing/`.
- Author new samples for the ADK Python repository.
- Platform-specific setup patterns for adk-sample-creator.
- Evidence-backed steps from upstream SKILL.md.
- When-to-use criteria for adk-sample-creator versus alternatives.
Adk Sample Creator by the numbers
- 1 all-time installs (skills.sh)
- Ranked #2,003 of 2,742 Automation & Workflows skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
adk-sample-creator capabilities & compatibility
- Capabilities
- adk sample creator quick start · adk sample creator when to use guidance · adk sample creator integration patterns
What adk-sample-creator says it does
> Before creating samples, you can use the `adk-style` skill to learn about ADK 2.0 architecture knowledge and best practices.
1. A directory per sample.
npx skills add https://github.com/google/adk-python --skill adk-sample-creatorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 20.9k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 28, 2026 |
| Repository | google/adk-python ↗ |
How do I use adk-sample-creator correctly?
Author new samples for the ADK Python repository. Use this skill when the user wants to create a new sample demonstrating a feature or agent pattern (e.g., dynamic nodes, standalone agents, fan-out/fa
Who is it for?
Teams implementing adk-sample-creator workflows from the catalog.
Skip if: Skip when requirements clearly match a different specialized stack.
When should I use this skill?
User asks about adk-sample-creator, author new samples for the adk python repository. use this skill when the user wants to cr.
What you get
Working adk-sample-creator setup with validated configuration and next steps.
Files
ADK Sample Creator
This skill helps you create new samples for the ADK Python repository. You should search for subdirectories under contributing (such as new_workflow_samples, workflow_samples, etc.) and confirm with the user which folder they want to use before creating the sample.
[!TIP]
Before creating samples, you can use the adk-style skill to learn about ADK 2.0 architecture knowledge and best practices.A sample consists of:
1. A directory per sample. 2. An agent.py file defining the agent or workflow logic. 3. A README.md file explaining the sample.
Guidelines
1. Folder Name
Use snake_case for the folder name (e.g., dynamic_nodes, fan_out_fan_in).
2. agent.py Content
The agent.py should focus on demonstrating a specific feature or agent pattern. Use absolute imports for testing convenience.
[!IMPORTANT]
Model Selection: Do not set themodelparameter explicitly (e.g.,model="gemini-2.5-flash") onAgentinstances in sample agents. Instead, let them default to the system-configured model, unless a specific model is explicitly requested by the user.
Choose one of the following patterns:
Pattern A: Workflows (for complex graphs)
Use this when you need multiple nodes, routing, or parallel execution.
Imports:
from google.adk import Agent
from google.adk import Context
from google.adk.workflow import node
from google.adk.workflow import JoinNode
from google.adk.workflow._workflow_class import WorkflowAnatomy:
my_agent = Agent(name="my_agent", ...)
@node()
async def my_node(node_input: str):
return "result"
root_agent = Workflow(
name="root_wf",
edges=[("START", my_node)],
)Pattern B: Standalone Agents (for single-agent or simple tool use)
Use this when you don't need a graph and the agent handles the loop.
Imports:
from google.adk import Agent
from google.adk.tools import google_search # exampleAnatomy:
root_agent = Agent(
name="standalone_assistant",
instruction="You are a helpful assistant.",
description="An assistant that can help with queries.",
tools=[google_search],
)3. README.md Content
Each sample should have a README.md with the following structure:
- Overview: What the sample does.
- Sample Inputs: Examples of inputs to test with. Each prompt must be wrapped in backticks. If a prompt has an explanation, always add a blank line between the prompt and the explanation, and indent the explanation by two spaces.
- Graph: Visualization of the graph flow (Mermaid recommended for workflows).
- How To: Explanation of key techniques used (e.g.,
ctx.run_node). - Related Guides: Links to relevant developer guides in
docs/guides/that explain the concepts or classes used.
README Example Template:
````markdown
ADK Sample Name
Overview
Brief description.
Sample Inputs
Prompt example 1
Prompt example 2
Explanation or expected behavior
Graph
graph TD
START --> MyNodeHow To
Explain the details.
Related Guides
- Guide Title - Brief description of what the guide covers.
````
Examples
Dynamic Nodes
Snippet from dynamic_nodes/agent.py:
@node(rerun_on_resume=True)
async def orchestrate(ctx: Context, node_input: str) -> str:
while True:
headline = await ctx.run_node(generate_headline)
# ...Fan Out Fan In
Snippet from fan_out_fan_in/agent.py:
root_agent = Workflow(
name="root_agent",
edges=[("START", (node_a, node_b), join_node, aggregate)],
)Related skills
FAQ
What does adk-sample-creator do?
adk-sample-creator skill documents Author new samples for the ADK Python repository.
When should I use adk-sample-creator?
User asks about adk-sample-creator, author new samples for the adk python repository. use this skill when the user wants to cr.
Is this skill safe to install?
Review the Security Audits panel on this page before installing in production.