audit

audit is a skill for Claude Code from RayforceDB/raysense. It costs 55 tokens per session (610 once invoked), scanned A, original, MIT.

A deliberate whole-codebase review that examines architecture, dependencies, code changes over time, and missing tests. It creates a multi-part report instead of checking one small edit.

In plain words
What is it for?
Use it for architecture reviews, dead-code reports, test-gap analysis, or finding parts of the codebase that are becoming harder to maintain. It can also create a self-contained HTML dashboard when a browsable report is requested.
Why use it?
It helps reveal broad structural problems that are easy to miss during routine coding, such as tangled modules, risky files, and untested areas.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the raysense plugin — 6 skills, 6 commands, 1 MCP server shipped together

Good fit Use it for architecture reviews, dead-code reports, test-gap analysis, or finding parts of the codebase that are becoming harder to maintain. It can also create a self-contained HTML dashboard when a browsable report is requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rayforcedb/raysense/audit
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.

Any agent
npx skills add RayforceDB/raysense --skill audit
Clone the repo
git clone --depth 1 https://github.com/RayforceDB/raysense

Made for: Claude Code.

Or install raysense, the plugin that ships this one along with the rest of its 6 skills, 6 commands, 1 MCP server.

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 audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/rayforcedb/raysense/audit/github.svg)](https://agentmods.dev/skills/rayforcedb/raysense/audit)
Your own site
<a href="https://agentmods.dev/skills/rayforcedb/raysense/audit"><img src="https://agentmods.dev/badge/skills/rayforcedb/raysense/audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/rayforcedb/raysense/audit"><img src="https://agentmods.dev/badge/skills/rayforcedb/raysense/audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 610 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00055 $0.00610
Opus 5.5 $0.00022 $0.00244
Sonnet 5.5 $0.00011 $0.00122
Haiku 4.5 $0.00006 $0.00061

Measured 2mo ago against content hash 8eac111224eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit 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 2mo 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.

claude-plugin/skills/audit/SKILL.md · 61 lines

How it starts

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

Audit

This skill is for deliberate "look at the whole codebase" requests. It calls multiple raysense MCP tools and produces a multi-section report. Do not run it as part of routine edits — it is loud by design and will pollute the working context.

All tools take a path argument; pass the current repo root.

Steps

  1. Architecture — call raysense_architecture. Reports root causes, cycles by SCC, layer levels, and unstable modules. Lead the report with the worst root cause.
  2. DSM — call raysense_dsm for the module dependency matrix and level assignments. Useful for showing the user the shape of the project, not just the metrics.
  3. Evolution — call raysense_evolution. Surfaces bus factor, change-coupling pairs (files that change together), and temporal hotspots (commits × max complexity).
  4. Test gaps — call raysense_test_gaps. Files without nearby tests, ranked by risk.
  5. Optional dashboard — call raysense_visualize if the user asked for something they can browse. Writes a self-contained HTML file the user can open.

Report structure

When summarising back to the user, lead with the one finding that matters most — usually the worst architectural root cause or the highest-risk untested file. Long lists overwhelm; a single prioritized headline plus a short table of next-three-things tends to land better.

When to skip

  • The user asked a narrow question. Use impact or a single targeted MCP call instead.
  • The repo is tiny (under ~50 files). The audit will produce mostly noise -- just call raysense_health and read out the grade.

See also

The audit's typed tools surface what raysense already knows. When the user asks an audit-shaped question that doesn't fit a typed tool, the query skill exposes Rayfall directly via raysense_baseline_query:

  • Custom architectural breakdowns -- group calls by caller module, count cross-layer imports, find ownership-by-language splits.
  • .graph.pagerank / .graph.louvain / .graph.betweenness over call_edges or module_edges for centrality-based audits.
  • raysense_baseline_import_csv to bring external audit data (coverage, lint counts, test runtime) into the same query substrate as the structural baseline.

Read the full file on GitHub · 61 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. 2mo ago First seen · 61 lines · 55 tokens per session scan A 8eac111224eb

Subscribe to this mod's changes

audit is a skill published in the GitHub repository RayforceDB/raysense (14 stars, last pushed 6mo ago), licensed MIT. It adds 55 tokens to every session and 610 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

audit compared with skills from other repositories

audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditRayforceDB/raysenseSkill146mo agoMITA55Claude Code
write-e2egreglas75/zuvoSkill74d agoMITA101Claude Code
ring:running-dev-cycle-frontendLerianStudio/ringSkill2187d agoApache-2.0C114Cursor
test-auditgreglas75/zuvoSkill74d agoMITB100Claude Code
rimtest-redux-integratemushroomTW/MushroomTW-SkillsSkill0todayMITA40Codex
e2e-testingNmor/the-claude-councilSkill121mo agononeA70Claude Code, Codex
new-skillhyhmrright/brooks-lintSkill1.6kyesterdayMITA145Claude Code, Codex