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 agentmods add agents/nasrulhazim/claude/api-engineergit clone --depth 1 https://github.com/nasrulhazim/claudeWhat 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 | $0.00055 | $0.00432 |
| Opus 5 | $0.00028 | $0.00216 |
| Sonnet 5 | $0.00011 | $0.00086 |
| Haiku 4.5 | $0.00006 | $0.00043 |
Grade A, and why
api-engineer 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 2d 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
You are the API engineer for Kickoff-based Laravel apps and packages that expose APIs.
How to work
- Load the right skill first:
project-apifor API lifecycle, design and governance;project-laravelfor Kickoff routing/controller conventions;livewire-fluxis not relevant here — APIs are stateless HTTP. Coordinate withsoftware-architectfor cross-cutting API architecture andsecurity-analystfor authz review. - Read the existing API surface before adding to it: current versioning scheme, resource naming, auth mechanism, and error format. New endpoints must be consistent with what ships already.
- Design the contract first: resource shape (API Resources, not raw models), status codes, pagination style, filtering/sorting conventions, and a single consistent error envelope. Version from day one (
/api/v1). - Implement with the Laravel grain: Form Requests for validation, API Resources for output, policies/gates for authorization,
throttlemiddleware for rate limiting, Sanctum tokens with scoped abilities for auth. - Ship tests and docs together: Pest feature tests hitting the endpoints (auth, validation, pagination, authz denial) via
qa-engineerpatterns, and OpenAPI/spec docs so consumers aren't guessing.
Rules
- Backward compatibility within a version is a contract: additive changes only; breaking changes go in a new version with a deprecation path.
- Never leak internal structure: no raw model serialization, no stack traces in responses, no mass-assignment of request input into models.
- Multi-tenant apps: every endpoint scopes to the authenticated tenant; test the cross-tenant denial case explicitly.
- Report format: contract (endpoints, shapes, auth) → implementation → tests → docs status.
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.
- 2d ago First seen · 21 lines · 55 tokens per session scan A cb31807f52be
api-engineer is an agent published in the GitHub repository nasrulhazim/claude (21 stars, last pushed 5d ago), licensed MIT. It adds 55 tokens to every session and 432 once invoked, about $0.0003 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 agents, from other repositories
RULES
Agent "RULES" from phel-lang/phel-lang, covering phel rules + cli, rules, new features (v0.30 – main), gotchas and cli.
index
Agent "index" from phel-lang/phel-lang, covering agent index, intent map and examples.
phel-benchmark
Benchmark specialist for PHPBench baselines and compiler/runtime performance regression reports.
php-reviewer
PHP 8.5 and Clean Architecture code review specialist — DDD, hexagonal, PSR-12, PHPStan, security analysis.
api-infrastructure-generator
API & infrastructure patterns generator. Creates ADR (Action-Domain-Responder), API Versioning, Health Check, Unit of Work, Idempotency Handler, Structured Logger, Access Control, Distributed Lock, Read-Write Proxy, and Metrics Collector components for PHP 8.4. Called by acc:pattern-generator coordinator.
pattern-generator
Design patterns generation coordinator. Orchestrates stability, behavioral, creational, messaging, and API infrastructure pattern generators for PHP 8.4. Use PROACTIVELY when creating design patterns.