planning-guardrails

planning-guardrails is a skill for Claude Code, Codex from syou6162/agent-skills. It costs 113 tokens per session (635 once invoked), scanned A, original, MIT.

A set of rules for creating clear, reviewable work plans. It records the goal, scope, approach, tests, risks, and the user's original words when needed.

In plain words
What is it for?
Use it when planning coding tasks, especially when requirements are uncertain, user speech may contain mistakes, or another developer must review the plan.
Why use it?
It reduces missing information and prevents a plan from changing the user's intended meaning. TDD means writing tests before the implementation, and these rules require that approach when tests are part of the work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when planning coding tasks, especially when requirements are uncertain, user speech may contain mistakes, or another developer must review the plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/syou6162/agent-skills/planning-guardrails
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 syou6162/agent-skills --skill planning-guardrails
Clone the repo
git clone --depth 1 https://github.com/syou6162/agent-skills

Made for: Claude Code, Codex.

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 planning-guardrails

README.md
[![agentmods](https://agentmods.dev/badge/skills/syou6162/agent-skills/planning-guardrails/github.svg)](https://agentmods.dev/skills/syou6162/agent-skills/planning-guardrails)
Your own site
<a href="https://agentmods.dev/skills/syou6162/agent-skills/planning-guardrails"><img src="https://agentmods.dev/badge/skills/syou6162/agent-skills/planning-guardrails/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 planning-guardrails

Your own site · 80×15
<a href="https://agentmods.dev/skills/syou6162/agent-skills/planning-guardrails"><img src="https://agentmods.dev/badge/skills/syou6162/agent-skills/planning-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 635 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.00113 $0.00635
Opus 5 $0.00056 $0.00318
Sonnet 5 $0.00023 $0.00127
Haiku 4.5 $0.00011 $0.00064

Measured 12d ago against content hash b1ac9af670dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

planning-guardrails 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 12d 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.

skills/planning-guardrails/SKILL.md · 48 lines

What it actually says

Planning Guardrails

目的

Plan modeでの計画作成において、情報の抜けや意図のねじ曲げを防ぎ、レビューで検証しやすいプランを作ること。

使用タイミング

Plan modeで計画を作る時は必ずこのスキルを使用する。

必須チェックリスト

  • ユーザーは音声入力を使うことがあり、言い間違いやフィラー、感情的な発言が含まれる前提で記録する
  • 参考情報(ユーザー提供URL/過去PR/ファイルパス+短い注釈)
  • ユーザー発言(要約)
  • ユーザー発言(生ログ、意味は変えず最小整形のみ)
  • 背景
  • 目的・成功条件
  • スコープ(in/out)
  • 実装方針(主要アプローチ)
  • 実行計画(テストがある場合はTDD前提を明記)
  • 公開API/インターフェース変更
  • 観測可能な成果/確認手順(実行方法・期待結果)
  • 代替案/選択肢(複数案がある場合は比較と採用理由を明記)
  • テスト/検証(正常系/異常系のテストケースを必ず記載)
  • リスク・前提

生ログの整形ルール

  • 意図のねじ曲げを防ぎ、レビュー時に発言とプランの整合性を検証できるようにするため、生ログはそのまま保持する
  • 言い換え・要約・意味変更は禁止
  • 句読点の追加と改行のみ許可

不明点の解消

  • 必須セクションが埋まらない、または不明点がある場合はユーザーに質問して確認し、決定事項を反映してからプランを完成させる

テンプレートと例

  • 詳細テンプレートと詳細例: references/plan-template.md
  • 最小例: references/plan-examples-min.md
  • 詳細例: references/plan-examples-detailed.md
Files

What ships with it

3 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. 12d ago First seen · 48 lines · 113 tokens per session scan A b1ac9af670dd

Subscribe to this mod's changes

planning-guardrails is a skill published in the GitHub repository syou6162/agent-skills (11 stars, last pushed 2mo ago), licensed MIT. It adds 113 tokens to every session and 635 once invoked, about $0.0006 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

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

obra/superpowers · 21 tokens

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

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