Observer Daemon — Development skill for Claude Code
Score Claude Code and Codex responses against local writing rules and record violations.
How to install Observer Daemon
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open b2bvic/observer-daemon and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Observer Daemon does
Score Claude Code and Codex responses against local writing rules and record violations.
Alternatives in Development
- Eval Run — Run an eval case end-to-end on the VM (implement → build → score → record → roll back) 136 ★
- Bench Capture — Score the 2 bench variant folders for one size (build/acceptance/regression/conventions/capture + rubric + cro 85 ★
- Agent Blackbox — Local-first flight recorder for coding agents : replay every run as a live session map, score the context bill 74 ★
README
observer-daemon
You can miss repeated writing-rule violations when you review agent responses by hand. Use observer-daemon to score transcripts and record failures outside the model.
Install with Rust and Cargo:
cargo install --git https://github.com/b2bvic/observer-daemon.git --locked
Sample output from `observer-daemon --config spec.toml --validate "The file is ready."` when no rules fail:
Class: generic
Score: 100/100
No violations.
Your rules determine the score. Configure `spec.toml` before you run the command. Transcript scoring alone does not block an outbound action.
What it does
- Watches transcript directories (
watch_pathsinspec.toml) with debounce, hot-reloading its spec on file change or SIGHUP. - Classifies each prompt into a content class before scoring:
legal,career_application,content_copy,technical_build,conversational, orgenericfallback. Multi-signal prompts resolve by fixed priority. A career-strategy briefing that mentions a compliance role is career material, and the test suite pins that exact case as a named regression. - Scores the response with the rubric for its class: a stack of deterministic validators (sycophancy, filler, crutch words, punctuation habits, lexical density, rhythm, model tells, policy-pack literals) each deducting from 100. Below
passing_score, the response fails. - Records every validation to a JSONL ledger, and every correction to a corrections ledger. Corrections are class-scoped: a rule promoted from legal failures does not silently constrain conversational writing. Records from before class scoping remain valid as
generic.
Why a daemon and not a prompt
You run the same configured writing checks outside each model's prompt. The checks record rule matches and deductions. A model upgrade does not change those rules. You must review rules and examples when your requirements change.
Worked example
Feed it a transcript directory and a
Related Skills
Ste Check
Check a file, files, or pasted text against the STE rules and report the violations. Does not rewrite.
Self Improving Skill
Auto-learn writing rules from human edits. record original → record final → diff → extract rules → update SKIL
Skill Anthropic Grade Optimizer
Audits Claude-directing artifacts (CLAUDE.md, SKILL.md, subagent, hook, MCP, prompts, api_config) against 189
Workbuddy Kimicode
把 WorkBuddy 桌面端已登录的模型,经本地桥暴露成 OpenAI / Anthropic / Responses 兼容接口 —— 一键接入 Kimi Code、Claude Code、Codex。仅绑 127.0
Skill Eval Loop
Agent Skill: harden another skill from its automatic agent evals. Score every Claude Code, Codex and Gemini CL
Agentd
🛡️ Local daemon that guards & observes coding-agent hooks — one policy for Claude, Cursor, Codex & more
Related Agents
Process Observer Audit
Compliance audit sub-agent. Reviews session against CLAUDE.md behavioral guidelines — branching conventions, C
Langertha Test Writer
Write Langertha tests (Test2::Bundle::More) — regression tests, TDD red phase, coverage for a new engine/role/
ADR Critic
Use when a drafted Architecture Decision Record must be checked against a written standard before it is accept