Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add pwdev-solucoes/pwdev-claude-marketplace/plugin install pwdev-brainWrote 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/commands/pwdev-solucoes/pwdev-claude-marketplace/init)<a href="https://agentmods.dev/commands/pwdev-solucoes/pwdev-claude-marketplace/init"><img src="https://agentmods.dev/badge/commands/pwdev-solucoes/pwdev-claude-marketplace/init.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.1 | $0.00023 | $0.01020 |
| Opus 5 | $0.00012 | $0.00510 |
| Sonnet 5 | $0.00005 | $0.00204 |
| Haiku 4.5 | $0.00002 | $0.00102 |
Grade A, and why
init 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 7d 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/pwdev-brain:init
STEP 0 — Idioma
${CLAUDE_PLUGIN_ROOT}/references/language.md. Este comando sempre pergunta.
STEP 1 — Caminho do brain
Aceite de $ARGUMENTS; se vazio, pergunte com opções:
- Global —
~/brain(um segundo cérebro para tudo, mesmo caminho em qualquer projeto) - Neste projeto —
./brainna raiz do repositório atual - Caminho custom — o usuário informa
Expanda ~ e grave sempre o caminho absoluto.
STEP 2 — Detecção de brain existente
Se <brain>/wiki/index.md existe e tem frontmatter parseável com
okf_version → brain existente: não faça scaffold, apenas registre no
contexto (STEP 5) e reporte contagem de conceitos e última entrada do
log.md. Senão, siga para o STEP 3.
STEP 3 — Scaffold
Crie só o que faltar — nunca sobrescreva arquivo existente:
| Alvo | Origem |
|---|---|
<brain>/raw/ |
diretório vazio |
<brain>/wiki/index.md |
${CLAUDE_PLUGIN_ROOT}/templates/index.template.md |
<brain>/wiki/log.md |
${CLAUDE_PLUGIN_ROOT}/templates/log.template.md — substituir {{YYYY-MM-DD}} pela data de hoje |
<brain>/wiki/output/.gitkeep |
arquivo vazio |
<brain>/AGENTS.md |
${CLAUDE_PLUGIN_ROOT}/templates/AGENTS.template.md — preencher os placeholders da seção "Preferências do usuário" com as respostas dos STEPs 4 e 5 |
STEP 4 — Identidade
Pergunte o id curto do usuário para o ator human:<id> do OKF — sugira a
partir de git config user.name/user.email (ex.: human:paulo). O ator
de processo é fixo: pwdev-brain/1.0.0.
STEP 5 — Preferências
Pergunte (com defaults entre parênteses):
- Ingestão — revisar ponto-a-ponto ou em lote com aprovação única? (ponto-a-ponto)
- stale_after default — sugerir data de obsolescência nos conceitos novos? (+6 meses | nenhum)
- Incorporação em query — o QUERY pode propor gravar respostas duráveis como conceito? (propor | só-quando-pedido)
STEP 6 — Contexto
Grave .claude/pwdev-brain-context.md a partir de
${CLAUDE_PLUGIN_ROOT}/templates/pwdev-brain-context.template.md,
preenchendo todos os placeholders. Se o brain era existente, preencha as
preferências perguntando só o que não dá para inferir do AGENTS.md dele.
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.
- 7d ago First seen · 88 lines · 23 tokens per session scan A 7901ee955faa
init is a command published in the GitHub repository pwdev-solucoes/pwdev-claude-marketplace (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 1,020 once invoked, about $0.0001 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-31.
Other commands, from other repositories
setup-context
Set up your Skill Memory — a pm-context.md every skill reads so outputs come back tailored to you.
brain
Set up or use your Professional Brain — init, ingest, recall, or review.
context-stats
Display context window usage and token statistics.
meetings-list
List recent meetings and voice memos. Use when the user asks "what meetings did I have", "show my recent recordings", "any meetings today", "list my voice memos", or wants an overview of their meeting history. Also use when they need to find a specific meeting by browsing rather than searching.
meetings-search
Search meeting transcripts and voice memos for people, topics, decisions, commitments, or remembered ideas. Use when the user asks what was discussed, decided, or said across their meeting history. Not for preparing an upcoming meeting; use $meetings-prep.
capturar
Capturar ideas y notas sin interrumpir el flujo de trabajo. Usa cuando el usuario dice "capturar idea", "quick note", "nota rápida", "grab this", "take a note", "guardar idea", "note to self", "capture thought", "I should remember", "guardar esto". Guarda en memoria persistente sin romper el contexto actual.