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/etalab-ia/albert-code/agents-mdgit clone --depth 1 https://github.com/etalab-ia/albert-codeWhat 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.03449 | $0.03449 |
| Opus 5 | $0.01724 | $0.01724 |
| Sonnet 5 | $0.00690 | $0.00690 |
| Haiku 4.5 | $0.00345 | $0.00345 |
Grade B, and why
albert-code AGENTS.md scanned grade B 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 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- `chmod 600` sur tout fichier contenant une clé (`~/.zshenv`, `~/.agent-vm/runtime.sh`). How it starts
The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — albert-code
1. Le projet en bref
Le problème
L'IA bouleverse le développement. Les agents publics (devs et aussi des non-devs) utilisent déjà des outils IA commerciaux (Claude Code, Cursor, Copilot) sans cadre, sans souveraineté, sans sandbox — du shadow IT généralisé. L'État n'a pas d'alternative à proposer.
La vision
Albert Code = un meta-bundle d'agentic coding souverain : en une commande, un agent public obtient un assistant de code IA isolé, alimenté par le Socle Interministériel d'IA Générative et ses modèles souverains via AlbertAPI, avec les standards de l'administration (DSFR, accessibilité, sécurité) déjà embarqués.
Ce n'est pas un IDE ni un fork : c'est de l'orchestration mince (scripts + config + docs) qui assemble des briques existantes :
| Brique | Rôle | Source |
|---|---|---|
| agent-vm | Sandbox d'isolation (VM Lima jetable, mode autonome sûr) | github.com/sylvinus/agent-vm |
| OpenCode | Harness unique (assistant de code terminal) | opencode.ai |
| Albert API | Provider LLM souverain (OpenAI-compatible) | albert.api.etalab.gouv.fr |
| Skills État | Connaissances métier (DSFR, RGAA, sécurité, data.gouv) | github.com/etalab-ia/skills |
| MCP | Connecteurs clés : data.gouv, context7, playwright, chrome-devtools | — |
| AGENTS.md par défaut | Règles sécurité + conventions universelles | templates/AGENTS.default.md |
Pour qui
Agents publics : devs en ministère, prototypeurs, équipes de startup d'état. Le bundle doit marcher autant pour un dev confirmé que pour un non-tech (cf. README.md).
Positionnement (ce que c'est / ce que ce n'est pas)
- ✅ Un assembleur souverain, mince, reproductible, qui se branche sur l'existant.
- ❌ Pas un nouvel outil à apprendre, pas un IDE, pas un modèle, pas un fork d'OpenCode.
2. Comment travailler dans ce dépôt (méthode)
Les documents du dépôt forment un système. Respecte cette boucle :
| Document | Rôle | Quand le lire / l'écrire |
|---|---|---|
AGENTS.md (ce fichier) |
Le pourquoi + les règles + l'archi cible | Toujours, en premier |
BACKLOG.md |
Le quoi faire : epics → tickets ordonnés (🔴🟠🟡) avec Definition of Done | Choisir le prochain ticket ici |
TESTS.md |
Le comment valider : scénarios (préconditions → étapes → attendu) | Avant de clore un ticket |
README.md |
Le livrable utilisateur (onboarding non-tech) | À tenir à jour quand le comportement change |
FEEDBACK.md |
Le pourquoi : registre des retours utilisateurs codifiés (AC-R###) |
Consulter pour la genèse d'un ticket / y consigner un nouveau retour |
docs/PLAN.md |
Le contexte complet (décisions, analyses, références) | Pour comprendre l'historique du projet |
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 · 184 lines · 3,449 tokens per session scan B d4ea93e916eb
albert-code AGENTS.md is an instructions file published in the GitHub repository etalab-ia/albert-code (5 stars, last pushed 6d ago), licensed MIT. It adds 3,449 tokens to every session, about $0.0172 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
oh-my-claudecode AGENTS.md
AGENTS.md instructions for Yeachan-Heo/oh-my-claudecode, covering oh-my-claudecode - intelligent multi-agent orchestration, working agreements, setup and review guidelines.
oh-my-claudecode CLAUDE.md
Claude Code instructions for Yeachan-Heo/oh-my-claudecode, covering oh-my-claudecode - intelligent multi-agent orchestration and setup.
atelier AGENTS.md
Instructions for martinffx/atelier, covering agents.md, repository overview, skills structure, skill file format and namespace philosophy.
plannotator AGENTS.md
AGENTS.md instructions for backnotprop/plannotator, covering plannotator, project structure, server runtimes, installation and environment variables.
claude-code-tresor CLAUDE.md
Instructions for alirezarezvani/claude-code-tresor, covering claude.md - development guide, 🎯 repository purpose, 🏗️ architecture, 🛠️ common development commands and building & testing.
superset CLAUDE.md
Claude Code instructions for superset-sh/superset, a project described as: Superset is an agentic IDE to orchestrate 100+ coding agents in parallel. Run any agent with your own subscription.