retomar

retomar is a command for Claude Code from Josuebmota/Marvin. It costs 17 tokens per session (1,060 once invoked), scanned A, original, MIT.

A project-resumption command that reads the project's recorded state and checks it against the actual Git repositories.

In plain words
What is it for?
Use it at the start of a work session to find the current work item, inspect its linked notes, check Git status and recent commits, and refresh project knowledge when needed.
Why use it?
It reduces the risk of continuing from stale notes by showing what the project says happened and verifying the current files and commit history.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it at the start of a work session to find the current work item, inspect its linked notes, check Git status and recent commits, and refresh project knowledge when needed.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/josuebmota/marvin/retomar
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 retomar

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/josuebmota/marvin/retomar"><img src="https://agentmods.dev/badge/commands/josuebmota/marvin/retomar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 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,060 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.00017 $0.01060
Opus 5.5 $0.00007 $0.00424
Sonnet 5.5 $0.00003 $0.00212
Haiku 4.5 $0.00002 $0.00106

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

Security

Grade A, and why

retomar 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/commands/retomar.md · 71 lines

What it actually says

Retome o trabalho neste projeto.

Se o resumo de abertura disser base desatualizada, rode o marvin neste projeto (npx marvin-kb --no-questions; de dentro do clone do Marvin, node marvin.mjs --no-questions) ANTES de oferecer as portas, e diga em até 3 linhas o que entrou (agentes/skills do ECC, seções, carimbo). Não commite por isso à parte: entra no commit da sessão. Nunca push.

  1. Leia .marvin/Memoria/onde_paramos.md — é a única porta de entrada, sempre atualizada. Se não existir, leia o MEMORY.md e diga que a nota canônica está faltando. Ela é uma lista de ponteiros: siga o link de cada US ativa e leia o Sobre.md dela — o estado e o Rumo moram lá, não na nota. Não abra o resto da base sem necessidade.

  2. Confira o estado real antes de confiar no registro: git log --oneline -3 e git status --short nos repositórios que importam. Se o registro disser que algo foi corrigido, confirme no código. Para a US da vez, faça o passo de estrutura — grafo obrigatório neste repo (dono, 15/10/2026): para cada símbolo do Código tocado, se graphify-out/graph.json for mais velho que o último commit, rode graphify update .; depois graphify affected "<símbolo>" e graphify explain "<símbolo>". Registre no Time uma linha por símbolo com o que o grafo respondeu, ou "sem nó" / "grafo velho" e o fallback usado (Grep/Glob só para localizar). Diga em uma linha se o grafo estava fresco.

  3. Me diga, em no máximo 10 linhas:

    • onde paramos (uma frase)
    • o próximo passo e qual papel do time faz
    • o que está travado e por quê
    • se o registro divergir do código, diga a divergência — não escolha em silêncio
  4. As duas portas — em palavras, não em número de US. O hook já imprimiu as ilhas (marvin --status mostra todas): grupos de US refinadas que tocam o mesmo arquivo.

    • Desenvolver — a ilha da vez (a que tem US ativa; senão a primeira) e as US dela, em ordem. Uma ilha por vez, uma sessão de desenvolvimento por vez: sem branch nem worktree por ilha. Ao pegar uma US refinada: estado: ativa no Sobre.md e marvin --us <caminho> para o ponteiro na nota. Cada etapa roda no modelo da sua linha do Time: delegue ao subagente do papel passando model e effort da linha na chamada — isso vale mais que o arquivo do papel e que o modelo da sessão. Etapa sem linha com modelo é trava: não executa; registre "refinar: falta o modelo por etapa" e proponha o /refinar dela. Delegue ao agente da linha com a skill da linha, passando model e effort na chamada.
    • Refinar — anotações sem US (as linhas ⚪ da nota): /refinar. Pode correr ao lado de um chat de desenvolvimento — escreve em arquivos diferentes. Pergunte: "qual? (1 ou 2)".

Não comece a trabalhar. Espere eu confirmar por onde ir.

$ARGUMENTS


Ao fechar — quando sugerir um chat novo

Contexto acumulado custa em toda requisição, não só uma vez. Conversa longa que já mudou de assunto carrega peso morto no resto da sessão inteira.

Sugira um chat novo quando as três forem verdade:

  1. O assunto mudou — outra tarefa, outro subsistema, outro projeto
  2. A sessão já está longa
  3. O estado está registrado em onde_paramos.md — sem isso, o chat novo começa cego

NÃO sugira quando: o trabalho novo depende de algo descoberto agora e ainda não escrito; está no meio de algo (correção feita, falta validar); a sessão é curta — recomeçar custa mais do que continuar, porque o contexto fixo recarrega inteiro.

A regra que fecha: registrar antes de sugerir. Ao sugerir, diga o que já está salvo e qual seria a primeira frase do chat novo.

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 · 71 lines · 17 tokens per session scan A 96b956361f02

Subscribe to this mod's changes

retomar is a command published in the GitHub repository Josuebmota/Marvin (5 stars, last pushed 28d ago), licensed MIT. It adds 17 tokens to every session and 1,060 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-12-05.

Related

retomar compared with commands from other repositories

retomar next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
retomarJosuebmota/MarvinCommand528d agoMITA17Claude Code
vault-autoresearch2233admin/obsidian-llm-wikiCommand39todayGPL-3.0A15Claude Code
vault-notebooklm2233admin/obsidian-llm-wikiCommand39todayGPL-3.0A21Claude Code
doctor2233admin/obsidian-llm-wikiCommand39todayGPL-3.0A21Claude Code
vault-expand2233admin/obsidian-llm-wikiCommand39todayGPL-3.0A21Claude Code
vault-think2233admin/obsidian-llm-wikiCommand39todayGPL-3.0A14Claude Code
vault-synthesize2233admin/obsidian-llm-wikiCommand39todayGPL-3.0A13Claude Code