google-developer-knowledge
Skill127 starsChanged 10 months agoMITView on GitHub
Search and retrieve Google's developer documentation using the Developer Knowledge API. Query documentation chunks, get full document content, or batch retrieve multiple documents. Covers ai.google.dev, developer.android.com, docs.cloud.google.com, firebase.google.com, and more.
- Reads credentials
In this repository10 other files it gives its agents.
- skills/google-adk-python/references/agents.mdAGENTS.md
- deep-researchSkill
- google-adk-pythonSkill
- google-genai-sdk-pythonSkill
- nano-banana-buildSkill
- nano-banana-useSkill
- speech-buildSkill
- speech-useSkill
- veo-buildSkill
- veo-useSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to search and retrieve content from Google's public developer documentation corpus using the Developer Knowledge API.
- Distinctive: line 40
Search for document chunks matching a query.
≈ “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
Google Developer Knowledge
Use this skill to search and retrieve content from Google's public developer documentation corpus using the Developer Knowledge API.
This skill uses simple bash scripts with curl (no dependencies required).
Prerequisites
- Enable the API: Enable the Developer Knowledge API in your Google Cloud project.
- Create an API Key:
- Go to the Credentials page
- Click Create credentials → API key
- Restrict the key to Developer Knowledge API only
- Set Environment Variable:
DEVELOPERKNOWLEDGE_API_KEY: Your Developer Knowledge API key
Searchable Corpus
The API searches these domains:
ai.google.devdeveloper.android.comdeveloper.chrome.comdevelopers.google.comdocs.cloud.google.comfirebase.google.comweb.devwww.tensorflow.org
Usage
1. Search for Documents
Search for document chunks matching a query. Returns snippets and parent document references.
./skills/google-developer-knowledge/scripts/search_docs.sh "How to use Gemini API in Python"With pagination:
./skills/google-developer-knowledge/scripts/search_docs.sh "BigQuery" --page-size 102. Get a Single Document
Retrieve the full content of a document using its name from search results.
./skills/google-developer-knowledge/scripts/get_document.sh "documents/ai.google.dev/gemini-api/docs/get-started/python"Save to file:
./skills/google-developer-knowledge/scripts/get_document.sh "documents/ai.google.dev/..." --output doc.json3. Batch Get Documents
Retrieve up to 20 documents in a single API call.
./skills/google-developer-knowledge/scripts/batch_get_documents.sh \
"documents/ai.google.dev/gemini-api/docs/get-started/python" \
"documents/ai.google.dev/gemini-api/docs/models"Options
search_docs.sh
query: The search query (required)--page-size: Number of results (1-20, default 5)--page-token: Token for next page of results--output: Save results to JSON file
get_document.sh
name: Document name from search results (required)--output: Save content to file
batch_get_documents.sh
names: Space-separated document names (up to 20)--output: Save all documents to directory
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.

