prompt-audit

Scan prompt files and ecosystem documentation to detect internal inconsistencies and stale references.

Updated Jul 27, 2026
One-click install
npx skills add https://github.com/whichguy/skill-craft --skill prompt-audit-whichguy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-audit
Source: https://github.com/whichguy/skill-craft/tree/main/plugins/prompt-audit/skills/prompt-audit
Command: npx skills add https://github.com/whichguy/skill-craft --skill prompt-audit-whichguy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies internal inconsistencies, stale references, and behavioral contradictions within agent or skill prompt files, ensuring your prompts are robust before migration or deployment.

Core Features & Use Cases

  • Consistency Checking: Validates phase models, behavioral contracts, and terminology across your prompt ecosystem.
  • Quality Assurance: Generates info-gain scores and remediation lists to prioritize necessary prompt improvements.
  • Use Case: Before migrating a complex agent prompt, run this audit to detect stale date literals, broken dependency graphs, or conflicting instructions that could cause agent failure.

Quick Start

Invoke the prompt-audit skill by providing the relative path to the prompt file you wish to analyze.

Frequently Asked Questions about prompt-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit agent prompts for internal inconsistencies and stale references?

To audit agent prompts for internal inconsistencies, the skill scans prompt files and ecosystem documentation to identify design gaps, stale date literals, and broken dependency graphs. It requires standard file system access and grep to correlate prompt definitions with test harnesses.

What is the best way to check prompt quality before migrating a complex agent?

Checking prompt quality before migration involves validating phase models, behavioral contracts, and terminology across the ecosystem. This skill generates info-gain scores and remediation lists to prioritize prompt improvements and detect conflicting instructions that cause agent failure.

Can I use grep to validate behavioral contracts in my prompt files?

Yes, you can use grep to validate behavioral contracts in prompt files. The skill operates by using grep and standard file system access to correlate prompt definitions with test harnesses and envelope templates, identifying mechanical errors and design gaps.

Why does my agent fail after migrating prompt files with broken dependency graphs?

Agent failure after migration often occurs due to broken dependency graphs or stale date literals within prompt files. Auditing the prompt files detects these behavioral contradictions and stale references, ensuring robust deployment and preventing execution errors.

When do I need to run a prompt consistency check on agent ecosystem documentation?

You need to run a prompt consistency check when preparing for deployment or migration. It validates phase models and terminology across the ecosystem documentation, identifying conflicting instructions and mechanical errors that could degrade agent performance.

Does prompt auditing require any specific test harnesses or envelope templates?

Prompt auditing requires standard file system access and grep to function effectively. It correlates prompt definitions with existing test harnesses and envelope templates to identify design gaps and mechanical errors within the prompt ecosystem.