CEO Plan Review
garrytan/gstack
Reviews a plan from a founder's point of view, questioning premises and scope in one of four modes that run from expansion to reduction.
Agent skill for agent - invoke with $agent-agent. An agent skill from ruvnet/ruflo.
$ npx skills add ruvnet/ruflo --skill agent-agent -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ruvnet/ruflo agent-agent --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agent-agent .claude/skills/agent-agent && rm -rf skills-srcUse ~/.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/
Install the "agent-agent" agent skill from https://github.com/ruvnet/ruflo/tree/main/.agents/skills/agent-agent into .claude/skills/agent-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-agent", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ruvnet/ruflo/tree/main/.agents/skills/agent-agentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ruvnet/ruflo --skill agent-agent -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ruvnet/ruflo agent-agent --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/agent-agent .agents/skills/agent-agent && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "agent-agent" agent skill from https://github.com/ruvnet/ruflo/tree/main/.agents/skills/agent-agent into .agents/skills/agent-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-agent", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ruvnet/ruflo --skill agent-agent -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ruvnet/ruflo agent-agent --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/agent-agent .cursor/skills/agent-agent && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "agent-agent" agent skill from https://github.com/ruvnet/ruflo/tree/main/.agents/skills/agent-agent into .cursor/skills/agent-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-agent", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ruvnet/ruflo.git --path .agents/skills/agent-agent--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ruvnet/ruflo --skill agent-agent -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ruvnet/ruflo agent-agent --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/agent-agent .gemini/skills/agent-agent && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "agent-agent" agent skill from https://github.com/ruvnet/ruflo/tree/main/.agents/skills/agent-agent into .gemini/skills/agent-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-agent", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ruvnet/ruflo agent-agentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ruvnet/ruflo --skill agent-agent -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/agent-agent .github/skills/agent-agent && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "agent-agent" agent skill from https://github.com/ruvnet/ruflo/tree/main/.agents/skills/agent-agent into .github/skills/agent-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-agent", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ruvnet/ruflo --skill agent-agent -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ruvnet/ruflo agent-agent --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/agent-agent .opencode/skills/agent-agent && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "agent-agent" agent skill from https://github.com/ruvnet/ruflo/tree/main/.agents/skills/agent-agent into .opencode/skills/agent-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agent-agent", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
agent-agentAgent skill for agent - invoke with $agent-agent. An agent skill from ruvnet/ruflo.
Agent Agent is an agent skill from ruvnet/ruflo. Agent skill for agent - invoke with $agent-agent
Its SKILL.md is about 6.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Product & Project Management, covering Prioritization frameworks. 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.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit de590e1. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Agent Agent loads about 6.3k tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 676 words of instructions outside code blocks.
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.
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.
The full file from ruvnet/ruflo at commit de590e1, republished under its MIT licence (© ruvnet). 676 words, ~6,292 tokens.
.claude/skills/agent-agent/SKILL.md (or your agent's skills folder).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.
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 scenariosmcp__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// 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]])
}
];// Build adjacency matrix for sublinear optimization
async function buildActionGraph(actions, worldState) {
const n = actions.length;
const adjacencyMatrix = Array(n).fill().map(() => Array(n).fill(0));
// Calculate action dependencies and transitions
for (let i = 0; i < n; i++) {
for (let j = 0; j < n; j++) {
if (canTransition(actions[i], actions[j], worldState)) {
adjacencyMatrix[i][j] = 1 / actions[j].cost; // Weight by inverse cost
}
}
}
// Analyze matrix properties for optimization
const analysis = await mcp__sublinear_time_solver__analyzeMatrix({
matrix: {
rows: n,
cols: n,
format: "dense",
data: adjacencyMatrix
},
checkDominance: true,
checkSymmetry: false,
estimateCondition: true
});
return { adjacencyMatrix, analysis };
}async function prioritizeGoals(actionGraph, goals) {
// Use PageRank to identify critical actions and goals
const pageRank = await mcp__sublinear_time_solver__pageRank({
adjacency: {
rows: actionGraph.length,
cols: actionGraph.length,
format: "dense",
data: actionGraph
},
damping: 0.85,
epsilon: 1e-6
});
// Sort goals by importance scores
const prioritizedGoals = goals.map((goal, index) => ({
goal,
priority: pageRank.ranks[index],
index
})).sort((a, b) => b.priority - a.priority);
return prioritizedGoals;
}async function planWithTemporalAdvantage(planningMatrix, constraints) {
// Predict optimal solutions before full problem manifestation
const prediction = await mcp__sublinear_time_solver__predictWithTemporalAdvantage({
matrix: planningMatrix,
vector: constraints,
distanceKm: 12000 // Global coordination distance
});
// Validate temporal feasibility
const validation = await mcp__sublinear_time_solver__validateTemporalAdvantage({
size: planningMatrix.rows,
distanceKm: 12000
});
if (validation.feasible) {
return {
solution: prediction.solution,
temporalAdvantage: prediction.temporalAdvantage,
confidence: prediction.confidence
};
}
return null;
}async function findOptimalPath(startState, goalState, actions) {
const openSet = new PriorityQueue();
const closedSet = new Set();
const gScore = new Map();
const fScore = new Map();
const cameFrom = new Map();
openSet.enqueue(startState, 0);
gScore.set(stateKey(startState), 0);
fScore.set(stateKey(startState), heuristic(startState, goalState));
while (!openSet.isEmpty()) {
const current = openSet.dequeue();
const currentKey = stateKey(current);
if (statesEqual(current, goalState)) {
return reconstructPath(cameFrom, current);
}
closedSet.add(currentKey);
// Generate successor states using available actions
for (const action of getApplicableActions(current, actions)) {
const neighbor = applyAction(current, action);
const neighborKey = stateKey(neighbor);
if (closedSet.has(neighborKey)) continue;
const tentativeGScore = gScore.get(currentKey) + action.cost;
if (!gScore.has(neighborKey) || tentativeGScore < gScore.get(neighborKey)) {
cameFrom.set(neighborKey, { state: current, action });
gScore.set(neighborKey, tentativeGScore);
// Use sublinear solver for heuristic optimization
const heuristicValue = await optimizedHeuristic(neighbor, goalState);
fScore.set(neighborKey, tentativeGScore + heuristicValue);
if (!openSet.contains(neighbor)) {
openSet.enqueue(neighbor, fScore.get(neighborKey));
}
}
}
}
return null; // No path found
}async function coordinateWithSwarm(complexGoal) {
// Initialize planning swarm
const swarm = await mcp__claude_flow__swarm_init({
topology: "hierarchical",
maxAgents: 8,
strategy: "adaptive"
});
// Spawn specialized planning agents
const coordinator = await mcp__claude_flow__agent_spawn({
type: "coordinator",
capabilities: ["goal_decomposition", "plan_synthesis"]
});
const analyst = await mcp__claude_flow__agent_spawn({
type: "analyst",
capabilities: ["constraint_analysis", "feasibility_assessment"]
});
const optimizer = await mcp__claude_flow__agent_spawn({
type: "optimizer",
capabilities: ["path_optimization", "resource_allocation"]
});
// Orchestrate distributed planning
const planningTask = await mcp__claude_flow__task_orchestrate({
task: `Plan execution for: ${complexGoal}`,
strategy: "parallel",
priority: "high"
});
return { swarm, planningTask };
}async function achieveConsensus(agents, proposals) {
// Build consensus matrix
const consensusMatrix = buildConsensusMatrix(agents, proposals);
// Solve for optimal consensus
const consensus = await mcp__sublinear_time_solver__solve({
matrix: consensusMatrix,
vector: generatePreferenceVector(agents),
method: "neumann",
epsilon: 1e-6
});
// Select proposal with highest consensus score
const optimalProposal = proposals[consensus.solution.indexOf(Math.max(...consensus.solution))];
return {
selectedProposal: optimalProposal,
consensusScore: Math.max(...consensus.solution),
convergenceTime: consensus.convergenceTime
};
}async function decomposeGoal(complexGoal) {
// Create sandbox for goal simulation
const sandbox = await mcp__flow_nexus__sandbox_create({
template: "node",
name: "goal-decomposition",
env_vars: {
GOAL_CONTEXT: complexGoal.context,
CONSTRAINTS: JSON.stringify(complexGoal.constraints)
}
});
// Recursive goal breakdown
const subgoals = await recursiveDecompose(complexGoal, 0, 3); // Max depth 3
// Build dependency graph
const dependencyMatrix = buildDependencyMatrix(subgoals);
// Optimize execution order
const executionOrder = await mcp__sublinear_time_solver__pageRank({
adjacency: dependencyMatrix,
damping: 0.9
});
return {
subgoals: subgoals.sort((a, b) =>
executionOrder.ranks[b.id] - executionOrder.ranks[a.id]
),
dependencies: dependencyMatrix,
estimatedCompletion: calculateCompletionTime(subgoals, executionOrder)
};
}class DynamicPlanner {
constructor() {
this.currentPlan = null;
this.worldState = new Map();
this.monitoringActive = false;
}
async startMonitoring() {
this.monitoringActive = true;
while (this.monitoringActive) {
// OODA Loop Implementation
await this.observe();
await this.orient();
await this.decide();
await this.act();
await new Promise(resolve => setTimeout(resolve, 1000)); // 1s cycle
}
}
async observe() {
// Monitor world state changes
const stateChanges = await this.detectStateChanges();
this.updateWorldState(stateChanges);
}
async orient() {
// Analyze deviations from expected state
const deviations = this.analyzeDeviations();
if (deviations.significant) {
this.triggerReplanning(deviations);
}
}
async decide() {
if (this.needsReplanning()) {
await this.replan();
}
}
async act() {
if (this.currentPlan && this.currentPlan.nextAction) {
await this.executeAction(this.currentPlan.nextAction);
}
}
async replan() {
// Use temporal advantage for predictive replanning
const newPlan = await planWithTemporalAdvantage(
this.buildCurrentMatrix(),
this.getCurrentConstraints()
);
if (newPlan && newPlan.confidence > 0.8) {
this.currentPlan = newPlan;
// Store successful pattern
await mcp__claude_flow__memory_usage({
action: "store",
namespace: "goap-patterns",
key: `replan_${Date.now()}`,
value: JSON.stringify({
trigger: this.lastDeviation,
solution: newPlan,
worldState: Array.from(this.worldState.entries())
})
});
}
}
}class PlanningLearner {
async learnFromExecution(executedPlan, outcome) {
// Analyze plan effectiveness
const effectiveness = this.calculateEffectiveness(executedPlan, outcome);
if (effectiveness.success) {
// Store successful pattern
await this.storeSuccessPattern(executedPlan, effectiveness);
// Train neural network on successful patterns
await mcp__flow_nexus__neural_train({
config: {
architecture: {
type: "feedforward",
layers: [
{ type: "input", size: this.getStateSpaceSize() },
{ type: "hidden", size: 128, activation: "relu" },
{ type: "hidden", size: 64, activation: "relu" },
{ type: "output", size: this.getActionSpaceSize(), activation: "softmax" }
]
},
training: {
epochs: 50,
learning_rate: 0.001,
batch_size: 32
}
},
tier: "small"
});
} else {
// Analyze failure patterns
await this.analyzeFailure(executedPlan, outcome);
}
}
async retrieveSimilarPatterns(currentSituation) {
// Search for similar successful patterns
const patterns = await mcp__claude_flow__memory_search({
pattern: `situation:${this.encodeSituation(currentSituation)}`,
namespace: "goap-patterns",
limit: 10
});
// Rank by similarity and success rate
return patterns.results
.map(p => ({ ...p, similarity: this.calculateSimilarity(currentSituation, p.context) }))
.sort((a, b) => b.similarity * b.successRate - a.similarity * a.successRate);
}
}class GOAPBehaviorTree {
constructor() {
this.root = new SelectorNode([
new SequenceNode([
new ConditionNode(() => this.hasValidPlan()),
new ActionNode(() => this.executePlan())
]),
new SequenceNode([
new ActionNode(() => this.generatePlan()),
new ActionNode(() => this.executePlan())
]),
new ActionNode(() => this.handlePlanningFailure())
]);
}
async tick() {
return await this.root.execute();
}
hasValidPlan() {
return this.currentPlan &&
this.currentPlan.isValid &&
!this.worldStateChanged();
}
async generatePlan() {
const startTime = performance.now();
// Use sublinear solver for rapid planning
const planMatrix = this.buildPlanningMatrix();
const constraints = this.extractConstraints();
const solution = await mcp__sublinear_time_solver__solve({
matrix: planMatrix,
vector: constraints,
method: "random-walk",
maxIterations: 1000
});
const endTime = performance.now();
this.currentPlan = {
actions: this.decodeSolution(solution.solution),
confidence: solution.residual < 1e-6 ? 0.95 : 0.7,
planningTime: endTime - startTime,
isValid: true
};
return this.currentPlan !== null;
}
}class UtilityPlanner {
constructor() {
this.utilityWeights = {
timeEfficiency: 0.3,
resourceCost: 0.25,
riskLevel: 0.2,
goalAlignment: 0.25
};
}
async selectOptimalAction(availableActions, currentState, goalState) {
const utilities = await Promise.all(
availableActions.map(action => this.calculateUtility(action, currentState, goalState))
);
// Use sublinear optimization for multi-objective selection
const utilityMatrix = this.buildUtilityMatrix(utilities);
const preferenceVector = Object.values(this.utilityWeights);
const optimal = await mcp__sublinear_time_solver__solve({
matrix: utilityMatrix,
vector: preferenceVector,
method: "neumann"
});
const bestActionIndex = optimal.solution.indexOf(Math.max(...optimal.solution));
return availableActions[bestActionIndex];
}
async calculateUtility(action, currentState, goalState) {
const timeUtility = await this.estimateTimeUtility(action);
const costUtility = this.calculateCostUtility(action);
const riskUtility = await this.assessRiskUtility(action, currentState);
const goalUtility = this.calculateGoalAlignment(action, currentState, goalState);
return {
action,
timeUtility,
costUtility,
riskUtility,
goalUtility,
totalUtility: (
timeUtility * this.utilityWeights.timeEfficiency +
costUtility * this.utilityWeights.resourceCost +
riskUtility * this.utilityWeights.riskLevel +
goalUtility * this.utilityWeights.goalAlignment
)
};
}
}// Goal: Launch a new product feature
const productLaunchGoal = {
objective: "Launch authentication system",
constraints: ["2 week deadline", "high security", "user-friendly"],
resources: ["3 developers", "1 designer", "$10k budget"]
};
// Decompose into actionable sub-goals
const subGoals = [
"Design user interface",
"Implement backend authentication",
"Create security tests",
"Deploy to production",
"Monitor system performance"
];
// Build dependency matrix
const dependencyMatrix = buildDependencyMatrix(subGoals);
// Optimize execution order
const optimizedPlan = await mcp__sublinear_time_solver__solve({
matrix: dependencyMatrix,
vector: resourceConstraints,
method: "neumann"
});// Multiple competing objectives
const objectives = [
{ name: "reduce_costs", weight: 0.3, urgency: 0.7 },
{ name: "improve_quality", weight: 0.4, urgency: 0.8 },
{ name: "increase_speed", weight: 0.3, urgency: 0.9 }
];
// Use PageRank for multi-objective prioritization
const objectivePriorities = await mcp__sublinear_time_solver__pageRank({
adjacency: buildObjectiveGraph(objectives),
personalized: objectives.map(o => o.urgency)
});
// Allocate resources based on priorities
const resourceAllocation = optimizeResourceAllocation(objectivePriorities);// Predict market conditions before they change
const marketPrediction = await mcp__sublinear_time_solver__predictWithTemporalAdvantage({
matrix: marketTrendMatrix,
vector: currentMarketState,
distanceKm: 20000 // Global market data propagation
});
// Plan actions based on predictions
const strategicActions = generateStrategicActions(marketPrediction);
// Execute with temporal advantage
const results = await executeWithTemporalLead(strategicActions);// Initialize coordinated swarm
const coordinatedSwarm = await mcp__flow_nexus__swarm_init({
topology: "mesh",
maxAgents: 12,
strategy: "specialized"
});
// Spawn specialized agents for different goal aspects
const agents = await Promise.all([
mcp__flow_nexus__agent_spawn({ type: "researcher", capabilities: ["data_analysis"] }),
mcp__flow_nexus__agent_spawn({ type: "coder", capabilities: ["implementation"] }),
mcp__flow_nexus__agent_spawn({ type: "optimizer", capabilities: ["performance"] })
]);
// Coordinate goal achievement
const coordinatedExecution = await mcp__flow_nexus__task_orchestrate({
task: "Build and optimize recommendation system",
strategy: "adaptive",
maxAgents: 3
});// Monitor execution progress
const executionStatus = await mcp__flow_nexus__task_status({
taskId: currentExecutionId,
detailed: true
});
// Detect deviations from plan
if (executionStatus.deviation > threshold) {
// Analyze new constraints
const updatedMatrix = updateConstraintMatrix(executionStatus.changes);
// Generate new optimal plan
const revisedPlan = await mcp__sublinear_time_solver__solve({
matrix: updatedMatrix,
vector: updatedObjectives,
method: "adaptive"
});
// Implement revised plan
await implementRevisedPlan(revisedPlan);
}// Well-structured goal definition
const optimizedGoal = {
objective: "Clear and measurable outcome",
preconditions: ["List of required starting states"],
postconditions: ["List of desired end states"],
constraints: ["Time, resource, and quality constraints"],
metrics: ["Quantifiable success measures"],
dependencies: ["Relationships with other goals"]
};// Robust plan execution with fallbacks
try {
const result = await executePlan(optimizedPlan);
return result;
} catch (error) {
// Generate contingency plan
const contingencyPlan = await generateContingencyPlan(error, originalGoal);
return await executePlan(contingencyPlan);
}const plannerConfig = {
searchAlgorithm: "a_star", // a_star, dijkstra, greedy
heuristicFunction: "manhattan", // manhattan, euclidean, custom
maxSearchDepth: 20,
planningTimeout: 30000, // 30 seconds
convergenceEpsilon: 1e-6,
temporalAdvantageThreshold: 0.8,
utilityWeights: {
time: 0.3,
cost: 0.3,
risk: 0.2,
quality: 0.2
}
};class RobustPlanner extends GOAPAgent {
async handlePlanningFailure(error, context) {
switch (error.type) {
case 'MATRIX_SINGULAR':
return await this.regularizeMatrix(context.matrix);
case 'NO_CONVERGENCE':
return await this.relaxConstraints(context.constraints);
case 'TIMEOUT':
return await this.useApproximateSolution(context);
default:
return await this.fallbackToSimplePlanning(context);
}
}
}Leverage light-speed delays for predictive planning:
This goal-planner agent represents the cutting edge of AI-driven objective achievement, combining mathematical rigor with practical execution capabilities through the powerful sublinear-time-solver toolkit and Claude Flow ecosystem.
© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/agent-agent of ruvnet/ruflo.
Open the folder on GitHubat commit de590e1
We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.
Agent Agent 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Agent Agent this skillruvnet/ruflo | 74k | 3 repos | ~6.3k | Automated safety check: Pass | MIT | |
| CEO Plan Reviewgarrytan/gstack | 136k | — | ~20k | Automated safety check: Notes | MIT | |
| Agile Product Owneralirezarezvani/claude-skills | 28k | 3 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Prioritization Framework Advisordeanpeters/Product-Manager-Skills | 7.2k | 2 repos | ~4.2k | Automated safety check: Pass | Custom licence | |
| Strategic Roadmap Planningdeanpeters/Product-Manager-Skills | 7.2k | 2 repos | ~4.7k | Automated safety check: Pass | Custom licence | |
| Idea Validatoraakashg/pm-claude-skills | 112 | — | ~2.3k | Automated safety check: Pass | MIT |
garrytan/gstack
Reviews a plan from a founder's point of view, questioning premises and scope in one of four modes that run from expansion to reduction.
alirezarezvani/claude-skills
Writes INVEST-checked user stories with acceptance criteria, splits epics, plans sprints from velocity and ranks the backlog with a weighted score.
deanpeters/Product-Manager-Skills
Picks the right prioritization framework for your stage and context instead of defaulting to RICE or ICE out of habit.
deanpeters/Product-Manager-Skills
Sequences prioritization, epic definition, and stakeholder alignment into a release plan that ladders up to business outcomes.
aakashg/pm-claude-skills
A skill your agent uses when the user asks to validate a product idea, stress-test an idea, evaluate whether an idea is good, or decide whether to build something.
joa23/linear-cli
Triage and prioritize Linear backlog issues using the linear CLI.
ruvnet/ruflo
Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.
ruvnet/ruflo
Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.
ruvnet/ruflo
Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.
ruvnet/ruflo
Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.
ruvnet/ruflo
Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.
ruvnet/ruflo
Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.
Agent skill for agent - invoke with $agent-agent. An agent skill from ruvnet/ruflo. Agent Agent is an agent skill from ruvnet/ruflo.
Agent Agent fits situations like: tasks that involve Prioritization frameworks.
Run `npx skills add ruvnet/ruflo --skill agent-agent -a claude-code`. Or copy the skill folder (.agents/skills/agent-agent in ruvnet/ruflo) into .claude/skills/agent-agent in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ruvnet/ruflo --skill agent-agent -a codex`. Or copy the skill folder (.agents/skills/agent-agent in ruvnet/ruflo) into .agents/skills/agent-agent in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill agent-agent -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-agent, .gemini/skills/agent-agent, .github/skills/agent-agent and .opencode/skills/agent-agent in your project.
SKILL.md names no scripts, command-line tools or credentials: Agent Agent is instructions for the agent only.
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.
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.
Agent Agent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 6.3k tokens (SKILL.md is roughly 25k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Agent Agent: CEO Plan Review (garrytan/gstack, 136k stars), Agile Product Owner (alirezarezvani/claude-skills, 28k stars), Prioritization Framework Advisor (deanpeters/Product-Manager-Skills, 7.2k stars) and Strategic Roadmap Planning (deanpeters/Product-Manager-Skills, 7.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,012 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 7, 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.