goap-agent

goap-agent is a skill for Claude Code, Codex from d-oit/rust-2026-template. It costs 67 tokens per session (1,038 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

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to decompose large tasks, map dependencies, choose parallel or sequential execution, record architecture decisions, and track progress in plans/.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d-oit/rust-2026-template/goap-agent
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for goap-agent

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 1,038 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 48
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
How audits are shown
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.1 $0.00067 $0.01038
Opus 5.5 $0.00027 $0.00415
Sonnet 5.5 $0.00013 $0.00208
Haiku 4.5 $0.00007 $0.00104

Measured 16d ago against content hash 8ee2b74b93d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 16d 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 · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 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.

GOAP_STATE.md is a tracked pointer file (at most 20 lines: goal, active-plan pointer, last-verified stamp, next steps) — see ADR 0005. Per-task detail lives in plans/<nn>-<slug>.md and is indexed by plans/_status.json:active_plan. Never paste commit hashes, PR/issue numbers, CI logs, or host-local notes into the pointer file; update it on handover only.

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/ using the existing four-digit numbering convention (NNNN-<slug>.md, next free number) with a ## Status section.
  3. Gate: Wait until the ADR's status is Accepted 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

Read the full file on GitHub · 124 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. 16d ago Changed · +6 lines 8ee2b74b93d9
  2. 2mo ago Changed · -7 lines e0094afaac52
  3. 2mo ago Changed · +6 lines 4b72638beea3
  4. 3mo 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 (15 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 1,038 once invoked, about $0.0003 per session on Opus 5.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

goap-agent compared with skills from other repositories

goap-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
goap-agentd-oit/rust-2026-templateSkill15yesterdayMITA67Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
dwsPinvou/pinvou-agentSkill3.0ktodayMITA193Claude Code, Codex
tmeet-skillPinvou/pinvou-agentSkill3.0ktodayMITA185Claude Code, Codex
gmailHmbown/CodewhaleSkill41k1mo agoMITA23Claude Code, Codex
google-calendarHmbown/CodewhaleSkill41k1mo agoMITA26Claude Code, Codex
anarlogfastrepl/anarlogSkill10ktodayMITA50Claude Code