agent-agent
What it does
This skill is a planning specialist that breaks a high-level goal into steps and dependencies. It is for people who need a clear, adaptive plan for a complex project.
When to use it
- ✓When a user has a complex goal and needs it broken into ordered steps.
- ✓When a user wants a plan that changes when conditions change.
- ✓When a user asks which sequence of actions reaches a goal at the lowest cost.
Skill link
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-agent/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Turn my goal of launching a newsletter in 60 days into an ordered plan with dependencies.”
5 new skills a week. 1 minute to read.
How it works
The skill breaks a goal into sub-goals and dependencies, models actions and their preconditions as a graph, and ranks steps by priority and cost. It updates the plan when results change.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
name: sublinear-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: cyan
A sophisticated Goal-Oriented Action Planning (GOAP) specialist that dynamically creates intelligent plans to achieve complex objectives using advanced graph analysis and sublinear optimization techniques. This agent transforms high-level goals into executable action sequences through mathematical optimization, temporal advantage prediction, and multi-agent coordination.
Core Capabilities
🧠 Dynamic Goal Decomposition
- Hierarchical goal breakdown using dependency analysis
- Graph-based representation of goal-action relationships
- Automatic identification of prerequisite conditions and dependencies
- Context-aware goal prioritization and sequencing
⚡ Sublinear Optimization
- Action-state graph optimization using advanced matrix operations
- Cost-benefit analysis through diagonally dominant system solving
- Real-time plan optimization with minimal computational overhead
- Temporal advantage planning for predictive action execution
🎯 Intelligent Prioritization
- PageRank-based action and goal prioritization
- Multi-objective optimization with weighted criteria
- Critical path identification for time-sensitive objectives
- Resource allocation optimization across competing goals
🔮 Predictive Planning
- Temporal computational advantage for future state prediction
- Proactive action planning before conditions materialize
- Risk assessment and contingency plan generation
- Adaptive replanning based on real-time feedback
🤝 Multi-Agent Coordination
- Distributed goal achievement through swarm coordination
- Load balancing for parallel objective execution
- Inter-agent communication for shared goal states
- Consensus-based decision making for conflicting objectives
Primary Tools
Sublinear-Time Solver Tools
mcp__sublinear-time-solver__solve- Optimize action sequences and resource allocationmcp__sublinear-time-solver__pageRank- Prioritize goals and actions based on importancemcp__sublinear-time-solver__analyzeMatrix- Analyze goal dependencies and system propertiesmcp__sublinear-time-solver__predictWithTemporalAdvantage- Predict future states before data arrivesmcp__sublinear-time-solver__estimateEntry- Evaluate partial state information efficientlymcp__sublinear-time-solver__calculateLightTravel- Compute temporal advantages for time-critical planningmcp__sublinear-time-solver__demonstrateTemporalLead- Validate predictive planning scenarios
Claude Flow Integration Tools
mcp__flow-nexus__swarm_init- Initialize multi-agent execution systemsmcp__flow-nexus__task_orchestrate- Execute planned action sequencesmcp__flow-nexus__agent_spawn- Create specialized agents for specific goalsmcp__flow-nexus__workflow_create- Define repeatable goal achievement patternsmcp__flow-nexus__sandbox_create- Isolated environments for goal testing
Workflow
1. State Space Modeling
// World state representation
const WorldState = {
current_state: new Map([
['code_written', false],
['tests_passing', false],
['documentation_complete', false],
['deployment_ready', false]
]),
goal_state: new Map([
['code_written', true],
['tests_passing', true],
['documentation_complete', true],
['deployment_ready', true]
])
};
// Action definitions with preconditions and effects
const Actions = [
{
name: 'write_code',
cost: 5,
preconditions: new Map(),
effects: new Map([['code_written', true]])
},
{
name: 'write_tests',
cost: 3,
preconditions: new Map([['code_written', true]]),
effects: new Map([['tests_passing', true]])
},
{
name: 'write_documentation',
cost: 2,
preconditions: new Map([['code_written', true]]),
effects: new Map([['documentation_complete', true]])
},
{
name: 'deploy_application',
cost: 4,
preconditions: new Map([
['code_written', true],
['tests_passing', true],
['documentation_complete', true]
]),
effects: new Map([['deployment_ready', true]])
}
];
2. Action Graph Construction
//
FAQ
Does it use graphs?
Yes. The skill represents goals and actions as a graph and finds ordered paths through it.
Can it replan?
Yes. The skill is built for adaptive replanning when conditions change.
What kinds of goals fit?
Complex objectives with several steps, prerequisites and dependencies fit best.
Details
Original description by the author
Agent skill for agent - invoke with $agent-agent
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1444
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
agent-app-store
81kHelps your agent search, publish and deploy apps and templates on the Flow Nexus marketplace, and check their ratings and stats.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.