[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75TA59PE5F8DS4VMY95JVPJ":3,"skill-same:01M75TA59PE5F8DS4VMY95JVPJ":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":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":6,"updatedAt":35,"install":36,"resources":49},"01M75TA59PE5F8DS4VMY95JVPJ","ck:google-adk-python",null,"Build AI agents with Google ADK Python. Multi-agent systems, A2A protocol, MCP tools, workflow agents, state\u002Fmemory, callbacks\u002Fplugins, Vertex AI deployment, evaluation.","TNHoang2708\u002FGym_Ver2","TNHoang2708","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F204678876?v=4","01M75T5EZC0J5ZHNH1TEPK5YB7","TH27","01M75T5EZZYR1T9PCWMT7W2GWJ",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ck:google-adk-python\ndescription: \"Build AI agents with Google ADK Python. Multi-agent systems, A2A protocol, MCP tools, workflow agents, state\u002Fmemory, callbacks\u002Fplugins, Vertex AI deployment, evaluation.\"\nlicense: Apache-2.0\nargument-hint: \"[agent or feature]\"\nmetadata:\n  author: claudekit\n  version: \"2.0.0\"\n---\n\n# Google ADK Python Skill\n\nExpert guide for Google's Agent Development Kit (ADK) Python — open-source, code-first toolkit for building, evaluating, and deploying AI agents. Optimized for Gemini, model-agnostic by design.\n\n## When to Activate\n\n- Build single or multi-agent systems with tool integration\n- Implement A2A protocol for remote agent communication\n- Integrate MCP servers as agent tools\n- Use workflow agents (sequential, parallel, loop) for pipelines\n- Manage sessions, state, memory, and artifacts\n- Add callbacks, plugins, or observability hooks\n- Deploy to Cloud Run, Vertex AI Agent Engine, or GKE\n- Evaluate agents with `adk eval` framework\n\n## Agent Structure Convention (Required)\n\n```\nmy_agent\u002F\n├── __init__.py   # MUST: from . import agent\n└── agent.py      # MUST: root_agent = Agent(...) OR app = App(...)\n```\n\n## Quick Start\n\n```bash\npip install google-adk          # stable (weekly releases)\nuv sync --all-extras            # dev setup (uv required, Python 3.10+, 3.11+ recommended)\n```\n\n```python\nfrom google.adk import Agent\n\nroot_agent = Agent(\n    name=\"assistant\",\n    model=\"gemini-2.5-flash\",\n    instruction=\"You are a helpful assistant.\",\n    description=\"General assistant agent.\",\n    tools=[get_weather],\n)\n```\n\n## App Pattern (Production)\n\n```python\nfrom google.adk import Agent\nfrom google.adk.apps import App\nfrom google.adk.apps.app import EventsCompactionConfig\nfrom google.adk.plugins.save_files_as_artifacts_plugin import SaveFilesAsArtifactsPlugin\n\napp = App(\n    name=\"my_app\",\n    root_agent=Agent(name=\"my_agent\", model=\"gemini-2.5-flash\", ...),\n    plugins=[SaveFilesAsArtifactsPlugin()],\n    events_compaction_config=EventsCompactionConfig(compaction_interval=2),\n)\n```\n\nUse `App` when needing plugins, event compaction, or custom lifecycle management.\n\n## CLI Tools\n\n| Command | Purpose |\n|---------|---------|\n| `adk web \u003Cagents_dir>` | Dev UI (recommended for development) |\n| `adk run \u003Cagent_dir>` | Interactive CLI testing |\n| `adk api_server \u003Cagents_dir>` | FastAPI production server |\n| `adk eval \u003Cagent> \u003Cevalset.json>` | Run evaluation suite |\n\n## Agent Types\n\n| Type | Use Case |\n|------|----------|\n| `Agent` \u002F `LlmAgent` | Dynamic routing, tool use, reasoning |\n| `SequentialAgent` | Fixed-order pipeline |\n| `ParallelAgent` | Concurrent execution |\n| `LoopAgent` | Iterative processing |\n| `RemoteA2aAgent` | Remote agent via A2A protocol |\n\n## Key APIs\n\n| Feature | API |\n|---------|-----|\n| State | `tool_context.state[key] = value` |\n| Artifacts | `tool_context.save_artifact(name, part)` |\n| Callbacks | `before_agent_callback`, `after_model_callback`, etc. |\n| MCP Tools | `MCPToolset(connection_params=StdioConnectionParams(...))` |\n| Sub-agents | `Agent(..., sub_agents=[agent1, agent2])` |\n| Human-in-loop | `LongRunningFunctionTool(func=my_func)` |\n| Plugins | `App(..., plugins=[MyPlugin()])` |\n\n## Model Support\n\nLatest: `gemini-2.5-flash` (default), `gemini-2.5-pro`, `gemini-2.0-flash` (sunsets Mar 2026)\nPreview: `gemini-3-flash-preview`, `gemini-3-pro-preview`\nAlso: Anthropic Claude, Ollama, LiteLLM, vLLM, Model Garden\n\n## Best Practices\n\n1. **Code-first** — define agents in Python for version control and testing\n2. **Agent convention** — always use `root_agent` or `app` variable in `agent.py`\n3. **Modular agents** — specialize per domain, compose via `sub_agents`\n4. **Workflow selection** — workflow agents for predictable, LlmAgent for dynamic\n5. **State** — `ToolContext.state` for ephemeral, `MemoryService` for long-term\n6. **Safety** — callbacks for guardrails, tool confirmation for sensitive ops\n7. **Evaluate** — test with `adk eval` + evalset JSON before deployment\n\n## References\n\nDetailed guides (load as needed):\n\n- `references\u002Fagent-types-and-architecture.md` — Agent types, workflows, custom agents\n- `references\u002Ftools-and-mcp-integration.md` — Custom tools, MCP, tool filtering\n- `references\u002Fmulti-agent-and-a2a-protocol.md` — Sub-agents, A2A, coordinator patterns\n- `references\u002Fsessions-state-memory-artifacts.md` — State, artifacts, sessions, memory\n- `references\u002Fcallbacks-plugins-observability.md` — Lifecycle hooks, plugins, tracing\n- `references\u002Fevaluation-testing-cli.md` — adk eval, CLI, evalset format\n- `references\u002Fdeployment-cloud-run-vertex-gke.md` — Cloud Run, Vertex AI, GKE\n\n## External Resources\n\n- GitHub: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\n- Docs: https:\u002F\u002Fgoogle.github.io\u002Fadk-docs\u002F\n- Samples: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Ftree\u002Fmain\u002Fcontributing\u002Fsamples\n- llms.txt: https:\u002F\u002Fraw.githubusercontent.com\u002Fgoogle\u002Fadk-python\u002Frefs\u002Fheads\u002Fmain\u002Fllms.txt\n","# Google ADK Python Skill\n\nExpert guide for Google's Agent Development Kit (ADK) Python — open-source, code-first toolkit for building, evaluating, and deploying AI agents. Optimized for Gemini, model-agnostic by design.\n\n## When to Activate\n\n- Build single or multi-agent systems with tool integration\n- Implement A2A protocol for remote agent communication\n- Integrate MCP servers as agent tools\n- Use workflow agents (sequential, parallel, loop) for pipelines\n- Manage sessions, state, memory, and artifacts\n- Add callbacks, plugins, or observability hooks\n- Deploy to Cloud Run, Vertex AI Agent Engine, or GKE\n- Evaluate agents with `adk eval` framework\n\n## Agent Structure Convention (Required)\n\n```\nmy_agent\u002F\n├── __init__.py   # MUST: from . import agent\n└── agent.py      # MUST: root_agent = Agent(...) OR app = App(...)\n```\n\n## Quick Start\n\n```bash\npip install google-adk          # stable (weekly releases)\nuv sync --all-extras            # dev setup (uv required, Python 3.10+, 3.11+ recommended)\n```\n\n```python\nfrom google.adk import Agent\n\nroot_agent = Agent(\n    name=\"assistant\",\n    model=\"gemini-2.5-flash\",\n    instruction=\"You are a helpful assistant.\",\n    description=\"General assistant agent.\",\n    tools=[get_weather],\n)\n```\n\n## App Pattern (Production)\n\n```python\nfrom google.adk import Agent\nfrom google.adk.apps import App\nfrom google.adk.apps.app import EventsCompactionConfig\nfrom google.adk.plugins.save_files_as_artifacts_plugin import SaveFilesAsArtifactsPlugin\n\napp = App(\n    name=\"my_app\",\n    root_agent=Agent(name=\"my_agent\", model=\"gemini-2.5-flash\", ...),\n    plugins=[SaveFilesAsArtifactsPlugin()],\n    events_compaction_config=EventsCompactionConfig(compaction_interval=2),\n)\n```\n\nUse `App` when needing plugins, event compaction, or custom lifecycle management.\n\n## CLI Tools\n\n| Command | Purpose |\n|---------|---------|\n| `adk web \u003Cagents_dir>` | Dev UI (recommended for development) |\n| `adk run \u003Cagent_dir>` | Interactive CLI testing |\n| `adk api_server \u003Cagents_dir>` | FastAPI production server |\n| `adk eval \u003Cagent> \u003Cevalset.json>` | Run evaluation suite |\n\n## Agent Types\n\n| Type | Use Case |\n|------|----------|\n| `Agent` \u002F `LlmAgent` | Dynamic routing, tool use, reasoning |\n| `SequentialAgent` | Fixed-order pipeline |\n| `ParallelAgent` | Concurrent execution |\n| `LoopAgent` | Iterative processing |\n| `RemoteA2aAgent` | Remote agent via A2A protocol |\n\n## Key APIs\n\n| Feature | API |\n|---------|-----|\n| State | `tool_context.state[key] = value` |\n| Artifacts | `tool_context.save_artifact(name, part)` |\n| Callbacks | `before_agent_callback`, `after_model_callback`, etc. |\n| MCP Tools | `MCPToolset(connection_params=StdioConnectionParams(...))` |\n| Sub-agents | `Agent(..., sub_agents=[agent1, agent2])` |\n| Human-in-loop | `LongRunningFunctionTool(func=my_func)` |\n| Plugins | `App(..., plugins=[MyPlugin()])` |\n\n## Model Support\n\nLatest: `gemini-2.5-flash` (default), `gemini-2.5-pro`, `gemini-2.0-flash` (sunsets Mar 2026)\nPreview: `gemini-3-flash-preview`, `gemini-3-pro-preview`\nAlso: Anthropic Claude, Ollama, LiteLLM, vLLM, Model Garden\n\n## Best Practices\n\n1. **Code-first** — define agents in Python for version control and testing\n2. **Agent convention** — always use `root_agent` or `app` variable in `agent.py`\n3. **Modular agents** — specialize per domain, compose via `sub_agents`\n4. **Workflow selection** — workflow agents for predictable, LlmAgent for dynamic\n5. **State** — `ToolContext.state` for ephemeral, `MemoryService` for long-term\n6. **Safety** — callbacks for guardrails, tool confirmation for sensitive ops\n7. **Evaluate** — test with `adk eval` + evalset JSON before deployment\n\n## References\n\nDetailed guides (load as needed):\n\n- `references\u002Fagent-types-and-architecture.md` — Agent types, workflows, custom agents\n- `references\u002Ftools-and-mcp-integration.md` — Custom tools, MCP, tool filtering\n- `references\u002Fmulti-agent-and-a2a-protocol.md` — Sub-agents, A2A, coordinator patterns\n- `references\u002Fsessions-state-memory-artifacts.md` — State, artifacts, sessions, memory\n- `references\u002Fcallbacks-plugins-observability.md` — Lifecycle hooks, plugins, tracing\n- `references\u002Fevaluation-testing-cli.md` — adk eval, CLI, evalset format\n- `references\u002Fdeployment-cloud-run-vertex-gke.md` — Cloud Run, Vertex AI, GKE\n\n## External Resources\n\n- GitHub: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\n- Docs: https:\u002F\u002Fgoogle.github.io\u002Fadk-docs\u002F\n- Samples: https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fadk-python\u002Ftree\u002Fmain\u002Fcontributing\u002Fsamples\n- llms.txt: https:\u002F\u002Fraw.githubusercontent.com\u002Fgoogle\u002Fadk-python\u002Frefs\u002Fheads\u002Fmain\u002Fllms.txt\n",{"name":5,"license":15,"metadata":24,"description":7,"argument-hint":27},{"author":25,"version":26},"claudekit","2.0.0","[agent or feature]","main","ee041796d2a7f4e59dab6efddec3c4372dc7e0c2",".claude\u002Fskills\u002Fgoogle-adk-python",0,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2","https:\u002F\u002Fgym-ver2.vercel.app","https:\u002F\u002Fgithub.com\u002FTNHoang2708","2026-07-27 11:13:41",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add TNHoang2708\u002FGym_Ver2 --skill \"ck:google-adk-python\"",{"tool":42,"command":43},"bunx","bunx skills add TNHoang2708\u002FGym_Ver2 --skill \"ck:google-adk-python\"",{"tool":45,"command":46},"pnpm","pnpm dlx skills add TNHoang2708\u002FGym_Ver2 --skill \"ck:google-adk-python\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002FSKILL.md",true,[50,56,60,64,68,72,76],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fagent-types-and-architecture.md","REFERENCE","参考文档",2979,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002Freferences\u002Fagent-types-and-architecture.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcallbacks-plugins-observability.md",3556,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002Freferences\u002Fcallbacks-plugins-observability.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fdeployment-cloud-run-vertex-gke.md",3442,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002Freferences\u002Fdeployment-cloud-run-vertex-gke.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fevaluation-testing-cli.md",2671,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002Freferences\u002Fevaluation-testing-cli.md",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fmulti-agent-and-a2a-protocol.md",3850,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002Freferences\u002Fmulti-agent-and-a2a-protocol.md",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fsessions-state-memory-artifacts.md",4317,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002Freferences\u002Fsessions-state-memory-artifacts.md",{"path":77,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Ftools-and-mcp-integration.md",3963,"https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgoogle-adk-python\u002Freferences\u002Ftools-and-mcp-integration.md",[81,88,96,104,111,118],{"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":19},"01M75V12SQKYG29WPJ7THM0B3J","ck:web-testing","Web testing with Playwright, Vitest, k6. E2E\u002Funit\u002Fintegration\u002Fload\u002Fsecurity\u002Fvisual\u002Fa11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fweb-testing\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":92,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M75V0ZAPB01NZ0R788QYK750","ck:web-frameworks","Build with Next.js (App Router, RSC, SSR, ISR), Turborepo monorepos. Use for React apps, server rendering, build optimization, caching strategies, shared dependencies.","MIT","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fweb-frameworks\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":92,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M75V0DAX3900AQ7MFB3N3N9G","ck:ui-styling","Style UIs with shadcn\u002Fui components (Radix UI + Tailwind CSS). Use for accessible components, themes, dark mode, responsive layouts, design systems, color customization.","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":92,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M75V090W8Z0VPJ62H2SCYWBN","ck:threejs","Build 3D web apps with Three.js (WebGL\u002FWebGPU). 556 searchable examples, 60 API classes, 20 use cases. Actions: create 3D scene, load model, add animation, implement physics, build VR\u002FXR. Topics: GLTF loader, PBR materials, particle effects, shadows, post-processing, compute shaders, TSL. Integrations: WebGPU, physics engines, spatial audio.","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fthreejs\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":92,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M75TZV3NKMAEJVNVMMWSW922","ck:stitch","AI design generation with Google Stitch. Generate UI designs from text prompts, export Tailwind\u002FHTML\u002FDESIGN.md, orchestrate design-to-code pipeline. Use for rapid prototyping, UI generation, design exploration.","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fstitch\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M75TZQ6B9KRXPZCHGH7K64WF","ck:skill-creator","Create or update Claude skills with eval-driven iteration. Use for new skills, skill scripts, references, benchmark optimization, description optimization, eval testing, extending Claude's capabilities.","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTNHoang2708\u002FGym_Ver2\u002Fblob\u002Fmain\u002Fclaudekit-engineer-2.15.0\u002F.opencode\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[]]