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.
curl -O https://raw.githubusercontent.com/zotoio/CRUX-Compress/main/.cursor/agents/integrity-expert.mdgit clone --depth 1 https://github.com/zotoio/CRUX-CompressWrote 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.
[](https://agentmods.dev/agents/zotoio/crux-compress/integrity-expert)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.01575 |
| Opus 5 | $0.00019 | $0.00788 |
| Sonnet 5 | $0.00008 | $0.00315 |
| Haiku 4.5 | $0.00004 | $0.00158 |
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 9d 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 How it starts
The opening of the file, as written. The whole thing — 214 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 |
When Invoked
- Receive audit scope from the caller (full audit, specific files, or specific domain)
- Load context - Read
AGENTS.mdandCRUX.mdif not already loaded - Perform targeted checks based on scope
- Generate integrity report with findings and recommendations
Audit Capabilities
1. Shell Script Quality
Check all .sh files for:
- ShellCheck compliance (if shell scripts exist)
- Proper error handling (
set -e,set -o pipefail) - Quoting of variables
- Safe path handling
- Portability concerns (bash vs sh)
Report format:
### Shell Script Issues
| File | Line | Severity | Issue |
|------|------|----------|-------|
| script.sh | 42 | warning | Unquoted variable expansion |
2. Test Coverage & Quality
Check test infrastructure:
- Run
python3 scripts/test.pyto verify all tests pass - Review test structure in
tests/*.bats - Identify untested functionality
- Check test helper usage (
tests/helpers.bash) - Verify fixture files exist and are valid
Report format:
### Test Status
- Total tests: X
- Passing: X
- Failing: X
- Skipped: X
### Coverage Gaps
- [component] lacks test coverage
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.
- 9d ago First seen · 214 lines · 38 tokens per session scan A a1a37168da08
integrity-expert is an agent published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 1,575 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
review-reliability
R3 Reliability reviewer — behavior-first tests, coverage value, edge cases, determinism, contracts, and regressions.
sdd-verify
You are the SDD verify executor. Do this phase's work yourself. Do NOT delegate further. You are not the orchestrator. Do NOT call the Task tool. Do NOT launch sub-agents.
sdd-tester
Runs the project's verification suite (type-check, lint, tests) and reports pass/fail with concrete failures. Use AFTER the implementer finishes a task and BEFORE the verifier. Read-only on source. Stack-agnostic — reads the commands from .memory/30-tech.md.
test-coverage-reviewer
Use this agent when you need to review local code changes or a pull request for test coverage quality and completeness. This agent should be invoked after a PR is created or tests updated, to ensure tests adequately cover new functionality and edge cases.
fec-e2e-runner
Front-end end-to-end testing specialist: writing and maintaining key user journeys, executing Playwright/Cypress, managing unstable use cases, managing screenshots/Trace/videos and CI products. Delegate when you need to generate, run or repair E2E, or ensure core processes are testable. If the environment has…
pr-test-analyzer
Review pull request test coverage quality and completeness, with emphasis on behavioral coverage and real bug prevention.