Repository navigation
feat(claude): skill descriptions, paths and user invocability from native catalogs - #934
Merged
Merged
Conversation
…tive catalogs Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
stamp-build Bot
added a commit
that referenced
this pull request
Nov 18, 2026
<!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_5b73c32a32f8e58709a51697aa77c637"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Faster runtime probes and skill reads, and skills now say whether a person can run them directly. One new optional field, `SkillEntry.userInvocable`; nothing existing changes shape. ## `installation()` remembers an unchanged executable (#932), performance Hosts call `installation()` constantly (Raft's Computer before every usage read, on every login-status round and before each inventory read). Each call used to start the CLI: 3.6 s for CodeBuddy and 1.7 s for Kimi on a real machine. OAR now reuses the previous result while the resolved executable keeps its identity (real path, inode, size, modification and change times) and the probe environment is the same. Upgrades by npm, uv, Homebrew and the vendor installers replace the file, so the next probe runs again; `install()` and `upgrade()` clear it. Version-manager shims (asdf, mise, Volta and similar), `not_found`, failed readiness and missing versions are never remembered. The remaining stale cases are in docs/spec/install.md. ## `SkillEntry.userInvocable` (#934, #939), feature Optional boolean: whether a person can run the skill directly as a slash command. Absent means the runtime did not say; it never defaults to true. - Claude: true when the skill is in Claude's native command list; false only for user, project and local settings skills it does not list. Claude skills also gain their native `path` and `description`, `view: "discovered"`, and `partial: true` when Claude reports it left skills out of context (#934). - Grok, Factory, DSH, Devin, Pi (SDK and RPC): copied from each runtime's own metadata. Qwen reports only an explicit false (#939). - Antigravity, Codex, Cursor, Kimi and OpenCode leave it absent for now. OpenCode's command join is tracked in #938. ## Antigravity: skills from local files on Linux and macOS (#937), performance For agy 1.5.10 and 1.5.11 on Linux and macOS, `skills()` reads the skill files directly instead of running `agy --print=/skills` (about 2.4 s, network access, settings rewrites and global MCP servers started). It starts no process, needs no login, and is compared entry by entry with native `/skills` in CI on both versions. The built-in `native_swarm` skill is left out because native shows it only sometimes under identical settings, so these results are always `partial: true`. Windows and other versions keep the native query; on Windows, native discovery under a junction working directory differs and is not reproduced yet. ## OpenCode v1: large skill catalogs (#933), fix OpenCode v1 can exit before a large `debug skill` pipe write drains, which made valid catalogs fail. OAR now captures v1 output through a private temporary file. Failed queries keep the exit status and a redacted first stderr line. Reported upstream as anomalyco/opencode#64635. ## Also - Kimi: CI now tests 2.6.3. From 2.5.0, resuming with different MCP servers leaves the original tool names offered to the model; to change the server set, start a fresh session (docs/runtimes/kimi.md, #940, upstream MoonshotAI/kimi-code#5036). - harbor, the long-run test host: per-agent environment, run deadline and disk cap (#931); `no_reply` only for messages from people (#941). - Grok docs distinguish first-home extraction from warm starts (#936); candidate workflow fix (#935). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Cindy <[email protected]>
This was referenced Nov 18, 2026
Merged
stamp-build Bot
added a commit
that referenced
this pull request
Nov 18, 2026
<!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_7e43caa6d1ec932c17f518bf38c12e18"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Faster runtime probes and skill reads, skills that say whether a person can run them directly, and a typed Qwen sign-in refusal. One new optional field, `SkillEntry.userInvocable`; nothing existing changes shape. (0.119.0 was not published: its release run timed out waiting for macOS CI, so this release carries its changes.) ## `installation()` remembers an unchanged executable (#932), performance Hosts call `installation()` constantly (Raft's Computer before every usage read, on every login-status round and before each inventory read). Each call used to start the CLI: 3.6 s for CodeBuddy and 1.7 s for Kimi on a real machine. OAR now reuses the previous result while the resolved executable keeps its identity (real path, inode, size, modification and change times) and the probe environment is the same. Upgrades by npm, uv, Homebrew and the vendor installers replace the file, so the next probe runs again; `install()` and `upgrade()` clear it. Version-manager shims (asdf, mise, Volta and similar), `not_found`, failed readiness and missing versions are never remembered. The remaining stale cases are in docs/spec/install.md. ## `SkillEntry.userInvocable` (#934, #939), feature Optional boolean: whether a person can run the skill directly as a slash command. Absent means the runtime did not say; it never defaults to true. - Claude: true when the skill is in Claude's native command list; false only for user, project and local settings skills it does not list. Claude skills also gain their native `path` and `description`, `view: "discovered"`, and `partial: true` when Claude reports it left skills out of context (#934). The inventory spec now states these rules exactly, including command-only entries without `source` or `path` (#943). - Grok, Factory, DSH, Devin, Pi (SDK and RPC): copied from each runtime's own metadata. Qwen reports only an explicit false (#939). - Antigravity: true for every listed skill; both readers already drop `disable-slash-command: true` skills (#943). - Codex, Cursor, Kimi and OpenCode leave it absent for now. OpenCode's command join is tracked in #938. ## Antigravity: skills from local files on Linux and macOS (#937), performance For agy 1.5.10 and 1.5.11 on Linux and macOS, `skills()` reads the skill files directly instead of running `agy --print=/skills` (about 2.4 s, network access, settings rewrites and global MCP servers started). It starts no process, needs no login, and is compared entry by entry with native `/skills` in CI on both versions. The built-in `native_swarm` skill is left out because native shows it only sometimes under identical settings, so these results are always `partial: true`. Windows and other versions keep the native query; on Windows, native discovery under a junction working directory differs and is not reproduced yet. ## OpenCode v1: large skill catalogs (#933), fix OpenCode v1 can exit before a large `debug skill` pipe write drains, which made valid catalogs fail. OAR now captures v1 output through a private temporary file. Failed queries keep the exit status and a redacted first stderr line. Reported upstream as anomalyco/opencode#64635. ## Qwen: signed-out model lists (#944), fix When no Qwen authentication type is configured, `listModels()` now returns `{ kind: "unauthenticated" }` instead of rejecting with a generic exit. OAR matches only Qwen's exact zero-turn startup refusal, checked on 0.26.0, 0.27.4 and 0.28.0; changed wording stays an error until verified, and an empty configured catalog stays `ok`. ## OpenCode: builtin skill scope only on verified versions (#945), fix `skill://opencode/SKILL.md` and `skill://report/SKILL.md` get `scope: "builtin"` only on 2.2.7 and 2.3.0. Other versions, including 2.3.2, keep these skills with unknown scope until verified. Docs now state that v1's `<built-in>` marker becomes `source: "builtin"` with no `path`, and that v2 model lists are bare IDs. ## Also - Kimi: CI now tests 2.6.3. From 2.5.0, resuming with different MCP servers leaves the original tool names offered to the model; to change the server set, start a fresh session (docs/runtimes/kimi.md, #940, upstream MoonshotAI/kimi-code#5036). - Kimi docs: account-usage failure boundaries stated exactly (#947). - harbor, the long-run test host: per-agent environment, run deadline and disk cap (#931); `no_reply` only for messages from people and not after a failed turn (#941, #946). - Grok docs distinguish first-home extraction from warm starts (#936); candidate workflow fix (#935). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Cindy <[email protected]>
stamp-build Bot
added a commit
that referenced
this pull request
Nov 18, 2026
<!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_475503072b7218ca66f4f46cbaa6610c"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> The harbor soak's Claude agent audited the Claude skill docs against the code and found three overclaims in the `userInvocable` join from #934: - a name listed twice in `initialize.commands` still got `userInvocable: true`; - a project skill shadowed by a builtin command of the same name got `true`, although `/name` runs the builtin; - `userInvocable: false` was claimed for `localSettings` skills, which were never observed. Now `true` needs the skill's own command, a duplicate or builtin shadow stays unknown, and `false` is claimed only for user and project settings. Project scope was verified live on Claude 2.1.322 through OAR's reader: a `user-invocable: false` project skill is absent from the commands (`false`), a normal one is listed (`true`). Docs: claude.md states these rules, and that labeled commands missing from the context list also include skills the context budget left out. The spec's `context` view row notes no runtime reports it now. The 2026-11-16 experiment note no longer calls Claude a `context` view. Tests: tests/skill-provenance.test.ts adds the duplicate, builtin-shadow and local cases; with the old reader the catalog test fails. Full check: 4,936 passed; tests/process-resources.test.ts "at most 64 stat files" failed under the parallel run (second time today, unrelated) and passes alone 3/3. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Cindy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Raft is removing its own Claude skill-folder scan (xxchan: hosts ask OAR only), and needs what the scan supplied: each skill's description, whether a person can run it, and the legacy
.claude/commandsentries.On Claude Code 2.1.322 (experiments/claude-skill-catalog-2026-11-18.md),
get_context_usagealready lists legacy.claude/commands/*.mdfiles as skills with source and native path, andinitialize.commandscarries the descriptions (with Claude's " (project)"/" (user)" label) and lists exactly the skills a user can run. Claude'sskills()now reads both in its one process and joins them by name:pathfrom the native skill list;descriptionfrom the command entry, with the label removed only when it names the entry's own scope; a builtin command never describes a non-builtin skill; a duplicated command name joins nothing; malformed command rows are skipped instead of failing the read.SkillEntry.userInvocable: true when Claude lists the skill as a command; false only for user/project/local settings skills, where absence was verified to meanuser-invocable: false; otherwise absent.disable-model-invocation) appear only as commands; they are added with the scope Claude's label names, withoutsource,pathor a model-invocation claim.discovered(the catalog is no longer only the context list), and the result ispartialwhen the context list reportsincludedSkills < totalSkills, soorientcounts only complete catalogs.Validation: unit controls for the join, label, builtin collision, duplicate, malformed row, unverified-source and partial cases; full local suite passed apart from a known load-sensitive process-table test that passed 3/3 alone; real 2.1.322 control in one process (368 to 502 ms) on the fixture above. An independent review found the orientation count, malformed-row, builtin-collision, invocability-scope and invented-source issues; all fixed here.
🤖 Generated with Claude Code