Skip to content
Back to skills

325 Trk 700974a3

ASecurity

Capture mistake or improvement opportunity with 5 whys analysis

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentsgogit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 325-trk_700974a3 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 325 Trk 700974a3?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 325 Trk 700974a3
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-325-trk-700974a3/badge)](https://www.skillsdirectory.com/skills/tools-only-325-trk-700974a3)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Capture mistake or improvement opportunity with 5 whys analysis
---

Capture a mistake or improvement opportunity. Follow these steps:

1. Extract the description from the user's `/trk` command
2. Identify your current persona/role (what system prompt you're operating under)
3. Perform 5 whys root cause analysis of why this mistake happened
4. Extract last 5 message exchanges from the current conversation
5. Create a report in `~/.claude/trk-db/active/` with format:

```markdown
---
id: YYYY-MM-DD-HH-MM-SS
created: ISO8601 timestamp
project: current project name
persona: current persona/role
status: active
category: rule-violation|improvement|confusion
---

# [User's description]

## 5 Whys Analysis

1. **Why did this happen?** [Your analysis]
2. **Why did that happen?** [Your analysis]
3. **Why did that happen?** [Your analysis]
4. **Why did that happen?** [Your analysis]
5. **Root cause:** [Your conclusion]

## Context (Last 5 Messages)

[Extracted conversation]

## Resolution

[Empty - filled when resolved]
```

6. Initialize git repo if `~/.claude/trk-db/.git` doesn't exist
7. Git add and commit with message: "Add report: [description]"
8. Confirm to user: "Report captured: ~/.claude/trk-db/active/[id].md"

Files in this skill

  • README.md797 B
  • skill.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.