dev-back

dev-back is an agent for Claude Code from Josuebmota/Marvin. It costs 44 tokens per session (1,101 once invoked), scanned A, original, MIT.

A coding agent that implements an approved change in the project's main script and its tests.

In plain words
What is it for?
Use it to write or correct code in marvin.mjs and test.mjs while following rules for safe writes, dry runs, repeatability, and small diffs.
Why use it?
It keeps implementation separate from deciding the scope and from the later review, helping limit changes to the intended files.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions AGENTS.md.

Good fit Use it to write or correct code in marvin.mjs and test.mjs while following rules for safe writes, dry runs, repeatability, and small diffs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/josuebmota/marvin/dev-back
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Josuebmota/Marvin

Made for: Claude Code.

Wrote 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.

agentmods badge for dev-back

README.md
[![agentmods](https://agentmods.dev/badge/agents/josuebmota/marvin/dev-back/github.svg)](https://agentmods.dev/agents/josuebmota/marvin/dev-back)
Your own site
<a href="https://agentmods.dev/agents/josuebmota/marvin/dev-back"><img src="https://agentmods.dev/badge/agents/josuebmota/marvin/dev-back/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.

agentmods 80×15 button for dev-back

Your own site · 80×15
<a href="https://agentmods.dev/agents/josuebmota/marvin/dev-back"><img src="https://agentmods.dev/badge/agents/josuebmota/marvin/dev-back.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,101 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01101
Opus 5.5 $0.00018 $0.00440
Sonnet 5.5 $0.00009 $0.00220
Haiku 4.5 $0.00004 $0.00110

Measured yesterday against content hash 81ad882baf76, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-back 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 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.

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.

.claude/agents/dev-back.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Você implementa no Marvin: marvin.mjs (um arquivo, zero dependência) e teste.mjs. O script escreve no repositório dos outros e no perfil do usuário, então o diff pequeno e certo vale mais que o diff esperto. A escada do Ponytail foi medida e não pagou (+22% de custo, mesmo resultado): US-68. Os invariantes do AGENTS.md valem.

Armadilhas deste código

  • Toda escrita passa por fsw/exec. fs.writeFileSync direto faz o --dry-run mentir em silêncio. Leitura pode ser fs; escrita, nunca.
  • Bloco de escrita guardado por if (!fs.existsSync(...)). Rodar duas vezes não pode duplicar nem sobrescrever; arquivo que já existe é do humano.
  • Nada de Date.now() nem Math.random() em arquivo versionado nem em conteúdo que o script compara para decidir se reescreve. A exceção tolerada é days() (marvin.mjs:552): idade exibida no --status e no index.html derivado e git-ignorado do --html. Data que fica escrita vem do git log -1 --format=%cs/%cI.
  • Seção nova em template gerado exige entrada na tabela UPDATES (passo 10), com desde: '<versão>'. O AGENTS.md a chama de ATUALIZACOES. A marca tem que tolerar quebra de linha (\s+, nunca espaço literal).
  • Regex de JS: \Z não existe (fim de texto é (?![\s\S])); \s* casa quebra de linha (dentro de uma linha use [ \t]*).
  • Zero dependência. O package.json não tem dependencies e não vai ter.
  • Edição por script: não use Python nem node -e com crase ou $' para editar o marvin.mjs; use Edit. Em String.replace, passe função: .replace(a, () => b).
  • Idioma: código e comentário em inglês; base .marvin/ e texto de commit em português. Nunca caminho pessoal nem nome de projeto de cliente.

Antes de dar por pronto

  1. node teste.mjs (ou npm run test). Sem rodar, não está pronto.
  2. Se o teste.mjs ganhou ou perdeu verificação, o número nos dois READMEs tem que bater (o último teste confere).
  3. git status --short e uma justificativa por arquivo novo.
  4. Mudança que toca o marvin.mjs passa pelo tl antes de fechar. Diga ao chamador.

Read the full file on GitHub · 63 lines

Changes

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.

  1. yesterday First seen · 63 lines · 44 tokens per session scan A 81ad882baf76

Subscribe to this mod's changes

dev-back is an agent published in the GitHub repository Josuebmota/Marvin (5 stars, last pushed 28d ago), licensed MIT. It adds 44 tokens to every session and 1,101 once invoked, about $0.0002 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-12-05.

Related

dev-back compared with agents from other repositories

dev-back next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dev-backJosuebmota/MarvinAgent528d agoMITA44Claude Code
kmd-intakeyasik/kmdAgent22mo agoMITA84Claude Code
kmd-librarianyasik/kmdAgent22mo agoMITA91Claude Code
kmd-operatoryasik/kmdAgent22mo agoMITA93Claude Code
wiki-ingesteliransu/digital-brainAgent16mo agoMITA156Claude Code
wiki-linteliransu/digital-brainAgent16mo agoMITA137Claude Code
security-auditorNeoLabHQ/context-engineering-kitAgent1.9k3mo agoGPL-3.0A40Claude Code