ai-infrastructure-hugg…
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming, embeddings, image generation,…
AI specification planning frameworks. Use when a spec touches model calls, prompts, retrieval, tool calling, agentic loops, or evals. Covers approach selection, model and provider choice, structured output contracts, loop guards, budgets, failure modes, and eval design.
$ npx -y skills add agents-inc/skills --skill meta-planning-ai-planning --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/meta-planning-ai-planningContext preview
The summary Claude sees to decide when to auto-load this skill.
AI specification planning frameworks. Use when a spec touches model calls, prompts, retrieval, tool calling, agentic loops, or evals. Covers approach selection, model and provider choice, structured output contracts, loop guards, budgets, failure modes, and eval design.
name: meta-planning-ai-planning description: AI specification planning frameworks. Use when a spec touches model calls, prompts, retrieval, tool calling, agentic loops, or evals. Covers approach selection, model and provider choice, structured output contracts, loop guards, budgets, failure modes, and eval design.
> **Quick Guide:** Default to the simplest tier that satisfies the requirement — most features are one well-built model call. Pin the model id, define the output contract with a repair-vs-reject policy, budget in tokens and money rather than adjectives, enumerate the failure modes, and make quality measurable with an eval plan before implementation starts. Apply a framework only when the spec touches its artifact class — a feature with no retrieval needs no retrieval section.
---
<critical_requirements>
> **All specifications must be grounded in the codebase's real model clients, prompt modules, schemas, and eval fixtures** — reference specific files with line numbers
**(You MUST justify the approach against the simpler tier — a fixed code-orchestrated chain beats an agentic loop whenever the step sequence is known)**
**(You MUST pin an explicit model id in configuration with a named fallback — never a floating alias, never inline in code)**
**(You MUST define the output contract completely: mechanism, schema, validation boundary, and a repair-vs-reject policy)**
**(You MUST state budgets as numbers — tokens per call, calls per request, cost per request, p95 latency — never as adjectives)**
**(You MUST identify where untrusted input enters every prompt, and require adversarial eval cases wherever it does)**
**(You MUST apply each framework only when the spec touches its artifact class — an unused section is omitted, never filled)**
</critical_requirements>
---
**Auto-detection:** AI spec, LLM feature spec, prompt design spec, model selection, RAG spec, retrieval design, tool calling spec, agent loop spec, eval plan, token budget, structured output
**When to use:**
**When NOT to use:**
**Key patterns covered:**
**Detailed Resources:**
---
<philosophy>
**Non-determinism is the material; contracts are what make it buildable.** A model's output cannot be trusted by construction, so every boundary — schema, budget, failure behavior, eval threshold — must be decided in the spec, or it gets decided implicitly in production.
**When specifying AI work:**
**When NOT to specify:**
**Core principles:**
</philosophy>
---
<patterns>
Does the task need knowledge that is not in the model and not in the request?
├─ NO → Single model call with a well-built prompt. Stop here. Most features end here.
└─ YES → Where does that knowledge live?
├─ A bounded set that fits the context window (< ~30% of it) → Pass it directly. No retrieval infrastructure.
├─ A large or growing corpus → Retrieval (RAG)
└─ A live system of record (database, third-party API) → Tool calling, not retrieval
Does the task need multiple dependent actions the model must sequence itself?
├─ NO → Single call, or a fixed chain of calls you orchestrate in code
│ (a fixed chain is cheaper, more debuggable, and easier to eval than a loop)
└─ YES → Agentic loop with an explicit step budget and termination conditions**Default to the sim
The official skills marketplace for Agents Inc. 150+ skills covering everything from React and Prisma to Redis, ElevenLabs, and infrastructure tooling. Pick the skills that match your stack and install them via Claude Code. Need more control?
Repo: agents-inc/skills
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming, embeddings, image generation,…
LiteLLM proxy server setup, TypeScript client patterns via OpenAI SDK, model routing, fallbacks, load balancing, spend tracking, virtual keys, and production…
Serverless GPU compute platform for AI model deployment — web endpoints, GPU functions, model serving, and TypeScript client patterns
Local LLM inference with the Ollama JavaScript client -- chat, streaming, tool calling, vision, embeddings, structured output, model management, and…
Replicate SDK patterns for TypeScript/Node.js -- client setup, predictions, streaming, webhooks, file handling, model versioning, deployments, and training
Together AI SDK patterns for TypeScript — client setup, chat completions, streaming, structured output, function calling, embeddings, image generation,…