Skip to content
Back to skills

Audit Plugin

ASecurity

Audits a local plugin directory to ensure it perfectly matches the Agent Skills and Claude Plugin Open Standards.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
securitypythonbashci/cdsecurity

Security analysis

A100/100

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

Scanned September 7, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Audit Plugin?

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

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

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-plugin
description: Audits a local plugin directory to ensure it perfectly matches the Agent Skills and Claude Plugin Open Standards.
disable-model-invocation: false
allowed-tools: Bash, Read, Write
dependencies: ["skill:analyze-plugin"]
---
# Ecosystem Auditor

## Overview
This skill acts as the final CI/CD review gate for the agent ecosystem. It delegates to the `agent-plugin-analyzer` to execute a deep, multi-dimensional semantic scrub of a target plugin against our strict Level 4 specifications.

## Instructions
When instructed to audit or validate a plugin, or to verify if a skill is compliant, use the Python analyzer script. Do not use legacy basic audit scripts.

**Usage:**
```bash
Trigger the `agent-plugin-analyzer` skill targeting the plugin directory `--dir <path-to-plugin> --security`
```

*(Note: Always run with the `--security` flag to catch P0 malware heuristics before reviewing architecture.)*

**Parameters:**
- `--dir`: The absolute or relative path to the root of the plugin being audited.

**Audit Checks Include:**
- **Open Standards Validation:** Run `skills-ref validate <path-to-skill>` to definitively catch frontmatter parse errors, length constraints, and required fields (`name`, `description`).
- **Naming & Content Constraints:** Verify the skill name uses the **gerund form** (`verb + -ing`, e.g., `analyzing-spreadsheets`). Reject generic nouns. Ensure the `name` exactly matches the parent directory. Verify `description` is written strictly in the **third person**.
- **Execution Patterns (L4):** Checks for Graduated Autonomy, Source Transparency, Escalation Triggers.
- **State Management:** Checks for conditional inclusions and explicit state checklists.
- **Architectural Strictness**: Validates `CONNECTORS.md`, `README.md`, YAML frontmatter purity. Verifies `SKILL.md` uses 1-level deep relative file references ONLY and is < 500 lines. Enforces that all supporting files are strictly organized into the official `scripts/`, `references/`, or `assets/` directories.
- **Security Vectors:** Flags un-sandboxed execution, prompt injection vulnerabilities, and raw binary execution. Ensure utility scripts use explicit error handling, not silent punting or voodoo constants.

**Remediation & Next Steps:**
If the script outputs a low Maturity Score or fails the `--security` gate (which forces an immediate `sys.exit(1)`), you MUST read the generated output report and actively use your file editing tools to fix the compliance issues in the target plugin. Run the audit again until it achieves Level 3 or higher.


## Next Actions
- Offer to run `create-skill` to fix identified gaps.
- Offer to run `create-stateful-skill` to upgrade to L4 maturity.

Files in this skill

  • SKILL.md2.7 KB
  • evals/evals.json1.5 KB
  • references/acceptance-criteria.md602 B
  • references/fallback-tree.md1.4 KB
  • scripts/audit.py5.6 KB
  • templates/README.md.jinja774 B
  • templates/SKILL.md.jinja1 KB
  • templates/agent.md.jinja957 B
  • templates/command.md.jinja351 B
  • templates/execute.py.jinja366 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.

View all in security →

Comments

Loading comments…

Newsletter

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