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 rijuvashisht/Magneto --skill tracegit clone --depth 1 https://github.com/rijuvashisht/MagnetoWrote 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/rijuvashisht/magneto/trace)<a href="https://agentmods.dev/skills/rijuvashisht/magneto/trace"><img src="https://agentmods.dev/badge/skills/rijuvashisht/magneto/trace.svg" alt="Measured on agentmods" 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.00000 | $0.00824 |
| Opus 5 | $0.00000 | $0.00412 |
| Sonnet 5 | $0.00000 | $0.00165 |
| Haiku 4.5 | $0.00000 | $0.00082 |
Grade A, and why
trace 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 8d 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/trace — Requirement ↔ Design ↔ Code ↔ Test Link Graph
Role: Traceability Engineer
Inputs: requirement IDs, file paths, test paths
Outputs: .magneto/trace.db (SQLite) + trace.json artifact
Audit actions: trace.link_added, trace.impact_queried, trace.coverage_reported
Why This Skill Exists — The Moat
gstack has no notion of requirements. Magneto tracks every code change back to the requirement that drove it, every test back to the code it covers, and every design decision back to the business rule that justified it.
This is the single most valuable enterprise feature: when your CISO asks "prove nothing unauthorized shipped," you have the log.
Subcommands
Initialize
magneto trace init # creates .magneto/trace.db
Add a requirement
magneto trace req add "REQ-042" --title "Password reset must expire in 1h" \
--source "policy/password.md#section-2"
Link requirement to design
magneto trace link REQ-042 --design .magneto/sprints/<id>/design.md#password-reset
Link requirement to code (AST-based, not line-based)
magneto trace link REQ-042 \
--code-symbol "src/auth/reset.ts:PasswordReset.expire" \
--commit <sha>
Link requirement to test
magneto trace link REQ-042 --test tests/auth/reset.spec.ts:"expires after 1h"
Query
magneto trace show REQ-042 # show all links for a requirement
magneto trace impact src/auth/reset.ts # which requirements does this file affect?
magneto trace coverage # % of requirements with code + tests
Example Output
REQ-042: Password reset must expire in 1h
├── Design: sprints/s-20260512/design.md#password-reset
├── Code:
│ ├── src/auth/reset.ts:PasswordReset.expire (commit abc123)
│ └── src/auth/reset.ts:PasswordReset.isValid (commit abc123)
├── Tests:
│ ├── tests/auth/reset.spec.ts:"expires after 1h"
│ └── tests/auth/reset.spec.ts:"rejects after expiry"
└── Coverage: 100% (design ✓, code ✓, tests ✓)
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.
- 8d ago First seen · 110 lines · 0 tokens per session scan A e0e110a39497
trace is a skill published in the GitHub repository rijuvashisht/Magneto (6 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 824 tokens. 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
gh-issues
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5]…
scaffold-dotnet-test-project
MUST USE when an existing .NET test project was excluded from a .slnf/CI solution filter, disappeared from .sln/.slnx discovery, or lost its production ProjectReference; also for requests to set up, create, reuse, add, register, include, or repair a test project. Handles "tests pass directly but CI discovers zero"…
unity-agent-workflows
Use for AI-assisted Unity work that needs live repo discovery, project-derived routing, runtime-owner proof, runtime-visible output hard stops, runtime numeric proof for repeated visible-output failures, state-step guards, multi-agent scope ownership, modular C#/asmdef safety, UI/scene/visual asset gates, data-first…
linear-app-setup
Create and configure a Linear agent app so the assistant can manage issues, projects, and workflows under its own identity.
java-unit-test
A code-generation guide for Java unit tests in Spring Boot projects. Unit tests check one small piece of code in isolation; Spring Boot is a Java framework for building web applications and services.
laravel-tdd
Test-driven development for Laravel with PHPUnit and Pest, factories, database testing, fakes, and coverage targets.