Skip to content

krispuckett/skill-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” skill-issue

An agent skill that audits all your other agent skills. HR department for AI agents.

Find the skill issues before they find you.

Name: Josh Puckett β€” who immediately knew it had to be called /skill-issue

Concept: Benji Taylor β€” "I need a skill that reviews all the other skills, figures out which ones are performing, and fires the rest."

What It Does

  • Inventories every installed skill across your project
  • Tracks usage by scanning recent logs for skill mentions
  • Checks health β€” verifies required binaries and environment variables
  • Recommends action β€” keep, update, review, or remove

Quick Start

git clone https://github.com/krispuckett/skill-issue.git
cd skill-issue

# Point it at your skills directory
SKILL_DIRS="../my-project/skills" node scripts/audit.mjs

That's it. Any directory containing subdirectories with SKILL.md files will be scanned.

Usage

Ask Your Agent

"Run a skill audit" "Check my skills for issues" "Do I have a skill issue?"

CLI

# Scan default ./skills directory
node scripts/audit.mjs

# Scan multiple directories
SKILL_DIRS="./skills,./other-skills" node scripts/audit.mjs

# Scan with usage tracking from your logs
SKILL_DIRS="./skills" MEMORY_DIR="./logs" node scripts/audit.mjs

Configuration

Variable Default Description
SKILL_DIRS ./skills Comma-separated directories to scan
MEMORY_DIR ./memory Directory with dated markdown logs (YYYY-MM-DD.md) for usage tracking
AUDIT_DAYS 7 How far back to scan for usage
SKIP_HUB false Set to 1 to skip ClawdHub version checks

What It Scans

The auditor looks for subdirectories containing a SKILL.md with YAML frontmatter:

skills/
β”œβ”€β”€ my-skill/
β”‚   └── SKILL.md
β”œβ”€β”€ another-skill/
β”‚   └── SKILL.md

SKILL.md Format

---
name: my-skill
description: "What this skill does"
metadata: {"requires":{"bins":["curl","jq"],"env":["API_KEY"]}}
---

If requires.bins lists CLI tools, the audit checks they're installed. If requires.env lists env vars, it checks they're set.

Sample Output

# πŸ” Skill Audit Report

## Summary
- Total skills: 12
- βœ… Keep: 5       (active + healthy)
- πŸ”Ž Review: 4    (unused β€” maybe remove?)
- πŸ—‘οΈ Remove: 3    (broken dependencies)

## Detailed Report
| # | Skill       | Bins     | Usage (7d) | Health | Rec       |
|---|-------------|----------|------------|--------|-----------|
| 1 | 🌀️ weather  | curl     | πŸ“Š 5       | βœ…     | βœ… keep   |
| 2 | πŸ—£οΈ voice    | sag      | β€”          | ❌ sag | πŸ—‘οΈ remove |
| 3 | πŸ“§ email    | himalaya | πŸ“Š 8       | βœ…     | βœ… keep   |

## ⚠️ Skills Needing Attention
- **voice** β€” πŸ—‘οΈ Missing: `sag` not found. Install or remove.

How It Works

  1. Scans SKILL_DIRS for subdirectories with SKILL.md
  2. Parses YAML frontmatter for metadata
  3. Runs which on each required binary
  4. Checks process.env for required variables
  5. Scans dated .md files in MEMORY_DIR for skill name mentions
  6. Outputs a markdown report with per-skill recommendations

Read-only. Never modifies, installs, or removes anything.

Requirements

  • Node.js 18+

License

MIT β€” see LICENSE

About

πŸ” A Claude Code skill that audits all your other skills. HR department for AI agents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors