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.04728 |
| Opus 5.5 | $0.00020 | $0.01891 |
| Sonnet 5.5 | $0.00010 | $0.00946 |
| Haiku 4.5 | $0.00005 | $0.00473 |
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 2d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Poteto mode
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.
Remaining triggers:
- A Feature, or a noisy report → restate the underlying issue in your own words, in plain English, before changing code. A misreading shows up before any code exists. Then proceed. Wait for the human only when the task is a new product feature or the intent is unclear. A clear, small "do X" proceeds.
- Nontrivial change, architecture decision, or "are we sure?" → the how skill.
- About to
AskQuestionon a "which approach", "how should I", or "what should this do" fork → classify it before you ask. If the answer is a fact you could observe by running something (behavior, timing, layout, output, perf, even whether an eval separates), it is not the human's to answer. Sketch it via the Prototype playbook (playbooks/prototype.md) and let the result decide. If the task is a read-only Investigation whose deliverable is a cited answer, stay in it and answer from the evidence rather than building a sketch. Reserve the question for a genuine product or preference call no experiment can settle. Under a full-autonomy grant, decide a call the grant covers, act on it, and report it, with no reply word and no offer. Under the grant, for a call only the operator can make, apply a default, report it with a full explanation, and say in plain words what the operator could tell you to do instead. The operator answers in their own words. Never give a shorthand token to type back. Gates the operator named and the Always-pause list in Autonomy still need the operator. - Any code → name the data shape first, and choose its organizing structure per principle-model-the-domain.
- Code crossing a function boundary → the architect skill, parallel design exploration before implementing.
- Parallel fan-out → the swarm skill for coverage matrices, races, gauntlets, and exploration partitions. Use arena for design or code bakeoffs with base selection and grafting.
- Contested design → the interrogate skill (multi-model adversarial) before shipping.
- Nontrivial multi-step → write the throughput checkpoint (Feature step 3).
- Any prose surface, your reply to the user included → the unslop skill. Write the reply per Writing the reply. Agent-facing prose also follows the create-skill skill (Cursor's built-in for authoring SKILL.md files; Codex's built-in is
skill-creator, and Claude Code's is theskill-creatorplugin when installed). - Docs, RFCs, readmes, PR descriptions, or commit messages → the technical-writing skill (
/technical-writing). - Before commit → the
deslopskill from thecursor-team-kitplugin (/deslop). - Before review → the no-comments skill (
/no-comments). - Shipping UI / IDE / CLI → the matching control skill.
cursor-team-kitpublishescontrol-cli(CLIs and TUIs) andcontrol-ui(browser / Electron / web UIs), or the repo'sverify-*skill / driver. For bug fixes, reproduce first on the same surface yourself. Hand to the user only under the narrow Bug fix step 1 exception. - Running a benchmark, measuring perf yourself, or reporting a speedup or regression you measured → the benchmark-checklist skill before you report or act on the number.
- Any PR-status request ("babysit this", "get it green", "address the bugbot comments", and most often "check on PR X" or "anything outstanding on X") → the Babysit playbook (
playbooks/babysit.md), not Cursor's built-in babysit skill, whose description matches the same words. Never triggered by merely opening a PR. Declare its mode before polling. The playbook's step 1 owns the request-to-mode mapping. Reaching fordriveinside a phase agent stops that agent finishing its turn. - Asked to land or ship a green stack → the Shipping playbook (
playbooks/shipping.md). Green is not safe. Nothing gets armed before an independent per-PR verdict, and only the contiguous verified run from the root lands. - The repo's review bots (e.g. Bugbot, Devin, perry) or the agentic security review commented → skeptical posture. They catch real bugs and also file non-issues and nitpicks, so assess each on its merits and dismiss noise with a concrete reason instead of churning code. Triage fix / dismiss / ask per
references/bugbot-triage.md. - Broken skill mid-task → fix it in its own PR. Don't block. Don't silently work around it.
- Long, autonomous, or multi-phase work, or any task the user steps away from to review later ("going to bed", "trust it when i'm back", "/loop until X") → a decision trail via the show-me-your-work skill. Commit it when stakes need an auditable record. Keep it local otherwise.
What ships with it
45 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.
- agents/openai.yaml 43 B
- playbooks/authoring-a-skill.md 831 B
- playbooks/autonomous-run.md 1.8 KB
- playbooks/autopilot-full.md 9.4 KB
- playbooks/autopilot-stack.md 4.9 KB
- playbooks/babysit.md 8.4 KB
- playbooks/bug-fix.md 2.2 KB
- playbooks/eval.md 2.5 KB
- playbooks/feature.md 3.0 KB
- playbooks/hillclimb.md 4.3 KB
- playbooks/investigation.md 928 B
- playbooks/multi-phase-plan.md 13 KB
- playbooks/opening-a-pr.md 6.2 KB
- playbooks/orchestrate.md 17 KB
- playbooks/pause-safely.md 1.1 KB
- playbooks/perf-issue.md 1.4 KB
- playbooks/prototype.md 2.1 KB
- playbooks/refactoring.md 3.1 KB
- playbooks/runtime-forensics.md 1.2 KB
- playbooks/session-pickup.md 1.7 KB
- playbooks/shipping.md 5.6 KB
- playbooks/trace-forensics.md 1.7 KB
- playbooks/visual-parity.md 1.2 KB
- playbooks/worktree-cleanup.md 2.9 KB
- references/bugbot-triage.md 9.5 KB
- scripts/bootstrap.ts 1.7 KB runs code
- scripts/bun.lock 6.5 KB
- scripts/check-plan.mjs 7.4 KB runs code
- scripts/orch/orch.test.ts 18 KB runs code
- scripts/orch/orch.ts 15 KB runs code
- scripts/orch/store.ts 42 KB runs code
- scripts/package.json 352 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 2.9 KB runs code
- scripts/watch-pr/github.test.ts 8.8 KB runs code
- scripts/watch-pr/github.ts 24 KB runs code
- scripts/watch-pr/policy.test.ts 12 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 4.2 KB runs code
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.
- 2d 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 (47 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 4,728 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.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…