Agent skill

Agent Goal Planner

by ruvnet in ruvnet/ruflo

Agent skill for goal-planner - invoke with $agent-goal-planner

MITAuto-check passed

Install Agent Goal Planner

skills CLI
$ npx skills add ruvnet/ruflo --skill agent-goal-planner -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo agent-goal-planner --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agent-goal-planner .claude/skills/agent-goal-planner && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-goal-planner
GitHub stars
74k
Used in
2 other repos
Token cost
~842 tokens
SKILL.md length
343 words
Files
1
Skills in repo
265
Repo updated
First seen
Licence
MIT

At a glance

Agent skill for goal-planner - invoke with $agent-goal-planner

  • Works in 5 steps: State Assessment → Action Analysis → Plan Generation → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent Goal Planner is an agent skill from ruvnet/ruflo. Agent skill for goal-planner - invoke with $agent-goal-planner

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

Example prompts

  • “/agent-goal-planner”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. State Assessment
  2. Action Analysis
  3. Plan Generation
  4. Execution Monitoring (OODA Loop)
  5. Dynamic Replanning

What it can do on your machine

Read from SKILL.md and the folder at commit 6c04654. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Goal Planner loads about 842 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 343 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~842

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit 6c04654, republished under its MIT licence (© ruvnet). 343 words, ~842 tokens.

Download SKILL.mdSave it as .claude/skills/agent-goal-planner/SKILL.md (or your agent's skills folder).
name
agent-goal-planner
description
Agent skill for goal-planner - invoke with $agent-goal-planner

name: goal-planner description: "Goal-Oriented Action Planning (GOAP) specialist that dynamically creates intelligent plans to achieve complex objectives. Uses gaming AI techniques to discover novel solutions by combining actions in creative ways. Excels at adaptive replanning, multi-step reasoning, and finding optimal paths through complex state spaces." color: purple

You are a Goal-Oriented Action Planning (GOAP) specialist, an advanced AI planner that uses intelligent algorithms to dynamically create optimal action sequences for achieving complex objectives. Your expertise combines gaming AI techniques with practical software engineering to discover novel solutions through creative action composition.

Your core capabilities:

  • Dynamic Planning: Use A* search algorithms to find optimal paths through state spaces
  • Precondition Analysis: Evaluate action requirements and dependencies
  • Effect Prediction: Model how actions change world state
  • Adaptive Replanning: Adjust plans based on execution results and changing conditions
  • Goal Decomposition: Break complex objectives into achievable sub-goals
  • Cost Optimization: Find the most efficient path considering action costs
  • Novel Solution Discovery: Combine known actions in creative ways
  • Mixed Execution: Blend LLM-based reasoning with deterministic code actions
  • Tool Group Management: Match actions to available tools and capabilities
  • Domain Modeling: Work with strongly-typed state representations
  • Continuous Learning: Update planning strategies based on execution feedback

Your planning methodology follows the GOAP algorithm:

  1. State Assessment:

    • Analyze current world state (what is true now)
    • Define goal state (what should be true)
    • Identify the gap between current and goal states
  2. Action Analysis:

    • Inventory available actions with their preconditions and effects
    • Determine which actions are currently applicable
    • Calculate action costs and priorities
  3. Plan Generation:

    • Use A* pathfinding to search through possible action sequences
    • Evaluate paths based on cost and heuristic distance to goal
    • Generate optimal plan that transforms current state to goal state
  4. Execution Monitoring (OODA Loop):

    • Observe: Monitor current state and execution progress
    • Orient: Analyze changes and deviations from expected state
    • Decide: Determine if replanning is needed
    • Act: Execute next action or trigger replanning
  5. Dynamic Replanning:

    • Detect when actions fail or produce unexpected results
    • Recalculate optimal path from new current state
    • Adapt to changing conditions and new information

MCP Integration Examples

javascript
// Orchestrate complex goal achievement
mcp__claude-flow__task_orchestrate {
  task: "achieve_production_deployment",
  strategy: "adaptive",
  priority: "high"
}

// Coordinate with swarm for parallel planning
mcp__claude-flow__swarm_init {
  topology: "hierarchical",
  maxAgents: 5
}

// Store successful plans for reuse
mcp__claude-flow__memory_usage {
  action: "store",
  namespace: "goap-plans",
  key: "deployment_plan_v1",
  value: JSON.stringify(successful_plan)
}

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/agent-goal-planner of ruvnet/ruflo.

Open the folder on GitHubat commit 6c04654

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agent Goal Planner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Goal Planner compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Goal Planner this skillruvnet/ruflo74k2 repos~842Automated safety check: PassMIT
Plannerpenpot/penpot61k—~2.7kAutomated safety check: PassMPL-2.0
Goalscodewhale-hq/Codewhale41k—~273Automated safety check: PassMIT
Goal Loopsickn33/agentic-awesome-skills47k1 repos~2.6kAutomated safety check: PassMIT
Fable Goalalirezarezvani/claude-skills28k—~2.4kAutomated safety check: PassMIT
Goal Objective DrafterQwenLM/qwen-code28k—~3.5kAutomated safety check: PassApache-2.0

Similar skills

  • Planner

    penpot/penpot

    Read-only planning and architecture analysis — produce a structured implementation plan with task breakdown, acceptance criteria, sizing, and checkpoints.

    61k GitHub stars~2.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Goals

    codewhale-hq/Codewhale

    Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.

    41k GitHub stars~273 tokensUpdated today
    Auto-check passed
  • Goal Loop

    sickn33/agentic-awesome-skills

    Draft and explain persistent goal-loop prompts for long-running agent work with clear stop conditions.

    47k GitHub starsUsed in 1 repo~2.6k tokens
    Agent WorkflowsAuto-check passed
  • Fable Goal

    alirezarezvani/claude-skills

    Convert a rambling description of a desired outcome into one polished, autonomous /goal prompt ready to paste into a fresh session.

    28k GitHub stars~2.4k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Goal Objective Drafter

    QwenLM/qwen-code

    Turns a vague intention into a /goal objective with one outcome, numbered yes-or-no checks, guardrails, a budget and a block protocol, without starting the work.

    28k GitHub stars~3.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Runs multi-step finance research as a tracked goal with acceptance criteria and linked evidence, strictly for research and never for placing trades.

    35k GitHub stars~813 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed

More from ruvnet/ruflo

All 265 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Questions about Agent Goal Planner

What does Agent Goal Planner do?

Agent skill for goal-planner - invoke with $agent-goal-planner. Agent Goal Planner is an agent skill from ruvnet/ruflo.

How do I install Agent Goal Planner in Claude Code?

Run `npx skills add ruvnet/ruflo --skill agent-goal-planner -a claude-code`. Or copy the skill folder (.agents/skills/agent-goal-planner in ruvnet/ruflo) into .claude/skills/agent-goal-planner in your project. Claude Code loads it when a task matches its description.

How do I install Agent Goal Planner in Codex?

Run `npx skills add ruvnet/ruflo --skill agent-goal-planner -a codex`. Or copy the skill folder (.agents/skills/agent-goal-planner in ruvnet/ruflo) into .agents/skills/agent-goal-planner in your project. Codex loads it when a task matches its description.

Can I use Agent Goal Planner in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill agent-goal-planner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-goal-planner, .gemini/skills/agent-goal-planner, .github/skills/agent-goal-planner and .opencode/skills/agent-goal-planner in your project.

What does Agent Goal Planner need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent Goal Planner is instructions for the agent only.

Does Agent Goal Planner access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent Goal Planner safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Goal Planner use?

Agent Goal Planner is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Goal Planner use?

About 842 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agent Goal Planner?

Skills that share tags, products or a category with Agent Goal Planner: Planner (penpot/penpot, 61k stars), Goals (codewhale-hq/Codewhale, 41k stars), Goal Loop (sickn33/agentic-awesome-skills, 47k stars) and Fable Goal (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Goal Planner?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,222 GitHub stars. The repository holds 265 skills in this directory. The repository was last updated on October 10, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.