goal-manager

goal-manager is a skill for Claude Code, Codex from nexus-research-lab/nexus. It costs 55 tokens per session (918 once invoked), scanned A, original, Apache-2.0.

Instructions for managing a durable goal across multiple work sessions in Nexus, including creating, inspecting, correcting, completing, or blocking it.

In plain words
What is it for?
Use them when a user explicitly needs an ongoing objective tracked across sessions and its status updated as work progresses.
Why use it?
They distinguish long-running goals from ordinary tasks and require the current goal, completion criteria, and exact operation rules to be checked before changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them when a user explicitly needs an ongoing objective tracked across sessions and its status updated as work progresses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nexus-research-lab/nexus/goal-manager
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 nexus-research-lab/nexus --skill goal-manager
Clone the repo
git clone --depth 1 https://github.com/nexus-research-lab/nexus

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-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/nexus-research-lab/nexus/goal-manager/github.svg)](https://agentmods.dev/skills/nexus-research-lab/nexus/goal-manager)
Your own site
<a href="https://agentmods.dev/skills/nexus-research-lab/nexus/goal-manager"><img src="https://agentmods.dev/badge/skills/nexus-research-lab/nexus/goal-manager/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 goal-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/nexus-research-lab/nexus/goal-manager"><img src="https://agentmods.dev/badge/skills/nexus-research-lab/nexus/goal-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 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.00055 $0.00918
Opus 5.5 $0.00022 $0.00367
Sonnet 5.5 $0.00011 $0.00184
Haiku 4.5 $0.00006 $0.00092

Measured 1mo ago against content hash a7e14574768d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

goal-manager 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 1mo 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.

skills/goal-manager/SKILL.md · 52 lines

How it starts

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

Goal Manager

Goal 是跨物理 round 持续追求的服务端目标,不是普通聊天、Task、WorkGraph 或 Automation 的别名。Objective 说明最终要实现什么;Execution 另行记录责任如何交付。

入口与命令协议

  1. 先通过 nexus.command 读取当前 Goal:

    {"domain":"goal","action":"inspect"}
    

    get_goal 是固定入口的语义名:inspect 省略 operation,无需 request_id,不能通过 invoke 调用。误用时按返回 JSON 纠正,不补参数重试原调用或等待注册。不要使用 shell、临时文件或 /goal 文本代替 command。

  2. 读取最新 Goal/objective revision 与 completion criteria 后选择 operation;mutation 前读取 fresh exact contract:

    {"domain":"goal","action":"contract","operation":"<operation>"}
    

    完整遵守返回的 contract。

  3. 业务输入是 additionalProperties=false 的 closed object,直接放在工具的 input 字段中,只写 fresh schema 暴露的业务字段。不要提交 Goal/owner/Agent/Session/Room/round identity、authority、revision、receipt 或其他隐藏字段。

  4. 相同语义重试复用 request ID;operation、目标或输入变化时生成新 ID。只有顶层 is_error=false 且 data.outcome=applied 表示状态已改变;nextAction 只给 domain-qualified 恢复方向,不携带新 authority,继续前仍读取目标 domain 的 current state 与 exact contract。

按当前动作读取参考

只读取当前动作需要的参考;operation 字段、枚举和长度始终以 fresh exact contract 为准。

暂停与恢复

当 current Goal 为 paused 时,恢复动作由用户执行。请明确告知用户:在当前对话输入框上方的 Goal 状态栏中,点击右侧的 ▶「继续」按钮。

用户点击「继续」后,Nexus 会自动重新调度该 Goal,无需再发一条消息。新的 Goal continuation 负责继续审计和收尾,并在满足完成条件后标记 Goal 完成。

不变量

  • 创建前 objective 必须完整、具体、execution-ready;仍缺少会实质改变结果的信息时先取得最少必要输入,不创建占位 Goal。
  • current Goal 存在时不创建第二个。用户明确纠正 objective 时 retarget 同一 Goal,保留 identity 与累计用量。
  • token_budget 只在用户明确给出正数预算时设置;暂停、恢复、预算和用量限制属于用户或系统控制面。
  • Plan Mode 中 Goal mutation 只做 validation,不改变 Goal、Execution、Plan 或 cancellation state;需要持久化时离开 Plan Mode,重新读取 current state 与 exact contract 后再 invoke。
  • update_goal 只标记 complete|blocked,不创建、retarget、暂停或改预算。complete 只在 objective 真实满足且没有 required work 时使用;blocked 必须满足连续三次同一 blocker 的模型行为门槛。
  • 提醒、定时与周期任务使用 Automation;WorkGraph 责任使用 execution-orchestrator。
  • goal/audit_objective_alignment 是 confirmed Goal+WorkGraph 的完成审计;execution/audit_execution_alignment 只是非终态 Execution Gate,不能互换。

Read the full file on GitHub · 52 lines

Files

What ships with it

3 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. 1mo ago Changed a7e14574768d
  2. 1mo ago Changed · +6 lines 659360443d43
  3. 1mo ago First seen · 46 lines · 55 tokens per session scan A 2d4e8e3dc88d

Subscribe to this mod's changes

goal-manager is a skill published in the GitHub repository nexus-research-lab/nexus (154 stars, last pushed 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 918 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

agentscope-java

Expert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or…

agentscope-ai/agentscope-java · 91 tokens

git-checkpoint

Use git as a safety net - create a checkpoint commit before risky or large changes and roll back cleanly if a change makes things worse. Use before multi-file refactors.

agentscope-ai/agentscope-java · 39 tokens

company-employee

The protocol every employee of a PenguinHarness organization follows — read the handbook first, act on [orgtrigger] work runs, schedule tickets from the desk session and do the work in ticket sessions, block instead of idling, ask the board in the all-hands channel before anything heavy, costly, irreversible or…

Prism-Shadow/penguin-harness · 85 tokens

company-ceo

Run a PenguinHarness organization as its CEO — turn the mission into a ticket tree, hire HR and finance first, partition the shared workspace, schedule the calendar, open a channel per stream, review tickets and report to the board in the all-hands channel.

Prism-Shadow/penguin-harness · 56 tokens

a2ui

Make a reply easier to read and act on with rich blocks inside ordinary Markdown — a choice the user picks from, a form that collects several answers, a procedure as steps with warnings in place, a callout, a Mermaid diagram, a weather card, a live clock or countdown, a dashboard of gauges for a quota, a budget or a…

Prism-Shadow/penguin-harness · 203 tokens

penguin-plugin

Use for workbenches — the tabs and pages beside the chat, with server code behind them, that an Agent keeps in its own workbenches/ folder inside PenguinHarness — building one, changing it, showing it as the whole app, restoring an earlier version, and removing a tab or a whole workbench when the user wants the custom…

Prism-Shadow/penguin-harness · 78 tokens