cli-audit-review

cli-audit-review is a skill for Claude Code, Codex from Destynova2/cli-code-skills. It costs 138 tokens per session (3,239 once invoked), scanned A, original, MIT.

A scored review method for merge requests and pull requests, which are proposed code changes waiting for review. It focuses on strict infrastructure, automation, CI, release, packaging, and command-line changes.

In plain words
What is it for?
Use it to review diffs involving Ansible, Molecule, GitLab CI, semantic-release, Go or PowerShell CLIs, shell scripts, and Python helpers.
Why use it?
It provides a repeatable gate for finding risks and convention violations before changes are merged.

Skill for Claude CodeCodex

Part of the cli-code-skills plugin — 36 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/destynova2/cli-code-skills/cli-audit-review
Any agent
npx skills add Destynova2/cli-code-skills --skill cli-audit-review
Clone the repo
git clone --depth 1 https://github.com/Destynova2/cli-code-skills

Made for: Claude Code, Codex.

Or install cli-code-skills, the plugin that ships this one along with the rest of its 36 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-audit-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/destynova2/cli-code-skills/cli-audit-review.svg)](https://agentmods.dev/skills/destynova2/cli-code-skills/cli-audit-review)
Your own site
<a href="https://agentmods.dev/skills/destynova2/cli-code-skills/cli-audit-review"><img src="https://agentmods.dev/badge/skills/destynova2/cli-code-skills/cli-audit-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,239 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00138 $0.03239
Opus 5 $0.00069 $0.01620
Sonnet 5 $0.00028 $0.00648
Haiku 4.5 $0.00014 $0.00324

Measured 4d ago against content hash bb850f3544e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cli-audit-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cli-audit-review/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Optimization: This skill uses on-demand loading. Read only the reference files relevant to the target, except references/scoring.md, which is mandatory for every scored review.

Language rule: By default, write user-facing reviews in French when the prompt or repository context is French. Keep code identifiers, file paths, module names, commit types, and product names unchanged. Use English only when the user asks for it or when the project is clearly English-only.

Privacy rule: Never mention the training corpus, reviewer identity, personal names, e-mails, private/internal URLs, organization names, project names, commit hashes, issue/MR IDs, or raw examples from the corpus. The skill must behave as a neutral review methodology.

Audit Review — Review Methodology Index (RMI)

Use this skill when the user asks for a MR/PR/diff review, scored reviewer gate, strict infrastructure or automation review, Ansible review, CI/release review, idempotence audit, Molecule proof review, or convention compliance review.

Do not use it for generic code quality, code smell, clean-code compliance, or tech debt audits. Use cli-audit-code for that. For a shell-only quality audit, use cli-audit-shell. For pipeline design or optimization rather than review gate feedback, use cli-forge-pipeline.

The goal is not to produce generic lint feedback. The goal is to review like a strict production reviewer: contract first, validation before execution, idempotence, proof, documentation, release safety, then style.

Core Principles

  1. Intent first — understand the MR/PR description, linked issue, changed behavior, and review scope before reading line-level diffs.
  2. Evidence first — every actionable finding needs file:line, or repo-wide/diff-wide when no single line owns the issue.
  3. Contract chain — public behavior must propagate through: contract -> validation -> implementation -> proof -> docs/CI/release.
  4. Desired state over actions — for infrastructure and Ansible, prefer modeling the final state rather than introducing imperative action flags.
  5. Fail fast — bad configuration must be rejected before packages, services, filesystems, clusters, remote APIs, or credentials are touched.
  6. Idempotence is mandatory — repeated execution must converge cleanly; commands/shell tasks need explicit state/change/failure controls.
  7. Secrets are toxic by default — tokens, passwords, keys, credentials, and sensitive command output must be contained in logs, templates, CI variables, artifacts, and errors.
  8. Proof is part of the change — deployable behavior needs Molecule, CI, integration tests, idempotence checks, or equivalent proof.
  9. CI/release is production code — pipelines, semantic-release, packaging metadata, branch rules, tokens, and artifacts are reviewed as runtime behavior.
  10. Recent conventions win — when conventions conflict, apply references/conflict-resolution.md and prefer the newest relevant pattern unless it is less safe.
  11. Risk beats cosmetic style — do not spend review budget on whitespace while contract, proof, idempotence, or security is broken.
  12. Approve improvement, not perfection — block regressions and unproven risk; mark polish as non-blocking when code health is improving.
  13. Smallest useful correction — ask for the minimal change that closes the risk. Avoid rewrite requests unless the design is unsafe.
  14. Positive signal matters — include what is good: clear propagation, good assertions, maintained docs, useful tests, safe release handling.

Read the full file on GitHub · 238 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 238 lines · 138 tokens per session scan A bb850f3544e6

Subscribe to this mod's changes

cli-audit-review is a skill published in the GitHub repository Destynova2/cli-code-skills (5 stars, last pushed 11d ago), licensed MIT. It adds 138 tokens to every session and 3,239 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dxkit-action

Read a dxkit report and execute fixes — prioritize findings by severity, plan the fix sequence, run the fix, verify the score moved, re-baseline if appropriate. Supports a SCOPED pass to burn down one category at a time (dependency/BOM vulnerabilities, security, code quality, tests, docs), and a BASELINE-CLEANUP pass…

vyuh-labs/dxkit · 201 tokens

dxkit-onboard

Walk a customer through setting up dxkit on a repo from scratch — checks state, installs, scaffolds, configures hooks, runs doctor, fixes any gaps, captures the first baseline, sets up branch protection + Codespaces prebuild. Also drives a DETERMINISTIC deep-configuration pass — it runs vyuh-dxkit configure --plan…

vyuh-labs/dxkit · 245 tokens

dxkit-config

Edit dxkit configuration — add/remove paths in .dxkit-ignore, tune .npx vyuh-dxkit.json, adjust .dxkit/policy.json guardrail severity. Use when the user wants to exclude a directory from scanning, change scoring thresholds, or modify what blocks a PR.

vyuh-labs/dxkit · 63 tokens

dxkit-flow

Configure, diagnose, and repair the dxkit UI→API integration gate — set up flow gating, explain the flow-contract diagnosis, fix a net-new broken integration a guardrail flagged, and run the cross-repo handshake. Use when the user says "set up the flow gate", "why is this call unresolved", "the guardrail says I broke…

vyuh-labs/dxkit · 112 tokens

dxkit-allowlist

Manage the dxkit allowlist over its whole lifecycle — list, inspect, audit (including orphaned entries after a re-baseline), bulk-defer newly published dep-vuln advisories, remove stale entries, prune expired ones, and export Snyk-originated suppressions to a .snyk policy. Use when the user says "review our…

vyuh-labs/dxkit · 180 tokens

dxkit-checks

Declare and operate custom repo invariants as first-class guardrail gates — a project rule (a "no imports from X" check, an architecture script, a license audit) or the built-in per-language lint gate. Use when the user says "make our lint errors block the PR", "gate our custom check", "add a repo rule to the…

vyuh-labs/dxkit · 139 tokens