Skip to content

cs-cli skill: cs mcp search/get, result output and exit codes for CLI 0.5.0 - #1

Closed
corespeed-agent-ensemble[bot] wants to merge 2 commits into
mainfrom
cs-cli-0.5.0
Closed

corespeed-agent-ensemble[bot] wants to merge 2 commits into
mainfrom
cs-cli-0.5.0

Conversation

@corespeed-agent-ensemble

@corespeed-agent-ensemble corespeed-agent-ensemble Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Merge only after @corespeed/cs 0.5.0 is on npm (corespeed-io/corespeed-haas#870) — until then these commands do not exist in the published CLI.

This updates plugins/corespeed/skills/cs-cli/SKILL.md for the 0.5.0 CLI. Two statements in the current skill become false at 0.5.0: that a refused cs mcp call "still exits 0 with isError: true", and that cs mcp list prints tools/list as JSON.

  • Commands table: adds cs mcp search <words…> [--limit <n>] [--json] and cs mcp get <tool> [--json]. Documents --raw on cs mcp call and --json on cs mcp list, and describes both commands' new output.
  • New "Find a tool and call it" section: the search → get → call flow for organizations with many tools, how get handles account, and what call prints (structuredContent first, else content with JSON pretty-printed). It also covers the media__understand case, where the answer is only in the text, so you read it with --raw.
  • Output and exit codes: cs mcp call now pipes cleanly and signals the outcome in its exit code. Exit 1 now also covers isError and bad arguments, and exit 4 covers a metered call refused for the organization's standing. New exit 6 means the call is waiting on a human's approval; the fix is to run the printed manage__approval_wait call right away, not to retry.
  • Frontmatter triggers: add cs mcp search and cs mcp get.

The plugin version is bumped from 0.2.0 to 0.2.1 in both plugin manifests so installed plugins refresh and pick up the new skill; neither marketplace entry pins a version.

Locally, all three check manifest steps pass, and the pinned scanner (plugin-scanner 3.9.0, SHA-256 matches the action's pin) gives 88/100 with no high findings, identical to main.

🤖 Generated with Claude Code

Agent and others added 2 commits September 29, 2026 23:29
… 0.5.0

@corespeed/cs 0.5.0 adds cs mcp search and cs mcp get, makes cs mcp call
print the tool's result (structuredContent first, --raw for the
CallToolResult as it arrived) and exit non-zero when the tool did not do
what it was asked, and turns cs mcp list into one line per tool with
--json for the definitions. The skill still said a refused call exits 0
and that list prints tools/list as JSON; both stop being true at 0.5.0.

Adds a "Find a tool and call it" section for the search → get → call
flow, extends exit codes 1 and 4 to tool calls, and adds exit 6 for a
call waiting on a human's approval.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude Code and Codex cache an installed plugin by its version, so the
updated cs-cli skill reaches existing installs only with a new one. Both
manifests move together; neither marketplace entry pins a version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@corespeed-agent-ensemble

Copy link
Copy Markdown
Contributor Author

Closing: superseded. #2 (merged 2026-10-11) shipped the cs-cli skill for cs 0.5.0 — cs mcp search / get, the result output, the exit codes including 6 — and #5 (merged 2026-10-26) carried the skill on to cs 0.10.0. This branch now only removes things main has, so there is nothing left to take from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants