Setup Ox 标志

Setup Ox

组织
overextended
setup-ox

Configure the Overextended skills. Picks which model and reasoning level each subagent role uses within a budget you choose, then detects your FiveM server, its ox resources and framework. Writes `~/.config/ox/models.md` and `.ox/config.md`, which the other ox skills read.

概览

发布者overextended
代码仓库skills
技能名称setup-ox
星标数
22
复刻数
4
附带文件
1
许可协议GPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 overextended 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Setup Ox AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/overextended/skills/tree/main/skills/ox/setup-ox
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/overextended/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/ox/setup-ox .claude/skills/setup-ox
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Setup Ox,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Setup Ox。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Setup Ox 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Setup ox

Write the two files the ox skills read when they run:

  • ~/.config/ox/models.md (Part A): which model and reasoning level each subagent role uses. It belongs to the user and their harness, so it lives in their home directory and is never committed.
  • .ox/config.md (Part B): what this server runs: where it is, which ox resources and versions, which framework, which language. It belongs to the project, at the server root.

Run Part A, then Part B. If the user passed models or project as an argument, run only that part.

Part A: models and budget

A1. Detect available models

Read the parameters of the tool your harness uses to start a subagent. The models and the reasoning-effort levels it enumerates are the only valid entries. In Claude Code that is the Agent tool's model and effort parameters. Never write a model or effort the tool does not list. An entry is <model>, plus (<effort>) when the tool takes an effort.

If the harness has no subagent tool, or the tool takes no model, say so and write inherit for every role. inherit is always valid: the role runs on the parent session's model and reasoning level.

In T3 Code the subagent tool is delegate_task, and orchestrator_capabilities lists the models of every provider whose canRunChildTask is true. An entry there is <providerInstanceId>/<model> (<effort>), with the effort option that tool lists for the model, so a panel can span providers.

Record the harness by name (claude-code, codex, t3-code, cursor, ...): entries are only valid in the harness that listed them.

A2. Load current state

If ~/.config/ox/models.md already exists, read it. Treat its # budget line and its role values as the current choices. If its # harness line names a different harness from this one, its entries don't apply here: start from the defaults and say so. Drop any line whose role isn't in A5.

A3. Budget, map, and confirm

(a) Ask for a budget. Ask plainly in the thread. Offer these four options with these exact labels, and name the current budget when the file records one.

  • unlimited - max reasoning
  • large - xhigh reasoning
  • medium - high reasoning
  • small - medium reasoning

(b) Apply it. Build the working table from the defaults, and on a re-run keep any role the user changed by hand. The defaults:

RoleWhat runs in itDefault model
exploreRead-only searches across resources and ox source: finding exports, events, callers, convarsThe fastest model detected
verify apiChecking an export, function signature or callback shape against the resource's current source before code uses itThe fastest strong coding model detected
implementWriting or changing resource code: client, server, shared, NUIThe fastest strong coding model detected
reviewReviewing a change for bugs, ox API misuse, and server trust (client-triggered events, unvalidated input, exploits)The most capable model detected
hardest tasksDesigning a resource, debugging problems that cross resources or the client/server boundary, explaining a subsystem from several explorers' findingsThe most capable model detected
panelRunning one task on several models side by side: arena candidates, architect sketches, interrogate reviewers. A list, one seat per entryThe most capable model of each provider detected, up to three. With one provider, its most capable models, up to three

unlimited, large, medium and small set the effort of every entry to max, xhigh, high or medium, on the ladder max > xhigh > high > medium > low. If a model doesn't list the target, use the highest ladder option below it that the model lists, else mark the role as needing a choice. Never pick an option off the ladder. A model with no effort option gets no (<effort>). inherit doesn't change. In panel, the effort applies to every entry.

(c) Show the roles and confirm. Show every role with its entry, marking any entry not in the detected set as needing a choice. Ask whether to accept as-is or change specific roles, offering the detected models plus inherit as the options. For panel, the user picks a list: its length sets how many seats run. Ask plainly in the thread.

A4. Validate

Every entry written, including each panel entry, is in the A1 result: the model is one the subagent tool lists, and its effort, when it has one, is one the tool lists. inherit always passes. If a chosen entry isn't available, stop and ask again.

A5. Write the file

Write ~/.config/ox/models.md (create ~/.config/ox/ if it is missing). Overwrite the whole file so re-runs stay idempotent. Shape:

# ox skills model configuration. Written by /setup-ox. One line per role.
# Delete a line, or write `inherit`, to run that role on the parent session's model and reasoning level.
# harness: <harness>
# budget: <label> (<effort>)
explore: <model> (<effort>)
verify api: <entry>
implement: <entry>
review: <entry>
hardest tasks: <entry>
panel: <entry>, <entry>, <entry>

Part B: project

B1. Find the server root

Start from the current directory and walk up until you find a server.cfg, or a directory holding both resources/ and a server.cfg. That directory is the server root. If the current directory is a single resource (it has an fxmanifest.lua), keep walking up past it.

  • One server root found: use it.
  • Several found (e.g. a repo holding more than one server): list them and ask which one.
  • None found: this is a standalone resource repo. Ask for the path to the server it runs on. If the user has none, use the current directory as the root and record server root: none.

B2. Detect

Read the server; don't assume. Every value below comes from a file you read, never from memory. Hand this to an explore subagent when the server is large, using its line from ~/.config/ox/models.md.

  • Resources. Find every fxmanifest.lua under the server root's resources/, including bracket folders like [ox]. The resource name is its folder name. Read the version field of each.
  • ox resources. From that list, keep every resource whose name starts with ox_, plus oxmysql. Record each name with its version.
  • Framework. Look for ox_core, qbx_core, es_extended, qb-core and ND_Core in the resource list. Record each one present with its version.
  • Started resources. Read the ensure / start lines in server.cfg, following any exec into other .cfg files. A resource that exists but is never started is listed as present but not started.
  • Locale. Read the ox:locale convar from the cfg files if it is set.
  • Language. For each resource the user owns (outside the ox resources and the framework), note whether it is Lua (.lua scripts in its manifest) or TypeScript/JavaScript (a package.json, a build step, scripts pointing into dist/).
  • Resources dir. Find the folder the user's own resources live in, usually resources/[local] or similar. Pick the bracket folder holding the most user-owned resources.

The cfg files hold secrets (mysql_connection_string, sv_licenseKey, steam_webApiKey, set lines with tokens). Never copy a secret into the config file or into your reply, and never echo a whole cfg line that holds one.

Never read files such as secrets.cfg or tokens.cfg that are meant to be private.

B3. Load current state

If .ox/config.md already exists at the server root, read it. Treat its values as the current choices, and mark every line where detection now disagrees with it (a resource updated, removed, or added since the last run). Drop any line whose key isn't in B6.

B4. Show and confirm

Show the user one table: every setting from B6 with its detected value, marking anything that disagrees with the current file and anything detection couldn't settle as needs a choice. Then ask, in one message, whether to accept it as-is or change specific lines.

Where a line needs a choice, offer these options with these exact labels:

  • framework: ox_core, qbx_core, es_extended, qb-core, ND_Core, standalone. If more than one framework is started, ask which one new code targets.
  • language: lua, typescript, javascript. Default to the language most of the user's resources use, else lua.
  • resources dir: the detected folder, or a path the user gives.

Skip any question detection already settled unambiguously; the table already shows the answer.

B5. Validate

  • framework is either standalone or a resource present in the server. If it is present but not started, say so.
  • resources dir exists under the server root.
  • If ox_lib isn't present, warn that most ox skills assume it and ask whether to continue.
  • Every version written is the one read from that resource's fxmanifest.lua.

If a value fails, stop and ask again.

B6. Write the file

Write .ox/config.md at the server root (create .ox/ if it is missing). Overwrite the whole file so re-runs stay idempotent. Shape:

# ox setup. Written by /setup-ox. Re-run it after adding, removing or updating resources.
# Delete a line to make skills detect that value themselves.
server root: <path from this file to the server root, "." when they are the same, or "none">
resources dir: <path relative to the server root>
framework: <name> <version>, or standalone
language: lua | typescript | javascript
locale: <value of ox:locale>, or en (ox_lib's default when it is unset)
ox resources: <name> <version>, <name> <version>, ...
not started: <name>, <name>, ... or none

If the project is a git repository, ask whether .ox/ should be committed (so everyone on the project shares it) or added to .gitignore. Recommend committing it.

Confirm

Tell the user which files were written. The ox skills read them the next time they run. Re-running /setup-ox updates them: /setup-ox models after changing plan or harness, /setup-ox project after any resource update, since skills teach the API of the version recorded in .ox/config.md.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Setup Ox AI 技能有什么作用?

Configure the Overextended skills. Picks which model and reasoning level each subagent role uses within a budget you choose, then detects your FiveM server, its ox resources and framework. Writes `~/.config/ox/models.md` and `.ox/config.md`, which the other ox skills read.

为什么在 TypingMind 中使用 Setup Ox?

因为您只需安装一次,就能搭配任何模型使用。Setup Ox 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Setup Ox?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/overextended/skills/tree/main/skills/ox/setup-ox。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Setup Ox?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Setup Ox 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Setup Ox 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Setup Ox AI 技能免费吗?

是的。overextended 已在 GitHub 上根据 GPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇