[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77J5MR4VGJY17CJAFSJ1HC2":3,"skill-same:01M77J5MR4VGJY17CJAFSJ1HC2":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M77J5MR4VGJY17CJAFSJ1HC2","diagnosing-commands",null,"Use to diagnose and fix ZCode custom slash-command (\u002Fcommand) configuration problems in the ZCode client. Applies when a command is missing, is overridden by a higher-precedence command of the same name, has a frontmatter parse error, is dropped for having an empty body, has an invalid name, does not substitute $ARGUMENTS\u002F$1, uses a colon rather than a slash for nested names, has a misspelled frontmatter key, or disappears because the plugin providing it is disabled. Provides the discovery order, how to inspect commands in the client, common pitfalls, and a step-by-step localization and repair workflow.","raaOS\u002Fsystem_prompts_leaks","raaOS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F214067397?v=4","01M77HV6K4ZTA4BZAGX00GTW6J","01M77HV6KX55HVRY679V25JXF8",0,"CC0-1.0","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FGLM\u002Fskills\u002Fdiagnosing-commands\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: diagnosing-commands\ndescription: Use to diagnose and fix ZCode custom slash-command (\u002Fcommand) configuration problems in the ZCode client. Applies when a command is missing, is overridden by a higher-precedence command of the same name, has a frontmatter parse error, is dropped for having an empty body, has an invalid name, does not substitute $ARGUMENTS\u002F$1, uses a colon rather than a slash for nested names, has a misspelled frontmatter key, or disappears because the plugin providing it is disabled. Provides the discovery order, how to inspect commands in the client, common pitfalls, and a step-by-step localization and repair workflow.\n---\n\n# Diagnosing Command Configuration\n\nGoal: reduce any `\u002Fcommand` problem to a single concrete fix.\n\nA person inspects commands from the **`\u002F` menu** (the Commands group) in the input box; an agent inspects by reading the command files at the locations below.\n\n> Two points that are often misunderstood: nested command names join with a **colon** (`review\u002Fcode.md` becomes `\u002Freview:code`, not `\u002Freview\u002Fcode`); and a command is a `.md` file whose **file name is the command name**.\n\n## 1. Discovery order (earlier locations take precedence)\n\n1. Explicitly configured roots\n2. User `~\u002F.zcode\u002Fcommands`\n3. User `~\u002F.agents\u002Fcommands`\n4. Workspace `.zcode\u002Fcommands` (from the current directory up to the repository root; every level counts)\n5. Workspace `.agents\u002Fcommands`\n6. Enabled **plugin** command roots (lowest precedence)\n\nWithin a level, `.zcode` is scanned before `.agents`. Subdirectories are scanned recursively, and a nested path joins into the command name with a colon.\n\n## 2. Deduplication rule (first match wins)\n\nThe key is the **normalized command name** (the relative path with `.md` removed, separators replaced by `:`, lowercased). The **first occurrence — the highest-precedence location — wins**: user overrides workspace, `.zcode` overrides `.agents`, and local files override plugins. Duplicates are ignored.\n\nThere is also an **interactive-surface-only** filter: a command whose name matches a built-in slash command (or `compress`) is filtered out of the live `\u002F` menu, though it is still present on disk.\n\n## 3. Command .md format\n\n- The command name comes from the file name and must match `^[a-z0-9][a-z0-9_:-]{0,63}$` (lowercase alphanumeric start; no spaces, dots, or leading `-`\u002F`_`; at most 64 characters). A violation drops the command.\n- Frontmatter (a flat parser; indented lines are ignored) recognizes `description`, `argument-hint`, `allowed-tools`, `model`, `skills`, and `disable-noninteractive` (all hyphenated). An unknown key is ignored but the command still loads.\n- **A description or a non-empty body is required** — otherwise the command is dropped. When `description` is absent, the first non-empty body line is used.\n- Argument substitution: `$ARGUMENTS` is the full argument string; `$1`\u002F`$2` are positional (out of range is empty). When arguments are supplied but no placeholder is present, they are appended under a \"User arguments:\" heading.\n- `skills` are auto-mounted. Inline dynamic shell (`` !`cmd` `` or a fenced `!` block) is rejected.\n\n## 4. How to inspect commands\n\n- **In the client**: type **`\u002F`** in the input box and open the **Commands** group; you can search by keyword. Each entry shows its name and description.\n- **As an agent**: read the `.md` files at each location in discovery order. Derive each command's name from its path (subdirectories become `:`), and remember that for a same-named command the **first** in discovery order is the one that runs.\n\n## 5. Common pitfalls (symptom → cause → fix)\n\n1. **Missing — wrong directory** — the `.md` is not under a scanned root (for example a singular `.zcode\u002Fcommand\u002F`, or above the repository root). → Move it into `~\u002F.zcode\u002Fcommands\u002F` or `\u003Crepo>\u002F.zcode\u002Fcommands\u002F`.\n2. **Missing — invalid name** — the file exists but no command appears. The file name violates the pattern (uppercase, spaces, dots, leading `-`\u002F`_`, or over 64 characters). → Rename to a valid lowercase name; namespace with subdirectories (which become `:`), not dots.\n3. **Overridden by a higher-precedence duplicate** — a different command runs, or your edits have no effect. First match wins. → Find the higher-precedence copy in discovery order and rename or remove it. Local files always beat plugins.\n4. **Frontmatter parse error** — a key is silently missing. The flat parser reads only single-line top-level keys; indented lines and multi-line arrays are dropped. → Keep every value on one line; write lists inline, e.g. `allowed-tools: Read, Bash`.\n5. **Empty command is dropped** — both the description and the body are empty. → Add a `description:` or at least one non-empty body line.\n6. **Unknown frontmatter key (misspelling)** — `model`\u002F`skills`\u002F`allowed-tools` have no effect. → Use the hyphenated keys: `allowed-tools` (not `allowed_tools`), `argument-hint`, `disable-noninteractive`.\n7. **`$ARGUMENTS`\u002F`$1` does not substitute** — the placeholder appears literally or is empty. The body has no placeholder (arguments are appended under \"User arguments:\" by design), `$1` is out of range, or a form like `${ARGUMENTS}` is not recognized. → Use the exact `$ARGUMENTS`\u002F`$1` tokens.\n8. **Dynamic shell is rejected** — running the command reports an unsupported shell expansion. The body contains `` !`...` `` or a fenced `!` block. → Remove it; use static text or `$ARGUMENTS`.\n9. **A plugin command is missing** — a disabled plugin contributes no command roots, or a local same-named file is shadowing it. → Enable the plugin in **Settings → Plugin Management**, and ensure no local duplicate shadows it.\n10. **Disabled by configuration** — a valid command silently disappears. The configuration disables it by the command file's absolute path (not the command name). → Set that path's `enable` to `true` or remove it.\n11. **`\u002F` versus `:` confusion** — `\u002Freview\u002Fcode` reports not found although `review\u002Fcode.md` exists. Subdirectories map to `:`, so the real name is `review:code`. → Invoke `\u002Freview:code`.\n12. **Reserved-name collision (interactive only)** — the command exists on disk but cannot be triggered in the live `\u002F` menu, because its name matches a built-in slash command or `compress`. → Rename to a non-reserved name.\n\n## 6. Localization workflow (in order)\n\n1. **Is it in the `\u002F` menu?** Open the Commands group. Absent → step 2. Present but the wrong content runs → step 4 (a duplicate).\n2. **Confirm the file and its root.** Ensure the `.md` sits directly under a scanned commands root for the current working directory — pitfall 1 — and that its name is valid — pitfall 2.\n3. **Check the frontmatter.** A missing\u002Fgarbled key points to the flat-parser rules (pitfall 4) or an empty command (pitfall 5); a key with no effect is likely a misspelling (pitfall 6).\n4. **Resolve a duplicate.** For a given name, the winner is the first in discovery order; find and rename or remove the copy you do not want.\n5. **Check the body.** Verify the argument placeholders (pitfall 7) and that there is no rejected dynamic shell (pitfall 8).\n6. **Still missing with no obvious cause?** Check for a configuration disable (pitfall 10, by absolute file path), a disabled plugin (pitfall 9), or reserved-name filtering (pitfall 12).\n","# Diagnosing Command Configuration\n\nGoal: reduce any `\u002Fcommand` problem to a single concrete fix.\n\nA person inspects commands from the **`\u002F` menu** (the Commands group) in the input box; an agent inspects by reading the command files at the locations below.\n\n> Two points that are often misunderstood: nested command names join with a **colon** (`review\u002Fcode.md` becomes `\u002Freview:code`, not `\u002Freview\u002Fcode`); and a command is a `.md` file whose **file name is the command name**.\n\n## 1. Discovery order (earlier locations take precedence)\n\n1. Explicitly configured roots\n2. User `~\u002F.zcode\u002Fcommands`\n3. User `~\u002F.agents\u002Fcommands`\n4. Workspace `.zcode\u002Fcommands` (from the current directory up to the repository root; every level counts)\n5. Workspace `.agents\u002Fcommands`\n6. Enabled **plugin** command roots (lowest precedence)\n\nWithin a level, `.zcode` is scanned before `.agents`. Subdirectories are scanned recursively, and a nested path joins into the command name with a colon.\n\n## 2. Deduplication rule (first match wins)\n\nThe key is the **normalized command name** (the relative path with `.md` removed, separators replaced by `:`, lowercased). The **first occurrence — the highest-precedence location — wins**: user overrides workspace, `.zcode` overrides `.agents`, and local files override plugins. Duplicates are ignored.\n\nThere is also an **interactive-surface-only** filter: a command whose name matches a built-in slash command (or `compress`) is filtered out of the live `\u002F` menu, though it is still present on disk.\n\n## 3. Command .md format\n\n- The command name comes from the file name and must match `^[a-z0-9][a-z0-9_:-]{0,63}$` (lowercase alphanumeric start; no spaces, dots, or leading `-`\u002F`_`; at most 64 characters). A violation drops the command.\n- Frontmatter (a flat parser; indented lines are ignored) recognizes `description`, `argument-hint`, `allowed-tools`, `model`, `skills`, and `disable-noninteractive` (all hyphenated). An unknown key is ignored but the command still loads.\n- **A description or a non-empty body is required** — otherwise the command is dropped. When `description` is absent, the first non-empty body line is used.\n- Argument substitution: `$ARGUMENTS` is the full argument string; `$1`\u002F`$2` are positional (out of range is empty). When arguments are supplied but no placeholder is present, they are appended under a \"User arguments:\" heading.\n- `skills` are auto-mounted. Inline dynamic shell (`` !`cmd` `` or a fenced `!` block) is rejected.\n\n## 4. How to inspect commands\n\n- **In the client**: type **`\u002F`** in the input box and open the **Commands** group; you can search by keyword. Each entry shows its name and description.\n- **As an agent**: read the `.md` files at each location in discovery order. Derive each command's name from its path (subdirectories become `:`), and remember that for a same-named command the **first** in discovery order is the one that runs.\n\n## 5. Common pitfalls (symptom → cause → fix)\n\n1. **Missing — wrong directory** — the `.md` is not under a scanned root (for example a singular `.zcode\u002Fcommand\u002F`, or above the repository root). → Move it into `~\u002F.zcode\u002Fcommands\u002F` or `\u003Crepo>\u002F.zcode\u002Fcommands\u002F`.\n2. **Missing — invalid name** — the file exists but no command appears. The file name violates the pattern (uppercase, spaces, dots, leading `-`\u002F`_`, or over 64 characters). → Rename to a valid lowercase name; namespace with subdirectories (which become `:`), not dots.\n3. **Overridden by a higher-precedence duplicate** — a different command runs, or your edits have no effect. First match wins. → Find the higher-precedence copy in discovery order and rename or remove it. Local files always beat plugins.\n4. **Frontmatter parse error** — a key is silently missing. The flat parser reads only single-line top-level keys; indented lines and multi-line arrays are dropped. → Keep every value on one line; write lists inline, e.g. `allowed-tools: Read, Bash`.\n5. **Empty command is dropped** — both the description and the body are empty. → Add a `description:` or at least one non-empty body line.\n6. **Unknown frontmatter key (misspelling)** — `model`\u002F`skills`\u002F`allowed-tools` have no effect. → Use the hyphenated keys: `allowed-tools` (not `allowed_tools`), `argument-hint`, `disable-noninteractive`.\n7. **`$ARGUMENTS`\u002F`$1` does not substitute** — the placeholder appears literally or is empty. The body has no placeholder (arguments are appended under \"User arguments:\" by design), `$1` is out of range, or a form like `${ARGUMENTS}` is not recognized. → Use the exact `$ARGUMENTS`\u002F`$1` tokens.\n8. **Dynamic shell is rejected** — running the command reports an unsupported shell expansion. The body contains `` !`...` `` or a fenced `!` block. → Remove it; use static text or `$ARGUMENTS`.\n9. **A plugin command is missing** — a disabled plugin contributes no command roots, or a local same-named file is shadowing it. → Enable the plugin in **Settings → Plugin Management**, and ensure no local duplicate shadows it.\n10. **Disabled by configuration** — a valid command silently disappears. The configuration disables it by the command file's absolute path (not the command name). → Set that path's `enable` to `true` or remove it.\n11. **`\u002F` versus `:` confusion** — `\u002Freview\u002Fcode` reports not found although `review\u002Fcode.md` exists. Subdirectories map to `:`, so the real name is `review:code`. → Invoke `\u002Freview:code`.\n12. **Reserved-name collision (interactive only)** — the command exists on disk but cannot be triggered in the live `\u002F` menu, because its name matches a built-in slash command or `compress`. → Rename to a non-reserved name.\n\n## 6. Localization workflow (in order)\n\n1. **Is it in the `\u002F` menu?** Open the Commands group. Absent → step 2. Present but the wrong content runs → step 4 (a duplicate).\n2. **Confirm the file and its root.** Ensure the `.md` sits directly under a scanned commands root for the current working directory — pitfall 1 — and that its name is valid — pitfall 2.\n3. **Check the frontmatter.** A missing\u002Fgarbled key points to the flat-parser rules (pitfall 4) or an empty command (pitfall 5); a key with no effect is likely a misspelling (pitfall 6).\n4. **Resolve a duplicate.** For a given name, the winner is the first in discovery order; find and rename or remove the copy you do not want.\n5. **Check the body.** Verify the argument placeholders (pitfall 7) and that there is no rejected dynamic shell (pitfall 8).\n6. **Still missing with no obvious cause?** Check for a configuration disable (pitfall 10, by absolute file path), a disabled plugin (pitfall 9), or reserved-name filtering (pitfall 12).\n",{"name":5,"description":7},"main","2975a5ac469614541ae22929d43b6da2635e1ee9","GLM\u002Fskills\u002Fdiagnosing-commands","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks","https:\u002F\u002Fgithub.com\u002FraaOS","2026-11-14 21:19:17",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add raaOS\u002Fsystem_prompts_leaks --skill diagnosing-commands",{"tool":35,"command":36},"bunx","bunx skills add raaOS\u002Fsystem_prompts_leaks --skill diagnosing-commands",{"tool":38,"command":39},"pnpm","pnpm dlx skills add raaOS\u002Fsystem_prompts_leaks --skill diagnosing-commands","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FGLM\u002Fskills\u002Fdiagnosing-commands\u002FSKILL.md",true,[],[44,50,57,64,71,78],{"skillNo":45,"name":46,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":47,"categories":48,"keywords":49,"publishedAt":18},"01M77JV1M0ZZTZZREM9Q96TKZZ","model-council","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FPerplexity\u002Fskills\u002Fmodel-council\u002FSKILL.md",[],[],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M77JTYND3ETS9EGCX3B9CW6E","writing-style","Draft or edit writing in the user's voice for the person who will read it and where it will appear. Use for messages, emails, documents or slides written on their behalf, not for your own replies.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwriting-style\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M77JTVWEHY80JC2H1JG1JMQB","write-page","Create or edit requested Page\u002FSpace content, or use for prose you have already decided to save as a standalone Markdown file, only if the user did not explicitly request a Markdown file. Honor established formats, destinations, and repository documentation. A selected Page alone does not authorize a write.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwrite-page\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M77JTQ5ND23QPF6RJYJPXHSZ","software-engineering","For use only in threads for this proactive personal assistant. Investigate software issues; inspect, write, review, or test code; work on a repository or local engineering file; or create, fix, or monitor a pull request or CI run. Use for actual engineering or product QA work, not a general programming explanation.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fsoftware-engineering\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M77JTM3ZDPCYE8C1FW7G7S2B","slides-artifact","Use when the user asks to create, edit, or review slides or a presentation (PowerPoint or Google Slides), including when the task clearly calls for an audience-ready slide deck. Also use to answer questions that require inspecting an existing deck; not for general presentation advice or a chat-only outline.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslides-artifact\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M77JTHTWZN2J27KD2H66XDBZ","slack","Use when reading Slack conversations, deciding when to respond, or sending messages, files, and reactions in Slack.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslack\u002FSKILL.md",[],[]]