Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Let a bot turn native Codex skills off
Ooi Pin Junf4fe97681b7b
diff --git a/server/drivers/codex-guest.ts b/server/drivers/codex-guest.tsindex a5470a9d4f..c0bb14cc56 100644--- a/server/drivers/codex-guest.ts+++ b/server/drivers/codex-guest.ts@@ -1,3 +1,5 @@+import { disabledNativeSkillNames } from "../native-skill-choices.ts";+const plainRecord = (value: unknown): Record<string, unknown> | null =>value && typeof value === "object" && !Array.isArray(value)? value as Record<string, unknown>@@ -13,3 +15,19 @@ export function codexShellDisabled(config: unknown): boolean {const features = plainRecord(plainRecord(config)?.features);return features?.shell_tool === false && features?.unified_exec === false && features?.view_image === false;}++/** `-c skills.config=[…]` so Codex skips native skills this bot switched off, without touching ~/.codex/skills. */+export function codexDisabledNativeSkillArgs(botId: string | undefined): string[] {+ const names = disabledNativeSkillNames(botId ?? "");+ if (!names.length) return [];+ const tables = names.map((name) => `{name=${JSON.stringify(name)},enabled=false}`).join(",");+ return ["-c", `skills.config=[${tables}]`];+}++/** Guest confinement and per-bot native skill disables for one Codex turn. */+export function codexTurnConfigArgs(turn: { guestConfined?: boolean; botId?: string }): string[] {+ return [+ ...(turn.guestConfined ? GUEST_CONFINED_CODEX_ARGS : []),+ ...codexDisabledNativeSkillArgs(turn.botId),+ ];+}diff --git a/server/drivers/codex.ts b/server/drivers/codex.tsindex 2393ea4905..edd32e0e28 100644--- a/server/drivers/codex.ts+++ b/server/drivers/codex.ts@@ -2,7 +2,7 @@ import { decodeRoutedCodexConfig, managedCodexArgs, endpointCodexArgs, type Codeexport { managedCodexArgs, endpointCodexArgs } from "./codex-endpoint-config.ts";import { codexActionFailure } from "./codex-action-notice.ts";import { codexToolSurfaceArgs } from "./codex-tool-surface.ts";-import { codexShellDisabled, GUEST_CONFINED_CODEX_ARGS } from "./codex-guest.ts";+import { codexShellDisabled, codexTurnConfigArgs } from "./codex-guest.ts";import { TEAM_TOOLS_FAILED, teamToolsFailed } from "./team-tools.ts";import { enabledMcpMounts, mcpStartupTracker, supportsMcpStartup } from "./codex-mcp-startup.ts";import { boxProxyEnvNames, type McpApprovalMode, mountMcpServer } from "./codex-mcp-mount.ts";@@ -550,7 +550,7 @@ export const CodexDriver: ProviderDriver<CodexConfig> = {// Native shell snapshots can restore variables the shell policy removed....(turn.toolScope === undefined && !authBridge ? [] : ["-c", "features.shell_snapshot=false"]),// A guest-driven turn: no shell, no file reads (-c wins over config files).- ...(turn.guestConfined ? GUEST_CONFINED_CODEX_ARGS : [])];+ ...codexTurnConfigArgs(turn)];const codexConfig = codexConfigMcp(env), declaredInCodexConfig = codexConfig.names;if (turn.toolScope !== undefined) appServerArgs.push(...codexMcpDisableArgs(declaredInCodexConfig));const baseEnv = new Map(Object.entries(env).filter(([, value]) => value !== undefined));diff --git a/server/host/skills-library.ts b/server/host/skills-library.tsindex ffb56be08f..91b9067fd2 100644--- a/server/host/skills-library.ts+++ b/server/host/skills-library.ts@@ -11,6 +11,7 @@ import {importedSkillListings, importedSkillsFor, importedSkillsPrompt, listedImportedSkills, nativeSkillFolders, readImportedSkillFile,readImportedSkills, type ImportedSkillView, type SkillTurnEngine,} from "../imported-skills.ts";+import { disabledNativeSkillNames, isNativeSkillEnabled } from "../native-skill-choices.ts";import { nativeSkillListing, nativeSkills, readNativeSkillFile } from "../native-skills.ts";import { redactSecretsInText } from "../redact.ts";import { readSectionContext } from "../section-context.ts";@@ -92,7 +93,7 @@ export function createSkillsLibraryHost(deps: SkillsLibraryHostDeps) {const own = ownSkills(bot);const listed = [...own, ...importedSkillListings(bot.id, new Set(own.map((skill) => skill.name)), aboutBot(bot))];const names = new Set(listed.map((skill) => skill.name));- return [...listed, ...nativesFor(bot, threadId).filter((skill) => !names.has(skill.name)).map(nativeSkillListing)];+ return [...listed, ...nativesFor(bot, threadId).filter((skill) => !names.has(skill.name)).map((skill) => nativeSkillListing(skill, isNativeSkillEnabled(bot.id, skill.name)))];};const readBotSkillFile = (bot: BotRecord, name: string): string | null => {const own = readSkillFile(bot.id, name);@@ -281,8 +282,11 @@ export function createSkillsLibraryHost(deps: SkillsLibraryHostDeps) {if (files.size < mentioned.length) add(importsFor(bot, assigned, instance));if (files.size < mentioned.length) {// A skill switched off on the Skills page stays off, even when the engine holds one of the same name.- const switched = new Set([...resolveBotSkills(bot.id, assigned), ...importedSkillListings(bot.id, new Set())]- .filter((skill) => !skill.enabled).map((skill) => skill.name));+ const switched = new Set([+ ...[...resolveBotSkills(bot.id, assigned), ...importedSkillListings(bot.id, new Set())]+ .filter((skill) => !skill.enabled).map((skill) => skill.name),+ ...disabledNativeSkillNames(bot.id),+ ]);add(nativesFor(bot, threadId, instance).filter((skill) => !switched.has(skill.name)));}return skillCommandTurnText(text, files, typed, ownStart);diff --git a/server/native-skill-choices.test.ts b/server/native-skill-choices.test.tsnew file mode 100644index 0000000000..4a65973699--- /dev/null+++ b/server/native-skill-choices.test.ts@@ -0,0 +1,58 @@+import { rmSync } from "node:fs";+import { tmpdir } from "node:os";+import { join } from "node:path";+import { afterEach, describe, expect, it } from "vitest";++import { DATA_DIR } from "./config.ts";+import { codexDisabledNativeSkillArgs, codexTurnConfigArgs, GUEST_CONFINED_CODEX_ARGS } from "./drivers/codex-guest.ts";+import { disabledNativeSkillNames, isNativeSkillEnabled, setNativeSkillEnabled } from "./native-skill-choices.ts";+import { nativeSkillListing } from "./native-skills.ts";++afterEach(() => {+ if (!DATA_DIR.startsWith(join(tmpdir(), "omb-test-home-"))) throw new Error(`refusing to clean ${DATA_DIR}: not this test's home`);+ rmSync(join(DATA_DIR, "skill-state"), { recursive: true, force: true });+});++describe("per-bot native skill switches", () => {+ it("defaults every native skill to on", () => {+ expect(isNativeSkillEnabled("bot-a", "pdf")).toBe(true);+ expect(disabledNativeSkillNames("bot-a")).toEqual([]);+ });++ it("persists off across reads and leaves other bots alone", () => {+ expect(setNativeSkillEnabled("bot-a", "pdf", false)).toEqual({ off: ["pdf"] });+ expect(setNativeSkillEnabled("bot-a", "hatch-pet", false)).toEqual({ off: ["hatch-pet", "pdf"] });+ expect(isNativeSkillEnabled("bot-a", "pdf")).toBe(false);+ expect(isNativeSkillEnabled("bot-b", "pdf")).toBe(true);+ expect(setNativeSkillEnabled("bot-a", "pdf", true)).toEqual({ off: ["hatch-pet"] });+ expect(isNativeSkillEnabled("bot-a", "pdf")).toBe(true);+ });++ it("lists a native skill as disabled when this bot switched it off", () => {+ setNativeSkillEnabled("bot-a", "pdf", false);+ const listing = nativeSkillListing({+ name: "pdf",+ description: "Works with PDFs.",+ folder: "/tmp/pdf",+ file: "/tmp/pdf/SKILL.md",+ source: "/tmp",+ sha256: "a".repeat(64),+ }, isNativeSkillEnabled("bot-a", "pdf"));+ expect(listing).toMatchObject({ origin: "native", enabled: false, editable: false });+ });++ it("builds Codex skills.config overrides for disabled names only", () => {+ setNativeSkillEnabled("bot-a", "pdf", false);+ setNativeSkillEnabled("bot-a", "rex", false);+ expect(codexDisabledNativeSkillArgs("bot-a")).toEqual([+ "-c",+ 'skills.config=[{name="pdf",enabled=false},{name="rex",enabled=false}]',+ ]);+ expect(codexDisabledNativeSkillArgs("bot-b")).toEqual([]);+ expect(codexTurnConfigArgs({ botId: "bot-a", guestConfined: true })).toEqual([+ ...GUEST_CONFINED_CODEX_ARGS,+ ...codexDisabledNativeSkillArgs("bot-a"),+ ]);+ expect(codexTurnConfigArgs({ botId: "bot-a" })).toEqual(codexDisabledNativeSkillArgs("bot-a"));+ });+});diff --git a/server/native-skill-choices.ts b/server/native-skill-choices.tsnew file mode 100644index 0000000000..3e960e10dd--- /dev/null+++ b/server/native-skill-choices.ts@@ -0,0 +1,45 @@+// Per-bot switches for skills the engine loads by itself (Codex ~/.codex/skills, Claude project+// skills, …). Off stays off across restarts; personal skill folders are never deleted.+import { mkdirSync, readFileSync } from "node:fs";+import { dirname, join } from "node:path";+import { z } from "zod";++import { writeFileAtomic } from "./atomic.ts";+import { DATA_DIR } from "./config.ts";+import { isSkillName } from "../shared/skill-md.ts";++const choicesPath = (botId: string) => join(DATA_DIR, "skill-state", botId, "native-skills.json");+const choicesSchema = z.object({ off: z.array(z.string()) });++function readChoices(botId: string): { off: string[] } {+ try {+ const parsed = choicesSchema.safeParse(JSON.parse(readFileSync(choicesPath(botId), "utf8")));+ if (parsed.success) {+ return { off: parsed.data.off.filter(isSkillName).sort() };+ }+ } catch { /* missing or unreadable → every native skill stays on */ }+ return { off: [] };+}++function writeChoices(botId: string, off: string[]): void {+ mkdirSync(dirname(choicesPath(botId)), { recursive: true, mode: 0o700 });+ writeFileAtomic(choicesPath(botId), `${JSON.stringify({ off }, null, 2)}\n`, { mode: 0o600 });+}++/** Names this bot has switched off; sorted, skill-name filtered. */+export function disabledNativeSkillNames(botId: string): string[] {+ return readChoices(botId).off;+}++export function isNativeSkillEnabled(botId: string, name: string): boolean {+ return !readChoices(botId).off.includes(name);+}++/** Persist one bot's native-skill switch. Does not create or delete skill files. */+export function setNativeSkillEnabled(botId: string, name: string, enabled: boolean): { off: string[] } | { error: string } {+ if (!isSkillName(name)) return { error: `invalid skill name "${name}"` };+ const off = readChoices(botId).off.filter((other) => other !== name);+ const next = enabled ? off : [...off, name].sort();+ writeChoices(botId, next);+ return { off: next };+}diff --git a/server/native-skills.test.ts b/server/native-skills.test.tsindex 1ff197593f..0fb4ec9ea9 100644--- a/server/native-skills.test.ts+++ b/server/native-skills.test.ts@@ -1,5 +1,6 @@import { randomUUID } from "node:crypto";import { mkdirSync, rmSync, symlinkSync, writeFileSync } from "node:fs";+import { tmpdir } from "node:os";import { join } from "node:path";import { afterEach, describe, expect, it } from "vitest";@@ -14,10 +15,14 @@ import { TASK_WORKSPACES_DIR } from "./workspace.ts";// HOME and the data folder are this test file's own temporary ones (server/testing/setup.ts).const HOME = join(DATA_DIR, "..");const USER_SKILLS = join(HOME, ".claude", "skills");+const CODEX_SKILLS = join(HOME, ".codex", "skills");const SHARED = join(TASK_WORKSPACES_DIR, ".claude", "skills");const PROJECTS = join(HOME, "projects");afterEach(() => {- for (const dir of [TASK_WORKSPACES_DIR, USER_SKILLS, PROJECTS]) rmSync(dir, { recursive: true, force: true });+ if (!DATA_DIR.startsWith(join(tmpdir(), "omb-test-home-"))) throw new Error(`refusing to clean ${DATA_DIR}: not this test's home`);+ for (const dir of [TASK_WORKSPACES_DIR, USER_SKILLS, CODEX_SKILLS, PROJECTS, join(DATA_DIR, "skill-state")]) {+ rmSync(dir, { recursive: true, force: true });+ }});const skillMd = (name: string) => `---\nname: ${name}\ndescription: Works with ${name}.\n---\n\nFollow the steps.\n`;@@ -154,3 +159,16 @@ describe("skills the engine loads by itself", () => {expect(other.host.expandSkillCommand(other.bot, "main", "/shared-one", undefined, [], true)).toBe("/shared-one");});});++describe("switching a native skill off for one bot", () => {+ it("shows enabled false on the Skills page and keeps /name from expanding it", async () => {+ const { setNativeSkillEnabled } = await import("./native-skill-choices.ts");+ const { host, bot } = hostFor("codex");+ plant(join(HOME, ".codex", "skills"), "pdf");+ expect(host.listBotSkills(bot).find((skill) => skill.name === "pdf")).toMatchObject({ origin: "native", enabled: true });+ setNativeSkillEnabled(bot.id, "pdf", false);+ expect(host.listBotSkills(bot).find((skill) => skill.name === "pdf")).toMatchObject({ origin: "native", enabled: false });+ expect(host.expandSkillCommand(bot, "main", "/pdf summarise", undefined, [], true)).toBe("/pdf summarise");+ });+});+diff --git a/server/native-skills.ts b/server/native-skills.tsindex 716cfa76ec..dd0efee9a3 100644--- a/server/native-skills.ts+++ b/server/native-skills.ts@@ -71,12 +71,12 @@ export function nativeSkills(});}-/** Bot Settings → Skills and the `/` menu: always on, and changed only where it lives. */-export function nativeSkillListing(skill: NativeSkill): SkillListing & { origin: "native" } {+/** Bot Settings → Skills and the `/` menu. `enabled` is this bot's switch (default on); the files stay where the engine loads them. */+export function nativeSkillListing(skill: NativeSkill, enabled = true): SkillListing & { origin: "native" } {return {name: skill.name,description: skill.description,- enabled: true,+ enabled,editable: false,source: skill.source,sha256: skill.sha256,diff --git a/server/routes/bot-skills.ts b/server/routes/bot-skills.tsindex df98ec16a1..1d1bf0f14f 100644--- a/server/routes/bot-skills.ts+++ b/server/routes/bot-skills.ts@@ -3,6 +3,7 @@ import { z } from "zod";import type { SkillsLibrarySkillWire } from "../../shared/wire.ts";import type { AppConfig } from "../config.ts";import { setImportedSkillEnabled } from "../imported-skills.ts";+import { setNativeSkillEnabled } from "../native-skill-choices.ts";import { botSkillTemplateSchema } from "../new-bot-defaults.ts";import { fetchSkillFromSource } from "../skill-fetch.ts";import { skillImportSummary } from "../skill-folder.ts";@@ -95,6 +96,13 @@ export function createBotSkillsRoutes(deps: BotSkillsRouteDeps): RouteHandler {if ("error" in result) return json(res, 409, { error: result.error });return json(res, 200, { skill: result });}+ if (bot && listBotSkills(bot).some((skill) => skill.name === m![2] && (skill as { origin?: string }).origin === "native")) {+ const result = setNativeSkillEnabled(bot.id, m[2]!, parsed.data.enabled);+ if ("error" in result) return json(res, 409, { error: result.error });+ const skill = listBotSkills(bot).find((entry) => entry.name === m![2]);+ if (!skill) return json(res, 404, { error: "no such skill" });+ return json(res, 200, { skill });+ }const result = setSkillEnabled(m[1]!, m[2]!, parsed.data.enabled);if ("error" in result) return json(res, 404, { error: result.error });return json(res, 200, { skill: result });diff --git a/src/components/bot-settings/SkillsSection.tsx b/src/components/bot-settings/SkillsSection.tsxindex d500f7c737..4aea9294cd 100644--- a/src/components/bot-settings/SkillsSection.tsx+++ b/src/components/bot-settings/SkillsSection.tsx@@ -116,6 +116,15 @@ export function useManagedSkills(bot: Bot) {setWorking(skill.name);setError("");try {+ // Native skills live in the engine's own folders; the switch only affects this bot.+ if (skill.origin === "native") {+ await api(`/api/bots/${bot.id}/skills/${encodeURIComponent(skill.name)}`, {+ method: "PATCH",+ body: JSON.stringify({ enabled: !skill.enabled }),+ });+ await refresh();+ return;+ }if (skill.origin === "library" && skill.enabled) {await api(`/api/skills-library/${encodeURIComponent(skill.name)}`, {method: "PATCH",@@ -486,14 +495,12 @@ export function SkillsSection({ bot }: { bot: Bot }) {<div className="mt-0.5 line-clamp-2 text-[12px] text-ink-secondary">{skill.description}</div><div className="mt-0.5 text-[11px] text-ink-secondary">{t(skill.enabled && !skillSwitchOn(skill) ? "skills.foundWhenNeeded" : "skills.usedWhenRelevant")}</div></button>- {skill.origin !== "native" && (- <Switch- checked={skillSwitchOn(skill)}- aria-label={t(skillSwitchOn(skill) ? "skills.disableName" : "skills.enableName", { name: skill.name })}- disabled={Boolean(working)}- onClick={() => void toggle(skill)}- />- )}+ <Switch+ checked={skillSwitchOn(skill)}+ aria-label={t(skillSwitchOn(skill) ? "skills.disableName" : "skills.enableName", { name: skill.name })}+ disabled={Boolean(working)}+ onClick={() => void toggle(skill)}+ />{skill.origin !== "imported" && skill.origin !== "native" && (<buttonaria-label={t("skills.removeName", { name: skill.name })}diff --git a/src/locales/en.json b/src/locales/en.jsonindex 8be16df278..45eaebac38 100644--- a/src/locales/en.json+++ b/src/locales/en.json@@ -6050,7 +6050,7 @@"skills.origin.imported": "this computer","skills.origin.importedHint": "Brought in from this computer. Each bot lists the ones that fit its role and finds the rest when a task needs them. Switch it on to list it for this bot, or off to keep it from this bot.","skills.origin.native": "AI",- "skills.origin.nativeHint": "The bot's AI loads this from the folder under Source. Edit or remove it there.",+ "skills.origin.nativeHint": "The bot's AI loads this from the folder under Source. Turn it off here for this bot only; the files stay where they are.","skills.write.title": "Write a command","skills.write.hint": "Give the bot a short command for something you ask often. Type /name in a chat to run it. Anything after the name fills in {input}.","skills.write.name": "Command name",diff --git a/src/locales/ja.json b/src/locales/ja.jsonindex f67dac559f..95394b310b 100644--- a/src/locales/ja.json+++ b/src/locales/ja.json@@ -5743,7 +5743,7 @@"skills.learned.hintOff": "スキルの作成はオフですが、すでに有効にしたスキルは引き続きここで管理できます。","skills.origin.imported": "このコンピューター","skills.origin.native": "AI",- "skills.origin.nativeHint": "ボットの AI が、Source に表示されているフォルダーから読み込みます。編集や削除はそのフォルダーで行ってください。",+ "skills.origin.nativeHint": "ボットの AI が、Source に表示されているフォルダーから読み込みます。ここでオフにすると、このボットでのみ無効になります。ファイルは元の場所に残ります。","skills.write.title": "コマンドを作成","skills.write.hint": "よく頼む作業をボットの短いコマンドにできます。チャットで /name と入力すると実行できます。名前の後のテキストが {input} に入ります。","skills.write.name": "コマンド名",diff --git a/src/locales/ko.json b/src/locales/ko.jsonindex f0bd77e53f..240cc2ca27 100644--- a/src/locales/ko.json+++ b/src/locales/ko.json@@ -5513,7 +5513,7 @@"skills.learned.hintOff": "스킬 작성은 꺼져 있지만, 이미 켠 스킬은 여기서 계속 관리할 수 있어요.","skills.origin.imported": "이 컴퓨터","skills.origin.native": "엔진",- "skills.origin.nativeHint": "봇의 엔진이 소스 아래 폴더에서 불러와요. 수정이나 제거는 그곳에서 하세요.",+ "skills.origin.nativeHint": "봇의 AI가 소스 아래에 표시된 폴더에서 이 스킬을 불러와요. 여기서 끄면 이 봇에서만 비활성화돼요. 파일은 원래 위치에 그대로 남아요.","skills.write.title": "명령 만들기","skills.write.hint": "자주 요청하는 일을 짧은 명령으로 만들어 봇에게 주세요. 채팅에서 /이름을 입력하면 실행돼요. 이름 뒤에 쓴 내용은 {input}에 들어가요.","skills.write.name": "명령 이름",diff --git a/src/locales/pt-br.json b/src/locales/pt-br.jsonindex d7daf535db..7b6ef9111c 100644--- a/src/locales/pt-br.json+++ b/src/locales/pt-br.json@@ -5776,7 +5776,7 @@"skills.origin.imported": "este computador","skills.origin.importedHint": "Trazida deste computador. Cada bot lista as que combinam com a função dele e encontra as outras quando uma tarefa precisa. Ative para listá-la neste bot, ou desative para mantê-la longe deste bot.","skills.origin.native": "IA",- "skills.origin.nativeHint": "A IA do bot carrega isto da pasta indicada em Origem. Edite ou remova lá.",+ "skills.origin.nativeHint": "A IA do bot carrega esta habilidade da pasta indicada em Origem. Desative aqui apenas para este bot; os arquivos ficam onde estão.","skills.write.title": "Escrever um comando","skills.write.hint": "Dê ao bot um comando curto para algo que você pede com frequência. Digite /nome em uma conversa para executá-lo. O que vier depois do nome preenche {input}.","skills.write.name": "Nome do comando",diff --git a/src/locales/source-hashes.json b/src/locales/source-hashes.jsonindex dbaeee11a4..0038eebd40 100644--- a/src/locales/source-hashes.json+++ b/src/locales/source-hashes.json@@ -23172,7 +23172,7 @@"remote.computerName.placeholder": "33d53fc415aeeb5128cb4c82cebe65e8fe3fbbbfae607ffee515ce72fafbbbd1","remote.computerName.error": "39431ac4903234c376d4ee65e3cc59c4b0ec58484bb02363a27e128bca8f37c0","skills.origin.native": "11fb682be0a0233d5fb899721ecfc1827d20f0d2ff2e093310efa61efca8af1c",- "skills.origin.nativeHint": "a90b8779cbcb4548b666ab2b46cf98c6e9e94668c7b5db78a8ecd48152aa3a85",+ "skills.origin.nativeHint": "bee2376a8f6c41590707e2f4360170f67410193554d75d55a51f9bbff9e30fde","skills.library.loadError": "4d57d005cf8bde449b67e1c1834d7e3a952a2df0cb8bf31f6b6ab811502157dd","settings.import.grokTitle": "c96cf4df1e00ae630e09a66849df3c258cca41adba11f7349f081b5b479b04e6","settings.import.grokSubtitle": "b947da44b989a085237c9dd40086b7eb57595fd8653affd57c68df71b2f6f95a",@@ -29353,7 +29353,7 @@"skills.origin.imported": "058bf37c9767891850a04e77e252c5bcd5036c4a1d0cec568d498dc4c8437379","skills.origin.importedHint": "1a0a4444bcb02305a59f0659abae2383385bf60c954dc84baade1d33d8b43ac1","skills.origin.native": "11fb682be0a0233d5fb899721ecfc1827d20f0d2ff2e093310efa61efca8af1c",- "skills.origin.nativeHint": "a90b8779cbcb4548b666ab2b46cf98c6e9e94668c7b5db78a8ecd48152aa3a85",+ "skills.origin.nativeHint": "bee2376a8f6c41590707e2f4360170f67410193554d75d55a51f9bbff9e30fde","skills.write.title": "247262706fab09d0262162ba8a4fe4493b9abf4cd9a4eb5236094437f661e344","skills.write.hint": "502d59dd98da355ebdd92770ec84323129cb4f8dd5156b6a3a06d0dd86c0f88e","skills.write.name": "5af23acc15079d189a6abaefdd7e13ece4ec7fc5ae94aaa3f665407ce8a61d61",@@ -39817,7 +39817,7 @@"skills.learned.hintOn": "ff18ab90b4f16073eead025c8ae9247beda43d6f0b63f857bcc25d43db568825","skills.origin.imported": "058bf37c9767891850a04e77e252c5bcd5036c4a1d0cec568d498dc4c8437379","skills.origin.native": "11fb682be0a0233d5fb899721ecfc1827d20f0d2ff2e093310efa61efca8af1c",- "skills.origin.nativeHint": "a90b8779cbcb4548b666ab2b46cf98c6e9e94668c7b5db78a8ecd48152aa3a85",+ "skills.origin.nativeHint": "bee2376a8f6c41590707e2f4360170f67410193554d75d55a51f9bbff9e30fde","skills.write.title": "247262706fab09d0262162ba8a4fe4493b9abf4cd9a4eb5236094437f661e344","skills.write.hint": "502d59dd98da355ebdd92770ec84323129cb4f8dd5156b6a3a06d0dd86c0f88e","skills.write.name": "5af23acc15079d189a6abaefdd7e13ece4ec7fc5ae94aaa3f665407ce8a61d61",@@ -48251,7 +48251,7 @@"botAccess.recordSteps.myChrome": "6fc8728673d3b750b3152d7375c4b426621ce5657e3b811cc717bb53ee9aca74","skills.origin.imported": "058bf37c9767891850a04e77e252c5bcd5036c4a1d0cec568d498dc4c8437379","skills.origin.native": "11fb682be0a0233d5fb899721ecfc1827d20f0d2ff2e093310efa61efca8af1c",- "skills.origin.nativeHint": "a90b8779cbcb4548b666ab2b46cf98c6e9e94668c7b5db78a8ecd48152aa3a85",+ "skills.origin.nativeHint": "bee2376a8f6c41590707e2f4360170f67410193554d75d55a51f9bbff9e30fde","skills.write.title": "247262706fab09d0262162ba8a4fe4493b9abf4cd9a4eb5236094437f661e344","skills.write.hint": "502d59dd98da355ebdd92770ec84323129cb4f8dd5156b6a3a06d0dd86c0f88e","skills.write.name": "5af23acc15079d189a6abaefdd7e13ece4ec7fc5ae94aaa3f665407ce8a61d61",@@ -91637,7 +91637,7 @@"skills.learned.hintOff": "f3477db333415d4fdb93b9f40229ca082915b4e47e1749acaac94588a5836ab7","skills.origin.imported": "058bf37c9767891850a04e77e252c5bcd5036c4a1d0cec568d498dc4c8437379","skills.origin.native": "11fb682be0a0233d5fb899721ecfc1827d20f0d2ff2e093310efa61efca8af1c",- "skills.origin.nativeHint": "a90b8779cbcb4548b666ab2b46cf98c6e9e94668c7b5db78a8ecd48152aa3a85",+ "skills.origin.nativeHint": "bee2376a8f6c41590707e2f4360170f67410193554d75d55a51f9bbff9e30fde","skills.write.title": "247262706fab09d0262162ba8a4fe4493b9abf4cd9a4eb5236094437f661e344","skills.write.hint": "502d59dd98da355ebdd92770ec84323129cb4f8dd5156b6a3a06d0dd86c0f88e","skills.write.name": "5af23acc15079d189a6abaefdd7e13ece4ec7fc5ae94aaa3f665407ce8a61d61",diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.jsonindex 9c8d7de015..e6f2905c12 100644--- a/src/locales/zh-tw.json+++ b/src/locales/zh-tw.json@@ -5936,7 +5936,7 @@"skills.learned.hintOff": "技能撰寫已關閉,但你已啟用的技能仍在此由你掌控。","skills.origin.imported": "這台電腦","skills.origin.native": "AI",- "skills.origin.nativeHint": "機器人的 AI 會從「來源」下的資料夾載入它。請在那裡編輯或移除。",+ "skills.origin.nativeHint": "機器人的 AI 會從「來源」下的資料夾載入此技能。在這裡關閉,只會對這個機器人停用;檔案會留在原處。","skills.write.title": "撰寫指令","skills.write.hint": "為你常要求的事情給機器人一個簡短指令。在聊天中輸入 /名稱 即可執行。名稱後面的任何內容會填入 {input}。","skills.write.name": "指令名稱",diff --git a/src/locales/zh.json b/src/locales/zh.jsonindex 3920c58db1..2f8064a106 100644--- a/src/locales/zh.json+++ b/src/locales/zh.json@@ -5721,7 +5721,7 @@"skills.learned.hintOff": "技能撰写已关闭,但你已激活的技能仍在此由你掌控。","skills.origin.imported": "这台电脑","skills.origin.native": "AI",- "skills.origin.nativeHint": "机器人的 AI 会从「来源」下的文件夹加载此技能。请在那里编辑或移除。",+ "skills.origin.nativeHint": "机器人的 AI 会从「来源」下的文件夹加载此技能。在这里关闭,仅对这个机器人停用;文件会保留在原处。","skills.write.title": "编写命令","skills.write.hint": "为经常提出的需求给机器人设置一条简短命令。在聊天中输入 /name 即可运行。名称后面的任何内容都会填入 {input}。","skills.write.name": "命令名称",