Goap agent

From d-o-hub/rust-self-learning-memory · View interactive version

Goap agent is an AI agent skill from the GitHub repository d-o-hub/rust-self-learning-memory. Invoke for complex multi-step tasks requiring intelligent planning and multi-agent coordination. Use when tasks need decomposition, dependency mapping, parallel/sequential/swarm/iterative execution strategies, or coordination of multiple specialized agents.

How to use this skill

Skill file

GOAP Agent Skill

Goal-Oriented Action Planning for complex multi-step tasks with intelligent planning and multi-agent coordination.

Quick Reference

When to Use

CRITICAL: Skills vs Task Agents

Skills (via Skill tool): Instruction sets that guide Claude directly

Agents (via Task tool): Autonomous sub-processes that execute tasks

Example:

See skills.md for complete skills list and agents.md for agent capabilities.

Core Process

  1. ANALYZE → Understand goals, constraints, resources

"clears N alerts") enters the plan only after resolution proves it — scratch crate at the target

version with the same features, cargo update && cargo tree -e no-dev, diff before/after.

Release notes are claims; an unchanged graph means upstream-blocked, not a PR.

distinct advisories and dedupe across lockfiles (one of them may be read by no local gate).

  1. DECOMPOSE → Break into atomic tasks with dependencies

(gh pr diff <n> --name-only) and extend that branch rather than opening an overlapping PR —

same-file splits force manual rebuilds, and every merge re-queues other branches' required runs.

  1. STRATEGIZE → Choose execution pattern
  2. COORDINATE → Assign to specialized agents
  3. EXECUTE → Run with monitoring and quality gates
  4. SYNTHESIZE → Aggregate results and validate success

./scripts/verify-release-state.sh --check-unreleased passes (it is Phase 0 of release-manager.sh);

a merged bump is not shippable — ship only via release-guard + ./scripts/release-manager.sh ship --execute.

PR Monitoring Guardrail

head SHAs churn under strict required status checks — and batch edits per push (each push restarts the suite).

See methodology.md for detailed phase-by-phase guidance and patterns.md for common execution patterns.

ADR Integration Workflow

MANDATORY: Always check ADRs in plans/adr/ before creating execution plans:

Step 1: ADR Discovery

# List all ADRs to identify relevant ones
ls plans/adr/ADR-*.md

Step 2: Read Relevant ADRs

Step 3: Incorporate into Planning

Step 4: Update Progress in plans/

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.