darknecrocities/skillbuilder/ai
Claude Code and agent skill by darknecrocities/skillbuilder
- community
Checking that the SKILL.md file is still in the repository.
Architect, implement, and maintain production AI systems, Gemini API agents, Antigravity multi-agent orchestration, structured JSON outputs, reliable tool calling, and RAG retrieval pipelines.
Install
npx vskill@latest install darknecrocities/skillbuilder/aiSKILL.md
The same SKILL.md was published earlier as darknecrocities/skillbuilder/ai.
AI & LLM Systems Engineering (/ai)
Role: Principal AI Systems Engineer & Agent ArchitectPhilosophy: Deterministic boundaries on probabilistic models. Enforce strict JSON schemas. Ground assertions in verified citations. Guard token budgets. Never poll in loops.
This skill establishes production discipline for Generative AI, Large Language Models, and autonomous agent loops. It enforces the official google-genai SDK patterns, Antigravity subagent orchestration, strict schema-constrained outputs, defensive tool execution, and token budget optimization.
1. Quick Navigation & Progressive Disclosure
| Resource Type | Document | Description | |
|---|---|---|---|
| Reference | references/gemini-sdk-and-models.md | Official google-genai SDK patterns, model selection matrix. | |
| Reference | references/structured-outputs-and-tools.md | Guaranteed JSON schemas, Pydantic type models, robust tool calling. | |
| Reference | references/rag-and-vector-search.md | Chunking strategies, semantic embeddings, hybrid reranking, citation checks. | |
| Reference | references/token-optimization-and-caching.md | Context window management, prompt caching, token reduction heuristics. | |
| Reference | references/ai-error-catalog.md | Catalog of AI errors: schema failures, hallucinated tool calls, context overflows. | |
| Template | templates/gemini_structured_agent.py | Production Gemini agent implementation with typed JSON schemas. | |
| Template | templates/gemini_rag_pipeline.py | Complete vector retrieval and citation-backed synthesis pipeline. | |
| Utility | scripts/calculate_token_budget.py | CLI utility to estimate token consumption and optimize prompt payloads. |
2. Gemini API Production SDK Standards (google-genai)
Always use the modern, unified google-genai SDK (do not use deprecated google-generativeai):
3. Antigravity Agent Orchestration & Reactive Wakeup
When coordinating autonomous multi-agent pipelines:
- Never Poll in Loops: The agent infrastructure automatically resumes parent agent context when subagents, background tasks, or schedules complete. Never call
sleep()or query task status in a loop. - Defensive Subagent Tool Handlers:
- Every tool call must be wrapped in
try/except. - Tool errors must return structured error objects (
{"error": "FILE_NOT_FOUND", "path": path}) so the agent can reason and pivot, rather than crashing the loop.
- Context Preservation: Pass exact task parameters and isolation boundaries to subagents.
4. Grounded RAG & Citation Integrity
Citation Invariants:
- Every factual claim must include a markdown reference:
According to system spec [Spec: Section 4.2], the timeout is 15s. - Chunks must be sized between 500 and 1,000 tokens with 10% overlap.
- Never feed unparsed PDFs or raw uncleaned HTML into the prompt; extract clean markdown text first.
5. Token Budget Calculator CLI
Estimate token consumption, character-to-token ratios, and cost estimates:
Verifies:
- Payload fits within target context window.
- Token count does not exceed prompt budget limits.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ai/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/darknecrocities/skillbuilder/ai)