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 minghinmatthewlam/agent-guards --skill poteto-modegit clone --depth 1 https://github.com/minghinmatthewlam/agent-guardsWrote 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/minghinmatthewlam/agent-guards/poteto-mode)<a href="https://agentmods.dev/skills/minghinmatthewlam/agent-guards/poteto-mode"><img src="https://agentmods.dev/badge/skills/minghinmatthewlam/agent-guards/poteto-mode/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/minghinmatthewlam/agent-guards/poteto-mode"><img src="https://agentmods.dev/badge/skills/minghinmatthewlam/agent-guards/poteto-mode.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.00049 | $0.02721 |
| Opus 5.5 | $0.00020 | $0.01088 |
| Sonnet 5.5 | $0.00010 | $0.00544 |
| Haiku 4.5 | $0.00005 | $0.00272 |
Grade A, and why
poteto-mode 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 9d 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Poteto mode
Bundled skills live at ../<name>/SKILL.md from this file, so put this file's absolute path in every poteto-agent prompt.
Non-negotiables
The Principles section below grounds every trigger. In your reply, name each principle that shaped a decision and the specific choice it changed. Cite only principles whose leaf SKILL.md you read this session.
The remaining triggers live only here:
- First message → restate the user's goal and the smallest change that meets it, then proceed. Open each subagent brief, PR
## Why, and final report with the goal. - Starting any agent, whether a Task subagent or a Project worker → the first line of its kickoff is
Read <path>/worker.md before anything else., with<path>the absolute path of this skill's folder. The operator's rules live in skills that only load from a slash command, so they reach another agent no other way. Keep the rest of the kickoff to the goal and the task, plus this file's absolute path for apoteto-agent. - A fork you could settle by running something → prototype it per
playbooks/prototype.mdinstead of asking. - Code → name the data shape first. Across a function boundary → architect. Fan-out → swarm. Bakeoff → arena. Contested design → interrogate.
- Prose, your reply included → unslop. Docs, PR descriptions, commit messages → technical-writing.
- Before commit →
/deslopfrom thecursor-team-kitplugin. Before review → no-comments. - Shipping UI / IDE / CLI →
control-uiorcontrol-clifromcursor-team-kit. - A number you measured → benchmark-checklist.
- PR status → the Babysit playbook, not Cursor's built-in babysit skill. Landing a green stack → the Shipping playbook.
- Bot review comments → judge each on its merits.
- Long or unattended work → show-me-your-work.
What ships with it
40 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- playbooks/authoring-a-skill.md 831 B
- playbooks/autonomous-run.md 1.9 KB
- playbooks/autopilot-full.md 6.7 KB
- playbooks/autopilot-stack.md 854 B
- playbooks/babysit.md 1.8 KB
- playbooks/bug-fix.md 2.3 KB
- playbooks/eval.md 2.6 KB
- playbooks/feature.md 2.7 KB
- playbooks/hillclimb.md 4.4 KB
- playbooks/investigation.md 920 B
- playbooks/multi-phase-plan.md 1.5 KB
- playbooks/opening-a-pr.md 845 B
- playbooks/pause-safely.md 1.1 KB
- playbooks/perf-issue.md 1.5 KB
- playbooks/prototype.md 2.1 KB
- playbooks/refactoring.md 3.2 KB
- playbooks/runtime-forensics.md 1.3 KB
- playbooks/session-pickup.md 1.7 KB
- playbooks/shipping.md 4.3 KB
- playbooks/trace-forensics.md 1.8 KB
- playbooks/visual-parity.md 1.2 KB
- playbooks/worktree-cleanup.md 2.9 KB
- references/bugbot-triage.md 9.4 KB
- scripts/bootstrap.ts 1.7 KB runs code
- scripts/bun.lock 6.5 KB
- scripts/package.json 347 B
- scripts/watch-pr/cli.test.ts 6.0 KB runs code
- scripts/watch-pr/cli.ts 6.8 KB runs code
- scripts/watch-pr/fakes.test-helper.ts 3.3 KB runs code
- scripts/watch-pr/github.test.ts 16 KB runs code
- scripts/watch-pr/github.ts 25 KB runs code
- scripts/watch-pr/policy.test.ts 14 KB runs code
- scripts/watch-pr/policy.ts 25 KB runs code
- scripts/watch-pr/render.ts 6.9 KB runs code
- scripts/watch-pr/tsconfig.json 270 B
- scripts/watch-pr/types.compile.ts 2.2 KB runs code
- scripts/watch-pr/types.ts 12 KB runs code
- scripts/watch-pr/watch-pr 211 B
- scripts/worktree-audit.sh 6.5 KB runs code
- worker.md 1.3 KB
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.
- 9d ago Changed · -39 lines 7418a68326fc
- 13d ago Changed · -1 lines 2c88dc1ac4e8
- 29d ago Changed · +1 lines 97c0eb78c327
- 1mo ago Changed a62a7251be8a
- 1mo ago Changed · -3 lines ada7adfc1413
- 1mo ago First seen · 154 lines · 49 tokens per session scan A 522fd2a11e9d
poteto-mode is a skill published in the GitHub repository minghinmatthewlam/agent-guards (46 stars, last pushed 5d ago), licensed MIT. It adds 49 tokens to every session and 2,721 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-10-14.
poteto-mode compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| poteto-modeminghinmatthewlam/agent-guards | Skill | 46 | 5d ago | MIT | A | 49 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |