goal-meta-skill

goal-meta-skill is a skill for Claude Code from bahayonghang/my-ai-cli-toolkit. It costs 145 tokens per session (2,641 once invoked), scanned A, original, MIT.

A guide for turning an unclear or complex task into a reviewable /goal instruction for coding agents.

In plain words
What is it for?
Use it to draft, review, lint, and optionally prepare a project-root GOAL.md handoff for Claude Code, Codex, Grok Build, Oh My Pi, or Kimi Code.
Why use it?
It makes the desired outcome, limits, checks, and stopping conditions explicit before another agent starts work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Use it to draft, review, lint, and optionally prepare a project-root GOAL.md handoff for Claude Code, Codex, Grok Build, Oh My Pi, or Kimi Code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill
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 bahayonghang/my-ai-cli-toolkit --skill goal-meta-skill
Clone the repo
git clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkit

Made for: Claude Code.

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-meta-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill/github.svg)](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/goal-meta-skill)
Your own site
<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.

agentmods 80×15 button for goal-meta-skill

Your own site · 80×15
<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>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,641 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.00145 $0.02641
Opus 5.5 $0.00058 $0.01056
Sonnet 5.5 $0.00029 $0.00528
Haiku 4.5 $0.00015 $0.00264

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

Security

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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/lint_goal_command.py, scripts/persist_goal_contract.py, tests/lint-goal-command.test.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/developer-tools-integrations/goal-meta-skill/SKILL.md · 108 lines

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

  1. 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 同时触发时,两份契约均须满足。
  2. 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。
  3. S2/S3 — Choose or interview. 具体需求、直接给、按默认 或低风险默认走 fast path。只有结果、验证、边界、风险容忍的实质人类决策缺失时,按 Interview Checklist 复述发现并每轮最多问四项。
  4. S4/S5 — Compile, lint, present. 按 Goal Command Playbook 编译完整无占位符的目标,使用下列 linter 验证每条 Goal,再按 default strategy 的输出顺序展示。每条命令放在无内空行的 text fence 中,标签、理由、选项和字段一览留在围栏外。中文用户默认中文推荐版与英文兼容版;英文用户只给英文。普通初稿标记 DRAFT、提示审阅并停止。保存须先展示精确根目录/文件名、完整正文或 diff、create/replace 与 Git 可见性影响;已有明确授权且无冲突则同轮继续 S6。
  5. S6 — Approve text or persist, then stop. 普通后续批准仅返回 APPROVED TEXT — not launched、最终可复制 fence、字段一览及 skill 外启动说明。已授权保存用下列 writer 从 stdin 写入展示的合同,回读核对正文、字节数和 SHA-256;再输出一个选定平台的显式读取 launcher,说明已保存、Goal 未启动,并停止。任何分支均不派发或实施 payload。

Read the full file on GitHub · 108 lines

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 · -45 tokens per session 90d6944fabfd
  2. 2mo ago Changed · -52 lines 3e32889841dc
  3. 2mo ago Changed a2065a534cc6
  4. 2mo ago Changed ea865cd8c840
  5. 3mo ago First seen · 160 lines · 190 tokens per session scan A 5ecccc7484fa

Subscribe to this mod's changes

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.

Related

goal-meta-skill compared with skills from other repositories

goal-meta-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
goal-meta-skillbahayonghang/my-ai-cli-toolkitSkill17todayMITA145Claude Code
workflowjeremylongshore/tons-of-skills-marketplaceSkill3.0kyesterdayMITB101Claude Code
rational-buddhismkangarooking/cangjie-skillSkill13k1mo agoMITA166Claude Code, Codex
ask-ai-to-audit-itselfalivirgo/Major-AI-SkillsSkill6todayMITA28Claude Code
cite-specific-section-numbersalivirgo/Major-AI-SkillsSkill6todayMITA22Claude Code
flag-speculative-statementsalivirgo/Major-AI-SkillsSkill6todayMITA23Claude Code
agent-reach-wrapperStijnman/grok-custom-skillsSkill161mo agoMITA138Claude Code, Codex