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/aiaido/aidog/claude-mdgit clone --depth 1 https://github.com/AIAIDo/aidogWrote 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/aiaido/aidog/claude-md)<a href="https://agentmods.dev/instructions/aiaido/aidog/claude-md"><img src="https://agentmods.dev/badge/instructions/aiaido/aidog/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.00441 | $0.00441 |
| Opus 5 | $0.00220 | $0.00220 |
| Sonnet 5 | $0.00088 | $0.00088 |
| Haiku 4.5 | $0.00044 | $0.00044 |
Grade A, and why
aidog 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 4d 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.
What it actually says
aidog - ChatOps Toolkit Dashboard
面向所有聊天代理的成本、性能、安全、治理统一守护仪表盘
Quick Commands
Build & Restart Server
# Build frontend (required after modifying src/web/src/**)
npm run build:web
# Kill existing and start fresh (use nohup to prevent process cleanup)
lsof -i :3000 -t | xargs kill -9 2>/dev/null; sleep 1
nohup node bin/aidog.js serve --port 3000 > /tmp/aidog-server.log 2>&1 &
# Check logs: tail -f /tmp/aidog-server.log
Important: Frontend is served from src/web/dist/ (pre-built static files). Any changes to src/web/src/** require npm run build:web to take effect.
Dev Mode
npm run dev
Project Structure
bin/aidog.js- CLI entrypointsrc/cli/commands/serve.js-aidog servecommand (starts web dashboard)src/server/- Express API serverroutes/sessions.js- Sessions list & detail APIs
src/storage/sqlite.js- SQLite storage layer (better-sqlite3)src/storage/schema.sql- DB schemasrc/plugins/claude-code/- Claude Code JSONL parsersrc/web/src/- React frontend (Vite)pages/Sessions.jsx- Sessions pagecomponents/MessageList.jsx- Message list with sorting
Database
- Default path:
~/.aidog/data.db - Uses better-sqlite3 with WAL mode
- Main table:
token_events(all parsed JSONL events)
Key Notes
- Claude Code JSONL records are API responses (
role: "assistant"). User messages have zero tokens — this is normal, not a bug. - Sessions API uses DB-level
GROUP BY session_idaggregation for performance.
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.
- 4d ago First seen · 48 lines · 441 tokens per session scan A 3962e309634a
aidog CLAUDE.md is an instructions file published in the GitHub repository AIAIDo/aidog (2 stars, last pushed 5mo ago), licensed MIT. It adds 441 tokens to every session, about $0.0022 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
bernstein copilot-instructions.md
Copilot instructions for sipyourdrink-ltd/bernstein, covering copilot instructions, architecture, key constraints, before committing and git rules.
yoloai CLAUDE.md
Instructions for kstenerud/yoloai, covering claude code specifics and the quality gate runs itself here.
EGC copilot-instructions.md
Copilot instructions for Fmarzochi/EGC, covering copilot instructions for egc, repository conventions, readme and translations, code review priorities and egc project memory.
blueclaw AGENTS.md
Instructions for yeomyeonggeori/blueclaw, covering agents.md, core principles, single source of truth, working on this repository and branch names.
pxx AGENTS.md
AGENTS.md instructions for cdnwetzel/pxx, covering agents.md — working agreements for ai agents in this repo, what this is, commands, hard rules and conventions.
nanobot CLAUDE.md
Claude Code instructions for HKUDS/nanobot, a project described as: Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps.