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.
npx skills add ArtemioPadilla/agent-triforce --skill code-healthgit clone --depth 1 https://github.com/ArtemioPadilla/agent-triforceWrote 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/skills/artemiopadilla/agent-triforce/code-health)<a href="https://agentmods.dev/skills/artemiopadilla/agent-triforce/code-health"><img src="https://agentmods.dev/badge/skills/artemiopadilla/agent-triforce/code-health/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/skills/artemiopadilla/agent-triforce/code-health"><img src="https://agentmods.dev/badge/skills/artemiopadilla/agent-triforce/code-health.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.00033 | $0.00977 |
| Opus 5 | $0.00016 | $0.00489 |
| Sonnet 5 | $0.00007 | $0.00195 |
| Haiku 4.5 | $0.00003 | $0.00098 |
Grade A, and why
code-health 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run a comprehensive code health scan on the codebase.
Follow these steps:
SIGN IN:
- Run the SIGN IN checklist from your agent file
- Note any areas of concern based on past scans
SCAN -- Quality Attribute Assessment (FURPS):
Organize findings by quality attribute category (FURPS model, Hewlett-Packard):
F -- Functionality:
- Scan for dead code:
- Unused imports:
ruff check --select F401 src/orbiome lint src/ - Unused variables/functions: grep for definitions not referenced elsewhere
- Commented-out code blocks: search for patterns spanning 3+ lines
- Unreachable code after return/throw/break/continue
- Files not imported by any other file
- Unused imports:
R -- Reliability: 2. Scan for flaky test indicators:
- Tests depending on timing (
sleep,setTimeout, fixed delays) - Tests sharing mutable state between test cases
- Tests making real network calls without mocking
- Tests depending on filesystem paths or system-specific state
- Non-deterministic assertions (floating point equality without tolerance, random data without seeding)
- Check for outdated dependencies:
pip list --outdatedornpm outdated- Known vulnerabilities:
pip auditornpm audit
P -- Performance (complexity proxies): 4. Scan for Clean Code violations:
- Functions longer than 30 lines
- Files longer than 300 lines
- Deeply nested code (>3 levels of indentation)
- Duplicated logic blocks (DRY violations)
- Primitive obsession (raw strings/ints where a domain type belongs)
- Feature envy (methods that use another class's data more than their own)
- God classes (classes with too many responsibilities)
S -- Supportability: 5. Verify architecture compliance:
- Dependency direction: does business logic depend on frameworks or infrastructure?
- Layer leakage: are there imports that cross architectural boundaries incorrectly?
- Screaming Architecture: does folder structure reveal intent?
- Check TODO/FIXME comments — do they have issue references?
- Check for missing docstrings on public API functions: any function or class without a leading underscore in
src/files that lacks a docstring. Excludes test files and internal helpers (functions starting with_).
Note: U (Usability) is not assessed at code-health level -- this is a product concern owned by Prometeo.
Cost of Quality (COPQ) Classification
Categorize each finding by cost type (Feigenbaum 1956, O'Regan 2019):
- Prevention cost: Items that prevent defects if addressed (test coverage gaps, missing type hints, missing docstrings)
- Appraisal cost: Items that affect defect detection capability (flaky tests, weak assertions, inadequate test isolation)
- Internal failure cost: Defects already present, found internally (dead code, broken imports, architecture violations)
- External failure cost: Issues that could escape to users if not addressed (security vulnerabilities, missing error handling, unvalidated inputs)
In the code-health report, tag each finding with its FURPS category and COPQ type. Reports heavy on "external failure" items are more urgent than those with mostly "prevention" items.
References: FURPS (Hewlett-Packard), cited in Callejas-Cuervo et al. (2017). COPQ (Feigenbaum 1956), presented in O'Regan (2019) Ch. 9.3.5.
⏸️ TIME OUT — Scan Complete Checklist (DO-CONFIRM):
- All source directories scanned (not just
src/— alsotests/, config files) - Dead code findings verified (not false positives from dynamic imports or plugins)
- Dependency vulnerabilities checked with automated tools
- Flaky test indicators checked (timing, shared state, network, non-determinism)
- Findings prioritized: Critical > Warning > Suggestion
- Previous scan findings compared — are old issues resolved or recurring?
SIGN OUT:
6. Write findings to docs/reviews/code-health-{date}.md
7. Write the Findings Handoff-to-Forja using the communication checklist
8. Run the SIGN OUT checklist from your agent file
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.
- 11d ago First seen · 86 lines · 33 tokens per session scan A f0f816fb77cf
code-health is a skill published in the GitHub repository ArtemioPadilla/agent-triforce (3 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 977 once invoked, about $0.0002 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.
Other skills, from other repositories
skeptical-triage
Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts. Use when the cost of a false-positive gate block exceeds the cost of 4 extra LLM turns.
anti-patterns
Catalogue of known SDLC anti-patterns that greatcto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).
observability-baseline
Scaffold-time observability so a shipped product is not blind in prod from day one — error capture (Sentry), request-id structured logging, and /healthz + /readyz endpoints. stack-baseline pins Sentry but nothing wires it; this is the wiring. Loaded by app-scaffolder (bake into the scaffold), infra-provisioner (prod…
review-all
Multi-agent code review for diffs (project-agnostic). Covers standards, bugs, security, DRY, smells, perf, tests, API contracts, a11y/i18n. Verifies each finding to eliminate false positives. Use for /review-all, pre-PR/pre-commit review, or auditing uncommitted/staged changes.
x-cr
A software-correctness investigation skill for finding why code behaves differently from what was expected. It uses evidence from code paths, specifications, tests, logs, and changes to assess possible causes.
x-fix
A bug-fixing skill with separate paths for directly reported bugs, correctness-review findings, and failed verification or quality-gate reports. It records completed fixes and their validation in project reports.