poteto-mode

poteto-mode is a skill for Claude Code from minghinmatthewlam/agent-guards. It costs 49 tokens per session (2,721 once invoked), scanned A, original, MIT.

A set of working rules for an AI coding assistant that guides how it restates tasks, investigates choices, and handles non-trivial changes.

In plain words
What is it for?
Use it to choose an appropriate workflow for feature requests, investigations, architecture decisions, and questions about implementation.
Why use it?
It provides a consistent process for avoiding misunderstandings and testing uncertain decisions before changing code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the pstack plugin — 61 skills, 2 agents shipped together

Good fit Use it to choose an appropriate workflow for feature requests, investigations, architecture decisions, and questions about implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/minghinmatthewlam/agent-guards/poteto-mode
Install

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.

Any agent
npx skills add minghinmatthewlam/agent-guards --skill poteto-mode
Clone the repo
git clone --depth 1 https://github.com/minghinmatthewlam/agent-guards

Made for: Claude Code.

Or install pstack, the plugin that ships this one along with the rest of its 61 skills, 2 agents.

Wrote 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.

agentmods badge for poteto-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/minghinmatthewlam/agent-guards/poteto-mode/github.svg)](https://agentmods.dev/skills/minghinmatthewlam/agent-guards/poteto-mode)
Your own site
<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.

agentmods 80×15 button for poteto-mode

Your own site · 80×15
<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>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 9d ago against content hash 7418a68326fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/bootstrap.ts, scripts/watch-pr/cli.test.ts, scripts/watch-pr/cli.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/pstack/skills/poteto-mode/SKILL.md · 112 lines

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 a poteto-agent.
  • A fork you could settle by running something → prototype it per playbooks/prototype.md instead 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 → /deslop from the cursor-team-kit plugin. Before review → no-comments.
  • Shipping UI / IDE / CLI → control-ui or control-cli from cursor-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.

Read the full file on GitHub · 112 lines

Files

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.

Changes

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.

  1. 9d ago Changed · -39 lines 7418a68326fc
  2. 13d ago Changed · -1 lines 2c88dc1ac4e8
  3. 29d ago Changed · +1 lines 97c0eb78c327
  4. 1mo ago Changed a62a7251be8a
  5. 1mo ago Changed · -3 lines ada7adfc1413
  6. 1mo ago First seen · 154 lines · 49 tokens per session scan A 522fd2a11e9d

Subscribe to this mod's changes

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.

Related

poteto-mode compared with skills from other repositories

poteto-mode next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
poteto-modeminghinmatthewlam/agent-guardsSkill465d agoMITA49Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code