Skip to content
Back to skills

Audit Skill

ASecurity

Audits and aligns individual skills or a repository skill inventory against authoring standards. Provides deterministic structural checks and optional AI review of language efficiency. Use audit-plugin for whole-plugin structure.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

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

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill audit-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit Skill?

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

Security grade badge for Audit Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-audit-skill/badge)](https://www.skillsdirectory.com/skills/richfrem-audit-skill)

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-skill
plugin: agent-scaffolders
description: Audits and aligns individual skills or a repository skill inventory against authoring standards. Provides deterministic structural checks and optional AI review of language efficiency. Use audit-plugin for whole-plugin structure.
allowed-tools: Bash, Read, Write, Glob, Grep
---

# Audit Skills

Check observed structural compliance, then review instruction quality when requested.

## Contents

- [Constraints](#constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Constraints

Audits are read-only; --fix is disabled. Preserve identities, routing, commands,
constraints and evaluation outcomes. Never infer missing should_trigger values.
Choose source versus installed representation explicitly. Do not treat a contents
list or lower character count as proof that instructions are complete or efficient.

## Quick start

Run from this skill root with an explicit caller-supplied target:

```bash
python3 scripts/audit_skill.py /path/to/skill --mode source --json
python3 scripts/audit_skill.py /path/to/repository --all --mode source --json
python3 scripts/audit_skill.py /path/to/installed-skill --mode installed --json
```

Repository JSON is a versioned envelope. `--legacy-json` retains the old list form.
Exit 0: no structural errors; 1: compliance errors; 2: invalid input/incomplete scan.
Warnings remain findings. The first 100 lines are a preview budget, not a loading limit.

## Workflow

1. Scan against [the authoring contract](references/skill-authoring-contract.json).
2. Query findings by rule/plugin/severity. Separate fixtures and aliases from canonical
   author-owned skills; record planned edits and before/after reviews in task evidence.
3. For optional AI review, read [language-review.md](references/language-review.md) and
   use the existing authorized CLI dispatcher. The Python auditor never dispatches AI.
4. Propose bounded edits. Check repetition, wasted explanations, conflicts, missing
   context and unnecessary historical/conversation retelling. Preserve operational rationale.
5. Apply authorized edits, run the audit again, and compare commands, constraints,
   routing and eval identities. Exact-path deletion/relocation permissions still apply.

## Verification

Use [acceptance criteria](references/authoring-acceptance.md) and
[review rubric](references/review-rubric.md). Check installed portability without source
resources. Record actual behavioral model tests separately from static compliance.
AI findings do not change deterministic passed status; record ran/not_requested/failed.

## References

- [Authoring guide](references/skill-authoring-guide.md): profiles, navigation and reports.
- [Anthropic guidance](references/anthropic-skill-authoring-best-practices.md): external source.
- [Fallback](references/skill-authoring-fallback.md): scan, resource and review failures.

Files in this skill

  • SKILL.md2.8 KB
  • evals/evals.json1.1 KB
  • references/acceptance-criteria.md42 B
  • references/fallback-tree.md36 B
  • scripts/audit_skill.py31 B

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…