
Audit Integrity
OfficialFreeEnsure quality and honesty in security analysis outputs.
Free · Opens the source repo
What Audit Integrity does
The Audit Integrity skill provides a structured framework for enhancing the output quality of application security (AppSec) agents. It focuses on enforcing intellectual honesty and continuous improvement through a series of well-defined protocols. By integrating this skill, agents can systematically address common pitfalls in security analysis, such as rationalization of errors and lack of thoroughness in reviews. This skill is particularly useful for teams looking to standardize their security analysis processes and ensure consistent quality across various assessments.
The framework consists of seven reusable components that guide agents through the analysis process. For instance, the Clarification Protocol prompts agents to ask targeted questions when the scope of an analysis is ambiguous, ensuring that they start with a clear understanding. The Anti-Rationalization Guard helps prevent justifications for subpar findings, while the Self-Critique Loop mandates a second-pass review to catch overlooked issues. These components work together to create a robust quality assurance mechanism that enhances the reliability of security assessments.
In addition to these components, the skill includes a Self-Reflection Quality Gate, which employs a scoring system to evaluate the output across multiple categories. This ensures that only analyses meeting a high standard are delivered. The Self-Learning System further supports agents by providing templates for documenting lessons learned and gaps identified during the analysis, fostering an environment of continuous learning and improvement.
Overall, the Audit Integrity skill is designed for security professionals who want to enhance the rigor and reliability of their analysis processes. By implementing this skill, teams can significantly reduce the risk of errors and improve the overall quality of their security outputs, making it a valuable addition to any AppSec toolkit.
When to use it
Use this skill during any security analysis, code review, or quality scan to enforce rigorous quality standards.
When not to use it
This skill may not be suitable for informal or exploratory analysis where strict protocols could hinder flexibility.
What you can build with it
Security Code Review
Integrate the Audit Integrity skill during code reviews to ensure all findings are thoroughly analyzed and justified.
Threat Modeling Sessions
Utilize the skill in threat modeling to maintain high standards of quality and prevent oversights in identifying vulnerabilities.
Quality Assurance for SAST Tools
Apply the skill as a post-analysis quality gate for Static Application Security Testing (SAST) tools to enhance output reliability.
How to install Audit Integrity
View source1. Install with the skills CLI
npx skills add github/awesome-copilot/audit-integrity --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by githubAudit Integrity Skill
Enforces output quality, intellectual honesty, and continuous improvement across all AppSec agents.
When to Use
- Every security analysis, code review, threat model, or quality scan agent run
- Applied automatically as a post-analysis quality gate
- Applicable to any agent performing SAST, SCA, threat modeling, or code quality analysis
Components
This skill provides 7 reusable capabilities. Agents apply all 7 unless their scope excludes a specific component.
| Component | Reference File | Purpose |
|---|---|---|
| Clarification Protocol | clarification-protocol.md | Ask ≤2 targeted questions before analysis when scope is ambiguous |
| Anti-Rationalization Guard | anti-rationalization-guard.md | Table of prohibited rationalizations with mandatory responses |
| Self-Critique Loop | self-critique-loop.md | Mandatory second-pass review after initial analysis |
| Retry Protocol | retry-protocol.md | Tool failure handling — retry once, then document |
| Non-Negotiable Behaviors | non-negotiable-behaviors.md | Hard rules: never fabricate, always cite evidence, report gaps |
| Self-Reflection Quality Gate | self-reflection-quality-gate.md | 1–10 scoring rubric with ≥8 threshold per category |
| Self-Learning System | self-learning-system.md | Lesson/Memory templates and governance rules |
Execution Flow
- Before analysis: Apply Clarification Protocol if scope is ambiguous
- During analysis: Apply Anti-Rationalization Guard at every decision point
- After initial pass: Execute Self-Critique Loop (mandatory second pass)
- On tool failure: Apply Retry Protocol
- Before delivery: Run Self-Reflection Quality Gate (all categories must score ≥8)
- After delivery: Create Lessons/Memories for novel findings, false positives, or methodology gaps (see Self-Learning System)
Agent-Specific Adaptation
Each agent customizes the Self-Critique Loop checklist and Self-Reflection Quality Gate categories to match its domain. The reference files provide the base templates; agents extend them with domain-specific items.
Example extensions per agent type
- SAST/SCA agents: Add taint trace completeness and manifest coverage checks
- SonarQube-style agents: Add rating sanity check (A–E consistency with findings)
- Threat modeling agents: Add STRIDE category completeness per trust boundary
- Code review agents: Add trust boundary audit with data flow tracing
Frequently asked questions about Audit Integrity
Similar skills
GitHub Actions Hardening
Enhance the security of your GitHub Actions workflows.
Sensitive Logging Audit
Audit and fix sensitive data exposure in Python logging.
Android App Static Analysis
Automate security assessments of Android apps with MobSF.
Integrating DAST with OWASP ZAP
Seamlessly integrate dynamic security testing into CI/CD pipelines.
Implementing Runtime Security with Tetragon
Enhance Kubernetes security with eBPF-based observability.
Implementing Mobile Application Management
Secure enterprise data on mobile devices with app-level controls.
