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.
git clone --depth 1 https://github.com/oborchers/fractional-ctoWrote 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/commands/oborchers/fractional-cto/package-audit)<a href="https://agentmods.dev/commands/oborchers/fractional-cto/package-audit"><img src="https://agentmods.dev/badge/commands/oborchers/fractional-cto/package-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.
<a href="https://agentmods.dev/commands/oborchers/fractional-cto/package-audit"><img src="https://agentmods.dev/badge/commands/oborchers/fractional-cto/package-audit.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.00034 | $0.00757 |
| Opus 5.5 | $0.00014 | $0.00303 |
| Sonnet 5.5 | $0.00007 | $0.00151 |
| Haiku 4.5 | $0.00003 | $0.00076 |
Grade A, and why
package-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 3d 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.
What it actually says
Perform a comprehensive audit of the entire Python package repository (or the scope provided as argument).
Follow this process:
-
Discover the package: Use Glob and Read to understand the repository structure:
- Identify whether it uses src/ or flat layout
- Map the directory structure and module boundaries
- Locate pyproject.toml, setup.py/setup.cfg (if any legacy files remain)
- Identify CI configuration, documentation, and test directories
- Check for py.typed marker, init.py files, _internal/ convention
-
Sample strategically: Read key files:
- pyproject.toml (always — this is the most important file)
- init.py files (check all, public API surface)
- Configuration files (ruff, mypy, pytest sections in pyproject.toml)
- CI workflows (.github/workflows/)
- Documentation config (mkdocs.yml or conf.py)
- SECURITY.md, CONTRIBUTING.md, CHANGELOG.md
- 3-5 representative source files from the main package
- 2-3 test files
-
Establish the package's current state: Before flagging violations, document what the package already does well:
- Which modern standards it follows
- What tooling is already configured
- What patterns are established
-
For each python-package principle, invoke the corresponding skill and audit:
- Project Structure — src/ layout, init.py, py.typed, _internal/
- pyproject.toml — PEP 621 metadata, build backend, dependency groups, SPDX license
- Code Quality — Ruff config, mypy strict, modern type hints
- Testing Strategy — pytest config, coverage, fixtures, strict mode
- CI/CD — GitHub Actions, test matrix, trusted publishing, caching
- Documentation — MkDocs Material, Diataxis, docstrings
- Versioning & Releases — SemVer, changelog, deprecation policy
- API Design — all, progressive disclosure, exception hierarchy
- Packaging & Distribution — wheels, platform tags, package size
- Security & Supply Chain — OIDC, Sigstore, SECURITY.md, dependency scanning
- Developer Experience — one-command setup, CONTRIBUTING.md, Makefile
-
Report findings in this structure:
Package Overview
- Package name, layout, Python version support, build backend, total source files
Current Strengths
- What the package already does well (acknowledge compliance)
Findings by Principle
For each principle with violations:
- [Principle Name] — X violations
- Specific findings with file:line references
- Whether this is a systemic issue or isolated
- The fix (show before/after for configurations)
Migration Path
- If legacy patterns exist (setup.py, setup.cfg), outline migration steps
- Prioritized list of changes by impact
Summary
- Severity counts: Critical / Important / Suggestion
- Top 5 highest-impact improvements
- Overall package health: exemplary / solid / adequate / needs-work / non-compliant
- One-paragraph verdict
Focus on actionable improvements with the highest impact. A missing trusted publishing setup matters more than a slightly suboptimal Ruff rule.
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.
- 3d ago First seen · 72 lines · 34 tokens per session scan A 4e830a8ced11
package-audit is a command published in the GitHub repository oborchers/fractional-cto (32 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 757 once invoked, about $0.0001 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-10-13.
Other commands, from other repositories
notebook-review
Comprehensive review of Jupyter notebooks and Python scripts.
python-review
Comprehensive Python code review for PEP 8 compliance, type hints, security, and Pythonic idioms. Invokes the python-reviewer agent.
review-uv-script
Review uv Python script for PEP 723 compliance and best practices.
review-react-code
A command that reviews React and TypeScript code, including how components are organised, how Hooks are used, how state is handled, and how the code performs.
py-structure
Analyze and recommend project structure improvements. Checks file sizes, layer organization, module splitting, and hexagonal architecture compliance.
py-harden
Scan Python backend code for anti-patterns and fix them. Runs the full anti-pattern catalog (AP-01 through AP-22) against the codebase.