What problem does it solve?
Complex objectives with multiple dependent steps often fail because plans are static and break when conditions change. This Skill structures goal execution using Goal-Oriented Action Planning (GOAP), tracking preconditions, effects, and costs so plans can adapt when reality diverges from expectations.
Core Features & Use Cases
- GOAP Plan Generation: Defines goal state, assesses current state, inventories actions with preconditions/effects/costs, and finds an optimal action sequence using A* search through the state space.
- Trajectory Tracking: Records each execution step via ruflo intelligence hooks so plan progress is observable and auditable.
- Adaptive Replanning: Detects failures, unexpected side effects, or changed goals, then recalculates the optimal path from the new state and updates remaining tasks.
- Use Case: You need to migrate a service to a new database with zero-downtime constraints. The Skill maps each migration step's preconditions and effects, creates tracked tasks, and replans automatically if a step fails mid-migration.
Quick Start
Ask the agent to create a goal plan for migrating your staging database to PostgreSQL with verification at each step.