[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M698YFTXSXXDR70E8EP0VX7M":3,"skill-same:01M698YFTXSXXDR70E8EP0VX7M":80},{"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":23,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M698YFTXSXXDR70E8EP0VX7M","adk-sample-creator",null,"Creates a new sample agent in the ADK Python repository — the sample directory, its `agent.py`, and its `README.md` — following the conventions the existing samples already use. Use when the user wants to add a sample or example demonstrating a feature or agent pattern (dynamic nodes, fan-out\u002Ffan-in, a standalone tool-using agent), asks where a new sample belongs under `contributing\u002Fsamples\u002F`, or wants an existing sample's README brought up to the standard structure. Don't use for building a real working agent for the user's own project (use `adk-agent-builder`), or for checking whether the Python blocks in a Markdown file run (use `adk-verify-snippets`).","google\u002Fadk-python","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698XZC2HCATT8VD5VAVZDTP",22217,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-sample-creator\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"adk sample creator","adk","creator","sample","builder","when","standalone","add","feature","project","snippets","pattern","structure","directory","up","markdown","repository","contributing","run","adk python","python","2026-11-10 10:12:30",false,"---\nname: adk-sample-creator\ndescription: >-\n  Creates a new sample agent in the ADK Python repository — the sample\n  directory, its `agent.py`, and its `README.md` — following the conventions\n  the existing samples already use. Use when the user wants to add a sample or\n  example demonstrating a feature or agent pattern (dynamic nodes,\n  fan-out\u002Ffan-in, a standalone tool-using agent), asks where a new sample\n  belongs under `contributing\u002Fsamples\u002F`, or wants an existing sample's README\n  brought up to the standard structure. Don't use for building a real working\n  agent for the user's own project (use `adk-agent-builder`), or for checking\n  whether the Python blocks in a Markdown file run (use `adk-verify-snippets`).\n---\n\n# ADK Sample Creator\n\nCreates samples under `contributing\u002Fsamples\u002F`. These are deliberately minimal\nagents that each exercise one or two features — distinct from the `adk-samples`\nrepository, which hosts full end-to-end applications.\n\nRead the `adk-style` skill first for ADK 2.0 conventions if you have not\nalready.\n\n## 1. Pick the category directory\n\nAlmost every sample lives at\n`contributing\u002Fsamples\u002F{category}\u002F{sample_name}\u002F`. List the categories and\nconfirm with the user which one the sample belongs in before creating\nanything — a workflow sample landing outside `workflows\u002F` is the usual mistake.\n\n```bash\nls contributing\u002Fsamples\u002F\n```\n\nCategories include `workflows`, `patterns`, `core`, `multi_agent`, `tools`,\n`models`, `live`, `mcp`, `a2a`, `evaluation`, and `plugins`. A handful of\nsamples nest one level further when a single feature needs several variants, as\n`plugins\u002Fplugin_reflect_tool_retry\u002Fbasic\u002F` does.\n\nName the sample directory in `snake_case` after the feature it demonstrates:\n`dynamic_nodes`, `fan_out_fan_in`, `streaming_tool_events`.\n\nDo not add an `_agent` suffix, and do not repeat the category as a prefix —\nevery sample is an agent, and the category is already in the path. Many existing\ndirectories still carry both; do not copy them.\n\n## 2. Write `agent.py`\n\nContents of a sample directory:\n\n| File | Required | Purpose |\n| --- | --- | --- |\n| `agent.py` | yes | The agent or workflow. Must expose `root_agent`. |\n| `README.md` | yes | See [readme-template.md](references\u002Freadme-template.md). |\n| `__init__.py` | sometimes | Present when the sample is imported as a package. |\n| `tests\u002F*.json` | no | Recorded sessions used as eval sets. |\n\nUse absolute imports so the file can be run and imported directly.\n\nDo not set `model=` on `Agent` instances. Samples inherit the\nsystem-configured model, which keeps them working when the default model\nchanges; hardcoding `model=\"gemini-2.5-flash\"` pins the sample to a model that\nwill be retired. Set it only when the user explicitly asks for a specific model.\n\nThen pick one of the two shapes.\n\n### Pattern A — Workflow, for multi-step graphs\n\nUse when the sample needs multiple nodes, routing, or parallel execution.\n\n```python\nfrom google.adk import Agent\nfrom google.adk import Context\nfrom google.adk import Event\nfrom google.adk import Workflow\nfrom google.adk.workflow import JoinNode\nfrom google.adk.workflow import node\n```\n\nImport `Workflow` from `google.adk`, not from a private\n`google.adk.workflow._*` module.\n\n```python\nmy_agent = Agent(name=\"my_agent\", instruction=\"...\")\n\n\n@node()\nasync def my_node(node_input: str) -> str:\n  return \"result\"\n\n\nroot_agent = Workflow(\n    name=\"root_agent\",\n    edges=[(\"START\", my_node)],\n)\n```\n\nA plain function can be used as a node directly in `edges`; reach for the\n`@node(...)` decorator when you need one of its options, such as\n`rerun_on_resume=True` for a node that calls `ctx.run_node`.\n\n### Pattern B — Standalone agent, for single-agent or simple tool use\n\nUse when there is no graph and the agent drives its own loop.\n\n```python\nfrom google.adk import Agent\nfrom google.adk.tools import google_search\n\nroot_agent = Agent(\n    name=\"standalone_assistant\",\n    instruction=\"You are a helpful assistant.\",\n    description=\"An assistant that can help with queries.\",\n    tools=[google_search],\n)\n```\n\n## 3. Write `README.md`\n\nFollow [readme-template.md](references\u002Freadme-template.md) — section order,\nprompt formatting, the Mermaid topology rules, and the relative link depth for\n`docs\u002Fguides\u002F`.\n\n## Worked examples\n\nRead these two before writing a new Pattern A sample — one dynamic graph, one\nstatic one.\n\n-   `contributing\u002Fsamples\u002Fworkflows\u002Fdynamic_nodes\u002Fagent.py` — a Python node\n    driving a `while` loop with `ctx.run_node`, so the number of agent calls is\n    decided at runtime rather than by the edges.\n\n    ```python\n    @node(rerun_on_resume=True)\n    async def orchestrate(ctx: Context, node_input: str) -> str:\n      yield Event(state={\"topic\": node_input})\n\n      while True:\n        headline = await ctx.run_node(generate_headline)\n        # ...\n    ```\n\n-   `contributing\u002Fsamples\u002Fworkflows\u002Ffan_out_fan_in\u002Fagent.py` — three functions\n    run in parallel from `START`, collected by a `JoinNode`, then aggregated.\n\n    ```python\n    join_node = JoinNode(name=\"join_for_results\")\n\n    root_agent = Workflow(\n        name=\"root_agent\",\n        edges=[(\n            \"START\",\n            (make_uppercase, count_characters, reverse_string),\n            join_node,\n            aggregate,\n        )],\n    )\n    ```\n","# ADK Sample Creator\n\nCreates samples under `contributing\u002Fsamples\u002F`. These are deliberately minimal\nagents that each exercise one or two features — distinct from the `adk-samples`\nrepository, which hosts full end-to-end applications.\n\nRead the `adk-style` skill first for ADK 2.0 conventions if you have not\nalready.\n\n## 1. Pick the category directory\n\nAlmost every sample lives at\n`contributing\u002Fsamples\u002F{category}\u002F{sample_name}\u002F`. List the categories and\nconfirm with the user which one the sample belongs in before creating\nanything — a workflow sample landing outside `workflows\u002F` is the usual mistake.\n\n```bash\nls contributing\u002Fsamples\u002F\n```\n\nCategories include `workflows`, `patterns`, `core`, `multi_agent`, `tools`,\n`models`, `live`, `mcp`, `a2a`, `evaluation`, and `plugins`. A handful of\nsamples nest one level further when a single feature needs several variants, as\n`plugins\u002Fplugin_reflect_tool_retry\u002Fbasic\u002F` does.\n\nName the sample directory in `snake_case` after the feature it demonstrates:\n`dynamic_nodes`, `fan_out_fan_in`, `streaming_tool_events`.\n\nDo not add an `_agent` suffix, and do not repeat the category as a prefix —\nevery sample is an agent, and the category is already in the path. Many existing\ndirectories still carry both; do not copy them.\n\n## 2. Write `agent.py`\n\nContents of a sample directory:\n\n| File | Required | Purpose |\n| --- | --- | --- |\n| `agent.py` | yes | The agent or workflow. Must expose `root_agent`. |\n| `README.md` | yes | See [readme-template.md](references\u002Freadme-template.md). |\n| `__init__.py` | sometimes | Present when the sample is imported as a package. |\n| `tests\u002F*.json` | no | Recorded sessions used as eval sets. |\n\nUse absolute imports so the file can be run and imported directly.\n\nDo not set `model=` on `Agent` instances. Samples inherit the\nsystem-configured model, which keeps them working when the default model\nchanges; hardcoding `model=\"gemini-2.5-flash\"` pins the sample to a model that\nwill be retired. Set it only when the user explicitly asks for a specific model.\n\nThen pick one of the two shapes.\n\n### Pattern A — Workflow, for multi-step graphs\n\nUse when the sample needs multiple nodes, routing, or parallel execution.\n\n```python\nfrom google.adk import Agent\nfrom google.adk import Context\nfrom google.adk import Event\nfrom google.adk import Workflow\nfrom google.adk.workflow import JoinNode\nfrom google.adk.workflow import node\n```\n\nImport `Workflow` from `google.adk`, not from a private\n`google.adk.workflow._*` module.\n\n```python\nmy_agent = Agent(name=\"my_agent\", instruction=\"...\")\n\n\n@node()\nasync def my_node(node_input: str) -> str:\n  return \"result\"\n\n\nroot_agent = Workflow(\n    name=\"root_agent\",\n    edges=[(\"START\", my_node)],\n)\n```\n\nA plain function can be used as a node directly in `edges`; reach for the\n`@node(...)` decorator when you need one of its options, such as\n`rerun_on_resume=True` for a node that calls `ctx.run_node`.\n\n### Pattern B — Standalone agent, for single-agent or simple tool use\n\nUse when there is no graph and the agent drives its own loop.\n\n```python\nfrom google.adk import Agent\nfrom google.adk.tools import google_search\n\nroot_agent = Agent(\n    name=\"standalone_assistant\",\n    instruction=\"You are a helpful assistant.\",\n    description=\"An assistant that can help with queries.\",\n    tools=[google_search],\n)\n```\n\n## 3. Write `README.md`\n\nFollow [readme-template.md](references\u002Freadme-template.md) — section order,\nprompt formatting, the Mermaid topology rules, and the relative link depth for\n`docs\u002Fguides\u002F`.\n\n## Worked examples\n\nRead these two before writing a new Pattern A sample — one dynamic graph, one\nstatic one.\n\n-   `contributing\u002Fsamples\u002Fworkflows\u002Fdynamic_nodes\u002Fagent.py` — a Python node\n    driving a `while` loop with `ctx.run_node`, so the number of agent calls is\n    decided at runtime rather than by the edges.\n\n    ```python\n    @node(rerun_on_resume=True)\n    async def orchestrate(ctx: Context, node_input: str) -> str:\n      yield Event(state={\"topic\": node_input})\n\n      while True:\n        headline = await ctx.run_node(generate_headline)\n        # ...\n    ```\n\n-   `contributing\u002Fsamples\u002Fworkflows\u002Ffan_out_fan_in\u002Fagent.py` — three functions\n    run in parallel from `START`, collected by a `JoinNode`, then aggregated.\n\n    ```python\n    join_node = JoinNode(name=\"join_for_results\")\n\n    root_agent = Workflow(\n        name=\"root_agent\",\n        edges=[(\n            \"START\",\n            (make_uppercase, count_characters, reverse_string),\n            join_node,\n            aggregate,\n        )],\n    )\n    ```\n",{"name":5,"description":7},"main","8cd3b12c8a5d658c5e0d3ea0731d8be34a092a4a",".agents\u002Fskills\u002Fadk-sample-creator",4356,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python","https:\u002F\u002Fgoogle.github.io\u002Fadk-docs\u002F","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 14:38:36",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add google\u002Fadk-python --skill adk-sample-creator",{"tool":66,"command":67},"bunx","bunx skills add google\u002Fadk-python --skill adk-sample-creator",{"tool":69,"command":70},"pnpm","pnpm dlx skills add google\u002Fadk-python --skill adk-sample-creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-sample-creator\u002FSKILL.md",true,[74],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Freadme-template.md","REFERENCE","参考文档",1985,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fadk-sample-creator\u002Freferences\u002Freadme-template.md",[81,112,139,167,183,191],{"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":93,"publishedAt":45},"01M698ZJNXJCE7T81AK0Y5R01D","bigquery-graph","Skill for Graph Query Language (GQL) or SQL\u002FPGQ queries against a property graph.\nIncludes path finding, multi-hop traversal, topological connection, shortest path,\nnode reachability, edge connectivity, and semantic graph queries.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fsrc\u002Fgoogle\u002Fadk\u002Fintegrations\u002Fbigquery\u002Fskills\u002Fbigquery-graph\u002FSKILL.md",[87,88],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":89,"categoryName":90,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[94,95,96,9,97,25,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"graph","bigquery","bigquery graph","for","sql","edge","graph query","hop","node","queries","language","query","connectivity","gql","semantic","multi","connection","path",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":119,"publishedAt":45},"01M698ZEVMRDDFX2MH3GHQGSNW","bigquery-ai-ml","Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity, summarize content, translate language, evaluate models, filter by semantic conditions, measure the causal effect of an intervention, compute correlations between columns, detect change points or structural breaks, extract trend or seasonality components, or leverage generative AI capabilities in BigQuery. Do not use for general BigQuery dataset, table, or job management requests.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fsrc\u002Fgoogle\u002Fadk\u002Fintegrations\u002Fbigquery\u002Fskills\u002Fbigquery-ai-ml\u002FSKILL.md",[118],{"categoryNo":89,"categoryName":90,"taxonomyType":91,"taxonomyTypeDesc":92},[120,95,121,122,123,29,124,125,126,127,128,129,130,131,132,9,133,134,25,135,136,137,138],"ai ml","ml","bigquery ai ml","vector","generative","you","advanced","dataset","leverage","structural","time","effect","search","summarize","genai","generative ai","translate","components","capabilities",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":152,"publishedAt":45},"01M698ZCN6SZ9SJ8E9970M47FQ","code-review-skill","Reviews code with feedback tailored to the developer's profile in session state.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills_inject_state\u002Fskills\u002Fcode-review-skill\u002FSKILL.md",[145,148,149],{"categoryNo":146,"categoryName":147,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":150,"categoryName":151,"taxonomyType":91,"taxonomyTypeDesc":92},"01JBSEEDCAT000000000000030","开发工程师",[153,154,155,156,157,158,159,160,161,162,163,164,165,166],"review skill","code","code review skill","review","code review","session","state","developer","feedback","profile","with","session state","reviews","true",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":174,"publishedAt":45},"01M698ZAMH02NSGXMR533ETWYW","weather-skill","A skill that provides weather information based on reference data.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills_agent\u002Fskills\u002Fweather-skill\u002FSKILL.md",[173],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[175,176,177,178,179,180,181,182],"weather skill","weather","data","reference","speed","get","wind","information",{"skillNo":184,"name":169,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":189,"publishedAt":45},"01M698Z8QFDZ713E03589BHEG5","A skill that provides weather information based on reference data and scripts.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Fskills\u002Fskills\u002Fweather-skill\u002FSKILL.md",[188],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[176,175,182,181,190,180,179,178,177],"scripts",{"skillNo":192,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":196,"publishedAt":45},"01M698Z6P1NZFW6A6V342AWZPR","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Fblob\u002Fmain\u002Fcontributing\u002Fsamples\u002Fenvironment_and_skills\u002Flocal_environment_skill\u002Fskills\u002Fweather-skill\u002FSKILL.md",[195],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[175,176,178,182,177]]