Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add GlamgarOnDiscord/claude-saas-blueprint --skill api-gengit clone --depth 1 https://github.com/GlamgarOnDiscord/claude-saas-blueprintWrote 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/glamgarondiscord/claude-saas-blueprint/api-gen)<a href="https://agentmods.dev/skills/glamgarondiscord/claude-saas-blueprint/api-gen"><img src="https://agentmods.dev/badge/skills/glamgarondiscord/claude-saas-blueprint/api-gen/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/glamgarondiscord/claude-saas-blueprint/api-gen"><img src="https://agentmods.dev/badge/skills/glamgarondiscord/claude-saas-blueprint/api-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00020 | $0.00434 |
| Opus 5 | $0.00010 | $0.00217 |
| Sonnet 5 | $0.00004 | $0.00087 |
| Haiku 4.5 | $0.00002 | $0.00043 |
Grade A, and why
api-gen 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.
What it actually says
Arguments
resource: Nom de la ressource (ex: "invoices", "projects")operations: CRUD complet par défaut, ou spécifier (ex: "create,read,list")
Instructions
1. Analyse
- Lire
rules/api-routes.md+rules/security.mdavant toute modification - Lire le schema DB pour la ressource (si existant)
- Identifier le pattern API utilisé dans le projet (REST, tRPC, GraphQL)
- Lire un endpoint existant comme référence de style
2. Génération
Pour chaque opération demandée, créer :
Validation (Zod) dans shared/validators/ :
- Schema de création (tous les champs requis)
- Schema de mise à jour (tous les champs optionnels via
.partial()) - Schema de query params (pagination, filtres, tri)
Use Case dans core/usecases/ :
- Un fichier par opération :
create-{resource}.ts,list-{resources}.ts, etc. - Injection du port repository via paramètre
- Vérification d'autorisation intégrée
Route/Controller dans adapters/api/ :
- Middleware d'auth appliqué
- Validation du body/params/query avec le schema Zod
- Réponse standardisée :
{ data, error, meta: { page, total } } - Gestion d'erreur avec codes HTTP appropriés
Tests :
- Test unitaire par use case
- Test d'intégration par route (si framework de test dispo)
3. Validation
tsc --noEmit- Exécuter les tests générés
- Vérifier qu'il n'y a pas de routes dupliquées
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 · 46 lines · 20 tokens per session scan A ce64da25acec
api-gen is a skill published in the GitHub repository GlamgarOnDiscord/claude-saas-blueprint (2 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 434 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-31.
Other skills, from other repositories
sdd-apply
Skill "sdd-apply" from Gentleman-Programming/gentle-ai, covering execution role, language domain contract, purpose, what you receive and execution and persistence contract.
n8n-architect
Use when the user explicitly wants to create, edit, validate, sync, or troubleshoot n8n workflows, asks about n8n nodes or automation, or wants to use n8n-as-code in the current context root.
bfl-api
BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and TypeScript code examples.
api-doc-generator
Generate API documentation from source code, supporting REST APIs, GraphQL, and various documentation formats.
solr-extending
To build Solr plugins: SearchComponent, QParser, URP, DocTransformer.
api-aqa-flow
Workflow for backend API test automation: TMS / Issue Tracker test cases → automated API tests, HITL-gated.