Skip to content

feat(builtins): add ListAgents and SendMessage to known built-in tools - #53

Merged
protosphinx merged 1 commit into
mainfrom
bot/add-list-agents-send-message
Aug 10, 2026
Merged

feat(builtins): add ListAgents and SendMessage to known built-in tools#53
protosphinx merged 1 commit into
mainfrom
bot/add-list-agents-send-message

Conversation

@protosphinx

Copy link
Copy Markdown
Member

Why

ListAgents and SendMessage are Claude Code built-in tools for the multi-agent system. ListAgents lists active agent sessions (in-process subagents, other local sessions, cloud sessions), and SendMessage routes a message to a named agent by ID. Neither is in BUILTIN_TOOLS, so any skill that lists either in allowed-tools: currently gets a spurious tool-unknown warning. This adds them to the known set so skillcheck recognizes them correctly.

What

  • Add "ListAgents" to BUILTIN_TOOLS in src/builtins.ts (alphabetically between KillShell and Monitor)
  • Add "SendMessage" to BUILTIN_TOOLS in src/builtins.ts (alphabetically between ScheduleWakeup and SendUserFile)

Tests

  • test/builtins.test.ts: two new assertions confirming BUILTIN_TOOLS.has("ListAgents") and BUILTIN_TOOLS.has("SendMessage")
  • test/checks.test.ts: two new integration tests confirming neither tool triggers a tool-unknown diagnostic when listed in allowed-tools:
  • All 222 tests pass (npm run lint && npm run build && npm test)

Self-merge gate

  • all CI checks pass
  • LOC delta < 250 (30 lines added, 0 removed)
  • no public-API surface change (src/index.ts not modified)
  • no runtime-dependency additions
  • no workflow file changes
  • tests added or extended (4 new tests across 2 test files)

Generated by Claude Code

Both are Claude Code multi-agent tools: ListAgents lists active agent
sessions and SendMessage routes a message to a named agent. Skills that
list either tool in allowed-tools: currently get a spurious tool-unknown
warning; this adds them to BUILTIN_TOOLS so skillcheck recognizes them.

Adds four new tests: two in builtins.test.ts (presence in the set) and
two in checks.test.ts (no tool-unknown diagnostic for each tool).
@protosphinx protosphinx added the automated Opened by the daily bot label Aug 10, 2026 — with Claude
@protosphinx
protosphinx merged commit 407d499 into main Aug 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Opened by the daily bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant