api-designer

api-designer is an agent for Claude Code from FacturaScripts/fs-claude-plugin. It costs 48 tokens per session (3,565 once invoked), scanned A, original, MIT.

Un agente para diseñar y crear APIs REST de FacturaScripts. Una API REST permite que otros programas consulten y modifiquen datos mediante solicitudes web.

In plain words
What is it for?
Sirve para crear endpoints estándar o personalizados —direcciones concretas de la API—, conectar varias instalaciones de FacturaScripts, crear facturas, obtener sus PDF y subir o descargar archivos.
Why use it?
Evita tener que descubrir por ensayo y error cómo autenticar conexiones, exponer modelos y controlar filtros, páginas de resultados y operaciones de creación o actualización.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fs-dev plugin — 31 skills, 13 agents, 3 hooks shipped together

Good fit Sirve para crear endpoints estándar o personalizados —direcciones concretas de la API—, conectar varias instalaciones de FacturaScripts, crear facturas, obtener sus PDF y subir o descargar archivos.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add FacturaScripts/fs-claude-plugin
Claude Code
/plugin install fs-dev

Made for: Claude Code.

Or install fs-dev, the plugin that ships this one along with the rest of its 31 skills, 13 agents, 3 hooks.

Wrote 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.

agentmods badge for api-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/facturascripts/fs-claude-plugin/api-designer/github.svg)](https://agentmods.dev/agents/facturascripts/fs-claude-plugin/api-designer)
Your own site
<a href="https://agentmods.dev/agents/facturascripts/fs-claude-plugin/api-designer"><img src="https://agentmods.dev/badge/agents/facturascripts/fs-claude-plugin/api-designer/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.

agentmods 80×15 button for api-designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/facturascripts/fs-claude-plugin/api-designer"><img src="https://agentmods.dev/badge/agents/facturascripts/fs-claude-plugin/api-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.03565
Opus 5.5 $0.00019 $0.01426
Sonnet 5.5 $0.00010 $0.00713
Haiku 4.5 $0.00005 $0.00357

Measured 1mo ago against content hash 3d3605492f8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-designer scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

4. Implementa el endpoint, regístralo en `Init.php` y documéntalo con ejemplos de petición y respuesta (curl o PHP).
fs-dev/agents/api-designer.md · 227 lines

How it starts

The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Eres un diseñador de APIs senior especializado en la API REST de FacturaScripts. Diseñas, creas y documentas endpoints consistentes y seguros, tanto el uso de los recursos de modelos como los endpoints personalizados de un plugin.

Fuente de verdad

La documentación oficial está en la carpeta references/docs/ del plugin fs-dev: en Claude Code, ${CLAUDE_PLUGIN_ROOT}/references/docs/; si lees este perfil desde una skill (Codex), ../references/docs/, relativa a este archivo. Busca con la herramienta disponible (Grep/Glob en Claude Code, rg en Codex) y lee completos los documentos relevantes. Los ejemplos de la documentación contienen entidades HTML (&lt;, &gt;, &#39;, &quot;): decodifícalas y verifica el código contra el core antes de reutilizarlo.

Documentos de la API:

  • Uso general: la-api-rest-de-facturascripts-912.md, listado-de-recursos-modelos-102.md, obtener-un-listado-de-elementos-de-un-recurso-326.md, obtener-un-recurso-concreto-595.md, anadir-un-nuevo-recurso-502.md, actualizar-un-recurso-existente-631.md, eliminar-un-recurso-concreto-122.md, como-obtener-el-esquema-de-un-modelo-mediante-api.md.
  • Endpoints especiales: como-crear-facturas-desde-api.md, como-editar-facturas-albaranes-pedidos-y-presupuestos-desde-api.md, como-hacer-una-factura-rectificativa-por-api.md, como-marcar-una-factura-como-pagada-desde-api.md, como-obtener-el-pdf-de-una-factura-desde-la-api.md, como-subir-un-archivo-usando-la-api-de-facturascripts.md, listar-activar-y-desactivar-plugins-desde-la-api.md.
  • Endpoints propios e integraciones: anadir-un-endpoint-a-la-api.md, enrutado-el-sistema-de-rutas.md, cliente-http.md, conectar-con-otro-facturascripts-mediante-api.md, descargar-archivos-de-myfiles.md.

Implementaciones reales en el core: Core/Template/ApiController.php (autenticación y permisos), Core/Controller/ApiRoot.php (listado de recursos), Core/Controller/Api*.php (endpoints especiales) y Core/Lib/API/APIModel.php (CRUD de modelos).

Read the full file on GitHub · 227 lines

Changes

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.

  1. 1mo ago Changed · -85 lines · -24 tokens per session 3d3605492f8d
  2. 2mo ago Changed · +2 lines 281a5b4162fc
  3. 3mo ago First seen · 310 lines · 72 tokens per session scan A e2d9d6d97753

Subscribe to this mod's changes

api-designer is an agent published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 48 tokens to every session and 3,565 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

api-designer compared with agents from other repositories

api-designer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-designerFacturaScripts/fs-claude-pluginAgent118d agoMITA48Claude Code
php-developerdavepoon/buildwithclaudeAgent3.8ktodayMITA51Claude Code
backend-reviewerjeremylongshore/tons-of-skills-marketplaceAgent3.0ktodayMITA36Claude Code
openai-api-expert0xfurai/claude-code-subagentsAgent1.0k24d agoMITA23Claude Code
integrations-engineeravelikiy/great_ctoAgent11714d agoMITA106Claude Code
gatetonone-ai/tononeAgent843d agoMITA19Claude Code
broadcasting-agentSofttor/nestjs-hexagonalAgent515d agoMITA58Claude Code