CRUX-Compress: Agent for Claude Code

.cursor/agents/integrity-expert.md

integrity-expert is an agent for Claude Code, Cursor from zotoio/CRUX-Compress. It costs 38 tokens per session (1,752 once invoked), scanned A, original, MIT.

An engineering review agent for checking whether a codebase remains reliable, secure, tested, and internally consistent.

In plain words
What is it for?
It performs targeted or full audits and produces an integrity report covering areas such as test coverage, security issues, CI/CD workflows, script practices, documentation accuracy, and configuration.
Why use it?
It helps find problems across code, tests, security, shell scripts, automated build workflows, configuration, documentation, and CRUX notation before they cause trouble.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions AGENTS.md.

This is zotoio/CRUX-Compress's own configuration. It tells Claude Code and Cursor how to work on CRUX-Compress itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CRUX-Compress configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zotoio/CRUX-Compress. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zotoio/CRUX-Compress/main/.cursor/agents/integrity-expert.md
Clone the repo
git clone --depth 1 https://github.com/zotoio/CRUX-Compress

Made for: Claude Code, Cursor.

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 integrity-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/zotoio/crux-compress/integrity-expert/github.svg)](https://agentmods.dev/agents/zotoio/crux-compress/integrity-expert)
Your own site
<a href="https://agentmods.dev/agents/zotoio/crux-compress/integrity-expert"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/integrity-expert/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 integrity-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/zotoio/crux-compress/integrity-expert"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/integrity-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,752 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00038 $0.01752
Opus 5.5 $0.00015 $0.00701
Sonnet 5.5 $0.00008 $0.00350
Haiku 4.5 $0.00004 $0.00175

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

Security

Grade A, and why

integrity-expert scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Unsafe curl/wget piped to shell
.cursor/agents/integrity-expert.md · 222 lines

How it starts

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

You are an engineering integrity expert for the CRUX-Compress codebase. Your role is to ensure the codebase maintains high quality standards across all dimensions.

Your Purpose

Proactively identify and report issues affecting codebase integrity, including code quality, test coverage, security vulnerabilities, consistency problems, and documentation accuracy.

Areas of Expertise

Domain Scope
Shell Scripts scripts/*.sh
Python Scripts install.py, .cursor/hooks/*.py, crux_mcp_server/, evals/
CI/CD .github/workflows/*.yml
CRUX Notation .cursor/rules/*.crux.mdc, *.crux.md (code), synchronization with source files
Tests tests/*.bats, tests/helpers.bash, test coverage and quality
Configuration .crux/*.json, .cursor/hooks.json, package.json if present
Documentation README.md, CONTRIBUTORS.md, AGENTS.md, CRUX.md

Load Context

Read AGENTS.md if not already loaded in context. If your task involves compressing, decompressing, authoring, or validating CRUX notation (for example a CRUX sync audit under .cursor/rules/*.crux.mdc or *.crux.md), read CRUX.md. Otherwise rely on _CRUX-RULE.mdc and the CRUX block in AGENTS.md for symbol-aware behavior.

Honor context_manifest

Before reading AGENTS.md, CRUX.md, or .crux/crux-memories.json, check your task prompt for a context_manifest stanza. If a file is marked loaded, do not re-read it. If a probe field is present, acknowledge it in your first internal reasoning step. If the stanza is missing entirely, fall back to the unconditional loads documented above.

When Invoked

  1. Receive audit scope from the caller (full audit, specific files, or specific domain)
  2. Load context per the Load Context section above — honor any context_manifest stanza
  3. Perform targeted checks based on scope
  4. Generate integrity report with findings and recommendations

Audit Capabilities

Read the full file on GitHub · 222 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. 1mo ago Changed · +8 lines 517716ca6cd0
  2. 2mo ago First seen · 214 lines · 38 tokens per session scan A a1a37168da08

Subscribe to this mod's changes

integrity-expert is an agent published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 14d ago), licensed MIT. It adds 38 tokens to every session and 1,752 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

integrity-expert compared with agents from other repositories

integrity-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
integrity-expertzotoio/CRUX-CompressAgent814d agoMITA38Claude Code, Cursor
review-reliabilityGentleman-Programming/gentle-aiAgent8.4kyesterdayMITA29Claude Code
swift-reviewerNagarjuna2997/ios-agent-skillAgent408d agoMITA76Claude Code
tdmcp-quality-audit-leadPantani/tdmcpAgent59yesterdayMITA70Claude Code
submission-qaPantani/tdmcpAgent59yesterdayMITA76Claude Code
tdmcp-implementation-quality-analystPantani/tdmcpAgent59yesterdayMITA44Claude Code
pr-test-analyzerFmarzochi/EGCAgent68yesterdayApache-2.0A24Claude Code