Skip to content
Back to skills

Audit Self

ASecurity

Use to audit ForgeBee itself — scorecard regressions across skills, agents, and commands; a bitter-lesson review of rule weight; or a trim of one file that loses no directive.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 2, 2026
ai-agentsnode

Security analysis

A100/100

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

Scanned December 2, 2026

npx -y skills add forbee-dev/ForgeBee --skill audit-self --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit Self?

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

Security grade badge for Audit Self
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/forbee-dev-audit-self/badge)](https://www.skillsdirectory.com/skills/forbee-dev-audit-self)

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
---
name: audit-self
description: Use to audit ForgeBee itself — scorecard regressions across skills, agents, and commands; a bitter-lesson review of rule weight; or a trim of one file that loses no directive.
version: 1.1.0
---

# Audit Self

## Objective

Default (scorecard) mode: re-run the scorecard behind the manual audit files (`docs/planning/audit-*.md`) on demand. Catch regressions: agents missing the status protocol, skills with WHAT-first descriptions, bloat, severity-vocabulary drift.

Write findings to `docs/planning/audit-YYYY-MM-DD.md` (timestamped, never overwriting). Report only NEW issues since the last audit: regression detection, not a full-state report.

## When this fires

- User invokes `/audit-self`.
- Before a version bump (recommended manual step).

## Modes

The first argument selects the mode. Load a reference file only for its mode.

| Mode | Invoke | Method | Writes |
|------|--------|--------|--------|
| Scorecard (default) | `/audit-self` | Process below | `docs/planning/audit-YYYY-MM-DD.md` |
| Bitter-lesson | `/audit-self bitter-lesson [path]` | `${CLAUDE_PLUGIN_ROOT}/skills/audit-self/references/bitter-lesson.md` | `docs/planning/audit-bitter-lesson-YYYY-MM-DD.md` only |
| Trim | `/audit-self trim <path>` | `${CLAUDE_PLUGIN_ROOT}/skills/audit-self/references/trim.md` | `<path>`, after the user approves |

- **bitter-lesson:** edits no audited file until the user approves each verdict. A preference or a safety gate is never `CUT`.
- **trim:** writes `<path>` only after the user approves the trimmed version. One unmapped directive → abort and restore the file.

## Scorecards

Read these before auditing. They are the canonical rubric:
- `forgebee/skills/audit-self/scorecards/skills-scorecard.md` — 9 questions per skill
- `forgebee/skills/audit-self/scorecards/agents-scorecard.md` — 10 questions per agent
- `forgebee/skills/audit-self/scorecards/commands-scorecard.md` — 9 questions per command + cross-cutting

## Process

### Step 1: Inventory
- Count skills in `forgebee/skills/`, agents in `forgebee/agents/`, commands in `forgebee/commands/`.
- Treat `forgebee/INDEX.md` as the authoritative surface inventory.
- Compare with prior audit counts; flag added/removed.

### Step 2: Score against rubrics
Apply the matching scorecard to each item. Most items are FINE; put detail on problem items. Use the Y/N + concrete-finding format of the manual audits.

### Step 3: Cross-cutting checks
- Status protocol in all agents
- Karpathy principles in code-producing agents
- Severity vocabulary standardized in review skills (P6)
- Prompt defense baseline in all agents
- "Use when..." descriptions across skills
- Persona ↔ references/ symmetry (`node scripts/check-references.js`)
- Drift lint (`node scripts/check-drift.js`): report each `High` hit (dead path, unknown name, pinned model id). Phrase hits are advisory; a human judges them

### Step 4: Regression detection
- Read the most recent `docs/planning/audit-*.md` (or audit-skills.md / audit-agents-*.md / audit-commands.md if no timestamped one exists).
- Classify each prior issue as fixed or still present.
- Flag each current issue absent from the prior audit as NEW.

### Step 5: Write findings
Output to `docs/planning/audit-YYYY-MM-DD.md`:

```markdown
# ForgeBee Self-Audit (YYYY-MM-DD)

## Inventory Delta vs Prior Audit
- Skills: 25 → N (Δ +M added, -K removed)
- Agents: 48 → N (Δ +M / -K)
- Commands: 33 → N (Δ +M / -K)

## Regressions (NEW issues since last audit)
- <prioritized list, with file:line>

## Fixed (issues from last audit, now resolved)
- <list>

## Persistent Issues (unfixed)
- <list>

## Cross-Cutting Health
- Status protocol coverage: N/M agents
- Karpathy P1+P4 coverage: N/M code-producing agents
- Severity vocabulary standardized: Y/N
- Prompt defense baseline: N/M agents
- "Use when..." descriptions: N/M skills

## Top 10 Concrete Fixes (prioritized)
1. <file:line — issue — fix>
2. ...

## Snapshot for next audit
- Total skills: N
- Total agents: N
- Total commands: N
- Audit timestamp: YYYY-MM-DD
```

## Completion Rule (scorecard mode)

Single pass, not a fix loop. Write the file and stop when all hold:

1. **Full coverage once:** every skill, agent, and command in `forgebee/INDEX.md` scored exactly once.
2. **Regression step run:** every prior issue classified Fixed / Persistent (Step 4). Skipping this invalidates the run.
3. **Findings written:** the timestamped file exists with Inventory Delta and Snapshot populated.

Do not re-score FINE items, fix what you find (recommend in the Top 10; fixing is a separate `/team` or `/review` run), or restart when new issues appear mid-audit (capture them; the next audit covers later changes). Cap detail at the top ~20 problem items.

If coverage cannot complete (stale INDEX.md, missing scorecard), stop and report the blocker. Do not present a partial audit as whole.

## Never

- Never overwrite a prior audit file. Always timestamp.
- Never report on every FINE item. Cap detail at top-20.
- Never implement fixes in scorecard or bitter-lesson mode. Recommend only. Trim edits one file, after approval.
- Never skip the regression step. It is the main value.
- Never score the audit's own files (self-reference loop).

Files in this skill

  • SKILL.md5.1 KB
  • references/bitter-lesson.md5.3 KB
  • references/trim.md2.3 KB
  • scorecards/agents-scorecard.md1.9 KB
  • scorecards/commands-scorecard.md1.8 KB
  • scorecards/skills-scorecard.md3.3 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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