adk-verify-snippets
Skill22k starsChanged 4 months agoApache-2.0View on GitHub
Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail report with per-snippet coverage. Use when the user asks to verify, test, or validate the code samples in a README, a guide, or a documentation page; wants to know which snippets in a Markdown file are broken or out of date; or asks for a snippet verification report. Don't use for running the project's test suite (run pytest directly), for checking code style or formatting (use `adk-style`), or for authoring a new runnable sample agent (use `adk-sample-creator`).
- Reads credentials
- Installs packages
Trending
Less talk lately.about the whole repository
Who's talking about google/adk-python
- @tiangolo.com“Google's AI Agent Developer Toolkit uses @fastapi.tiangolo.com 😎 github.com/google/adk-p...”Bluesky · Apr 12, 2025 · 14 likes
- @stephanjanssen.be“Google just open sourced a Python Agent Development Kit @ github.com/google/adk-p... Native Streaming and …”Bluesky · Apr 9, 2025 · 12 likes
- googleapis/python-genai“Feature Request: Support user identity/credentials for VertexAISearch grounding”GitHub · Oct 28, 2025 · 10 reactions
- google/adk-go“When is the plan to support the Claude model?”GitHub · Nov 7, 2025 · 9 reactions
- google-gemini/computer-use-preview“ComputerUseToolset: safety_decision for click_at requires safety_acknowledgement even after user confirms …”GitHub · Dec 5, 2025 · 7 reactions
The biggest 5 of 63 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 63
Talked about on GitHub, Bluesky and Hacker News (63 times).
On GitHub · 50
- Oct 28, 2025Feature Request: Support user identity/credentials for VertexAISearch grounding — googleapis/python-genai10 reactions · 5 comments
- Nov 7, 2025When is the plan to support the Claude model? — google/adk-go9 reactions · 15 comments
- Dec 5, 2025ComputerUseToolset: safety_decision for click_at requires safety_acknowledgement even after user confirms in ADK UI — google-gemini/computer-use-preview7 reactions
- Jun 10, 2025Add an example of LongRunningFunctionTool — google/adk-recipes6 reactions · 4 comments
- Jun 6, 2025Add copy button in ADK Web UI chat response — google/adk-web6 reactions · 3 comments
45 more on GitHub
- Nov 18, 2025Gemini API rejects MCP tool schemas with $defs references — google-gemini/gemini-cli5 reactions · 8 comments
- May 21, 2025Documentation for using the MCP tool is partially outdated for v1.0.0 — google/adk-docs4 reactions · 1 comment
- Aug 14, 2026[Feature]: model/openaimodel: support image/file input (genai InlineData/FileData parts) — google/adk-go3 reactions · 7 comments
- Oct 23, 2025RFC: Context Caching Support for Java ADK — google/adk-java3 reactions · 3 comments
- May 26, 2025Documentation for MCPToolset use has not been updated after 1.0.0 release — google/adk-docs3 reactions · 8 comments
- Apr 10, 2025[feature request] Support Google Agent Development Kit (ADK) — Arize-ai/openinference3 reactions · 6 comments
- Jun 24, 2026chore(deps): bump the pip group across 2 directories with 6 updates — CaffeeLake/AP22 reactions
- May 17, 2026chore(deps): bump the pip group across 5 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- May 17, 2026chore(deps): bump the pip group across 6 directories with 1 update — billlzzz10/adk-samples2 reactions · 4 comments
- May 17, 2026chore(deps): bump the pip group across 6 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- May 13, 2026chore(deps): bump the pip group across 3 directories with 4 updates — HarleyCoops/adk-python2 reactions · 1 comment
- May 5, 2026chore(deps): bump the pip group across 7 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- May 4, 2026chore(deps): bump the pip group across 8 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 26, 2026chore(deps): bump the uv group across 46 directories with 2 updates — billlzzz10/adk-samples2 reactions · 5 comments
- Apr 26, 2026chore(deps): bump the uv group across 47 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 24, 2026chore(deps): bump the uv group across 38 directories with 2 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 24, 2026chore(deps): bump the uv group across 39 directories with 2 updates — billlzzz10/adk-samples2 reactions · 5 comments
- Apr 24, 2026chore(deps): bump the uv group across 36 directories with 2 updates — billlzzz10/adk-samples2 reactions · 5 comments
- Apr 24, 2026chore(deps): bump the pip group across 10 directories with 7 updates — billlzzz10/adk-samples2 reactions · 3 comments
- Apr 24, 2026chore(deps): bump the pip group across 10 directories with 1 update — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 24, 2026chore(deps): bump the pip group across 7 directories with 7 updates — billlzzz10/adk-samples2 reactions · 4 comments
- Apr 14, 2026Bump google-adk from 1.1.1 to 1.28.1 in /adk-gradio-example — cicero-im/adk-gradio2 reactions · 2 comments
- Apr 14, 2026Bump google-adk from 0.1.0 to 1.28.1 in /advanced_ai_agents/multi_agent_apps/ai_financial_coach_agent — cicero-im/awesome-llm-apps2 reactions · 2 comments
- Mar 13, 2026Feature request: Google ADK integration plugin similar to LangChain — livekit/agents2 reactions
- Jan 29, 2026ASGI shutdown error with active SSE connections - StreamableHTTPSessionManager cancels task group without graceful stream termination — PrefectHQ/fastmcp2 reactions
- Dec 27, 2025[Feature] Contribute to support bifrost in ADK — maximhq/bifrost2 reactions · 3 comments
- Nov 30, 2025Feature Request: Support dynamic per-request headers in MCPTools for multi-tenant applications — agno-agi/agno2 reactions · 9 comments
- Oct 20, 2025Expose max_llm_calls to ADK web — google/adk-web2 reactions
- Aug 20, 2025Claude in Vertex AI does not support URL-based image ingestion — langchain-ai/langchain-google2 reactions · 4 comments
- May 3, 2025Help with GKE deployment with istio enabled — google/adk-web2 reactions · 1 comment
- Oct 28, 2026docs: fix 5 broken internal anchor links and 1 dead external link — google-gemini/gemini-cli1 reaction · 3 comments
- Oct 16, 2026chore(deps): bump google-adk from 2.9.2 to 2.12.0 — cgj8702-org/hannibal-hub-agents1 reaction · 2 comments
- Oct 15, 2026fix(agenttool): preserve code output in sub-agent results — google/adk-go1 reaction · 1 comment
- Oct 15, 2026docs(agents): explain opt-in sharing of sibling final answers — google/adk-docs1 reaction · 1 comment
- Sep 11, 2026build(deps): bump google-adk from 2.4.0 to 2.8.0 — cgj8702-org/hannibal-hub-agents1 reaction
- Aug 25, 2026fix(google_adk): support google-adk 2.7.0+ tool dispatch changes [MLOS-864] — DataDog/dd-trace-py1 reaction · 6 comments
- Jul 17, 2026Update google-adk requirement from >=1.31.1 to >=2.5.0 — xenm/map-me-search1 reaction · 3 comments
- Jul 8, 2026Update google-adk requirement from >=1.31.1 to >=2.4.0 — xenm/map-me-search1 reaction · 4 comments
- Jun 18, 2026Update google-adk requirement from >=1.31.1 to >=2.3.0 — xenm/map-me-search1 reaction · 4 comments
- Jun 5, 2026Update google-adk requirement from >=1.31.1 to >=2.2.0 — xenm/map-me-search1 reaction · 4 comments
- May 22, 2026fix(ollama): remap tool role to tool_responses for Gemma models — BerriAI/litellm1 reaction · 5 comments
- Apr 14, 2026chore(deps): bump the pip group across 2 directories with 2 updates — Activ8-AI/compose-for-agents1 reaction · 1 comment
- Apr 9, 2026Update deployment docs to avoid relying on internal get_fast_api_app — google/adk-docs1 reaction · 1 comment
- Mar 17, 2026Add progressive SSE to streaming aggregator and parallel function call execution — google/adk-go1 reaction · 2 comments
- Jun 12, 2025Hackathon related `google-adk` issues and pull requests — pivlab/manufold1 reaction · 10 comments
On Bluesky · 11
- Apr 12, 2025Google's AI Agent Developer Toolkit uses @fastapi.tiangolo.com 😎 github.com/google/adk-p... — @tiangolo.com14 likes and reposts
- Apr 9, 2025Google just open sourced a Python Agent Development Kit @ github.com/google/adk-p... Native Streaming and #MCP support out of the box 👀… — @stephanjanssen.be12 likes and reposts
- Apr 16, 2025adk-python An open-source, code-first Python toolkit by Google for building, evaluating, and deploying sophisticated AI agents with… — @pythonhub.dev3 likes and reposts
- Oct 30, 2025🧠 Google Agent Development Kit (ADK) kini mendukung file llms.txt & llms-full.txt untuk meningkatkan “vibe coding” dengan AI agents! 🚀 🔗… — @its-me-rhk.bsky.social2 likes and reposts
- Feb 28, 2026https://github.com/google/adk-python — @tom-doerr.bsky.social1 likes and repost
6 more on Bluesky
- Aug 8, 2025📦 google / adk-python ⭐ 11,687 (+78) 🗒 Python An open-source, code-first Python toolkit for building, evaluating, and deploying… — @github-trending.bsky.social1 likes and repost
- Jun 2, 2025잠시 관심을 놓고있던 사이에 google adk 가 stable 이 됐었네 github.com/google/adk-p... — @oenomel.bsky.social1 likes and repost
- Apr 9, 2025github.com/google/adk-python — @php.2.hyzsui.com1 likes and repost
- May 10, 2026Repo → https://github.com/openai/openai-agents-python 3. google/adk-python Google's Agent Development Kit. The official toolkit for… — @adityamitra.bsky.social0 likes and reposts · 1 reply
- Jun 26, 2025Google ADK (agent developlemt toolkit) github.com/google/adk-p... — @ineumann.fr0 likes and reposts · 1 reply
- May 30, 2025🍦 Try the ice cream agent: goo.gle/ice-cream-agent 💻 Check out the code: goo.gle/ice-cream-agent-code ADK Docs:… — @alokpattani.bsky.social0 likes and reposts · 1 reply
On Hacker News · 2
- Apr 9, 2025Agent Development Kit (ADK) from Google6 points · 3 comments
- Apr 11, 2025Google ADK1 point · 1 comment
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- adk-agent-builderSkill
- adk-architectureSkill
- adk-debugSkill
- adk-gitSkill
- adk-reviewSkill
- adk-sample-creatorSkill
- adk-setupSkill
- adk-styleSkill
- adk-unit-designSkill
- adk-unit-guideSkill
- calc-skillSkill
- text-skillSkill
- weather-skillSkill
- calc-skillSkill
- text-skillSkill
- weather-skillSkill
- code-review-skillSkill
- weather-skillSkill
- bigquery-ai-mlSkill
- bigquery-graphSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
If both are set the harness drops GOOGLE_API_KEY, so GEMINI_API_KEY wins.
- Very specific: line 77
If the snippet assigns a Workflow, Agent, or App to a module-level variable, the harness executes it against the Gemini API.
- Very specific: line 97
Put <!-- verify-snippets: ignore --> alone on a line immediately before the opening `python fence to exclude a block.
- Very specific: line 133
Read the generated report and copy the Executive Summary table across exactly as written — same six columns, same order, nothing renamed or …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify Markdown Snippets
Extracts every ```python block from a Markdown file, runs each one in its
own subprocess via the bundled run.py harness, and writes a report covering
load status, run status, and line coverage per snippet.
Read-only contract
Verifying a doc must never change the doc. Do not create, modify, or delete any file in the repository — including the Markdown being verified, its code blocks, and this SKILL.md. Report the failures; do not fix them and do not offer patches.
The script performs the only two writes that happen: temporary .py files in a
system temp directory outside the repository (removed when it exits), and the
report beside the source Markdown file.
Prerequisites
- An ADK development environment — run from the repository root with the
uvvirtual environment active (see theadk-setupskill). coverage, optional. It is not a declared project dependency, so install it explicitly; without it the Coverage column shows—.uv pip install coverageA Gemini API key, needed only for snippets that build an
Agent,App, orWorkflow— those are executed against the live API.export GEMINI_API_KEY="{your_key}" # or export GOOGLE_API_KEY="{your_key}"If both are set the harness drops
GOOGLE_API_KEY, soGEMINI_API_KEYwins.
Usage
uv run --no-sync python .agents/skills/adk-verify-snippets/scripts/verify_md.py {path_to_markdown_file}The script prints per-snippet progress, then writes the report beside the source file and prints its full path.
The report filename is the source file's stem lowercased with everything except
[a-z0-9_] stripped, plus _REPORT.md. Workflow-Guide.md therefore produces
workflowguide_REPORT.md, not Workflow-Guide_REPORT.md — read the path the
script prints rather than reconstructing it.
The report contains an Executive Summary table with one row per snippet, then a detailed section per snippet holding the code block, the execution logs (stdout plus stderr/traceback), and the coverage output.
How each snippet is classified
Runnable — has a module-level ADK component
If the snippet assigns a Workflow, Agent, or App to a module-level
variable, the harness executes it against the Gemini API.
- The variable name does not matter; the harness scans
vars(module). - Precedence is
Workflow, then rootAgent, thenApp. AWorkflowanywhere in the snippet wins over any agent in it. - The root agent is the first agent that appears in no other agent's
sub_agents, so multi-agent snippets resolve correctly whatever order the agents are defined in. - An
Appmust have been constructed with aroot_agentor the run fails. - The prompt sent is
"Test input topic". Override it by defining a module-leveltest_inputstring in the snippet.
Load-only — no ADK component
The harness confirms the snippet compiles and imports, and makes no API call.
The report shows ➖ NO ADK COMPONENT.
Skipped — annotated with ignore
Put <!-- verify-snippets: ignore --> alone on a line immediately before the
opening ```python fence to exclude a block. Use it for pseudo-code,
illustrative fragments, and snippets that need external setup. The report shows
⏭️ SKIPPED.
<!-- verify-snippets: ignore -->
```python
# pseudo-code — not runnable as-is
my_agent = Agent(model="gemini-ultra-hypothetical", ...)
```Limitations that make correct snippets report as broken
Annotate with <!-- verify-snippets: ignore --> instead of editing the doc to
work around any of these.
- No shared state between snippets. Each snippet runs in a fresh
subprocess, so one that relies on an import or variable from an earlier
block fails with
NameErrororImportError. - 120-second timeout per snippet, after which the process is killed and the snippet reports as a run failure.
- Annotation placement. The annotation applies to the next
```pythonfence. Blank lines between the two are fine; any prose line or heading between them cancels it. - A bare
```closes the block. The parser closes a Python block at the first fence carrying no language tag, so a bare fence used as content inside a snippet truncates it. A tagged fence (for example```bash) is kept as literal content and is safe. - Module-level
asyncio.run()collides with the harness's own event loop and reports as a run failure. Snippets should keep top-level async calls behindif __name__ == "__main__":.
Reporting back to the user
Read the generated report and copy the Executive Summary table across exactly as
written — same six columns, same order, nothing renamed or dropped:
Snippet | Preceding Heading | Load Phase | Run Phase | Coverage | Details.
Present it and stop.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

