Agent skill

Better Goal

by ninehills in ninehills/skills

为任意 coding agent 编写高质量任务目标的指南。当用户提到「设定目标」「goal」「任务目标」「持久目标」「完成标准」、或需要为复杂多轮任务(性能优化、调试、迁移、研究复现等)定义可验证的完成条件和约束时触发。

No licenceAuto-check passed

Install Better Goal

skills CLI
$ npx skills add ninehills/skills --skill better-goal -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ninehills/skills better-goal --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ninehills/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/better-goal .claude/skills/better-goal && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
better-goal
GitHub stars
280
Token cost
~937 tokens
SKILL.md length
155 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
None found

At a glance

为任意 coding agent 编写高质量任务目标的指南。当用户提到「设定目标」「goal」「任务目标」「持久目标」「完成标准」、或需要为复杂多轮任务(性能优化、调试、迁移、研究复现等)定义可验证的完成条件和约束时触发。

  • Works in 7 steps: Outcome(结果):工作完成时应该为真的状态 → Verification(验证):证明结果的测试 / 基准 / 产物 / 命令输出 → Constraints(约束):工作过程中不能退化的东西 → …
  • SKILL.md covers 一次性任务 vs 持久目标, 何时使用持久目标, 七个要素 and 编写模板, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Better Goal is an agent skill from ninehills/skills. 为任意 coding agent 编写高质量任务目标的指南。当用户提到「设定目标」「goal」「任务目标」「持久目标」「完成标准」、或需要为复杂多轮任务(性能优化、调试、迁移、研究复现等)定义可验证的完成条件和约束时触发。

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

Example prompts

  • “/better-goal”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Outcome(结果):工作完成时应该为真的状态
  2. Verification(验证):证明结果的测试 / 基准 / 产物 / 命令输出
  3. Constraints(约束):工作过程中不能退化的东西
  4. Boundaries(边界):允许写哪里、禁止碰哪里、可用的资源范围
  5. Iteration policy(迭代策略):每次改多少,改完跑什么检查,如何选择下一步
  6. Stop when(完成条件):什么证据出现时宣告目标达成
  7. Pause if(暂停条件):什么情况下暂停等人工决策(而非继续盲猜或宣告失败)

What it can do on your machine

Read from SKILL.md and the folder at commit f3e82a7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Better Goal loads about 937 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 155 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~937

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 155 words (~937 tokens).

name
better-goal
version
1.2.0
source
https://developers.openai.com/cookbook/examples/codex/using_goals_in_codex

Read the full SKILL.md on GitHub

Files

Just SKILL.md in better-goal of ninehills/skills.

Open the folder on GitHubat commit f3e82a7

Compare with similar skills

Better Goal next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Better Goal compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Better Goal this skillninehills/skills280—~937Automated safety check: PassNone
Goalscodewhale-hq/Codewhale41k—~273Automated safety check: PassMIT
Agent Goal Plannerruvnet/ruflo74k2 repos~842Automated safety check: PassMIT
Goal Planruvnet/ruflo74k—~807Automated safety check: NotesMIT
Better Interfacetrycompai/crm11k—~2kAutomated safety check: PassMIT
Goal Loopsickn33/agentic-awesome-skills47k1 repos~2.6kAutomated safety check: PassMIT

Similar skills

  • Goals

    codewhale-hq/Codewhale

    Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.

    41k GitHub stars~273 tokensUpdated today
    Auto-check passed
  • Agent Goal Planner

    ruvnet/ruflo

    Agent skill for goal-planner - invoke with $agent-goal-planner

    74k GitHub starsUsed in 2 repos~842 tokens
    Auto-check passed
  • Goal Plan

    ruvnet/ruflo

    Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning

    74k GitHub stars~807 tokensUpdated yesterday
    Auto-check: notes
  • Better Interface

    trycompai/crm

    User-invoked, cross-discipline interface review that coordinates better-accessibility, better-layout, better-writing, better-typography, better-colors, and better-ui.

    11k GitHub stars~2k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Goal Loop

    sickn33/agentic-awesome-skills

    Draft and explain persistent goal-loop prompts for long-running agent work with clear stop conditions.

    47k GitHub starsUsed in 1 repo~2.6k tokens
    Agent WorkflowsAuto-check passed
  • Agent skill for code-goal-planner - invoke with $agent-code-goal-planner

    74k GitHub starsUsed in 2 repos~3.6k tokens
    Agent WorkflowsAuto-check passed

More from ninehills/skills

All 38 skills in this repo
  • Alphaear Predictor

    ninehills/skills

    Market prediction skill using Kronos. An agent skill from ninehills/skills.

    280 GitHub starsUsed in 1 repo~531 tokens
    Auto-check passed
  • Alphaear Signal Tracker

    ninehills/skills

    Track finance investment signal evolution and update logic based on new finance market information.

    280 GitHub starsUsed in 1 repo~459 tokens
    Auto-check passed
  • Fireworks Tech Graph

    ninehills/skills

    A skill your agent uses when the user wants to create any technical diagram - architecture, data flow, flowchart, sequence, agent/memory, or concept map - and export as SVG+PNG.

    280 GitHub starsUsed in 2 repos~8k tokens
    Auto-check passed
  • Alphaear Sentiment

    ninehills/skills

    Analyze finance text sentiment using FinBERT or LLM. An agent skill from ninehills/skills.

    280 GitHub starsUsed in 1 repo~499 tokens
    Auto-check passed
  • Bggg Creator Image2ppt

    ninehills/skills

    把图片、截图、海报、PPT 页面截图、HTML 或 SVG 设计稿转换成可编辑 PPTX 的 Codex skill. An agent skill from ninehills/skills.

    280 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Bggg Creator Image2psd

    ninehills/skills

    把一张或多张图片整理成 PSD 图层文件的创作与转换 skill。当用户需要 image2psd、图片转 PSD、 多张图片拼成 PSD、海报/设计稿拆成多个图层、白底转透明、颜色聚类拆层、把 Codex/AI 生图结果拆成元素图再合成 PSD、 或希望输出 layered PSD、可在 Photoshop/Photopea 中编辑的分层栅格文件时,应该使用此 skill。

    280 GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed

Questions about Better Goal

What does Better Goal do?

为任意 coding agent 编写高质量任务目标的指南。当用户提到「设定目标」「goal」「任务目标」「持久目标」「完成标准」、或需要为复杂多轮任务(性能优化、调试、迁移、研究复现等)定义可验证的完成条件和约束时触发。. Better Goal is an agent skill from ninehills/skills.

How do I install Better Goal in Claude Code?

Run `npx skills add ninehills/skills --skill better-goal -a claude-code`. Or copy the skill folder (better-goal in ninehills/skills) into .claude/skills/better-goal in your project. Claude Code loads it when a task matches its description.

How do I install Better Goal in Codex?

Run `npx skills add ninehills/skills --skill better-goal -a codex`. Or copy the skill folder (better-goal in ninehills/skills) into .agents/skills/better-goal in your project. Codex loads it when a task matches its description.

Can I use Better Goal in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ninehills/skills --skill better-goal -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/better-goal, .gemini/skills/better-goal, .github/skills/better-goal and .opencode/skills/better-goal in your project.

What does Better Goal need to run?

SKILL.md names no scripts, command-line tools or credentials: Better Goal is instructions for the agent only.

Does Better Goal access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Better Goal safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Better Goal use?

No licence was found for Better Goal or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Better Goal use?

About 937 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Better Goal?

Skills that share tags, products or a category with Better Goal: Goals (codewhale-hq/Codewhale, 41k stars), Agent Goal Planner (ruvnet/ruflo, 74k stars), Goal Plan (ruvnet/ruflo, 74k stars) and Better Interface (trycompai/crm, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Better Goal?

ninehills (a GitHub user) maintains it in ninehills/skills, which has 280 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on June 22, 2026.

Source: ninehills/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.