Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/gotempsh/tempsnpx agentmods add skills/gotempsh/temps/temps-split-moduleWrote 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/gotempsh/temps/temps-split-module)<a href="https://agentmods.dev/skills/gotempsh/temps/temps-split-module"><img src="https://agentmods.dev/badge/skills/gotempsh/temps/temps-split-module/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/gotempsh/temps/temps-split-module"><img src="https://agentmods.dev/badge/skills/gotempsh/temps/temps-split-module.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.00118 | $0.02123 |
| Opus 5.5 | $0.00047 | $0.00849 |
| Sonnet 5.5 | $0.00024 | $0.00425 |
| Haiku 4.5 | $0.00012 | $0.00212 |
Grade A, and why
temps-split-module 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 5d 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 — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Split a large module
Rust lets one type have several impl blocks in different modules of the same
crate, so most god files can be split by moving code only: no renamed
functions, no changed signatures, no "while I'm here" fixes. A move-only diff is
cheap to review; a mixed one is not.
Context: docs/plans/crates-refactor-plan.md §4 P2 lists the target files and
proposed modules; §7 decisions 1 and 2 set the test-file convention and the size
limits. Typical god files: crates/temps-providers/src/services.rs,
crates/temps-deployer/src/docker.rs.
Rules
- One file per PR, and nothing else in that PR. Fixes found while moving go in a later PR (note them in the PR description).
- No behaviour change. Same tests, same test count, same public paths.
- Keep the public API. Every path other code uses (
crate::services::Foo,temps_x::services::Foo) still resolves, viapub use. - Narrowest visibility that compiles. Never widen to
pubto make a move work. - Split by responsibility, along seams that already exist: separate trait impls, groups of methods that call each other, types and errors, helpers.
Target layout
Either form is used in this repo; follow the crate's existing style.
foo/mod.rs # module docs, shared imports, types, pub use re-exports
foo/lifecycle.rs # impl Foo { ... } - one responsibility
foo/restore.rs # impl Foo { ... }
foo/tests.rs # #[cfg(test)] mod tests; when the tests are large
Real examples:
crates/temps-error-tracking/src/services/source_map_service.rswithsource_map_service/{artifacts,build_credentials,debug_ids}.rs:mod debug_ids;pluspub use artifacts::{ArtifactAssembly, ...};in the parent, anddebug_ids.rsholdingimpl SourceMapService { pub(super) async fn symbolicate_debug_ids(..) }.crates/temps-monitoring/src/http_checks/mod.rswithautomatic.rs,secret_history.rs,transport.rs,variable_history.rs:automatic.rs,secret_history.rsandvariable_history.rsstart withuse super::*;and add animpl HttpChecksServiceblock, sharingpub(super)items.- Out-of-line tests:
crates/temps-status-page/src/lib.rsdeclares#[cfg(test)] mod tests;and the tests live incrates/temps-status-page/src/tests.rs.
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.
- 5d ago First seen · 186 lines · 118 tokens per session scan A b2159ae6c4f1
temps-split-module is a skill published in the GitHub repository gotempsh/temps (903 stars, last pushed yesterday), licensed Apache-2.0. It adds 118 tokens to every session and 2,123 once invoked, about $0.0005 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-02.
temps-split-module compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| temps-split-modulegotempsh/temps | Skill | 903 | yesterday | Apache-2.0 | A | 118 | Claude Code, Codex |
| rust-crate-ciZaxbyHub/opencode-swarm | Skill | 518 | yesterday | MIT | A | 60 | Claude Code |
| build-nativehyperledger-iroha/iroha | Skill | 490 | yesterday | Apache-2.0 | A | 48 | Claude Code |
| rust-tooling-cicdfusengine/agents | Skill | 34 | 25d ago | MIT | A | 51 | Claude Code |
| cargo-workflowsOutlineDriven/outline-driven-development | Skill | 55 | 1mo ago | Apache-2.0 | A | 29 | Codex |
| cargo-workflowsmohitmishra786/low-level-dev-skills | Skill | 279 | 4mo ago | MIT | A | 72 | Claude Code |
| scaffold-rust-clicboone/agent-harness-plugins | Skill | 2 | yesterday | MIT | A | 45 | Claude Code |