/agentic-behavior:incident-tracker <short description of the behavioral correction>from agentic-behavior
Logs behavioral incidents with structured severity, tags, and footnoted rules. Creates durable audit trail under incidents/behavioral/.
Ships in agentic-behavior. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Track behavioral incidents with structured incident files, derive reusable rules, and maintain footnote references between rules and the incidents that produced them.
correct-behaviorBoth skills handle behavior corrections. They are complementary:
agentic-behavior:correct-behavior — broader corrective workflow
(reflect, scope, search, derive rule, edit rules/skills/plugins/hooks). Use
when the goal is fixing the behavior across the system.agentic-behavior:incident-tracker — structured incident log format
(severity, tags, footnoted rules). Use when the goal is producing a durable
audit trail of what happened, in addition to or instead of fixing the
behavior in code.When in doubt, prefer correct-behavior for active fixes and add an incident
record via this skill if the handler asks for one explicitly or if the
incident is significant enough to deserve a permanent record.
When given a behavioral correction:
Do not continue with the previous task. Acknowledge the correction first.
Capture, in your own words:
The rules file is where derived rules get appended (with footnote references back to the incident file). Discover it in this order:
CLAUDE.md exists at the repo root, use that.AGENTS.md exists at the repo root, use that.agentic-behavior.rulesFile is configured in
~/.claude/plugins.settings.yaml or project-level
.claude/plugins.settings.yaml, use that.AGENTS.md at the repo root and use that. Tell the user
you created it so they aren't surprised.Do not silently overwrite an existing rules file you didn't discover — ask the handler before clobbering anything unexpected.
Place it under incidents/behavioral/ at the repo root. Naming pattern:
YYYY-MM-DD--short-description.md
Use the structured template at
references/incident-template.md — copy it as the starting point, then fill
in every section. Do not leave placeholder text in the file.
Under a ## Learned Behaviors section in the rules file (create the section
if it doesn't exist), add the rule using this format:
N. **<Rule title>** — <Rule description>. [^rule-N]
[^rule-N]: [YYYY-MM-DD -- Incident Title](incidents/behavioral/YYYY-MM-DD--short-description.md)
Number rules sequentially within the file. Footnote IDs (^rule-N) must be
unique within the file. The footnote definition can live at the bottom of
the file with the other footnote definitions.
Before resuming any other work, confirm:
If the user disagrees, edit the incident file and rule before continuing.
| Level | When to Use |
|---|---|
low | Minor inconvenience, no lasting impact |
medium | Affected user workflow, required correction |
high | Data loss, security issue, or significant trust impact |
Pick the most accurate severity based on impact, not on how badly you feel about the mistake. If the user explicitly classifies it differently, use their classification.
git push --force" is a rule.references/incident-template.md — structured template for incident filesagentic-behavior:correct-behavior — broader behavior-correction skill
for fixing the behavior in rules/skills/plugins/hooksWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nsheaps/ai-mktpl --plugin agentic-behavior9 skills in this plugin
/brainGit-backed memory and prompt tracking with self-checking reminders. Auto-saves prompts, syncs memory to git, and implements the Ralph loop pattern for work validation./claude-codeReference material for Claude Code internals — the on-disk layout under ~/.claude and project-scope .claude, the plugin cache, session-env propagation, and the full hook lifecycle. Auto-recall when working on Claude-Code-related tasks: writing or debugging hooks, authoring plugins, inspecting session state, troubleshooting why an env var is or isn't visible to a Bash tool call, or when paths under ~/.claude or ~/.claude/plugins/ come up./continue-workOther plugins' skills for the same job