ワンクリックで
plan
Execute intentions through the environment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Execute intentions through the environment.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Assess what actions are realistically available under environment, time, distance, access, money, body, and social constraints.
Maintain sleep-wake rhythm, circadian alertness, appetite rhythm, and chronotype-sensitive daily timing.
Produce emotion.json and intention.json from workspace context.
Model conversation intent, speech style, turn-taking, listening, repair, and nonverbal cues. Use before or after social interaction, dialogue, negotiation, apology, request, gossip, or conflict.
Apply cultural values, etiquette, rituals, symbols, taboos, and local meaning to perception and decisions.
Track sickness, pain, chronic condition, recovery, exercise, stress load, and long-term wellbeing.
| name | plan |
| description | Execute intentions through the environment. |
Execute intentions by generating environment actions via codegen.
Read the current intention, observation, needs, affordances, and any ongoing plan, then choose a one-tick action or update state/plan_state.json for multi-step execution through codegen.
Research basis: references/research_basis.md.
Activate this skill when you have an intention to execute.
Human decisions arise from two systems:
| 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 |
| File | Use |
|---|---|
state/intention.json | Current goal |
state/observation.txt | Environment context |
state/plan_state.json | Ongoing multi-step plan |
{
"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
}
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.
For complex goals, maintain state/plan_state.json:
plan_state.json existscodegenplan_state.json with progress| Status | Meaning |
|---|---|
pending | Not started |
in_progress | Currently executing |
completed | Successfully finished |
failed | Cannot complete |
| Steps | Use Case |
|---|---|
| 1-2 | Simple location change, simple interaction |
| 3-4 | Multi-location trip, task with preparation |
| 5-6 | Complex project, event with multiple phases |
Plans adapt to changing physiological states.
| Trigger | Action |
|---|---|
satiety < 0.2 | Pause plan, find food |
energy < 0.2 | Pause plan, rest |
safety < 0.2 | Pause plan, seek safety |
| Need satisfied mid-plan | Resume original plan |
{
"goal": "Work on project",
"status": "interrupted",
"interrupted_at_step": 2,
"interrupt_reason": "satiety_critical",
"resumable": true,
"resume_conditions": ["satiety > 0.5"]
}
resumable flagresume_conditions metinterrupted_at_stepin_progressInterrupt ongoing plan when:
| Type | Condition | Recovery |
|---|---|---|
forced | Critical need | Resume when satisfied |
voluntary | Better option | May abandon plan |
When a plan becomes routine, convert to habit.
| Repetitions | Status |
|---|---|
| 1-2 | Novel (System 2) |
| 3-5 | Learning (mix) |
| 6+ | Habit (System 1) |
For habitual actions, add to intention.json:
{
"intention": "Morning commute to work",
"is_habit": true,
"habit_strength": 0.8,
"automatic": true
}
state/intention.json and state/plan_state.jsoncodegen with action instructionplan_state.jsondonefailed after 3 consecutive failuresWrite or update state/plan_state.json for multi-step, interrupted, failed, or completed plans. Routine one-step actions may only call codegen and then refresh observation state.
After each codegen action:
codegen with <observe> to get updated statestate/observation.txtPlanning should convert intentions into feasible environment actions, not invent unavailable actions or override the intention system. If no valid action is available, mark the plan blocked or call done.