Logo Goal Setter

Goal Setter

Cộng đồng
gotalab
goal-setter

Draft, review, or activate a compact /goal when the user wants Codex to keep working until a verifiable result is true. Defines the result, evidence, boundaries, stop conditions, and only useful delegation. Not for ordinary implementation, Q&A, one-off edits, loose brainstorming, or subjective work with no completion test.

Add to TypingMind

Tổng quan

Nhà phát hànhgotalab
Kho mãgoal-setter-skill
Tên kỹ nănggoal-setter
Sao
106
Bản fork
1
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được gotalab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Goal Setter trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/gotalab/goal-setter-skill/tree/main/plugins/goal-setter/skills/goal-setter
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gotalab/goal-setter-skill.git /tmp/goal-setter-skill
mkdir -p .claude/skills
cp -r /tmp/goal-setter-skill/plugins/goal-setter/skills/goal-setter .claude/skills/goal-setter
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Goal Setter trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Goal Setter ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Goal Setter với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Goal Setter

Turn a rough request into a compact /goal: the result to achieve, the evidence that proves it, the boundaries that matter, and when Codex should finish or stop. A Goal is a completion contract, not an implementation plan or a second task system.

Prefer the shortest Goal that preserves the user's real outcome. State each rule once. Leave file discovery, implementation order, agent count, models, and tool details to the running Codex task unless the user fixed them.

Decide whether a Goal fits

Use a Goal when one objective may take many checks or turns and completion can be judged from tests, artifacts, runtime state, screenshots, measurements, sources, or a clear rubric.

Use a normal prompt for a small edit, explanation, or review. If the request is subjective and has no usable completion test, help define the test first instead of pretending the Goal is verifiable.

Understand before drafting

If tools are needed, first tell the user in one or two sentences what evidence you will inspect. Read the smallest useful set of code, docs, sources, or existing artifacts. Do not begin implementation during Goal intake.

Answer three questions:

  1. What result does the user actually need?
  2. What observable evidence would prove it?
  3. What must be learned before those answers are safe?

For a working system or user-facing artifact, trace the real path from user input to the expected output or state. A mock, screenshot, scaffold, fake service, or isolated component does not satisfy a request for a working result unless the user allowed that substitute.

Ask only when a missing answer could change the result, evidence, scope, safety boundary, or stopping condition. If the user explicitly asks to be interviewed or stress-tested, keep asking material questions under the same rule. Check discoverable facts instead of asking. When one answer determines the next question, ask one at a time; otherwise bundle independent blockers. Stop asking once an honest Goal can be written. Make low-risk reversible assumptions explicit and continue.

For uncertain research, name the decision the work should enable, the leading and competing explanations, evidence that would weaken them, and the point at which further searching is unlikely to change the conclusion.

Write the Goal

Write plain prose in the user's terms, without labeled fields. Start with the final state and who it serves. Add only clauses whose removal could change the result, evidence, boundary, iteration, or stopping decision.

Cover what matters for this task:

  • Result and evidence. Name the final state and the concrete place it will be checked. Named requirements need their own evidence; nearby examples or substitutes are supporting evidence only.
  • Real path. For systems and experiences, require the smallest complete user path through the real runtime, data, service, storage, or generated artifact. Visible primary controls must work, be honestly marked unavailable, or be omitted. Check both the parts and the whole when a list of passing items could hide a broken experience.
  • Read first. Name at most one or two important anchors, then let Codex discover adjacent files and tests. Do not turn the Goal into a file inventory.
  • Boundaries. Keep the change to the smallest result that satisfies the request. Update an existing primary document, report, sheet, or tracker instead of creating a duplicate. Name only the few public behaviors, safety rules, permissions, data, billing, or compatibility boundaries that this task could actually break. Do not weaken tests or required behavior to make a check pass.
  • Validation. Use the most relevant honest check. Reproduce bugs before fixing them; measure performance with a stated method; run the focused tests and integration path for code; use the real browser or equivalent for UI; map material research claims to sources and try once to disprove the leading conclusion. When success, failure, timeout, or another distinct result matters, require evidence that each relevant result actually occurred; a check that could not have failed proves nothing. If full validation is unavailable, require the next honest check and report the gap.
  • Done. Completion is pass/fail and covers the whole requested result. Codex checks its own diff, output, and evidence before Done. A correctness, safety, or completion finding blocks; other improvements remain the lead's judgment.
  • Long runs. Only when useful, keep a short execution-notes.md with open checks, evidence, pass/fail/blocked state, and material decisions. If Done is false and no stop condition applies, continue with the riskiest or least-certain open check; do not stop at a plan or unverified next steps. Do not keep a verbose activity log or duplicate the active Goal in GOAL.md.
  • Stop. Stop and report the exact blocker after about three genuinely different failed approaches, when required access or approval is unavailable, or when proceeding would change the agreed result, scope, schema, authentication, billing, production state, or destructive boundary.
  • Final report. Write for someone who saw none of the run. Lead with the outcome and current evidence. Name blocked or unchecked requirements and any material decision the Goal left to Codex.

Use firm words only for real invariants. Do not add generic warnings, exhaustive edge cases, a fixed phase plan, or ordinary command-level parallelism.

Use subagents only when they help

Subagents are useful when an independent investigation, isolated noisy work, separate implementation area, or independent verification could materially change Done. Low-risk work with decisive automated checks usually needs none.

When delegation is needed, the Goal should directly require the named work to be delegated and require its evidence to be considered before Done. Do not copy runtime tool schemas, model settings, agent names, counts, or scheduling instructions into the Goal.

During execution:

  • One lead owns the user's outcome, integration, consequential decisions, final verification, and Done.
  • Give each agent one bounded task with its scope, relevant constraints, evidence to return, and stopping condition. Do not pass the whole conversation when a smaller context is sufficient.
  • Continue an existing agent when the next task depends on what it already learned. Start a new agent for a genuinely independent line of work or a clean independent review.
  • An agent may delegate a smaller independent part when that reduces context or time. Keep ownership clear and avoid delegation chains that add coordination without changing the result.
  • The lead continues non-dependent work while agents run. Wait only when their result is needed for the next decision, integration, or completion claim.
  • Agents share the working files. Parallel writes require clearly separate owned areas and separate checks. One agent and the smaller tasks it delegates own each area; overlapping or tightly coupled writes stay with one owner.
  • Independent verification uses a new read-only agent with the actual artifact and acceptance criteria, not the author's reasoning or a desired verdict. After a material repair, rerun the affected checks and use a new independent review when judgment still controls acceptance.

Keep this adaptive. Do not prescribe a fixed worker count, hierarchy depth, role list, or sequence. The running task chooses the smallest useful shape from current evidence, dependencies, cost, and remaining uncertainty.

create_thread is different: it creates a separate user-owned Codex task. Use or mention it only when the user explicitly asks for separate tasks, threads, or worktrees. For several parallel write tasks, require stable non-overlapping ownership, separate validation, understood shared interfaces, a usable Git/worktree base, and time savings that justify integration. Give each task one owned result, its evidence, and its integration rule. Do not use separate tasks merely because work can be divided, and do not create repository structure only to enable them.

Claude Code may realize the same outcome and evidence rules with its own delegation features. Do not force Codex-specific tool details into portable Goal text.

Length

Start with one sentence or one short paragraph. Complex Goals commonly fit within 800–1,800 characters; 2,500 characters should trigger another compression pass. The runtime hard limit is 4,000 characters.

Run python3 -B scripts/validate_goal_length.py <file> once when practical. Passing the length check does not prove that the Goal is good.

Activate

Use the runtime's native Goal tool when available. In Codex, check get_goal first and reuse a matching active Goal instead of creating a duplicate, then use create_goal unless the user asked only for a draft. If no native Goal tool exists, return the exact /goal ... line. Never claim the Goal was set unless it was.

Before activating, confirm that the result, evidence, important boundaries, stopping condition, and any necessary delegation are clear and proportionate. Remove everything that does not change the run.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Goal Setter làm được gì?

Draft, review, or activate a compact /goal when the user wants Codex to keep working until a verifiable result is true. Defines the result, evidence, boundaries, stop conditions, and only useful delegation. Not for ordinary implementation, Q&A, one-off edits, loose brainstorming, or subjective work with no completion test.

Vì sao nên dùng Goal Setter trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Goal Setter là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Goal Setter trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/gotalab/goal-setter-skill/tree/main/plugins/goal-setter/skills/goal-setter. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Goal Setter?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Goal Setter với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Goal Setter với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Goal Setter có miễn phí không?

Có. Kỹ năng này được gotalab phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇