Skip to content

Inventory: a commands reader (pi extension commands and prompt templates first) #348

Closed

Description

@xxchan

Asked by Rower for rowrow users on pi (#proj-rowrow:c498e780): rowrow's slash-command picker uses OAR's inventory for a workspace, but OAR's inventory has only skills, tools and mcpServers. Commands that pi extensions register (pi.registerCommand) and pi's prompt templates do not appear anywhere, although the agent runs them when asked.

Proposal: a commands inventory reader (name, description, source, and arguments hint where the runtime reports one), alongside the existing ones, unsupported where a runtime has no native listing.

  • pi: the extension runner's registered commands (getRegisteredCommands(), with descriptions) and the resource loader's prompt templates, from the same in-memory session the other pi readers open.
  • Others, evidence first: claude (its commands are skills today; check initialize / supportedCommands), codex custom prompts, and the ACP runtimes' available_commands_update (which needs a session).
  • Skills stay in the skills reader; a host merges the two for its picker.

Activity

  1. added 2 commits that reference this issue on Oct 11, 2026
    b6b8f02
    163d551
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions