Logo Setup

Setup

Tổ chức
modelplan
setup

Check and finish the ModelPlan Codex plugin's setup - after it is installed or upgraded, or whenever the user asks why ModelPlan quota hints or the task-start brief do not appear. Reports each part (plugin, its own CLI, hook, hints) on its own and says what to do about what is not ready.

Tổng quan

Nhà phát hànhmodelplan
Kho mãmodelplan
Tên kỹ năngsetup
Sao
41
Bản fork
3
Tệp đi kèm
Chỉ có hướng dẫn
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 là Markdown thuần túy, không phải 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ộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được modelplan công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Setup 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/modelplan/modelplan/tree/main/codex/skills/setup
  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/modelplan/modelplan.git /tmp/modelplan
mkdir -p .claude/skills
cp -r /tmp/modelplan/codex/skills/setup .claude/skills/setup
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 Setup 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ự tải Setup 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 Setup không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Codex may run this after the plugin is installed; the user can also ask for it at any time ("check ModelPlan setup"). A user's question always gets a full answer, whatever the automatic notices did before. Keep it short and in the user's language.

To turn automatic hints off or on, run sh "<plugin root>/hooks/automatic-hints.sh" off or on only when the user requests that choice. Check with sh "<plugin root>/hooks/automatic-hints.sh" status and refresh get_model_dashboard. Default is on; the setting persists in ~/.config/modelplan/codex/automatic-hints. Off silences all UserPromptSubmit output, including notices and the task-start brief. Explicit tools, slash commands and the panel continue to work; do not ask to re-enable hints.

  1. Check, and report each part on its own line:
    • Plugin: answering if get_model_dashboard works; its structuredContent.setup has the rest.
    • CLI (setup.cli.status): the plugin brings its own, the release pinned in cli-pin.json, fetched in the background into ~/.cache/modelplan-cli and used only if its SHA-256 matches the pinned one. ok (source plugin, or user for one the user installed), fetching, failed (with fetchError or error), outdated (the user's own older copy while the plugin's is missing), missing (MODELPLAN_PLUGIN_CLI=off and none installed) or unsupported (platform not supported). Without the tool: sh "<plugin root>/hooks/find-cli.sh", then <path> version.
    • Hook: setup.hook.lastRun empty means Codex has not run it yet, normally because it is not trusted.
    • Automatic hints: setup.automaticHints is the saved on/off preference, default on. When false, say “off by choice”; this is not a setup failure.
    • Hints: when automatic hints are on, ready when the CLI is ok (or outdated) and the hook's last run computed them.
    • Other plans (optional, setup.codexbar): off when enabled is empty; otherwise each enabled provider's status (ok, or why not and needs). Null means the CLI is not ready or predates it. Never call a part done because a command was run; only what the check shows.
  2. CLI not ready: nothing to install or agree to; installing or updating the plugin is enough. fetching: it lands within a minute or so, hints start with the next message after that. failed: say why; the dashboard's Retry fetches again, or run sh "<plugin root>/hooks/fetch-cli.sh", which prints the error if it fails (download failed: network, proxy or GitHub; checksum mismatch: nothing was installed, retry later and report it if it persists). unsupported: explain that public clients support macOS and Linux; do not suggest an installation for an unsupported platform.
  3. Skip hook-trust troubleshooting when automatic hints are off, unless the user asks. Otherwise: hook not run (setup.hook.lastRun empty), its definition changed (setup.hook.current false), or its last run failed (setup.hook.result starts with failed, with the exit code and error; lastSuccess is the last good run). These records are this machine's, from any chat; plugins cannot see trust, so never say the hook is trusted, only when it last ran and how. Codex runs plugin hooks only after the user allows them. The review lists it as "UserPromptSubmit · Hook 1", source Plugin - modelplan-codex@modelplan, command sh "$PLUGIN_ROOT/hooks/modelplan-quota-hints.sh", timeout 5 s. It reads the local quota and the cached publication and only adds context; it downloads and changes nothing (the plugin's server fetches the CLI). To allow it: in the desktop app, the hook icon with a yellow dot next to the input, source modelplan-codex; in the CLI, /hooks. It starts with the next message, and a changed definition needs allowing again. Hints arrive with a prompt only, not during a long turn. Do not change hook trust yourself.
  4. Other plans through CodexBar (optional, off by default). If setup.codexbar.enabled is empty, mention once, in one sentence, that the dashboard can also show GitHub Copilot, Cursor, Z.ai / GLM Coding Plan, Kiro or OpenCode Go usage, and ask which of these the user has; do not push it. Before enabling, say plainly what it means: ModelPlan then runs CodexBar (an open-source, MIT-licensed CLI, https://github.com/steipete/CodexBar), fetched on first use at the release pinned in the CLI and checked against its SHA-256, into the modelplan cache (codexbar/<version>; on macOS ~/Library/Caches/modelplan); CodexBar reads each enabled vendor's own sign-in on this machine (browser cookies or the app's token for Cursor, an API key the user stores in CodexBar's config for Z.ai, Copilot and OpenCode Go, kiro-cli login for Kiro) and asks that vendor for the usage. ModelPlan itself never reads those credentials; it keeps only the percentages and reset times, and nothing is uploaded. Only after the user names providers and agrees, run "<setup.cli.path>" codexbar enable <ids…> (ids: copilot, cursor, zai, kiro, opencodego) and show its output; "<setup.cli.path>" codexbar disable [ids…] turns them off again. A minute later "<setup.cli.path>" codexbar (or the dashboard) shows each provider: for one that is not ok, give its needs line as the next step, for the user to run in their own terminal (outside Codex, so no key lands in the conversation). Never type, paste or store a key or token yourself, and never open browser or Keychain data.
  5. Offer the dashboard (open_model_dashboard); it shows the same setup lines. For a full check: node "<plugin root>/doctor.cjs" --lang zh.

Never switch the model, effort or Fast, and never redeem a reset credit; those stay the user's.

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

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

Check and finish the ModelPlan Codex plugin's setup - after it is installed or upgraded, or whenever the user asks why ModelPlan quota hints or the task-start brief do not appear. Reports each part (plugin, its own CLI, hook, hints) on its own and says what to do about what is not ready.

Vì sao nên dùng Setup 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. Setup 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 Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/modelplan/modelplan/tree/main/codex/skills/setup. TypingMind đọc tệp SKILL.md và cài đặt thành 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 Setup?

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.

Bạn có thể dùng Setup 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 Setup 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 Setup có miễn phí không?

Có. Kỹ năng này được modelplan 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇