cc-vibe-check
CLAUDE.md1 starsChanged 2 months agoMITView on GitHub
cc-vibe-check ("Vibe Check") is a Claude Code plugin. It reads local session transcripts and builds a dashboard of how the developer and Claude are getting along. This repo is Phase 1 only: an individual-developer plugin. Do not add export, team, org or rule-sharing features; they are out of scope for this repo. Plain Node ESM, zero runtime dependencies, no build step. Try against a scratch store (never point tests at the real ~/.claude): Env overrides: VIBECHECK_HOME (store), VIBECHECK_PROJECTS_DIR (transcripts), CLAUDE_CONFIG_DIR…
In this repositoryOne other file it gives its agents.
- vibe-checkSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Every dashboard panel is marked Measured or Estimated.
- Very specific: line 42
Don't add --bare or --setting-sources "" to headless calls (no OAuth / doesn't stop plugin hooks.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this is
cc-vibe-check ("Vibe Check") is a Claude Code plugin. It reads local session transcripts and builds a dashboard of how the developer and Claude are getting along. This repo is Phase 1 only: an individual-developer plugin. Do not add export, team, org or rule-sharing features; they are out of scope for this repo.
Plain Node ESM, zero runtime dependencies, no build step.
Commands
npm test # all tests; uses tests/helpers/fake-claude.mjs, no tokens
node --test tests/l1.test.mjs # one file
npm run fixtures # regenerate tests/fixtures/*.jsonl from make-fixtures.mjs
npm run eval # LIVE classifier eval, spends tokensTry against a scratch store (never point tests at the real ~/.claude):
VIBECHECK_HOME=/tmp/vc VIBECHECK_CLAUDE_BIN=tests/helpers/fake-claude.mjs node scripts/vibe-check.mjsEnv overrides: VIBECHECK_HOME (store), VIBECHECK_PROJECTS_DIR (transcripts), CLAUDE_CONFIG_DIR (user CLAUDE.md), VIBECHECK_CLAUDE_BIN (claude executable or a .mjs run with node), VIBECHECK_MODEL.
Architecture
Three layers, one direction: transcripts → L1 → store → L2 → store → L3 → dashboard.html.
- L1
scripts/extract.mjs+lib/transcript.mjs(parser),lib/metrics.mjs(stored record, no prompt text),lib/view.mjs(compact view, redacted bylib/redact.mjs). Behavior only: never match the developer's words. Matching strings Claude Code itself writes (interrupt marker, rejection text, command wrappers,isApiErrorMessage) is fine. A typed prompt ispromptSource: "typed"; older versions without that field fall back to a heuristic. Only changed files are re-read (data/state.json). - L2
scripts/classify.mjs+lib/claude.mjs.lib/claude.mjsis the only place that spawnsclaude; every isolation guard lives there. Labels are keyed by promptuuidand never re-requested. Output is validated (validateLabels) and missing turns retried once. - L3
scripts/render.mjs+lib/aggregate.mjs.aggregateis pure;renderembeds its JSON in a template and client-side JS draws it. Anything derived from transcripts or model output must go throughesc()ortextContent. scripts/hook.mjs(SessionEnd) only spawnsvibe-check.mjs _after-sessiondetached and exits. It must exit immediately whenVIBECHECK_CHILDis set.scripts/vibe-check.mjsis the CLI;skills/vibe-check/SKILL.mdis a thin launcher (disable-model-invocation: true).
Rules
- Every dashboard panel is marked Measured or Estimated. Keep that honest.
- Pinned model id, never the
haikualias. Changing the model orprompts/classifier.mdmeans runningnpm run evalfirst. - Don't add
--bareor--setting-sources ""to headless calls (no OAuth / doesn't stop plugin hooks; verified on CC 2.1.283). - New transcript edge case → add it to
tests/fixtures/make-fixtures.mjswith a hand count intests/l1.test.mjs.
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
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.

