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 instructions/tarlepp/symfony-flex-backend/copilot-instructionsgit 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/instructions/tarlepp/symfony-flex-backend/copilot-instructions)<a href="https://agentmods.dev/instructions/tarlepp/symfony-flex-backend/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/tarlepp/symfony-flex-backend/copilot-instructions.svg" alt="Measured on agentmods" 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 | $0.01927 | $0.01927 |
| Opus 5 | $0.00963 | $0.00963 |
| Sonnet 5 | $0.00385 | $0.00385 |
| Haiku 4.5 | $0.00193 | $0.00193 |
Grade A, and why
symfony-flex-backend copilot-instructions.md 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 5d 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 — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What is this?
Table of Contents ᐞ
Purpose ᐞ
Use these instructions as the repository-level default when proposing or making changes in this project. Keep changes aligned with the existing Symfony, Doctrine ORM, and project workflow conventions.
Architecture rules ᐞ
- Follow the existing resource-based REST architecture with a clear service layer.
- Keep entities in
src/Entity/, repositories insrc/Repository/, resources insrc/Resource/, and REST controllers insrc/Rest/. - Keep classes in
src/Controller/as thin as possible and delegate business logic to resources/services. - For custom controllers in
src/Controller/, prefer the__invokepattern (one controller class per endpoint). - REST controllers in
src/Rest/are an exception to the__invokerule, because they use existing trait-based controller patterns. - Use DTOs in
src/DTO/to control input/output data; do not expose entities directly in controller responses. - Keep business logic in resource classes or services, not in controllers.
- Use the AutoMapper (
src/AutoMapper/) for entity-to-DTO and DTO-to-entity mapping instead of doing manual mapping in controllers or services. - Respect existing repository patterns; extend
BaseRepositorywhen creating new repositories. - Prefer extending an existing resource or service before creating a new parallel pattern.
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.
- 5d ago First seen · 203 lines · 1,927 tokens per session scan A 1f86fa450918
symfony-flex-backend copilot-instructions.md is an instructions file published in the GitHub repository tarlepp/symfony-flex-backend (289 stars, last pushed yesterday), licensed MIT. It adds 1,927 tokens to every session, about $0.0096 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 instructions, from other repositories
api-gateway CLAUDE.md
Claude Code instructions for membrane/api-gateway, covering claude.md, git & commit policy, working principles, 1. think before coding and 2. simplicity first.
gorest AGENTS.md
AGENTS.md instructions for pilinux/gorest, covering agents.md, project overview, build and run commands, build and tidy dependencies.
arcasdk AGENTS.md
AGENTS.md instructions for ralcorta/arcasdk, covering arca sdk — guía para agentes de código, paquetes publicados, instalación (consumidor), opcional pdf and uso mínimo.
data-api-builder copilot-instructions.md
Copilot instructions for Azure/data-api-builder, covering data api builder (dab) - copilot instructions, project overview, key technologies, project structure and building and testing.
sonicjs CLAUDE.md
Claude Code instructions for SonicJs-Org/sonicjs, covering sonicjs ai development guidelines, core technology stack, workspace boundary (conductor), architecture direction: document model (authoritative) and the 5 document tables (migration 0002documents.sql).
kavo CLAUDE.md
Claude Code instructions for kavo-labs/kavo, covering claude.md, what kavo is, commands, architecture and the request pipeline (the spine).