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 tarlepp/symfony-flex-backend --skill implement-api-authenticationgit clone --depth 1 https://github.com/tarlepp/symfony-flex-backendWrote 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/tarlepp/symfony-flex-backend/implement-api-authentication)<a href="https://agentmods.dev/skills/tarlepp/symfony-flex-backend/implement-api-authentication"><img src="https://agentmods.dev/badge/skills/tarlepp/symfony-flex-backend/implement-api-authentication/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/tarlepp/symfony-flex-backend/implement-api-authentication"><img src="https://agentmods.dev/badge/skills/tarlepp/symfony-flex-backend/implement-api-authentication.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.00027 | $0.00711 |
| Opus 5.5 | $0.00011 | $0.00284 |
| Sonnet 5.5 | $0.00005 | $0.00142 |
| Haiku 4.5 | $0.00003 | $0.00071 |
Grade A, and why
implement-api-authentication 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What is this?
Use this skill when changing how API callers authenticate, which credentials are accepted, or which authenticated callers may access an endpoint or resource.
Follow the shared skill guidance, including repository instructions and AI rules.
Table of Contents ᐞ
Workflow ᐞ
- Inspect
config/packages/security.yaml, the relevant routes and controllers, and nearby security classes and tests before changing behavior. - Clarify the intended caller, credentials, public/protected endpoints, and required roles when they are not specified. Ask before making non-trivial changes to authentication methods, role policy, token lifecycle, or access boundaries.
- Preserve firewall ordering, stateless API behavior, and existing login or token-issuance flows unless the request explicitly requires changing them. Review access-control ordering carefully: Symfony applies only the first matching access-control rule. Never make a protected route public or weaken an existing guard to make a test pass.
- Reuse the existing security building blocks where they fit:
ApiKeyAuthenticator,ApiKeyUserProvider,SecurityUserFactory,RolesService,App\Enum\Role, the configured role hierarchy, and existing voters. Use the project's established route/controller authorization patterns, including#[IsGranted]where appropriate. Keep authorization decisions scoped to the right endpoint or voter rather than embedding them in unrelated controller logic. Follow add-security-voter for voter implementation, subject binding, decision-strategy interactions, and authorization tests. - Handle credentials as secrets. Do not expose tokens, passwords, private JWT keys, or sensitive authentication details in API responses, DTOs, logs, fixtures, or documentation. Follow the existing credential creation, rotation, and revocation workflows; do not invent a new token storage or lifecycle design without explicit requirements.
- Cover valid and invalid or missing credentials, status codes, permitted and denied roles, and anonymous access where relevant. Exercise both JWT and API-key authentication when shared firewall or policy behavior changes.
- Update OpenAPI security metadata or relevant documentation when the documented authentication requirements or endpoint access contract changes. If the work changes persisted security data, follow add-doctrine-entity for the entity and migration.
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 Changed · -3 lines 25011940ed49
- 16d ago Changed · -2 lines 544d981acd27
- 17d ago Changed · +3 lines 6065ad15cc67
- 1mo ago Changed · +25 lines 4dc8d589b205
- 1mo ago Changed · +2 lines b0f13a615923
- 1mo ago First seen · 49 lines · 27 tokens per session scan A 0cc5b3fcf910
implement-api-authentication is a skill published in the GitHub repository tarlepp/symfony-flex-backend (286 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 711 once invoked, about $0.0001 per session on Opus 5.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-10-18.
implement-api-authentication compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| implement-api-authenticationtarlepp/symfony-flex-backend | Skill | 286 | yesterday | MIT | A | 27 | Claude Code, Codex |
| api-integration-architectsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 33 | Claude Code |
| dmrwemake-services/django-modern-rest | Skill | 1.6k | yesterday | MIT | A | 80 | Claude Code, Codex |
| fastapiericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 94 | Claude Code, Codex |
| api-connector-builderericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 80 | Claude Code, Codex |
| dmr-openapi-skeletonwemake-services/django-modern-rest | Skill | 1.6k | yesterday | MIT | A | 97 | Claude Code, Codex |
| dmr-from-dj-rest-authwemake-services/django-modern-rest | Skill | 1.6k | yesterday | MIT | A | 67 | Claude Code, Codex |