dev-error-notebook is a small agent-first skill for turning solved problems into reusable notes. It helps an agent decide what is worth recording, where to record it, and how to find it again later.
It is platform-neutral: you can use the protocol with Codex, Claude, or any other agent system that can read instructions and files.
npx skills add Air000000/dev-error-notebook --skill dev-error-notebook -g
- Put this skill where your agent can read it.
- Use it after a fix, confirmed workaround, regression, or reusable troubleshooting session.
- On first use, let the agent initialize the project notebook structure if it does not already exist.
Default runtime notebook structure:
index.jsonreferences/categories/
Optional:
taxonomy.jsonfor project-specific category namesERROR_NOTEBOOK.mdfor a human-readable mirror
Out of the box, the skill can work without taxonomy.json. The agent will still classify incidents using the default rules in SKILL.md.
The workflow is simple:
- Extract facts from the issue.
- Decide
incident,variant, orskip. - Read
index.json. - Read
taxonomy.jsonif it exists. - Read only the top 1-2 matching category files.
- Dedupe using title, error signature, and component paths.
- Write the result and update index metadata.
Source of truth:
index.jsonreferences/categories/category-*.md
Optional file:
ERROR_NOTEBOOK.mdIt is only a human-readable mirror or landing page. It is not required and is not the source of truth.
-
SKILL.mdMain protocol: write gate, naming rules, dedupe logic, retrieval limits, and output format. -
assets/error-entry-template.mdCanonical note template. -
assets/taxonomy-profile-template.jsonStarter template for a project-specific taxonomy config. -
evals/evals.jsonExample eval prompts for routing, dedupe, skip logic, and fallback behavior.
taxonomy.json is optional.
Without it:
- the agent still works
- the agent creates or reuses categories using the default mechanism-first rules
With it:
- category names become more consistent for your project
- you can define preferred categories and keyword aliases
What you can customize:
- preferred category names
- keyword aliases
- dynamic category rules
- domain wording
What should usually stay stable:
incident | variant | skip- naming rules
- dedupe triad
- mechanism-first classification
If your field is not covered by the included examples, change the taxonomy config rather than rewriting the whole protocol.
See CHANGELOG.md.