goap-agent

goap-agent is a skill for Claude Code, Codex from d-oit/rust-2026-template. It costs 67 tokens per session (866 once invoked), scanned A, original, MIT.

A planning method for complex tasks that breaks work into dependent steps and coordinates multiple specialized agents with quality checks.

In plain words
What is it for?
Use it to decompose large tasks, map dependencies, choose parallel or sequential execution, record architecture decisions, and track progress in plans/.
Why use it?
It provides a shared process and persistent state for work that spans several stages, teams, or technical areas.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/d-oit/rust-2026-template/goap-agent
Any agent
npx skills add d-oit/rust-2026-template --skill goap-agent
Clone the repo
git clone --depth 1 https://github.com/d-oit/rust-2026-template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for goap-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-oit/rust-2026-template/goap-agent.svg)](https://agentmods.dev/skills/d-oit/rust-2026-template/goap-agent)
Your own site
<a href="https://agentmods.dev/skills/d-oit/rust-2026-template/goap-agent"><img src="https://agentmods.dev/badge/skills/d-oit/rust-2026-template/goap-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 866 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00067 $0.00866
Opus 5 $0.00034 $0.00433
Sonnet 5 $0.00013 $0.00173
Haiku 4.5 $0.00007 $0.00087

Measured 3d ago against content hash c1509df8f98c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

goap-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/goap-agent/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GOAP Agent Skill: Goal-Oriented Action Planning

Enable intelligent planning and execution of complex multi-step tasks through systematic decomposition, dependency mapping, and coordinated multi-agent execution.

Always use the plans/ folder for all files. Use plans/GOAP_STATE.md to track persistent state.

When to Use This Skill

Use this skill when facing:

  • Complex Multi-Step Tasks: Tasks requiring 5+ distinct steps
  • Cross-Domain Problems: Issues spanning multiple areas
  • Optimization Opportunities: Tasks benefiting from parallel execution
  • Quality-Critical Work: Projects requiring validation checkpoints

Core GOAP Methodology

The GOAP Planning Cycle

1. ANALYZE → 2. DECOMPOSE → 3. STRATEGIZE → 4. COORDINATE → 5. EXECUTE → 6. SYNTHESIZE

Phase 1: Task Analysis

  1. Analyze: Use triz-analysis or triz-solver to evaluate the problem and resolve contradictions.
  2. Decide: Formulate an ADR (Architecture Decision Record) in plans/adr/.
  3. Gate: Wait for human approval of the ADR before proceeding to decomposition.
## Task Analysis

**Primary Goal**: [Clear statement of what success looks like]
**Constraints**: [Time, Resources]
**Complexity**: Simple/Medium/Complex
**ADR Link**: [Link to approved Architecture Decision Record]

Phase 2: Task Decomposition

Use task-decomposition skill:

### Sub-Goals
1. [Component 1] - Priority: P0, Deps: none
2. [Component 2] - Priority: P1, Deps: Component 1

Principles: Atomic, Testable, Independent, Assigned

Phase 3: Strategy Selection

Strategy When Speed
Parallel Independent tasks Nx
Sequential Dependent tasks 1x
Swarm Many similar tasks ~Nx
Hybrid Mixed requirements 2-4x

Phase 4: Agent Assignment

Agent Best For
feature-implementer New functionality
debugger Bug fixes
test-runner Test validation
refactorer Code improvements
code-reviewer Quality assurance

Read the full file on GitHub · 119 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 119 lines · 67 tokens per session scan A c1509df8f98c

Subscribe to this mod's changes

goap-agent is a skill published in the GitHub repository d-oit/rust-2026-template (10 stars, last pushed 4d ago), licensed MIT. It adds 67 tokens to every session and 866 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

2slides-ppt-generator

AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize documents into decks, add AI voice narration, and export pages/audio. Use f.

ranbot-ai/awesome-skills · 45 tokens

ad-creative

Create, iterate, and scale paid ad creative for Google Ads, Meta, LinkedIn, TikTok, and similar platforms. Use when generating headlines, descriptions, primary text, or large sets of ad variations for.

ranbot-ai/awesome-skills · 46 tokens

agent-creator

Create custom AI subagents with proper plugin structure, persona generation, and companion routing skills.

ranbot-ai/awesome-skills · 22 tokens

atb-ops-to-aclnn-migration-workflow

ATB OPS→ACLNN 迁移标准化工作流主模板。整合前置学习、设计文档生成、CSV用例设计、 实际迁移、编译验证、测试验证全流程,提供明确的阶段 Gates 和用户确认机制。.

Ascend/agent-skills · 69 tokens

active-directory-attacks

Provide comprehensive techniques for attacking Microsoft Active Directory environments. Covers reconnaissance, credential harvesting, Kerberos attacks, lateral movement, privilege escalation, and doma.

ranbot-ai/awesome-skills · 33 tokens

external-gitcode-ascend-atb-ops-to-aclnn-migration-workflow

ATB OPS→ACLNN 迁移标准化工作流主模板。整合前置学习、设计文档生成、CSV用例设计、 实际迁移、编译验证、测试验证全流程,提供明确的阶段 Gates 和用户确认机制。.

ascend-ai-coding/awesome-ascend-skills · 76 tokens