Skip to main content
subagent CX Codex

sublinear-goal-planner — Claude Code subagent: what it does

sublinear-goal-planner — a Claude subagent that breaks a big goal into actions with dependencies and looks for the cheapest route through the action graph.

no license ★ 850 updated 2026-10-26

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/agent.md
Open on GitHub

What sublinear-goal-planner does

Hand it a goal and it returns a graph: subgoals, what blocks what, and the actions that carry the world state from where it sits now to where you want it. Every action has a cost, and the route is priced through matrix work on the sublinear-time-solver MCP server.

Five things happen inside. Goal decomposition, sequence optimisation, ranking by PageRank, prediction of future states, and coordination of several agents through flow-nexus (swarm_init, task_orchestrate, agent_spawn, workflow_create, sandbox_create). The description models state as flags such as code_written and tests_passing, with transitions weighted by inverse cost.

Both MCP servers have to be connected first. The tool list is mcp__sublinear-time-solver__* and mcp__flow-nexus__* calls, so with the servers absent there is nothing to run the plan on.

What it helps with

  • break a large goal into steps with real dependencies
  • rank work when there is more of it than time
  • price alternative routes to the same result
  • split one objective across several agents
  • replan when conditions shift mid-flight

Example prompts for the agent

  • Use sublinear-goal-planner to plan the v2.0 release: steps, order, and what blocks what.
  • Model the move to PostgreSQL as actions with costs and preconditions, then find the cheapest path.
  • Build the action graph for the launch and rank the steps with PageRank.

How to install sublinear-goal-planner

Manually: put the files in place

.claude/agents/agent.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about sublinear-goal-planner

How do I install sublinear-goal-planner in Claude Code?

Put the subagent file at .claude/agents/agent.md in your project, where Claude picks it up.

What does sublinear-goal-planner do?

It plans GOAP-style: splits a goal into subgoals, builds an action graph with costs and preconditions, ranks the steps, and replans when something changes.

What does the subagent need in order to work?

Two MCP servers: sublinear-time-solver for matrix and PageRank calls, and flow-nexus for swarms, tasks and workflows.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set76

The whole set →
refinement SPARC methodology subagent for iterative code refinement. Optimizes architecture, runs test suites, and learns from refactoring history. CX Codex ★ 850repo stars workflow-automation workflow-automation is a Claude Code subagent that creates and updates GitHub Actions workflows. It handles CI/CD setup requests and workflow run analysis. CX Codex ★ 850repo stars Topology Optimizer Topology Optimizer — a subagent that scores swarm topologies — hierarchy, mesh, ring, star, hybrid — against your workload and says which one to switch to. CX Codex ★ 850repo stars crdt-synchronizer crdt-synchronizer — a Claude Code subagent for conflict-free state synchronization across nodes using CRDT structures and vector clocks. CX Codex ★ 850repo stars performance-benchmarker performance-benchmarker is a Claude Code subagent that measures throughput, latency, and resource use to compare Byzantine, Raft, and Gossip consensus protocols. CX Codex ★ 850repo stars quorum-manager The quorum-manager subagent adjusts quorum settings, manages membership, and checks network conditions for distributed consensus workflows. CX Codex ★ 850repo stars mesh-coordinator mesh-coordinator — a coordinator subagent that links agents into a peer-to-peer mesh: decisions go through voting, peers find each other, and the network keeps going when a node drops. CX Codex ★ 850repo stars adaptive-coordinator adaptive-coordinator orchestrates agent swarms by switching network topology between mesh, hierarchical, and ring structures. Useful for heavy multi-agent workloads. CX Codex ★ 850repo stars

Project sponsors

Companies that keep this analytics open