mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-07-28 01:27:58 +00:00
feat(commands): add MCP slash commands and tool details
This commit is contained in:
@@ -44,6 +44,8 @@ Telegram auto-registers PicoClaw's top-level bot commands at startup, including
|
||||
Skill-related commands:
|
||||
|
||||
- `/list skills` lists the installed skills visible to the current agent.
|
||||
- `/list mcp` lists configured MCP servers and whether they are deferred/connected.
|
||||
- `/show mcp <server>` lists the active tools for a connected MCP server.
|
||||
- `/use <skill> <message>` forces a skill for a single request.
|
||||
- `/use <skill>` arms the skill for your next message in the same chat.
|
||||
- `/use clear` clears a pending skill override.
|
||||
@@ -52,6 +54,8 @@ Examples:
|
||||
|
||||
```text
|
||||
/list skills
|
||||
/list mcp
|
||||
/show mcp github
|
||||
/use git explain how to squash the last 3 commits
|
||||
/use git
|
||||
explain how to squash the last 3 commits
|
||||
|
||||
@@ -67,9 +67,11 @@ Telegram command menu registration remains channel-local discovery UX; generic c
|
||||
|
||||
If command registration fails (network/API transient errors), the channel still starts and PicoClaw retries registration in the background.
|
||||
|
||||
You can also manage installed skills directly from Telegram:
|
||||
You can also inspect skills and MCP servers directly from Telegram:
|
||||
|
||||
- `/list skills`
|
||||
- `/list mcp`
|
||||
- `/show mcp <server>`
|
||||
- `/use <skill> <message>`
|
||||
- `/use <skill>` and then send the actual request in the next message
|
||||
- `/use clear`
|
||||
|
||||
@@ -97,9 +97,11 @@ export PICOCLAW_BUILTIN_SKILLS=/path/to/skills
|
||||
|
||||
### Using Skills From Chat Channels
|
||||
|
||||
Once skills are installed, you can inspect and force them directly from a chat channel:
|
||||
Once skills are installed, and MCP servers are configured, you can inspect and force them directly from a chat channel:
|
||||
|
||||
- `/list skills` shows the installed skill names available to the current agent.
|
||||
- `/list mcp` shows configured MCP servers with enabled/deferred/connected status.
|
||||
- `/show mcp <server>` shows the active tools exposed by a connected MCP server.
|
||||
- `/use <skill> <message>` forces a specific skill for a single request.
|
||||
- `/use <skill>` arms that skill for your next message in the same chat session.
|
||||
- `/use clear` cancels a pending skill override created by `/use <skill>`.
|
||||
@@ -109,6 +111,8 @@ Examples:
|
||||
|
||||
```text
|
||||
/list skills
|
||||
/list mcp
|
||||
/show mcp github
|
||||
/use git explain how to squash the last 3 commits
|
||||
/btw remind me what we already decided about the deploy plan
|
||||
/use italiapersonalfinance
|
||||
|
||||
Reference in New Issue
Block a user