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 guardgit 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/guard)<a href="https://agentmods.dev/skills/rijuvashisht/magneto/guard"><img src="https://agentmods.dev/badge/skills/rijuvashisht/magneto/guard/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/rijuvashisht/magneto/guard"><img src="https://agentmods.dev/badge/skills/rijuvashisht/magneto/guard.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.00000 | $0.00433 |
| Opus 5.5 | $0.00000 | $0.00173 |
| Sonnet 5.5 | $0.00000 | $0.00087 |
| Haiku 4.5 | $0.00000 | $0.00043 |
Grade B, and why
guard scanned grade B with 1 finding 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 2mo 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
User: Great, now rm -rf the old payment logs directory Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
What it actually says
/guard — /careful + /freeze Combined
Role: Full Safety
Inputs: one or more path globs
Outputs: updates .magneto/safety.json (activates both careful + freeze)
Audit actions: guard.activated
What /guard Does
Activates both /careful (destructive-command warnings) AND /freeze (edit scope lock) in one command. Use this for:
- Production work
- Debugging critical systems
- Any time the cost of a mistake > the cost of friction
Activation
magneto guard src/payments # full safety, scoped to src/payments
magneto guard src/payments src/api # both /careful and /freeze on multiple globs
To release:
magneto unfreeze # release freeze only, keep careful on
magneto careful --off # release careful only, keep freeze on
Integration Contract
Honor both contracts:
/careful— warn before destructive commands (see/carefulskill)/freeze— refuse edits outside scope (see/freezeskill)
Example
User: /guard src/payments
Agent: /guard activated.
/careful: ON
/freeze: src/payments
User: Fix the bug in Payment.charge() — it double-charges on retry.
Agent: Scope check: src/payments/Payment.ts → allowed ✓
[makes minimal fix]
[runs tests]
User: Great, now rm -rf the old payment logs directory
Agent: /careful is ON. `rm -rf /var/log/payments/old` matches:
● Recursive file removal — critical
Proceed anyway? Type "yes run this" to confirm.
Trigger Phrases
- "guard mode"
- "max safety"
- "production mode"
Contract Reminder
Honor both /careful and /freeze contracts simultaneously. When in doubt, ask the user.
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.
- 2mo ago First seen · 67 lines · 0 tokens per session scan B d873753b2c42
guard is a skill published in the GitHub repository rijuvashisht/Magneto (6 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 433 tokens. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
expense-review-policy
Review invoices and contracts against accounts-payable policy before human approval.
skill-creator
Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.
image-generation
Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.
baby-sit
Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.
new-app
Scaffold a new Atomic Agents project from scratch — create the directory, pyproject.toml, env file, first agent, and a runnable entry point. Use when the user asks to start a new atomic-agents project from scratch, says "scaffold" / "new project" / "start from zero", or runs /atomic-agents:new-app.
powerpoint
Create designed, editable PowerPoint .pptx presentations with PptxGenJS. Use when the user asks to create, generate, update, or inspect a deck, slide deck, presentation, or .pptx file.