| name | skill-report |
| description | > Use when this capability is needed. |
Critical Rules
- NEVER interrupt the user's current task to suggest reporting. Only suggest recording AFTER the current task is complete.
- Only record skill-related issues — bad instructions, missing edge cases, wrong examples, outdated patterns. NOT environmental failures (network, permissions, missing tools), user typos, or out-of-scope requests.
- Reports must be portable: no absolute paths from the user's project, no machine-specific details. Focus on the skill's instructions and what they got wrong.
- One report per distinct issue. Combine related issues within a single session into one report.
When to Record
- Skill instructions led to incorrect output
- User had to correct behavior that the skill should have handled
- A skill's example or pattern was wrong or outdated
- Skill missed an edge case that caused failure
- Skill's description triggered activation in the wrong context
Do NOT record: user typos, environment issues, tool unavailability, out-of-scope requests, or problems unrelated to skill instructions.
Semi-Automatic Flow
This is the primary mode — Claude detects an issue during normal work.
- While working on a task, notice a skill instruction issue
- Continue the task — do NOT interrupt or mention it yet
- After task completion, suggest: "I noticed [skill] had an instruction issue: [brief description]. Want me to record it for improvement?"
- If user agrees, read the skill's SKILL.md to identify the relevant instructions
- Write the report using the template below
- Show the report file path
Manual Flow
User invokes /skill-report directly.
- If
$ARGUMENTS provided, use it as <skill-name>
- If no arguments, ask which skill to report on
- Ask user to describe the issue (or use conversation context if the issue was just discussed)
- Read the skill's SKILL.md to identify relevant instructions
- Write the report using the template below
- Show the report file path
Report Storage
Path pattern: $TMPDIR/skill-reports/<skill-name>/YYYY-MM-DD_<session-id-short>.md
$TMPDIR — OS-managed temporary directory (falls back to /tmp if unset)
<skill-name> — subdirectory per skill for easy browsing
YYYY-MM-DD — date prefix for sorting
<session-id-short> — first 8 characters of $CLAUDE_SESSION_ID (use unknown if unavailable)
- Create the directory with
mkdir -p before writing
- If a report already exists for this session, append a counter suffix (
_2, _3, etc.)
Report Template
# Skill Report: <skill-name>
Date: YYYY-MM-DD
Session: <full CLAUDE_SESSION_ID or "unknown">
## Context
What the skill was trying to accomplish and what task triggered it.
## Issue
What went wrong — the observable incorrect behavior.
## Root Cause
Which specific section, rule, or example in the skill's instructions
led to the incorrect behavior. Quote the relevant instruction.
## Expected Behavior
What the correct outcome should have been.
## Suggested Improvement
Concrete change to the skill's SKILL.md or references that would
prevent this issue. Be specific — name the section and describe the fix.
Fill every section. Quote the actual skill instruction that caused the issue in Root Cause. Be specific in Suggested Improvement — name the section and describe the exact change.
Reading Reports (for Skill Improvement)
When the user asks to review reports or improve a skill based on reports:
- List reports:
ls $TMPDIR/skill-reports/<skill-name>/
- Read each report
- Cross-reference with the skill's current SKILL.md
- Propose specific changes to the skill's instructions
- Group related issues if multiple reports point to the same root cause
Edge Cases
$TMPDIR not set → fall back to /tmp
$CLAUDE_SESSION_ID not available → use unknown as session ID
- Skill directory not found in repo → still write the report with available context, note the skill wasn't found
- Multiple distinct issues in one session → write separate reports, append counter suffix
- Report file already exists → append counter suffix (
_2, _3, etc.)
Converted and distributed by TomeVault — claim your Tome and manage your conversions.