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.5 $0.00045 $0.00254
Sonnet 5.5 $0.00023 $0.00127
Haiku 4.5 $0.00011 $0.00064

Measured 2mo ago against content hash b1ac9af670dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 4mo ago), licensed MIT. It adds 113 tokens to every session and 635 once invoked, about $0.0005 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-08-30.

Related

planning-guardrails compared with skills from other repositories

planning-guardrails next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
planning-guardrailssyou6162/agent-skillsSkill114mo agoMITA113Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code