define-goal 是什么?
把模糊意图整理为可验证的目标,并在用户明确要建立目标时调用目标工具。目标应描述最终结果、实际验收证据、范围和停止条件;它只负责目标定义,不负责创建长期日志或替代后续实施。
中文说明由本站依据来源整理;英文原文保留在页面下方。
适合用在
- 用户明确想创建目标、补充成功标准,或需要把模糊意图整理成结果、证据、范围与停止条件。
这些情况不适合
- 普通多步骤工作但用户没有要求建立目标;来源明确将持久快照、决策日志和长期执行资料排除在职责之外。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
define-goal,然后按本页使用示例提供材料。
展开并复制给 Codex 的安装指令
安装并检查 define-goal
请在 Codex 的当前工作环境中安装并检查 define-goal 这个 Skill。
项目身份:openai/skills / define-goal
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/define-goal/SKILL.md
已定位的源文件:skills/.curated/define-goal/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 define-goal
请在 Claude Code 的当前工作环境中安装并检查 define-goal 这个 Skill。
项目身份:openai/skills / define-goal
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/define-goal/SKILL.md
已定位的源文件:skills/.curated/define-goal/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 define-goal
请在 Cursor Agent 的当前工作环境中安装并检查 define-goal 这个 Skill。
项目身份:openai/skills / define-goal
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/define-goal/SKILL.md
已定位的源文件:skills/.curated/define-goal/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 define-goal
请在 当前 Agent 的当前工作环境中安装并检查 define-goal 这个 Skill。
项目身份:openai/skills / define-goal
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/define-goal/SKILL.md
已定位的源文件:skills/.curated/define-goal/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。装好以后,具体怎么用?
准备哪些材料
- 说明希望发生的具体变化、涉及的系统或工件、能获取的验收证据和必要边界。
会得到什么
- 包含结果、范围和验证办法的一条目标;工具创建状态需与文字草稿分开。
实际使用顺序
- 先判断用户是否真正在请求定义或创建目标;普通开发任务应直接做,不能强加目标创建流程。
- 把意图改写为结果,选择能证明成功的实际指标或二元检查;缺失信息会改变目标时再问关键问题,避免装饰性数字。
- 创建前检查是否已有活动目标;复用一致目标,冲突时先澄清。只有目标清楚且已获用户请求,才调用create_goal,预算也仅在用户要求时设。
从一个具体任务开始
本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。
复制一个具体任务
教学示例:用 define-goal 帮我改写“优化登录性能”这个意图。这次只拟目标,不调用目标工具。已知范围是测试环境的登录接口,现有基准脚本会报告p95,当前约900ms;请指出还需要确认哪些基准条件和成功阈值,不自行编造生产SLA。预期形成可讨论的目标草稿和最必要的缺项;本站未调用目标工具执行本例。
使用条件与边界
- 活动描述如“继续研究”不是完成条件;没有测量依据时不能为了定量而虚构精确阈值。
常见问题
每个复杂任务都要先创建目标吗?
来源明确说不用。只有用户请求目标定义、目标工具或澄清目标时使用,普通实现工作直接进行。
它负责持久化整个执行过程吗?
不负责。本版本限定目标定义和创建,不生成快照、台账、决策日志或恢复文件。
来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
- 中文使用说明
- 已针对下方源文件版本整理用途、用法和常见问题
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料
skills/.curated/define-goal/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.
查看源文件章节 / Source sections
- 原文:Define Goal
- 原文:Overview
- 工作流程 / Workflow
- 原文:Goal Quality Bar
- 原文:Quantification Heuristics
- 原文:Clarifying Questions
原文:Overview
Shape the user's intent into an objective an agent can pursue honestly. Prefer measurable outcomes, explicit evidence, and bounded scope over activity descriptions. This skill covers goal definition and goal-tool creation only. Do not create intermediate planning artifacts, durable snapshots, ledgers, decision logs, or resume files from this skill.
工作流程 / Workflow
1. Confirm that goal definition is actually needed. - Use this skill when the user asks for `$define-goal`, asks to create or set a goal, asks for the goal tool, or wants help turning an intention into a clear objective. - If the user only asks for ordinary implementation work, do the work directly instead of forcing goal creation. 2. Restate the likely goal in concrete terms. A usable goal names: - the specific outcome that will be true - the main artifact, system, repo, environment, or user-facing behavior involved - how completion will be verified - what is in scope - what is out of scope when ambiguity would matter - the stop condition for asking the user instead of grinding 3. Make it quantitative when the domain supports it. Prefer numbers that represent real success, not decorative precision: - pass/fail validators: exact tests, checks, CI jobs, evals, commands, or acceptance criteria - quality thresholds: latency, error rate, cost, accuracy, recall, precision, coverage, flake rate, bundle size, memory, uptime, completion rate, or manual review criteria - artifact constraints: file paths, affected modules, allowed commands, output formats, target environments, deadlines, or maximum blast radius - evidence counts: number of reproduced failures, successful reruns, reviewed examples, migrated records, addressed comments, or verified cases 4. Repair weak goals before setting them. - Rewrite vague goals into measurable objectives when local context makes the rewrite safe. - Ask one concise clarification question when the missing detail changes the intended outcome or validation. - Reject pure activity goals such as "make progress," "keep investigating," "improve things," or "work on X" unless they are sharpened into a verifiable outcome.
本段为节选,完整内容见源文件。
原文:Goal Quality Bar
Before `create_goal`, the objective should answer: - What concrete thing will be true when this is done? - What evidence will prove it? - What quantitative or binary threshold defines success? - What scope boundaries matter? - What should cause the agent to stop and ask? Good: > Reduce checkout API p95 latency below 250 ms for the documented slow path by making the smallest safe server-side change, then verify with `npm run test:checkout` and the existing local latency benchmark showing p95 under 250 ms across 3 consecutive runs. Good: > Resolve the open review comments on PR 123 that request code changes, update only the affected auth files and tests, and verify with the targeted auth test command plus `gh pr view 123` showing no unresolved change-request threads. Weak: > Make checkout faster. Weak: > Keep investigating the PR comments.
原文:Quantification Heuristics
- For bugs, define success as reproduction first, fix second, and a failing-then-passing validator when possible. - For tests, name the exact command and required pass condition. - For performance, name the metric, target threshold, measurement method, and number of runs. - For quality work, define an observable acceptance bar such as reviewed examples, lint/typecheck/test pass, or user-approved artifact. - For research, define the decision the research must enable, the sources or systems in scope, and the evidence standard. - For operations, define healthy state, monitoring window, failure threshold, and rollback or escalation trigger.
原文:Clarifying Questions
Ask only when a reasonable rewrite would risk pursuing the wrong outcome. Keep the question short and oriented around the missing validator or scope boundary. Useful question shapes: - "What metric should define success here: latency, cost, accuracy, or user-visible behavior?" - "Which environment should I verify against: local, staging, or production?" - "What is the minimum evidence you want before I mark this goal complete?" If the user cannot provide a metric, propose the most honest binary validator available and ask for confirmation.
文件 SHA256:708df89ff19cbae82a762efae036735d1914b5c7e44df1832e0b723f6cd9ee30
仓库许可证记录:未提供;not-established,查看来源。
Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.
历史收录数据
| 来源仓库 | openai/skills |
|---|---|
| Skill源路径 | skills/.curated/define-goal/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
