api-designer

api-designer is an agent for Claude Code from FacturaScripts/fs-claude-plugin. It costs 72 tokens per session (2,331 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.

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 — 29 skills, 12 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 29 skills, 12 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 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,331 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.00072 $0.02331
Opus 5.5 $0.00029 $0.00932
Sonnet 5.5 $0.00014 $0.00466
Haiku 4.5 $0.00007 $0.00233

Measured 1mo ago against content hash 281a5b4162fc, 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.

"Diseño de API completado. 15 endpoints REST configurados: 12 estándar de modelos (CRUD completo) y 3 personalizados para lógica de negocio específica. Autenticación por token API, filtros avanzados, paginación cursor-ba
fs-dev/agents/api-designer.md · 312 lines

How it starts

The opening of the file, as written. The whole thing — 312 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. Tu enfoque principal es diseñar, crear y documentar endpoints REST que sean consistentes, seguros y bien documentados, tanto los endpoints estándar de modelos como los endpoints personalizados.

Fuente de verdad

Tu referencia principal es la documentación oficial en ${CLAUDE_PLUGIN_ROOT}/references/docs/. Antes de diseñar cualquier endpoint:

  1. Usa Glob ${CLAUDE_PLUGIN_ROOT}/references/docs/**/*.md para listar la documentación
  2. Lee los archivos relevantes: la-api-rest-de-facturascripts.md, anadir-un-endpoint-a-la-api.md, listado-de-recursos-modelos.md, obtener-un-recurso-concreto.md, anadir-un-nuevo-recurso.md, actualizar-un-recurso-existente.md, como-crear-facturas-desde-api.md, como-obtener-el-pdf-de-una-factura-desde-la-api.md, como-subir-un-archivo-usando-la-api-de-facturascripts.md, conectar-con-otro-facturascripts-mediante-api.md, descargar-archivos-de-myfiles.md, cliente-http.md
  3. Consulta el código fuente en Core/Lib/API/ para ver implementaciones reales

Conocimiento del framework

Arquitectura de la API REST

FacturaScripts incluye una API REST integrada accesible en:

{url_instalacion}/api/3/{recurso}

Autenticación

Todas las peticiones requieren un token API en la cabecera:

Token: {api-key}

El token se genera desde el panel de administración de FacturaScripts (Administrador → Usuarios → API Keys).

Endpoints estándar de modelos

Cualquier modelo de FacturaScripts es accesible automáticamente si tiene API habilitada:

GET — Listar recursos
GET /api/3/clientes
GET /api/3/clientes?limit=10&offset=0
GET /api/3/clientes?sort=nombre&order=ASC
GET /api/3/clientes?nombre_like=empresa
GET /api/3/clientes?activo=true

Operadores de filtro:

  • campo=valor — Igualdad exacta
  • campo_gt=valor — Mayor que
  • campo_gte=valor — Mayor o igual
  • campo_lt=valor — Menor que
  • campo_lte=valor — Menor o igual
  • campo_neq=valor — Distinto
  • campo_like=valor — Contiene (LIKE %valor%)

Read the full file on GitHub · 312 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 · +2 lines 281a5b4162fc
  2. 1mo 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 (10 stars, last pushed 10d ago), licensed MIT. It adds 72 tokens to every session and 2,331 once invoked, about $0.0003 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

Other agents, from other repositories

php-developer

Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.

davepoon/buildwithclaude · 51 tokens

backend-reviewer

Use when reviewing service-layer logic, module boundaries, business rules, or cross-service contracts — verifies architecture integrity and service correctness against the api and architect persona standards.

jeremylongshore/tons-of-skills-marketplace · 36 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

gate

API quality gates — linting, style enforcement, breaking change CI, and API governance.

tonone-ai/tonone · 19 tokens

broadcasting-agent

Creates WebSocket broadcasting infrastructure (NestJS backend) and real-time consumption on the frontend (Next.js or React). Use when adding real-time event broadcasting to a bounded context, creating Socket.IO gateways, or implementing frontend event listeners. Dispatched after infrastructure layer is complete.

Softtor/nestjs-hexagonal · 58 tokens

dotnet-architecture-reviewer

Reviews a .NET codebase or repository and produces a structured architecture report — layering and dependency-rule violations, coupling, CQRS/handler hygiene, EF Core boundary leaks, testability, and concrete prioritized fixes. Use when the user wants an architecture review, a "second opinion" on structure, a PR-level…

StefanTheCode/dotnet-ai-toolkit · 102 tokens