agentleFS
hoangsonwwhoangsonww/Claude-Code-Agent-Monitor/CLAUDE.md

Claude-Code-Agent-Monitor

CLAUDE.md1k starsChanged 4 months agoMITView on GitHub

  • Commits and pushes

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 2 mentionsJul 2026: 2 mentionsAug 2026: 1 mentionSep 2026: 1 mentionOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the hoangsonww/Claude-Code-Agent-Monitor repository that our weekly crawl found: only 12 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about hoangsonww/Claude-Code-Agent-Monitor

The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 12

Talked about on GitHub and Bluesky (12 times).

On GitHub · 10

5 more on GitHub

The file

We split this CLAUDE.md into the rules it gives an agent

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep MCP integration production-ready for local use (mcp/).

    line 6
  2. Distinctive:

    Prefer minimal, reversible diffs.

    line 17
  3. Distinctive:

    Never silently weaken safety controls around destructive actions.

    line 18
  4. Very specific:

    Keep docs updated when behavior, commands, file locations, or workflows change — apply the update-project-docs skill automatically at the …

    line 19
  5. Very specific:

    Every applicable source file you create or update (.js/.ts/.tsx/.cjs/.mjs/.py/.sh/.css) must start with the copyright/authorship header — …

    line 23
  6. Distinctive:

    If you cannot run a verification step, state exactly what was not run and why.

    line 43
  7. Very specific:

    Use file-specific rules in .claude/rules/ when working in scoped areas.

    line 56
  8. Very specific:

    Use project skills from .claude/skills/ for repeatable workflows.

    line 57
  9. Very specific:

    Use .claude/agents/ subagents for focused review or investigation passes.

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Claude Code Working Guide

Project mission

  • Maintain a reliable local-first dashboard for Claude Code session monitoring.
  • Preserve real-time behavior (hooks -> API -> SQLite -> WebSocket -> UI).
  • Keep MCP integration production-ready for local use (mcp/).

Repo map

  • server/: Express API, hook ingestion, SQLite access, websocket broadcast (includes optional git upstream checks and routes/updates.js, plus lib/workflow-ingest.js which ingests on-disk Workflow-tool run journals — fleets that emit no hooks).
  • client/: React + Vite UI.
  • scripts/: hook installer/handler, import, seed, cleanup utilities. (Update detection lives server-side in server/lib/update-check.js; the dashboard never restarts itself — users run the printed command, surfaced in the UI and by ccam update-check.)
  • mcp/: local MCP server exposing dashboard operations as tools.
  • cli/: the ccam CLI (Commander.js command tree; bin/ccam.js is the entry). Conventions in cli/lib/framework.js, one module per area in cli/commands/, REPL in cli/repl.js. No subcommand option may reuse a global option name (--json, --format, --server, --token, --no-color) — the root would swallow it; server/__tests__/ccam-cli-framework.test.js enforces this.

Non-negotiable engineering rules

  • Preserve existing behavior unless explicitly asked to change it.
  • Prefer minimal, reversible diffs.
  • Never silently weaken safety controls around destructive actions.
  • Keep docs updated when behavior, commands, file locations, or workflows change — apply the update-project-docs skill automatically at the end of every change-set that alters behavior, config, interfaces, events, schema, CLI commands, or features (do not wait to be asked).
  • Apply the i18n-parity skill whenever a change touches localized content — new/changed UI copy or i18n keys, README.md, wiki/index.html, or docs the READMEs and wiki mirror — and work through its new-language checklist whenever adding a language. English is the source of truth on all five localization surfaces (dashboard keys, wiki, mirrored READMEs, language switchers, locale-aware formatting); every supported language ships the change in the same PR. Verify with bash .claude/skills/i18n-parity/scripts/i18n-audit.sh.
  • Apply the push-to-forked-pr skill whenever updating a PR whose head branch lives on a fork — origin here is the upstream, so a plain git push origin updates the wrong branch and leaves the PR untouched.
  • Apply the version-release skill for every release bump: patch for backward-compatible fixes/small improvements, minor for larger backward-compatible capabilities, and major for breaking/fundamental changes; synchronize root, desktop, OpenAPI, snapshots, and generated plugin metadata, create or reuse the matching v<version> GitHub milestone, and assign the release PR plus linked closing issues to it.
  • Every applicable source file you create or update (.js/.ts/.tsx/.cjs/.mjs/.py/.sh/.css) must start with the copyright/authorship header — file overview + the exact line @author Son Nguyen <hoangson091104@gmail.com>. Formats and audit script: .claude/skills/file-headers/ (verify with bash .claude/skills/file-headers/scripts/check-headers.sh). This binds every coding agent (Claude Code, Codex, or others).

Commands you should know

  • Setup: npm run setup
  • Dev: npm run dev
  • Prod build/start: npm run build then npm start
  • Full local gate (headers + format + client typecheck + server + client tests): npm run verify
  • Server tests: npm run test:server
  • Client tests: npm run test:client
  • MCP install/build/start: npm run mcp:install, npm run mcp:build, npm run mcp:start
  • MCP typecheck: npm run mcp:typecheck
  • Token repair: npm run repair-tokens — one-time re-derivation of token totals inflated before usage was reconciled per message.id (the dashboard also runs this automatically once per database; DASHBOARD_TOKEN_REPAIR=0 opts out)
  • Transcript snapshot retention: ccam snapshots (storage + policy), ccam snapshots prune --days N (dry run unless --apply --confirm PRUNE_SNAPSHOTS); npm run test:snapshots runs the cross-OS snapshot store tests (CI runs them on Linux, macOS, and Windows)
  • CLI (after setup): ccam <command> — terminal access to the full dashboard surface (bin/ccam.js → cli/; ccam help lists commands, --json on any command for machine output, reference in docs/CLI.md)

Testing and verification policy

  • npm run verify runs the whole local gate in one command (header audit, format check, client typecheck, server tests, client tests) and is the fastest way to confirm a change-set before opening a PR. It includes tsc -b because Vitest transpiles without typechecking — a test file can pass locally and still break the production build.
  • Backend changes: run npm run test:server before finishing.
  • Frontend changes: run npm run test:client when relevant. This includes per-screen render snapshots (client/src/pages/__tests__/screens.snapshot.test.tsx). If a UI change is intentional, review the snapshot diff and regenerate baselines with cd client && npx vitest run -u; never blindly update snapshots to make tests pass.
  • MCP changes: run npm run mcp:typecheck and npm run mcp:build.
  • If you cannot run a verification step, state exactly what was not run and why.

Change guidelines by area

  • API routes: preserve response shapes unless change is requested and documented.
  • Database: avoid schema changes without migration-safe logic.
  • Hooks: keep fail-safe and non-blocking behavior.
  • WebSocket: keep message types stable and backward-compatible.
  • Documentation: include exact commands and paths; keep markdown examples runnable.
  • Localization: adding an i18n key means adding it to every locale; editing README.md means mirroring the edit into README-CN.md, README-VN.md, README-KO.md, and README-ES.md. See .claude/rules/i18n-parity.md.

Agent behavior

  • Explore first, then implement.
  • For larger tasks, propose/check a short plan before broad edits.
  • Use file-specific rules in .claude/rules/ when working in scoped areas.
  • Use project skills from .claude/skills/ for repeatable workflows.
  • Use .claude/agents/ subagents for focused review or investigation passes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.