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.
npx agentmods add instructions/fshaan/claw-ea/claude-mdgit clone --depth 1 https://github.com/fshaan/claw-eaWrote 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/fshaan/claw-ea/claude-md)<a href="https://agentmods.dev/instructions/fshaan/claw-ea/claude-md"><img src="https://agentmods.dev/badge/instructions/fshaan/claw-ea/claude-md.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 | $0.03591 | $0.03591 |
| Opus 5 | $0.01795 | $0.01795 |
| Sonnet 5 | $0.00718 | $0.00718 |
| Haiku 4.5 | $0.00359 | $0.00359 |
Grade A, and why
claw-ea 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 3d 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 — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
claw-ea is a Python MCP (Model Context Protocol) server that helps medical professionals automatically archive messages from social media channels (Feishu, WeCom, Telegram, etc.) into Obsidian notes, Apple Calendar, and Apple Reminders. It runs as an external MCP server connected to OpenClaw via MCPorter, but is designed to work with any MCP client (Claude Desktop, Cursor, etc.).
Architecture
Agent vs Tool Boundary (Critical Design Principle)
The MCP server only provides side-effect tools — tools that write files, call system APIs, or read system state. All "understanding" tasks (message classification, image comprehension, approval dialog formatting) are handled by the calling agent's LLM, NOT by our tools.
MCP Tools (11 total)
Core workflow (called by agent after it classifies the message):
ocr_image— Local OCR only (macOS Vision framework). Agent's multimodal LLM handles image understanding directly; this tool is the fallback when the LLM lacks vision.save_attachment— Saves file to date-organized attachment directory. Two modes:file_path(local path, preferred — uses shutil.copy2) orfile_content(base64). Dedup: skips if identical file exists.convert_to_markdown— Converts files (PDF, docx, pptx, xlsx, CSV, HTML, images, plaintext) to Markdown via configurable converter chains (docling → markitdown → mineru → lmstudio → vision_ocr → passthrough). Returns temp file path forcreate_obsidian_note'sraw_body_path. Fallback: if primary converter fails or output is garbled, automatically tries the next in chain. Plaintext files (.txt, .md, .rst, .log) use a passthrough converter. File-type routing: images/PDF are NOT routed here by default — the agent reads them directly with its multimodal vision, summarizes, and keeps the original as an embedded attachment (![[file]]); this tool is only a fallback when the agent lacks vision. Office docs docx/pptx/xlsx go through MinerU (offline, local, default; docling fallback); csv/html route to markitdown/docling instead. Other types: agent picks the extraction, but the original is always archived viasave_attachment.create_obsidian_note— Creates Markdown note with YAML frontmatter in Obsidian vault. Supportsraw_body_pathto embed converted Markdown content. Dedup via content hash (first 8 chars in filename); returns existing path if duplicate.create_calendar_event— Creates event in Apple Calendar via pyobjc EventKit. Returns event ID.delete_calendar_event— Deletes an event from Apple Calendar by event ID. Agent should confirm with user first.create_reminder— Creates reminder in Apple Reminders via pyobjc EventKit. Returns reminder ID.delete_reminder— Deletes a reminder from Apple Reminders by reminder ID. Agent should confirm with user first.
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.
- 3d ago First seen · 246 lines · 3,591 tokens per session scan A b699933b817c
claw-ea CLAUDE.md is an instructions file published in the GitHub repository fshaan/claw-ea (1 stars, last pushed 2mo ago), licensed MIT. It adds 3,591 tokens to every session, about $0.0180 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 instructions, from other repositories
remnote-mcp-server AGENTS.md
Instructions for robert7/remnote-mcp-server, covering agents.md, repo role, companion repos (sibling dirs), contract map (current) and external mcp tool surface (17).
obsidian-vault-mcp CLAUDE.md
Instructions for ebullient/obsidian-vault-mcp, covering obsidian vault mcp, code style and qa.
roboclaws AGENTS.md
Instructions for MiaoDX/roboclaws, covering agents.md, 0) startup reads, 1) critical local hazards, 2) standard commands and 3) architecture rules.
obsidian-multivault-mcp AGENTS.md
Instructions for bepitulaz/obsidian-multivault-mcp, covering agents.md — deploying this mcp server on the vps, vps facts (example — change to match yours), gather before you start, do (high level — exact commands in deploy.md) and definition of done (verify — do not assume).
roboclaws CLAUDE.md
Instructions for MiaoDX/roboclaws, covering claude guide and claude-specific notes.
obsidian-multivault-mcp CLAUDE.md
Instructions for bepitulaz/obsidian-multivault-mcp: See AGENTS.md for the deployment brief, and DEPLOY.md for the full step-by-step VPS runbook.