Borrowing it
Nothing to install: this file belongs to Josuebmota/Marvin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Josuebmota/Marvin/main/AGENTS.mdgit clone --depth 1 https://github.com/Josuebmota/MarvinWrote 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/josuebmota/marvin/agents-md)<a href="https://agentmods.dev/instructions/josuebmota/marvin/agents-md"><img src="https://agentmods.dev/badge/instructions/josuebmota/marvin/agents-md/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/instructions/josuebmota/marvin/agents-md"><img src="https://agentmods.dev/badge/instructions/josuebmota/marvin/agents-md.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.01958 | $0.01958 |
| Opus 5.5 | $0.00783 | $0.00783 |
| Sonnet 5.5 | $0.00392 | $0.00392 |
| Haiku 4.5 | $0.00196 | $0.00196 |
Grade D, and why
Marvin AGENTS.md scanned grade D with 2 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 yesterday.
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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
`~/.claude/settings.json`; se reaparecer, é outra máquina ou perfil) Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **Junction:** `rm -rf` num junction pode apagar o destino; renomear a pasta quebra a How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Marvin
Script Node sem dependências que monta a carapaça da LLM: memória, equipe com papéis, cerimônias e roteamento de custo — uma equipe barata. Uso: README.md.
Fonte de verdade deste projeto, independente de ferramenta. O
CLAUDE.mdé ponteiro. Estado corrente:.marvin/Memoria/onde_paramos.md— versionado e público (por quê). Este arquivo carrega em toda sessão: regra de um assunto mora onde o assunto é lido.
Estrutura real
| Arquivo | O que é |
|---|---|
marvin.mjs |
o script inteiro, zero dependência |
teste.mjs |
smoke test dos invariantes, hermético (CI e portabilidade) |
PROMPT.md |
o prompt que guia a escrita dos agentes (o script não escreve) |
README.md / README.pt-BR.md |
documentação pública, inglês e português |
.marvin/ferramentas.md |
ferramentas opcionais que ESTE repo usa e o alcance de cada uma |
Comandos canônicos
Use exatamente estes — não adivinhe. Não há build.
| O quê | Comando | De onde saiu |
|---|---|---|
| Instalar | npm install |
no lockfile — npm is the default |
| Testar | npm run test |
package.json > scripts.test |
A coluna da direita impede a tabela de envelhecer em silêncio: mudou o package.json, é aqui
que se confere. O pacote é marvin-kb, o comando é marvin (npx marvin é de outra pessoa); do clone,
node marvin.mjs. O package.json existe só para dar bin e nunca terá
dependencies (por quê).
Invariantes
1. Nunca destruir dado sem conferir antes. A migração de memória copia, confere a contagem e só então apaga. Se copiou menos do que a origem, aborta e não apaga nada.
2. Idempotente sempre. Rodar duas vezes não pode duplicar nem sobrescrever. Todo
bloco de escrita é guardado por if (!fs.existsSync(...)).
3. Não inventar convenção de ferramenta. Adaptador de confiança média/baixa sai com aviso mandando conferir. Adaptador que não carrega falha em silêncio — pior que adaptador ausente.
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.
- yesterday First seen · 108 lines · 1,958 tokens per session scan D a3d67c2d4c7c
Marvin AGENTS.md is an instructions file published in the GitHub repository Josuebmota/Marvin (5 stars, last pushed 28d ago), licensed MIT. It adds 1,958 tokens to every session, about $0.0078 per session on Opus 5.5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.
Marvin AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Marvin AGENTS.mdJosuebmota/Marvin | Instructions file | 5 | 28d ago | MIT | D | 1,958 | Codex, OpenCode |
| data-scientist copilot-instructions.mdrealnghon/data-scientist | Instructions file | 2 | 5mo ago | MIT | A | 373 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,951 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,303 | GitHub Copilot |