plan

plan is a skill for Claude Code, Codex from XiaoLuoLYG/GOD. It costs 8 tokens per session (1,363 once invoked), scanned A, original, Apache-2.0.

A planning helper for turning an intention into actions carried out through the environment.

In plain words
What is it for?
Use it for unfamiliar, complex, high-stakes, or multi-step tasks that require tracking planned actions and their results.
Why use it?
It helps decide when a task needs a deliberate multi-step plan instead of a single routine action.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/xiaoluolyg/god/plan
Any agent
npx skills add XiaoLuoLYG/GOD --skill plan
Clone the repo
git clone --depth 1 https://github.com/XiaoLuoLYG/GOD

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 plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoluolyg/god/plan.svg)](https://agentmods.dev/skills/xiaoluolyg/god/plan)
Your own site
<a href="https://agentmods.dev/skills/xiaoluolyg/god/plan"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00008 $0.01363
Opus 5 $0.00004 $0.00681
Sonnet 5 $0.00002 $0.00273
Haiku 4.5 $0.00001 $0.00136

Measured 4d ago against content hash be151e8c0370, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan 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 4d 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.

agentsociety/packages/agentsociety2/agentsociety2/agent/skills/plan/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plan

Execute intentions by generating environment actions via codegen.

Activation

Activate this skill when you have an intention to execute.

Dual-Process Decision Making

Human decisions arise from two systems:

System 1: Fast, Habitual

  • Triggered by: routine situations, familiar contexts
  • Characteristics: quick, automatic, low cognitive load
  • Output: single-step action, no plan_state needed
  • Use when:
    • Routine activity (eating, sleeping, commuting)
    • Time pressure
    • Low stakes
    • Strong habit exists

System 2: Deliberate, Planned

  • Triggered by: novel situations, complex goals, conflicts
  • Characteristics: slow, analytical, requires attention
  • Output: multi-step plan_state.json
  • Use when:
    • New or unfamiliar goal
    • Multiple steps required
    • High stakes or uncertainty
    • Conflicting options

System Selection

Condition System
Routine time + routine action System 1
Familiar location + known action System 1
New intention + complex goal System 2
Multiple options + uncertainty System 2
Urgent need + known solution System 1
Conflict detected System 2

Input Files

File Use
state/intention.json Current goal
state/observation.txt Environment context
state/plan_state.json Ongoing multi-step plan

Output Files

state/plan_state.json

{
  "goal": "Buy groceries at the supermarket",
  "steps": ["walk to supermarket", "enter store", "pick items", "pay"],
  "current_step": 1,
  "started_tick": 42,
  "status": "in_progress",
  "decision_mode": "system2",
  "estimated_ticks": 4
}

Single-Step Actions (System 1)

Most routine intentions execute in one codegen call:

{
  "tool_name": "codegen",
  "arguments": {
    "instruction": "Move to the café on Main Street.",
    "ctx": {}
  }
}

No plan_state.json needed for single-step actions.

Multi-Step Plans (System 2)

For complex goals, maintain state/plan_state.json:

Read the full file on GitHub · 220 lines

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. 4d ago First seen · 220 lines · 8 tokens per session scan A be151e8c0370

Subscribe to this mod's changes

plan is a skill published in the GitHub repository XiaoLuoLYG/GOD (1,096 stars, last pushed 7d ago), licensed Apache-2.0. It adds 8 tokens to every session and 1,363 once invoked, about $0.0000 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

game-design-theory

Comprehensive game design theory covering MDA framework, player psychology, balance principles, and progression systems. Master why games are fun.

nicepkg/agent-world · 31 tokens

team

AgentWorld development team. Trigger: '组建团队', '开会', '/team', 'build team', 'review architecture'.

nicepkg/agent-world · 29 tokens

javascript-testing-patterns

Implement comprehensive testing strategies using Jest, Vitest, and Testing Library for unit tests, integration tests, and end-to-end testing with mocking, fixtures, and test-driven development. Use when writing JavaScript/TypeScript tests, setting up test infrastructure, or implementing TDD/BDD workflows.

nicepkg/agent-world · 63 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

nicepkg/agent-world · 54 tokens

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements.

nicepkg/agent-world · 22 tokens

typescript-advanced-types

Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.

nicepkg/agent-world · 57 tokens