Borrowing it
Nothing to install: this file belongs to zaber-dev/free-ai-gateway. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zaber-dev/free-ai-gateway/main/.agents/skills/provider-scaffolding/SKILL.mdgit clone --depth 1 https://github.com/zaber-dev/free-ai-gatewayWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zaber-dev/free-ai-gateway/provider-scaffolding)<a href="https://agentmods.dev/skills/zaber-dev/free-ai-gateway/provider-scaffolding"><img src="https://agentmods.dev/badge/skills/zaber-dev/free-ai-gateway/provider-scaffolding/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zaber-dev/free-ai-gateway/provider-scaffolding"><img src="https://agentmods.dev/badge/skills/zaber-dev/free-ai-gateway/provider-scaffolding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 60 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00538 |
| Opus 5 | $0.00013 | $0.00269 |
| Sonnet 5 | $0.00005 | $0.00108 |
| Haiku 4.5 | $0.00003 | $0.00054 |
Grade A, and why
provider-scaffolding scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Provider Scaffolding Skill
Use this skill whenever an agent needs to add a new AI provider adapter into @free-ai-gateway/core.
Step-by-Step Scaffolding Procedure
1. Create Adapter Class
In packages/core/src/providers/<provider-id>.ts:
import { BaseProvider } from "./base-provider";
import { ProviderModel, UnifiedRequest, UnifiedResponse } from "../types/contracts";
import { ProviderError } from "../errors/errors";
export class NewProviderAdapter extends BaseProvider {
public static readonly providerId = "new_provider";
async invoke(request: UnifiedRequest, model: ProviderModel): Promise<UnifiedResponse> {
const apiKey = this.getApiKey("NEW_PROVIDER_API_KEY");
if (!apiKey) {
throw new ProviderError("Missing NEW_PROVIDER_API_KEY", 401);
}
const { data } = await this.post(
"chat/completions",
{
...request.payload,
model: model.id,
},
{
headers: {
Authorization: `Bearer ${apiKey}`,
},
}
);
return {
servedBy: {
provider: this.config.id,
model: model.id,
},
data,
};
}
}
2. Add Configuration to packages/core/src/config/providers.json
{
"id": "new_provider",
"name": "New Provider",
"auth": "api_key",
"base_url": "https://api.newprovider.ai/v1",
"limit_scope": "account",
"openai_compatible": true,
"confidence": "official",
"models": [
{
"id": "model-v1",
"capabilities": ["text", "tool_calling"],
"limits": {
"rpm": 60,
"rpd": 1000
}
}
]
}
3. Export in packages/core/src/providers/index.ts & packages/core/src/index.ts
Export the class so ProviderLoader and downstream packages can consume it:
// in packages/core/src/providers/index.ts
export { NewProviderAdapter } from "./new-provider";
// in packages/core/src/index.ts
export { NewProviderAdapter } from "./providers";
4. Verify with Tests
npm test --workspace=@free-ai-gateway/core
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 92 lines · 25 tokens per session scan A d813c1caa3e7
provider-scaffolding is a skill published in the GitHub repository zaber-dev/free-ai-gateway (14 stars, last pushed 4d ago), licensed MIT. It adds 25 tokens to every session and 538 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
streaming-patterns
When designing Kafka consumers/producers or implementing real-time pipelines.
feature-engineering
When building training datasets, designing feature pipelines, or debugging training-serving skew.
inference-serving
When deploying a model to an API endpoint or optimizing inference latency.
llm-gateway-routing
Canonical LLM gateway/routing/proxy playbook: multi-provider failover, token reduction proxies, and cost wrappers.
gemini-interactions-api
Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. This skill covers the…
gemini-live-api-dev
Use this skill when building real-time, bidirectional streaming applications with the Gemini Live API. Covers WebSocket-based audio/video/text streaming, voice activity detection (VAD), native audio features, function calling, session management, ephemeral tokens for client-side auth, live translation, and all Live…