wacrew: Instructions file for Claude Code

CLAUDE.md

wacrew CLAUDE.md is an instructions file for Claude Code from sumioshi/wacrew. It costs 7,016 tokens per session, scanned A, original, Apache-2.0.

Claude Code project instructions for linking a repository to WhatsApp and handling message monitoring, notifications, follow-ups, and sending modes.

In plain words
What is it for?
They explain how to use the linked chat, persistent monitors, desktop alerts, periodic loops, team access, and Google Calendar settings.
Why use it?
They distinguish similar requests such as watching for messages, notifying a person, and repeatedly sending prompts, reducing setup mistakes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code.

This is sumioshi/wacrew's own configuration. It tells Claude Code how to work on wacrew itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything wacrew configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sumioshi/wacrew. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sumioshi/wacrew/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/sumioshi/wacrew

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 wacrew CLAUDE.md

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

agentmods 80×15 button for wacrew CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sumioshi/wacrew/claude-md"><img src="https://agentmods.dev/badge/instructions/sumioshi/wacrew/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,016 This file is loaded in full into every session.
When invoked 7,016 The same file — it is already loaded in full.
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.07016 $0.07016
Opus 5.5 $0.02806 $0.02806
Sonnet 5.5 $0.01403 $0.01403
Haiku 4.5 $0.00702 $0.00702

Measured 8d ago against content hash 55b39e5c9b0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wacrew CLAUDE.md 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 8d 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.

CLAUDE.md · 332 lines

How it starts

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

WhatsApp deste projeto: <slug-do-grupo> (). Consulte o histórico via MCP whatsapp-collector usando esse slug (ex: resumo_do_dia, ler_mensagens, buscar). Pra acompanhar ativamente (ser acordado quando chega msg), arme um Monitor no data/<slug-do-grupo>/messages.jsonl — ver "Vocabulário de acompanhamento" abaixo. Detalhes em .claude/whatsapp.json. (Bloco gerado pelo /link-whatsapp; copie .claude/whatsapp.json.example pra começar.)

Vocabulário de acompanhamento (desambiguação)

"monitor" significava três coisas diferentes e isso já custou confusão. Mapa:

  • "monitor" / "fica de olho" / "me avisa quando chegar mensagem" / "modo autônomo" → o operador quer ser AVISADO/o agente quer ser ACORDADO quando chega mensagem nova. Isso é a tool Monitor do harness, vigiando o arquivo de mensagens. Não é alertar_chat.
  • "alerta" / "notifica no Mac" → notificação de tela pro humano (o operador) quando chega msg de cliente. Tool MCP alertar_chat. NÃO acorda o agente.
  • "a cada X min" / "puxa assunto sozinho" / "fica mandando mensagem" → re-executar um prompt em intervalo. É o /loop (ou CronCreate).

Recipe do Monitor de mensagem (sem zumbi)

Pra ser acordado quando chega msg nova num chat (modo monitor/autônomo), arme UM Monitor, filtrando o que é seu (fromMe). O Monitor do harness expira em no máximo 30 min (timeout_ms: 1800000; não existe mais persistent): na notificação de expiração, rearme com o mesmo command. São duas receitas conforme a fonte:

Receita PADRÃO (nuvem, SSE — funciona com o Mac "limpo", sem coletor local): use a skill global /plantao (.claude/skills/plantao/), que faz o fluxo completo — resolve slug, checa e liga o watch do grupo (pegadinha: grupo novo nasce com captura desligada), mata zumbi e arma:

Monitor(timeout_ms: 1800000, command: scripts/plantao-stream.sh <slug> [<slug2> ...])

O script (scripts/plantao-stream.sh) encapsula o SSE de GET /api/events?slug=a,b + reconexão COM retomada (Last-Event-ID, nada se perde no buraco) + lock por conjunto de chats (segunda instância sai com código 3) + filtro: imprime Fulano: texto (recebida), Você (celular)/Você (web) (o operador respondeu na mão → contexto, não responda por cima) e IA da Meta (sua conta); o que o próprio MCP/painel mandou (origem: coletor) não desce. --alertar acompanha todos os chats com alerta ligado. Requer WAC_CLOUD_* no .env da raiz (ele mesmo carrega). Use path absoluto se a sessão estiver fora do repo.

Read the full file on GitHub · 332 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. 8d ago First seen · 332 lines · 7,016 tokens per session scan A 55b39e5c9b0a

Subscribe to this mod's changes

wacrew CLAUDE.md is an instructions file published in the GitHub repository sumioshi/wacrew (17 stars, last pushed yesterday), licensed Apache-2.0. It adds 7,016 tokens to every session, about $0.0281 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-11-22.

Related

wacrew CLAUDE.md compared with instructions from other repositories

wacrew CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wacrew CLAUDE.mdsumioshi/wacrewInstructions file17yesterdayApache-2.0A7,016Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144kyesterdayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode