nextclaw: Skill for Claude Code

.agents/skills/goal-mode/SKILL.md

goal-mode is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 45 tokens per session (317 once invoked), scanned A, original, MIT.

A goal-tracking mode that keeps work moving until a clearly defined objective is complete, paused, redirected, or genuinely blocked.

In plain words
What is it for?
Useful when continuous progress, counted checkpoints, or explicit completion criteria are required across multiple work sessions.
Why use it?
It reduces drift on long tasks by recording the goal, acceptance conditions, boundaries, and progress anchors.

Skill for Claude CodeCodex

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

This is Peiiii/nextclaw's own configuration. It tells Claude Code and Codex how to work on nextclaw itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nextclaw configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Peiiii/nextclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Peiiii/nextclaw/master/.agents/skills/goal-mode/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

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 goal-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/goal-mode.svg)](https://agentmods.dev/skills/peiiii/nextclaw/goal-mode)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/goal-mode"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/goal-mode.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 317 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 pass 7 Sept 2026
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.00045 $0.00317
Opus 5 $0.00023 $0.00159
Sonnet 5 $0.00009 $0.00063
Haiku 4.5 $0.00005 $0.00032

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

Security

Grade A, and why

goal-mode 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 9d 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/goal-mode/SKILL.md · 23 lines

What it actually says

目标模式

进入与退出

进入后回复前缀为 [我严格遵守规则][目标模式][锚点 n/20];若同时深思,深思模式放在目标模式前。只有目标完成、真实阻塞、用户暂停/转向/退出时停止。

执行

  1. 写清当前目标、验收条件、非目标和禁止边界。
  2. 选择最小可执行批次并持续推进,不把方案、局部实现或单次验证当成完成。
  3. 每个有效工作回复后计数 +1
  4. 达到 20、上下文压缩、用户指出偏航或开始引入新核心概念时,先回看目标再继续。
  5. 跨轮任务按 进度锚点 维护短文件;需要保存大量证据时另用 iteration-work-notes

交付物很多、完成条件容易漂移时,再使用 任务契约模板;普通目标不创建额外文件。

目标模式只管理持续性和目标对齐,不重做 delivery、debug、validation 或规则治理流程。

Files

What ships with it

2 files 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. 9d ago First seen · 23 lines · 45 tokens per session scan A cce329868f93

Subscribe to this mod's changes

goal-mode is a skill published in the GitHub repository Peiiii/nextclaw (256 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 317 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

openclaw-github-dedupe

Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.

vincentkoc/dotskills · 68 tokens

tmux-lane-orchestrator

Manage one tmux agent lane from its matching ops pane, inspect live pane state and Codex logs on cold start, and produce concise manager summaries for OpenClaw and adjacent project work.

vincentkoc/dotskills · 46 tokens

ghcrawl-cluster-operator

Use when inspecting a ghcrawl SQLite store, pulling GitHub issue/PR data, refreshing summaries, embeddings, and clusters, or extracting one cluster and its evidence through the ghcrawl CLI.

vincentkoc/dotskills · 45 tokens

opik-optimizer

Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.

vincentkoc/dotskills · 41 tokens

org-branch-cleanup

Audit and safely prune stale branches across a GitHub organization with immutable snapshots, conservative merged-PR classification, live SHA/protection/open-PR revalidation, resumable deletion ledgers, and post-delete verification. Use when a maintainer asks to clean up old, dead, merged, bot-created, or abandoned…

vincentkoc/dotskills · 91 tokens

crabpot-perf-metrics

Interpret Crabpot and OpenClaw performance dashboard metrics, import-loop profiles, runtime profiles, and branch-to-branch perf deltas without over-reading noisy samples.

vincentkoc/dotskills · 40 tokens