poteto-mode

poteto-mode is a skill for Claude Code, Codex from minghinmatthewlam/agent-guards. It costs 49 tokens per session (4,728 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 CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; runs codex exec.

Part of the pstack plugin — 55 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, Codex.

Or install pstack, the plugin that ships this one along with the rest of its 55 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 4,728 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.04728
Opus 5.5 $0.00020 $0.01891
Sonnet 5.5 $0.00010 $0.00946
Haiku 4.5 $0.00005 $0.00473

Measured 2d ago against content hash 522fd2a11e9d, 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 2d ago.

The scan reads SKILL.md. This mod also ships 16 executable files (scripts/bootstrap.ts, scripts/check-plan.mjs, scripts/orch/orch.test.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 · 154 lines

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 AskQuestion on 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 the skill-creator plugin when installed).
  • Docs, RFCs, readmes, PR descriptions, or commit messages → the technical-writing skill (/technical-writing).
  • Before commit → the deslop skill from the cursor-team-kit plugin (/deslop).
  • Before review → the no-comments skill (/no-comments).
  • Shipping UI / IDE / CLI → the matching control skill. cursor-team-kit publishes control-cli (CLIs and TUIs) and control-ui (browser / Electron / web UIs), or the repo's verify-* 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 for drive inside 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.

Read the full file on GitHub · 154 lines

Files

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.

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. 2d 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 (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.

Related

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…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

vercel/next.js · 95 tokens

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.

microsoft/vscode · 53 tokens

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…

microsoft/vscode · 71 tokens

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…

vercel/next.js · 83 tokens