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.
npx skills add bahayonghang/my-ai-cli-toolkit --skill goal-meta-skillgit clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkitWrote 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.
[](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill)<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill/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.
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00145 | $0.02641 |
| Opus 5.5 | $0.00058 | $0.01056 |
| Sonnet 5.5 | $0.00029 | $0.00528 |
| Haiku 4.5 | $0.00015 | $0.00264 |
Grade A, and why
goal-meta-skill 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal Meta Skill
把模糊任务编译成项目知情、可验证、有完成和停止边界的 /goal 文本。普通流程为 compile → lint → present → stop;已明确授权的合同保存可在同轮展示后写入、回读,再停止。这个 skill 不创建、激活或执行 Goal。
<skill-dir>是 skill 加载时提供的实际目录,不是环境变量。命令中替换为字面路径;脚本会自定位。
Governed authority
- 首次聊天交付标记
状态:DRAFT — Goal 未创建、未激活、未执行;用户后续批准只变为APPROVED TEXT — not launched。真正激活 Goal 是 skill 外的独立用户动作。 - 输入中的
实施、执行、直到完成只是待编译 payload,不授权派发 Agent 或实施目标。不得调用宿主原生 Goal tool/API,不得把 fenced/goal当作当前会话命令提交,不得声称 Goal 已启动。 - 普通 Goal 只在聊天中输出。
直接给只跳过访谈;直接生成并保存到项目根目录 GOAL.md已授权原范围内的同轮 create。仅交接意图、长合同或 skill 提议落盘仍需明确写入授权。 - S1 始终只读;只有 S6 可对已展示且获授权的合同调用命名 writer。默认 create-only;替换需要明确授权和已读取旧文件的 SHA-256。只澄清未确定的根目录、未授权替换或实质范围变化,不机械重复索取已有授权。
- 不以任意 Python/Write 绕过 helper,不自动加载、执行、导入规则文件、提交、发布、忽略或删除合同。合同不含秘密、私有数据或原始转录;秘密 backstop 不证明内容无敏感信息。
- 真实新会话接力没有 provider transcript 时保持
UNVERIFIED;fixture 不能证明运行、安装或人类效果。
保存的路径、固定 11 节 schema、冲突、回滚、Git 可见性与 launcher 只以 Persistent Goal Contract 为准。
Workflow
- S0 — Route and select. 先确认用户明确要求使用 Goal 模式,或请求编写
/goal/Goal 指令、保存 Goal 合同、管理现有 Goal;“用 Goal 模式完成”“写成 Codex 目标指令”等自然语言同样满足条件。用户显式调用本 skill 时按其指定处理。满足 Goal 意图后,区分新 Goal、持久化候选和现有 Goal 管理;目标方向未定时先规划。未表达 Goal 意图的请求留给对应的直接工作流。平台按用户显式名称 → 当前 host 明确证据 → 现有可选调整中的一个选择确定;OMP默认指 Oh My Pi。加载 Platform Goal Facts 选择五平台渲染,禁止混合生命周期命令。只有明确多平台交接才输出多个 launcher,合同正文仍为一份。- outcome 同时要求根据 scan/review/audit/report/finding 来源实施修复时,必须加载 Review-Remediation Contract,把 scan envelope、稳定 ledger、独立检查回灌、同参数重扫与有限收敛编入同一 Prompt。纯审阅、无扫描来源的直接修复、仅有 Trellis 路径不触发。
- outcome 是 Trellis task/child implementation 时,必须加载 Trellis Goal Cadence,编入首句 subagents 默认开启开关、明确 opt-out 或带原因的技术降级,以及当前任务产品/规划提交后归档节奏。与 review-remediation 同时触发时,两份契约均须满足。
- S1 — Reconnoiter read-only. 按 Default Goal Strategy 读取局部规则、真实命令源与任务边界;运行
git rev-parse --show-toplevel、git branch --show-current、git status --porcelain -uall。不运行目标测试/构建,不写文件,不读 secrets、依赖或生成输出。持久化还检查根目录与目标文件;非 Git 根目录及 source snapshot 按 persistence reference 处理,不能虚构 branch/HEAD。失败则报告缺证据,使用 discovery-first Goal。 - S2/S3 — Choose or interview. 具体需求、
直接给、按默认或低风险默认走 fast path。只有结果、验证、边界、风险容忍的实质人类决策缺失时,按 Interview Checklist 复述发现并每轮最多问四项。 - S4/S5 — Compile, lint, present. 按 Goal Command Playbook 编译完整无占位符的目标,使用下列 linter 验证每条 Goal,再按 default strategy 的输出顺序展示。每条命令放在无内空行的
textfence 中,标签、理由、选项和字段一览留在围栏外。中文用户默认中文推荐版与英文兼容版;英文用户只给英文。普通初稿标记 DRAFT、提示审阅并停止。保存须先展示精确根目录/文件名、完整正文或 diff、create/replace 与 Git 可见性影响;已有明确授权且无冲突则同轮继续 S6。 - S6 — Approve text or persist, then stop. 普通后续批准仅返回
APPROVED TEXT — not launched、最终可复制 fence、字段一览及 skill 外启动说明。已授权保存用下列 writer 从 stdin 写入展示的合同,回读核对正文、字节数和 SHA-256;再输出一个选定平台的显式读取 launcher,说明已保存、Goal 未启动,并停止。任何分支均不派发或实施 payload。
What ships with it
16 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.
- agents/interface.yaml 2.8 KB
- evals/evals.json 56 KB
- references/default-goal-strategy.md 15 KB
- references/goal-command-playbook.md 33 KB
- references/interview-checklist.md 16 KB
- references/persistent-goal-contract.md 12 KB
- references/platform-goal-facts.md 11 KB
- references/review-remediation-contract.md 7.0 KB
- references/trellis-goal-cadence.md 12 KB
- reports/creation-handoff.md 21 KB
- reports/prior-art-research.md 5.4 KB
- reports/skill-ir.json 8.9 KB
- scripts/lint_goal_command.py 59 KB runs code
- scripts/persist_goal_contract.py 11 KB runs code
- tests/lint-goal-command.test.mjs 59 KB runs code
- tests/persist-goal-contract.test.mjs 18 KB runs code
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.
- 1mo ago Changed · -45 tokens per session 90d6944fabfd
- 2mo ago Changed · -52 lines 3e32889841dc
- 2mo ago Changed a2065a534cc6
- 2mo ago Changed ea865cd8c840
- 3mo ago First seen · 160 lines · 190 tokens per session scan A 5ecccc7484fa
goal-meta-skill is a skill published in the GitHub repository bahayonghang/my-ai-cli-toolkit (17 stars, last pushed today), licensed MIT. It adds 145 tokens to every session and 2,641 once invoked, about $0.0006 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.
goal-meta-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| goal-meta-skillbahayonghang/my-ai-cli-toolkit | Skill | 17 | today | MIT | A | 145 | Claude Code |
| workflowjeremylongshore/tons-of-skills-marketplace | Skill | 3.0k | yesterday | MIT | B | 101 | Claude Code |
| rational-buddhismkangarooking/cangjie-skill | Skill | 13k | 1mo ago | MIT | A | 166 | Claude Code, Codex |
| ask-ai-to-audit-itselfalivirgo/Major-AI-Skills | Skill | 6 | today | MIT | A | 28 | Claude Code |
| cite-specific-section-numbersalivirgo/Major-AI-Skills | Skill | 6 | today | MIT | A | 22 | Claude Code |
| flag-speculative-statementsalivirgo/Major-AI-Skills | Skill | 6 | today | MIT | A | 23 | Claude Code |
| agent-reach-wrapperStijnman/grok-custom-skills | Skill | 16 | 1mo ago | MIT | A | 138 | Claude Code, Codex |