Goal-Oriented Action Plan

VerifiedCaution

Create and execute intelligent action plans with precondition analysis, cost optimization, and adaptive replanning.

Sby Skills Guide Bot
ProductivityIntermediate
7/27/2026
Claude Code
#planning#goap#task-orchestration#replanning#workflow

Recommended for

Automated summary

This skill builds and executes Goal-Oriented Action Plans (GOAP), modelling each action's preconditions, effects and costs, then tracking and replanning while the plan runs.

Strengths

  • Explicitly models preconditions, effects and costs for each action before selecting the optimal sequence
  • Defines clear replanning triggers (action failure, unexpected side effects, cost overrun, unavailable dependency)
  • Records each step through trajectory hooks and stores successful plans in the goap-plans memory namespace for reuse
  • Converts the plan into concrete tasks (task_create) with precondition and effect checks at every step

Limitations

  • Fully dependent on the ruflo MCP toolset (task_*, memory_*, workflow_*, hooks_intelligence_trajectory_*) being installed and allowed
  • Preconditions, effects and costs are model-estimated and may be inaccurate, skewing the chosen optimal path
  • Execution stays sequential and manual — there is no scheduler or real parallelism across tasks
When to use it

Use it for a complex objective made of dependent steps whose conditions are likely to change along the way.

When not to use it

Avoid it for a single trivial action, or when the ruflo MCP plugin is not available in the environment.

Security analysis

Caution
Quality score78/100

The skill is a planning methodology and contains no destructive, exfiltrating, or obfuscated instructions. However, it declares powerful tools (Bash, Write, Edit) alongside MCP task/memory/workflow tools, so it can execute arbitrary shell commands and modify files during plan execution. That is a legitimate-but-broad capability, warranting caution rather than risky or safe.

Findings
  • •Declares Bash, Write, and Edit tools, which permit arbitrary command execution and filesystem modification
  • •No explicit guardrails or scoping on what Bash/Write/Edit may act upon
How this analysis is made

Examples

Multi-step refactor goal
/goal-plan Migrate our authentication module from session cookies to JWT, including tests and a rollback plan
Replan after a failed step
Use goal-plan to reach a green CI pipeline on main; step 2 failed because the staging DB is unavailable, so reassess state and replan the remaining steps
Plan with cost optimization
/goal-plan Ship a public beta of the billing dashboard, model preconditions and costs for each action, and pick the cheapest valid sequence

name: goal-plan description: Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning argument-hint: "<goal-description>" allowed-tools: mcp__plugin_ruflo-core_ruflo__task_create mcp__plugin_ruflo-core_ruflo__task_list mcp__plugin_ruflo-core_ruflo__task_status mcp__plugin_ruflo-core_ruflo__task_assign mcp__plugin_ruflo-core_ruflo__task_update mcp__plugin_ruflo-core_ruflo__task_complete mcp__plugin_ruflo-core_ruflo__task_summary mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__neural_predict mcp__plugin_ruflo-core_ruflo__workflow_create mcp__plugin_ruflo-core_ruflo__workflow_execute mcp__plugin_ruflo-core_ruflo__workflow_status mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end Bash Read Write Edit

Goal Plan

Create and execute intelligent plans using Goal-Oriented Action Planning (GOAP).

When to use

When you have a complex objective that requires multiple steps, has dependencies between steps, and may need adaptive replanning as conditions change.

Steps

  1. Define goal state — what does "done" look like? List concrete success criteria
  2. Assess current state — what's true now? What assets, code, infrastructure exist?
  3. Identify gap — what must change between current and goal state?
  4. Inventory actions — list available actions with:
    • Preconditions (what must be true before this action)
    • Effects (what becomes true after this action)
    • Cost estimate (time, complexity, risk)
  5. Generate plan — find the optimal action sequence using A* through the state space
  6. Record trajectory — call mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start to begin tracking
  7. Create tasks — call mcp__plugin_ruflo-core_ruflo__task_create for each action in the plan
  8. Execute — work through tasks in dependency order:
    • Before each action: verify preconditions still hold
    • After each action: verify effects achieved
    • Record each step via mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step
  9. Monitor & replan — if an action fails or produces unexpected results:
    • Reassess current state
    • Recalculate optimal path from new state
    • Update remaining tasks
  10. Complete trajectory — call mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end
  11. Store successful plan — call mcp__plugin_ruflo-core_ruflo__memory_store with namespace goap-plans

Plan output format

Goal: [concrete objective]
Current State: [key facts]
Plan Cost: [estimated effort]
Steps:
  1. [action] — precondition: [X], effect: [Y], cost: [Z]
  2. [action] — precondition: [Y], effect: [W], cost: [Z]
  ...
Risk Factors: [what could force a replan]
Fallback: [alternative approach if primary path fails]

Replanning triggers

  • Action fails (precondition no longer met)
  • Unexpected side effects detected
  • New information changes goal definition
  • Cost exceeds threshold
  • External dependency becomes unavailable

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/goal-oriented-action-plan-ms2s7bwx/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/goal-oriented-action-plan-ms2s7bwx' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/goal-oriented-action-plan-ms2s7bwx/download' --output '.skill-downloads/goal-oriented-action-plan-ms2s7bwx/SKILL.md.part' && mv '.skill-downloads/goal-oriented-action-plan-ms2s7bwx/SKILL.md.part' '.skill-downloads/goal-oriented-action-plan-ms2s7bwx/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): mcp__plugin_ruflo-core_ruflo__task_create mcp__plugin_ruflo-core_ruflo__task_list mcp__plugin_ruflo-core_ruflo__task_status mcp__plugin_ruflo-core_ruflo__task_assign mcp__plugin_ruflo-core_ruflo__task_update mcp__plugin_ruflo-core_ruflo__task_complete mcp__plugin_ruflo-core_ruflo__task_summary mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__neural_predict mcp__plugin_ruflo-core_ruflo__workflow_create mcp__plugin_ruflo-core_ruflo__workflow_execute mcp__plugin_ruflo-core_ruflo__workflow_status mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end Bash Read Write Edit

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/goal-oriented-action-plan-ms2s7bwx/SKILL.md' && test -s '.skill-downloads/goal-oriented-action-plan-ms2s7bwx/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/goal-plan' && cp -R '.skill-downloads/goal-oriented-action-plan-ms2s7bwx' '.claude/skills/goal-plan'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/goal-oriented-action-plan-ms2s7bwx'

openskills read 'goal-oriented-action-plan-ms2s7bwx'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/goal-oriented-action-plan-ms2s7bwx/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills