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 CATWILLgh/MAINFRAME --skill mainframe-rustgit clone --depth 1 https://github.com/CATWILLgh/MAINFRAMEWrote 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/catwillgh/mainframe/mainframe-rust)<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-rust"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-rust/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/catwillgh/mainframe/mainframe-rust"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-rust.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.00550 |
| Opus 5.5 | $0.00015 | $0.00220 |
| Sonnet 5.5 | $0.00008 | $0.00110 |
| Haiku 4.5 | $0.00004 | $0.00055 |
Grade A, and why
mainframe-rust 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 13d 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 — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust engineering
Identify the owning Cargo package and the actual binary, library, worker, or
test target. Read the crate manifest, inherited workspace settings,
rust-toolchain.toml when present, and the relevant CI command. Preserve the
edition, minimum supported Rust version, feature defaults, target platforms,
dependency constraints, and public API. Check which feature and target
actually exercises the edited path.
For schema, migration, index, or constraint work, use the shared migration method with the crate's actual database client and migration runner.
Keep failure and ownership visible
- Propagate fallible I/O, parsing, and configuration as
Resultwith causal context. Use panics only for proven invariants. Treatlet _ =on aResultor task handle as a decision to verify. Dropping a TokioJoinHandledetaches the task. Give background work an owner, a shutdown path, and observable failure. - Keep synchronous I/O and substantial CPU work off the async executor.
Bound blocking work and queues. Keep locks and transactions short and
ensure a guard cannot block unrelated work across an
.await. - For FFI or
unsafe, state the caller and memory invariants beside the operation. Keep validation and ownership at the boundary and exercise the relevant target. Preserve compatibility with existing callers and data.
Verify the owning target
Use mainframe-testing for behavior changes. Start with the project's
focused test and cargo check or Clippy for the owning target and features.
Preserve the configured toolchain and lint flags. Use the package's existing
locked dependency route where applicable. Cargo checks can compile build
scripts and procedural macros. Keep broad target and feature matrices in CI.
Run the actual CLI or service path when behavior depends on its wiring.
For hot paths, measure the same workload and outputs before and after. Check allocations, blocking time, and throughput where the change affects them. For async workers, verify an applicable failure or cancellation path and that owned tasks and resources are released.
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.
- 13d ago First seen · 51 lines · 38 tokens per session scan A ac714ae18f96
mainframe-rust is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It adds 38 tokens to every session and 550 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-11-17.
mainframe-rust compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mainframe-rustCATWILLgh/MAINFRAME | Skill | 2 | 13d ago | MIT | A | 38 | Claude Code, Codex |
| rust-checkHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 15 | Claude Code, Codex |
| stack-trace-rust-probeopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 42 | Claude Code |
| hotpath_initpawurb/hotpath-rs | Skill | 1.9k | 8d ago | MIT | A | 88 | Claude Code |
| rust-tracingBerriAI/litellm | Skill | 64k | today | none | A | 28 | Claude Code, Codex |
| rust-errorBerriAI/litellm | Skill | 64k | today | none | A | 72 | Claude Code, Codex |
| clickhouse-rust-type-mismatchesdivinevideo/divine-mobile | Skill | 263 | yesterday | MPL-2.0 | A | 280 | Claude Code, Codex |