[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75GEZ0BGTW0TS8E4QARHM8R":3,"skill-same:01M75GEZ0BGTW0TS8E4QARHM8R":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M75GEZ0BGTW0TS8E4QARHM8R","Superagent MCP Tools",null,"Comprehensive operational guide and complete catalog for Superagent's Model Context Protocol (MCP) server. Covers dynamic tool gateway discovery, multi-agent orchestration, workspace operations, Delegate Chrome bridge, browser CDP automation, Set-of-Mark (SoM) vision perception, runtime service management, and cross-device mesh.","RudyCity\u002Fsuperagent","RudyCity","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82188919?v=4","01M75FP5X8AW8ACBH0SH34WS7M","01M75FP5YAHJK8M1Q52BWXB82K",70,"MIT","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsuperagent-mcp-tools\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: Superagent MCP Tools\ndescription: Comprehensive operational guide and complete catalog for Superagent's Model Context Protocol (MCP) server. Covers dynamic tool gateway discovery, multi-agent orchestration, workspace operations, Delegate Chrome bridge, browser CDP automation, Set-of-Mark (SoM) vision perception, runtime service management, and cross-device mesh.\nwhen_to_use: when connecting to or operating Superagent via MCP; when invoking or discovering superagent_* tools; when orchestrating 3-tier agents, managing projects, controlling browsers, or automating tasks through the Superagent MCP server.\nversion: 1.0.0\nauthor: Superagent\ncategory: MCP & Tooling\nmode: all\n---\n\n# Superagent MCP Tools & Capabilities\n\n## Overview\n\nSuperagent provides a complete 3-pillar (**Tools**, **Resources**, **Prompts**) Model Context Protocol (MCP) server. It enables external AI clients (such as Antigravity, Claude Code, Claude Desktop, ChatGPT, t-line desktop client, or automated scripts) to programmatically interact with Superagent's entire runtime:\n- **Multi-Agent Orchestration**: 3-tier agent hierarchy (Master Agent $\\rightarrow$ Superagent $\\rightarrow$ Subagent) with isolated Git feature worktrees.\n- **Dynamic Tool Gateway**: High-efficiency catalog search, schema inspection, and gated tool execution.\n- **Workspace & File System**: Batch file read\u002Fwrite, AST\u002Fregex search, patch application, and shell commands.\n- **Delegate Chrome Bridge**: Deep automation and two-way messaging with browser-hosted AI assistants (ChatGPT, Claude).\n- **Chrome CDP & Vision AI**: DevTools Protocol automation and Set-of-Mark (SoM) RF-DETR visual perception.\n- **Runtime Service & Core Lifecycle**: Blue-green restarts, rollbacks, and unified status across 19 managed background services.\n- **Cross-Device & LAN Mesh**: Android device automation, secure LAN command execution, and encrypted P2P file transfers.\n- **Persistent Brain & Memory**: SQLite FTS5 session search, token analytics, and long-term knowledge storage.\n\n---\n\n## Architecture & Security Model\n\n### 1. Dual MCP Exposure Modes\n\nSuperagent supports two operational exposure modes configured via `~\u002F.superagent-r\u002Fmcp-tool-exposure.json` or the `SUPERAGENT_MCP_TOOL_EXPOSURE` environment variable (`gateway` | `full`):\n\n| Exposure Mode | Advertised Tools | Behavior & Benefits |\n|---|---|---|\n| **`gateway` (Default)** | Curated core set (~20 tools) | Eagerly advertises gateway discovery tools (`superagent_tool_search`, `superagent_tool_describe`, `superagent_tool_execute`, `superagent_tool_status`), core project\u002Fworkspace tools, and delegate chat readers. Prevents context window explosion while granting access to the full catalog on-demand. |\n| **`full`** | Entire catalog (80+ tools) | Directly advertises all registered tools across all domains. Best suited for high-context models or specialized single-agent setups. |\n\n### 2. YOLO Modes & Safety Guardrails\n\nEvery MCP tool call is subjected to Superagent's unified security boundary:\n\n- **YOLO OFF**: Denies all tools classified as `dangerous` (e.g., shell command execution, file modifications, service restarts) regardless of arguments or OAuth grants. Safe inspection tools remain active.\n- **Scoped YOLO**: Permits dangerous operations strictly constrained within the active workspace root or designated project boundary. Access outside the workspace boundary is blocked.\n- **Full YOLO**: Allows broad local filesystem and command execution, but strictly enforces protected file boundaries:\n  - `.env` and credential files are protected.\n  - Model configurations and OAuth stores cannot be maliciously tampered with.\n  - Known legacy system ports (e.g., `6759`, `6789`, `7888`, `9877`) and authenticated process ownership are protected.\n\n---\n\n## 1. Gateway & Dynamic Tool Discovery\n\nWhen operating in `gateway` mode, clients discover and invoke specialized tools dynamically without loading large schemas upfront.\n\n### Gateway Tools Reference\n\n| Tool Name | Purpose | Key Parameters |\n|---|---|---|\n| `superagent_tool_search` | Search available MCP tools by keyword, intent, or regex | `query` (string), `limit` (optional integer) |\n| `superagent_tool_describe` | Retrieve complete inputSchema and documentation for tools | `names` (array of strings) |\n| `superagent_tool_execute` | Safely execute a discovered tool through the gateway | `name` (string), `arguments` (object) |\n| `superagent_tool_status` | Inspect gateway state, active exposure mode, and catalog size | None |\n\n#### Discovery Protocol Flow\n```text\n1. Search catalog:   superagent_tool_search({ query: \"chrome cdp\" })\n2. Inspect schema:   superagent_tool_describe({ names: [\"superagent_chrome_cdp\"] })\n3. Execute tool:     superagent_tool_execute({ name: \"superagent_chrome_cdp\", arguments: { command: \"screenshot\" } })\n```\n\n---\n\n## 2. Multi-Agent Orchestration & Lifecycle\n\nSuperagent implements an isolated 3-tier hierarchy where Master Agent delegates features to Superagents running in isolated Git feature worktrees (`~\u002F.superagent-r\u002Fworktrees\u002F\u003Cname>`).\n\n### Multi-Agent Tools Reference\n\n| Tool Name | Tier \u002F Role | Description |\n|---|---|---|\n| `superagent_invoke` | Master Tier | Spawn a feature-level Superagent with role, task prompt, and isolated git worktree branch. |\n| `superagent_await` | Master Tier | Wait for spawned Superagents to complete their tasks, with optional timeout. |\n| `superagent_merge` | Master Tier | Verify acceptance criteria and merge an isolated Superagent's worktree branch into the main branch. |\n| `superagent_manage` | Lifecycle | High-level management: `status`, `logs`, `report`, `violations`, `kill`, or `retry_failed`. |\n| `superagent_manage_worktrees` | Git Worktrees | Manage Git feature worktrees (`list`, `create`, `prune`, `inspect`). |\n| `superagent_list_active` | Inventory | List all active Master Agents, Superagents, Subagents, and background processes. |\n| `superagent_get_process_status` | Diagnostics | Real-time process details: iterations, thinking logs, tool streams, and token usage. |\n| `superagent_get_status` | Inspection | Detailed status, worktree paths, violation logs, and final completion reports. |\n| `superagent_get_logs` | Logs | Retrieve recent execution logs, shell outputs, and thinking blocks for an instance. |\n| `superagent_send_message` | Multi-turn | Send mid-flight guidance or corrective feedback to an active Superagent instance. |\n| `superagent_interrupt` | Control | Immediately interrupt current agent iteration. |\n| `superagent_pause` \u002F `superagent_resume` | Control | Pause an active agent session and resume execution when ready. |\n| `superagent_run_task` | One-shot | Execute an ad-hoc prompt or task headless without opening the terminal UI. |\n| `superagent_cli_bridge` | Bridge | Delegate tasks to external CLI assistants (Claude Code, Codex, AGY) with persistent sessions. |\n\n---\n\n## 3. Workspace, File Operations & Code Editing\n\nSuperagent provides batch-capable, boundary-checked file tools with auto-normalization for stringified arrays and Windows path backslashes.\n\n### File & Workspace Tools Reference\n\n| Tool Name | Classification | Description |\n|---|---|---|\n| `superagent_get_workspace` | Safe | Returns root workspace path, active Git branch, and status. |\n| `superagent_switch_workspace` | Dangerous | Switch the active root workspace to a target directory path. |\n| `superagent_read_file` | Safe | Read file content with optional `startLine` and `endLine`. |\n| `superagent_read_files` | Safe | Concurrent batch reading of multiple files (`filePaths: [\"path1\", \"path2\"]`). |\n| `superagent_write_file` | Dangerous | Create or overwrite a file with given content. |\n| `superagent_write_files` | Dangerous | Batch create or update multiple files in a single turn. |\n| `superagent_list_files` | Safe | Recursively list directory contents with ignore patterns. |\n| `superagent_grep_search` | Safe | Fast regex or text search across codebase files. |\n| `superagent_find_files` | Safe | Find files matching glob patterns (e.g., `**\u002F*.test.ts`). |\n| `superagent_replace_file_content`| Dangerous | Precise string or block replacement within a file. |\n| `superagent_apply_patch` | Dangerous | Apply unified diff patches directly to files. |\n| `superagent_unlock_file` | Dangerous | Remove read-only flags or file locks. |\n| `superagent_exec_command` | Dangerous | Execute shell commands safely in target directory with output capture. |\n| `superagent_git_action` | Dangerous | Guarded Git actions (`status`, `diff`, `branch`, `commit`, `push`). |\n\n---\n\n## 4. Multi-Project Management & Workspace Chains\n\nManage multi-repository setups, remote SSH projects, and cross-project dependency chains.\n\n### Project & Chain Tools Reference\n\n| Tool Name | Description |\n|---|---|\n| `superagent_list_projects` | List all registered projects across local and SSH providers. |\n| `superagent_get_project` | Get project metadata, root directory, target, and provider kind. |\n| `superagent_discover_projects` | Scan directory trees to discover existing Git or Node repositories. |\n| `superagent_import_discovered_project` | Import an auto-discovered project into the registry. |\n| `superagent_sync_projects` | Sync project registry with filesystem state. |\n| `superagent_check_project_health` | Probe project root existence, Git repository status, and SSH connectivity. |\n| `superagent_register_project` | Register a new local or SSH project root. |\n| `superagent_update_project` | Update project configuration, description, or enabled status. |\n| `superagent_remove_project` | Unregister project from registry. |\n| `superagent_list_project_access` | List principal identities and granted access capabilities. |\n| `superagent_grant_project_access` | Grant project capability (`read`, `write`, `admin`, `system`) to an identity. |\n| `superagent_revoke_project_access`| Revoke access capability from an identity. |\n| `superagent_list_workspace_chains` | List multi-repo workspace chains and cross-repository dependencies. |\n| `superagent_manage_workspace_chain`| Configure, link, or unlink workspace dependencies. |\n| `superagent_cross_workspace_exec` | Execute commands or tools across connected workspace chains. |\n\n---\n\n## 5. Task Checklists, Implementation Plans & Skills\n\nSuperagent tracks tasks and implementation plans using Markdown checklist conventions (`[ ]`, `[\u002F]`, `[x]`).\n\n### Planning & Skills Tools Reference\n\n| Tool Name | Description | Key Parameters |\n|---|---|---|\n| `superagent_get_current_task` | Get active checklist item, progress %, and instance status | `instanceId` (optional), `currentOnly` (optional boolean) |\n| `superagent_get_plan_and_tasks` | Parse implementation plan document and task checklist | `superagentId` or `workspace` path |\n| `superagent_update_tasks` | Update checklist status (`mark_completed`, `mark_in_progress`, `add_task`) | `action`, `taskText`, `superagentId` (optional) |\n| `superagent_manage_plan` | Create, update, or retrieve structured implementation plans | `action` (\"get\" \\| \"set\"), `content` |\n| `superagent_manage_tasks` | Detailed task checklist operations | `action`, `tasks` |\n| `superagent_get_skills` | List all available installed, workspace, and synthesized skills | None |\n| `superagent_use_skill` | Load detailed instructions and context from a specific skill | `skillName` (string) |\n| `superagent_synthesize_skill` | Synthesize a new autonomous skill from successful session trajectories | `skillName`, `description`, `trajectoryId` |\n\n---\n\n## 6. Delegate Chrome Bridge (ChatGPT \u002F Claude Remote Automation)\n\nSuperagent features a host-owned Delegate Chrome Bridge that directly connects to browser-hosted ChatGPT or Claude sessions without opening additional ports or sending duplicate requests.\n\n### Delegate Tools Reference\n\n| Tool Name | Safe \u002F Write | Description |\n|---|---|---|\n| `superagent_delegate_read_chat` | Safe | Read recent messages, connection status, and active profile metadata. |\n| `superagent_delegate_list_chats` | Safe | List conversation threads available in the connected browser profile. |\n| `superagent_delegate_read_chat_full` | Safe | Read complete chat transcript, including tool calls and model thinking blocks. |\n| `superagent_delegate_search_history` | Safe | Search past browser chat conversations by keyword. |\n| `superagent_delegate_sync_history` | Safe | Trigger synchronization of chat history with local SQLite cache. |\n| `superagent_delegate_search_index` | Safe | Full-text search over indexed browser conversation transcripts. |\n| `superagent_delegate_doctor` | Safe | Run diagnostic checks on extension connection, profile health, and tabs. |\n| `superagent_delegate_run_until_done`| Safe | Wait autonomously until ongoing model generation is completely finished. |\n| `superagent_delegate_inspect_chat_config` | Safe | Inspect active model settings, profile parameters, and limits. |\n| `superagent_delegate_configure_chat` | Write | Set parameters (model, temperature, plugins) for target chat. |\n| `superagent_delegate_create_chat` | Write | Start a fresh chat thread in the connected browser. |\n| `superagent_delegate_send_message` | Write | Send prompt or instruction to ChatGPT\u002FClaude with optional idempotency key. |\n| `superagent_delegate_stop_generation` | Write | Stop ongoing generation immediately. |\n\n---\n\n## 7. Chrome DevTools Protocol (CDP) & Set-of-Mark Vision\n\nFull headless or headful Chrome browser control with unified Set-of-Mark (SoM) visual perception.\n\n### Chrome & Vision Tools Reference\n\n| Tool Name | Key Capabilities |\n|---|---|\n| `superagent_chrome_cdp` | Direct CDP automation: `click`, `type`, `navigate`, `evaluate`, `screenshot`, `cookies`, `storage`, `network`, `emulate_device` (mobile\u002Ftablet\u002Fdesktop), `mock_display_media` (screen share bypass), `handle_screen_share` (accept\u002Fdismiss picker dialogs), `drag_and_drop` with Bezier smoothing. |\n| `superagent_chrome_vision` | Set-of-Mark (SoM) RF-DETR vision AI: `perceive_page` (labels interactive elements with numeric badges `[1]`, `[2]`), `click_id` \u002F `type_id` (direct coordinate targeting bypassing DOM\u002Fshadow-DOM\u002Fcanvas), `audit_layout` (collision\u002Ftap-target defect detection), `verify_visual_state` (pixel diffing). |\n| `superagent_list_running_chrome` | Multi-window enumeration, profile display names from Local State, and tab lists via Windows UI Automation. |\n| `superagent_close_chrome_profile` | Terminate Chrome processes matching exact `--profile-directory`. |\n| `superagent_close_chrome_window` | Close a specific Chrome window by handle\u002Ftitle. |\n| `superagent_launch_chrome` | Launch Chrome with debugging flags and dedicated profile. |\n| `superagent_list_chrome_profiles` | List installed Chrome user profiles on the host machine. |\n| `superagent_remote_chrome` | Interact with remote Chrome instances via serverless WebSocket bridge (port 9223). |\n\n---\n\n## 8. Desktop UI Automation\n\nNative OS desktop automation for windows, mouse, and keyboard interactions.\n\n| Tool Name | Actions & Parameters |\n|---|---|\n| `superagent_desktop_ui` | Native desktop control: `action: \"screenshot\"` (full or window capture), `action: \"click\"` (coordinate or element click), `action: \"type\"` (keystroke typing), `action: \"key_combo\"` (hotkeys), `action: \"list_windows\"` (enumerate top-level windows), `action: \"focus_window\"` (bring window to foreground). |\n\n---\n\n## 9. Core Lifecycle & Service Management\n\nEnforces the R0-R7 single-runtime deployment contract. Protects authenticated process owners from accidental termination while providing blue-green lifecycle mutations.\n\n### Core Lifecycle Tools\n\n| Tool Name | Classification | Purpose |\n|---|---|---|\n| `superagent_core_status` | Safe | Read-only supervised API Core status, generation, and health. |\n| `superagent_core_plan` | Safe | Preflight check for mutations: generates stable `operationId` and `expectedBuildDigest`. |\n| `superagent_core_restart` | Dangerous | Blue-green verified restart of development Core. Requires `confirm: true`, `operationId`, and `expectedBuildDigest`. |\n| `superagent_core_rollback` | Dangerous | Roll back Core to retained previous generation. |\n| `superagent_core_drain` | Dangerous | Gracefully retire idle retained Core generations while preserving active sessions. |\n\n### Service Manager Tool: `superagent_manage_services`\n\nUnified controller covering 19 Superagent runtime services (`core`, `mcp`, `tray`, `tunnels`, `muse`, `telegram`, `vision`, `guardian`, `daemon`, etc.):\n- **Inspection**: `inventory`, `status`, `doctor`, `health`, `dashboard`, `logs`, `profile`.\n- **Preflight & Planning**: `plan` (generates preflight digests and operation IDs).\n- **Mutations (Requires `confirm: true`)**: `start`, `stop`, `restart`, `rollback`, `drain`, `reload`, `upgrade`, `recycle`.\n\n---\n\n## 10. Remote Agent, Muse, Tunnels & Telegram\n\nConnect Superagent to remote agents, WebSocket tunnels, and Telegram messaging channels.\n\n| Tool Name | Purpose |\n|---|---|\n| `superagent_muse_chat_status` | Check if active WebSocket tunnel supports two-way chat. |\n| `superagent_muse_chat` | Send a message to remote Muse agent and await correlated reply. |\n| `superagent_muse_tunnel_start` | Start Cloudflare tunnel \u002F WebSocket tunnel. |\n| `superagent_muse_tunnel_restart` | Re-establish tunnel connection. |\n| `superagent_muse_send_file` | Enqueue and transfer a file to Muse workspace. |\n| `superagent_muse_file_status` | Check file transfer queue and progress. |\n| `superagent_muse_file_cancel` | Cancel an in-flight file transfer. |\n| `superagent_telegram_send_file` | Send file to configured Telegram chat\u002Fbot. |\n| `superagent_telegram_send_to_muse` | Bridge a Telegram message to remote Muse listener. |\n| `superagent_get_remote_status` | Inspect status of all remote bridge endpoints. |\n\n---\n\n## 11. Cross-Device LAN Mesh (Android & Devices)\n\nAutonomous local network mesh discovering nearby Superagent nodes and controlling Android devices.\n\n| Tool Name | Sub-Domain | Description |\n|---|---|---|\n| `superagent_lan_discover` | Mesh | Discover nearby LAN Superagent nodes and paired devices. |\n| `superagent_lan_list_devices` | Mesh | List paired or remembered devices. |\n| `superagent_lan_capabilities` | Mesh | Query capabilities of a target LAN node. |\n| `superagent_lan_pair_*` | Pairing | Request, check, verify PIN, or cancel LAN pairing (`pair_request`, `pair_status`, `pair`, `pair_cancel`). |\n| `superagent_lan_session_*` | Session | Open or close encrypted peer-to-peer session (`session_open`, `session_close`). |\n| `superagent_lan_device_exec` | Exec | Execute non-interactive shell command on remote LAN device. |\n| `superagent_lan_terminal_exec`| Exec | Interactive streaming terminal session on LAN device. |\n| `superagent_lan_android_*` | Android | Android automation: `diagnostic`, `ui_schema`, `ui_click`, `screen`, `input`. |\n| `superagent_lan_file_*` | Transfer | End-to-end encrypted LAN file transfer (`file_offer`, `file_put`, `file_get`, `file_finish`, `file_abort`). |\n| `superagent_device_tunnel_*` | Tunnels | Manage direct P2P device tunnels (`list`, `pair_request`, `revoke`). |\n\n---\n\n## 12. Remotion Motion Graphics Engine\n\nProgrammatic video and motion graphics engine driven by Remotion.\n\n| Tool Name | Description |\n|---|---|\n| `superagent_motion_generate` | Generate motion composition from brief or script. |\n| `superagent_motion_revise` | Apply revisions to an existing motion composition. |\n| `superagent_motion_create` \u002F `_edit`| Direct composition creation and frame editing. |\n| `superagent_motion_import_*` | Import image or audio assets into the composition. |\n| `superagent_motion_render` | Render composition to MP4 or WebM video. |\n| `superagent_motion_status` \u002F `_jobs`| Check rendering queue and job statuses. |\n| `superagent_motion_cancel` | Cancel an active rendering job. |\n\n---\n\n## 13. Brain, Memory, Analytics & History\n\nPersistent knowledge base, token tracking analytics, and full-text session search.\n\n| Tool Name | Purpose |\n|---|---|\n| `superagent_brain` | Query persistent vector store \u002F knowledge brain. |\n| `superagent_brain_publish` | Index code artifacts or documentation into brain. |\n| `superagent_memory_search` | Search pinned facts and long-term memories. |\n| `superagent_memory_save` | Save new permanent knowledge or project conventions to memory. |\n| `superagent_query_history` | Query SQLite history database (`history.db`) using FTS5 full-text search. |\n| `superagent_get_config` | Inspect active model configurations, API keys (masked), and presets. |\n| `superagent_switch_preset` | Switch active model preset dynamically. |\n| `superagent_switch_provider` | Switch active provider (Anthropic, OpenAI, Gemini, Ollama, DeepSeek). |\n| `superagent_export_session` | Export full conversation transcript to Markdown or JSON. |\n| `superagent_compact_context` | Manually trigger context compaction to free tokens. |\n| `superagent_get_token_usage` | Inspect exact prompt, completion, and tool token metrics. |\n\n---\n\n## 14. Standard MCP Resources & Prompts\n\n### Resources Reference\n\n| Resource URI | Description |\n|---|---|\n| `superagent:\u002F\u002Fstatus\u002Flive` | Real-time JSON: Master Agent state, active Superagents, subagents, and token analytics. |\n| `superagent:\u002F\u002Fworkspace\u002Finfo` | Root workspace path, active Git branch, and list of registered feature worktrees. |\n| `superagent:\u002F\u002Fconfig\u002Fcurrent` | Active provider, loaded presets, and tier model assignments. |\n| `superagent:\u002F\u002Fhistory\u002Fsessions` | List of recent chat sessions, message counts, and timestamps. |\n| `superagent:\u002F\u002Fmemory\u002Fpinned` | Permanent pinned knowledge and project memories. |\n| `superagent:\u002F\u002Finstructions\u002Fagentic-mcp` | Embedded agentic execution instructions for connecting models. |\n\n### Prompts Reference\n\n| Prompt Name | Arguments | Purpose |\n|---|---|---|\n| `superagent_orchestrate` | `feature` (string), `acceptanceCriteria` (string) | Template to orchestrate multi-agent feature implementation. |\n| `superagent_debug` | `error` (string), `file` (string) | Structured root-cause investigation and debugging prompt. |\n| `superagent_review` | `targetBranch` (string) | Pre-merge code review against plan and safety rules. |\n| `superagent_agentic_mcp` | `task` (string), `targetWorkspace` (string), `constraints` (string) | Strict `TOOL_FIRST` execution contract for MCP clients. |\n\n---\n\n## End-to-End Workflow Recipes\n\n### Recipe 1: Dynamic Gateway Discovery & Execution\n```text\nGoal: Search for a file tool and read a configuration file.\n1. Call superagent_tool_search({ query: \"read file\" })\n   -> Returns superagent_read_file and superagent_read_files.\n2. Call superagent_tool_describe({ names: [\"superagent_read_file\"] })\n   -> Returns inputSchema: { filePath: string, startLine?: number, endLine?: number }\n3. Call superagent_tool_execute({\n     name: \"superagent_read_file\",\n     arguments: { filePath: \"package.json\", startLine: 1, endLine: 30 }\n   })\n```\n\n### Recipe 2: Spawning and Monitoring a Feature Superagent\n```text\nGoal: Implement an isolated feature without affecting the main working tree.\n1. Call superagent_invoke({\n     role: \"auth-specialist\",\n     task: \"Implement OAuth2 PKCE callback handler with vitest tests\",\n     branch: \"feature-oauth-pkce\"\n   })\n   -> Returns superagentId: \"agent-xyz-881\"\n2. Periodically inspect progress:\n   Call superagent_get_plan_and_tasks({ superagentId: \"agent-xyz-881\" })\n3. Review logs when completed:\n   Call superagent_get_logs({ id: \"agent-xyz-881\", limit: 50 })\n4. Merge worktree into main:\n   Call superagent_merge({ superagentId: \"agent-xyz-881\" })\n```\n\n### Recipe 3: Set-of-Mark (SoM) Web Automation\n```text\nGoal: Perceive a web page and click a specific button by its visual numeric tag.\n1. Call superagent_chrome_vision({ action: \"perceive_page\" })\n   -> Labels all elements with numeric badges ([1], [2], [3]...) and returns screenshot + metadata.\n2. Inspect metadata: Badge [4] corresponds to \"Submit Order\".\n3. Call superagent_chrome_vision({ action: \"click_id\", id: 4 })\n   -> Dispatches native CDP click directly to the center coordinates of element [4].\n```\n\n### Recipe 4: Supervised Core Lifecycle Rolling Restart\n```text\nGoal: Safely restart the API Core without killing active sessions or MCP tunnels.\n1. Preflight plan:\n   Call superagent_core_plan({ action: \"restart\" })\n   -> Returns { operationId: \"op-7848-abcd\", expectedBuildDigest: \"a1b2c3...\" }\n2. Execute verified mutation:\n   Call superagent_core_restart({\n     confirm: true,\n     operationId: \"op-7848-abcd\",\n     expectedBuildDigest: \"a1b2c3...\"\n   })\n   -> Verified blue-green switchover occurs with zero socket disruption.\n```\n","# Superagent MCP Tools & Capabilities\n\n## Overview\n\nSuperagent provides a complete 3-pillar (**Tools**, **Resources**, **Prompts**) Model Context Protocol (MCP) server. It enables external AI clients (such as Antigravity, Claude Code, Claude Desktop, ChatGPT, t-line desktop client, or automated scripts) to programmatically interact with Superagent's entire runtime:\n- **Multi-Agent Orchestration**: 3-tier agent hierarchy (Master Agent $\\rightarrow$ Superagent $\\rightarrow$ Subagent) with isolated Git feature worktrees.\n- **Dynamic Tool Gateway**: High-efficiency catalog search, schema inspection, and gated tool execution.\n- **Workspace & File System**: Batch file read\u002Fwrite, AST\u002Fregex search, patch application, and shell commands.\n- **Delegate Chrome Bridge**: Deep automation and two-way messaging with browser-hosted AI assistants (ChatGPT, Claude).\n- **Chrome CDP & Vision AI**: DevTools Protocol automation and Set-of-Mark (SoM) RF-DETR visual perception.\n- **Runtime Service & Core Lifecycle**: Blue-green restarts, rollbacks, and unified status across 19 managed background services.\n- **Cross-Device & LAN Mesh**: Android device automation, secure LAN command execution, and encrypted P2P file transfers.\n- **Persistent Brain & Memory**: SQLite FTS5 session search, token analytics, and long-term knowledge storage.\n\n---\n\n## Architecture & Security Model\n\n### 1. Dual MCP Exposure Modes\n\nSuperagent supports two operational exposure modes configured via `~\u002F.superagent-r\u002Fmcp-tool-exposure.json` or the `SUPERAGENT_MCP_TOOL_EXPOSURE` environment variable (`gateway` | `full`):\n\n| Exposure Mode | Advertised Tools | Behavior & Benefits |\n|---|---|---|\n| **`gateway` (Default)** | Curated core set (~20 tools) | Eagerly advertises gateway discovery tools (`superagent_tool_search`, `superagent_tool_describe`, `superagent_tool_execute`, `superagent_tool_status`), core project\u002Fworkspace tools, and delegate chat readers. Prevents context window explosion while granting access to the full catalog on-demand. |\n| **`full`** | Entire catalog (80+ tools) | Directly advertises all registered tools across all domains. Best suited for high-context models or specialized single-agent setups. |\n\n### 2. YOLO Modes & Safety Guardrails\n\nEvery MCP tool call is subjected to Superagent's unified security boundary:\n\n- **YOLO OFF**: Denies all tools classified as `dangerous` (e.g., shell command execution, file modifications, service restarts) regardless of arguments or OAuth grants. Safe inspection tools remain active.\n- **Scoped YOLO**: Permits dangerous operations strictly constrained within the active workspace root or designated project boundary. Access outside the workspace boundary is blocked.\n- **Full YOLO**: Allows broad local filesystem and command execution, but strictly enforces protected file boundaries:\n  - `.env` and credential files are protected.\n  - Model configurations and OAuth stores cannot be maliciously tampered with.\n  - Known legacy system ports (e.g., `6759`, `6789`, `7888`, `9877`) and authenticated process ownership are protected.\n\n---\n\n## 1. Gateway & Dynamic Tool Discovery\n\nWhen operating in `gateway` mode, clients discover and invoke specialized tools dynamically without loading large schemas upfront.\n\n### Gateway Tools Reference\n\n| Tool Name | Purpose | Key Parameters |\n|---|---|---|\n| `superagent_tool_search` | Search available MCP tools by keyword, intent, or regex | `query` (string), `limit` (optional integer) |\n| `superagent_tool_describe` | Retrieve complete inputSchema and documentation for tools | `names` (array of strings) |\n| `superagent_tool_execute` | Safely execute a discovered tool through the gateway | `name` (string), `arguments` (object) |\n| `superagent_tool_status` | Inspect gateway state, active exposure mode, and catalog size | None |\n\n#### Discovery Protocol Flow\n```text\n1. Search catalog:   superagent_tool_search({ query: \"chrome cdp\" })\n2. Inspect schema:   superagent_tool_describe({ names: [\"superagent_chrome_cdp\"] })\n3. Execute tool:     superagent_tool_execute({ name: \"superagent_chrome_cdp\", arguments: { command: \"screenshot\" } })\n```\n\n---\n\n## 2. Multi-Agent Orchestration & Lifecycle\n\nSuperagent implements an isolated 3-tier hierarchy where Master Agent delegates features to Superagents running in isolated Git feature worktrees (`~\u002F.superagent-r\u002Fworktrees\u002F\u003Cname>`).\n\n### Multi-Agent Tools Reference\n\n| Tool Name | Tier \u002F Role | Description |\n|---|---|---|\n| `superagent_invoke` | Master Tier | Spawn a feature-level Superagent with role, task prompt, and isolated git worktree branch. |\n| `superagent_await` | Master Tier | Wait for spawned Superagents to complete their tasks, with optional timeout. |\n| `superagent_merge` | Master Tier | Verify acceptance criteria and merge an isolated Superagent's worktree branch into the main branch. |\n| `superagent_manage` | Lifecycle | High-level management: `status`, `logs`, `report`, `violations`, `kill`, or `retry_failed`. |\n| `superagent_manage_worktrees` | Git Worktrees | Manage Git feature worktrees (`list`, `create`, `prune`, `inspect`). |\n| `superagent_list_active` | Inventory | List all active Master Agents, Superagents, Subagents, and background processes. |\n| `superagent_get_process_status` | Diagnostics | Real-time process details: iterations, thinking logs, tool streams, and token usage. |\n| `superagent_get_status` | Inspection | Detailed status, worktree paths, violation logs, and final completion reports. |\n| `superagent_get_logs` | Logs | Retrieve recent execution logs, shell outputs, and thinking blocks for an instance. |\n| `superagent_send_message` | Multi-turn | Send mid-flight guidance or corrective feedback to an active Superagent instance. |\n| `superagent_interrupt` | Control | Immediately interrupt current agent iteration. |\n| `superagent_pause` \u002F `superagent_resume` | Control | Pause an active agent session and resume execution when ready. |\n| `superagent_run_task` | One-shot | Execute an ad-hoc prompt or task headless without opening the terminal UI. |\n| `superagent_cli_bridge` | Bridge | Delegate tasks to external CLI assistants (Claude Code, Codex, AGY) with persistent sessions. |\n\n---\n\n## 3. Workspace, File Operations & Code Editing\n\nSuperagent provides batch-capable, boundary-checked file tools with auto-normalization for stringified arrays and Windows path backslashes.\n\n### File & Workspace Tools Reference\n\n| Tool Name | Classification | Description |\n|---|---|---|\n| `superagent_get_workspace` | Safe | Returns root workspace path, active Git branch, and status. |\n| `superagent_switch_workspace` | Dangerous | Switch the active root workspace to a target directory path. |\n| `superagent_read_file` | Safe | Read file content with optional `startLine` and `endLine`. |\n| `superagent_read_files` | Safe | Concurrent batch reading of multiple files (`filePaths: [\"path1\", \"path2\"]`). |\n| `superagent_write_file` | Dangerous | Create or overwrite a file with given content. |\n| `superagent_write_files` | Dangerous | Batch create or update multiple files in a single turn. |\n| `superagent_list_files` | Safe | Recursively list directory contents with ignore patterns. |\n| `superagent_grep_search` | Safe | Fast regex or text search across codebase files. |\n| `superagent_find_files` | Safe | Find files matching glob patterns (e.g., `**\u002F*.test.ts`). |\n| `superagent_replace_file_content`| Dangerous | Precise string or block replacement within a file. |\n| `superagent_apply_patch` | Dangerous | Apply unified diff patches directly to files. |\n| `superagent_unlock_file` | Dangerous | Remove read-only flags or file locks. |\n| `superagent_exec_command` | Dangerous | Execute shell commands safely in target directory with output capture. |\n| `superagent_git_action` | Dangerous | Guarded Git actions (`status`, `diff`, `branch`, `commit`, `push`). |\n\n---\n\n## 4. Multi-Project Management & Workspace Chains\n\nManage multi-repository setups, remote SSH projects, and cross-project dependency chains.\n\n### Project & Chain Tools Reference\n\n| Tool Name | Description |\n|---|---|\n| `superagent_list_projects` | List all registered projects across local and SSH providers. |\n| `superagent_get_project` | Get project metadata, root directory, target, and provider kind. |\n| `superagent_discover_projects` | Scan directory trees to discover existing Git or Node repositories. |\n| `superagent_import_discovered_project` | Import an auto-discovered project into the registry. |\n| `superagent_sync_projects` | Sync project registry with filesystem state. |\n| `superagent_check_project_health` | Probe project root existence, Git repository status, and SSH connectivity. |\n| `superagent_register_project` | Register a new local or SSH project root. |\n| `superagent_update_project` | Update project configuration, description, or enabled status. |\n| `superagent_remove_project` | Unregister project from registry. |\n| `superagent_list_project_access` | List principal identities and granted access capabilities. |\n| `superagent_grant_project_access` | Grant project capability (`read`, `write`, `admin`, `system`) to an identity. |\n| `superagent_revoke_project_access`| Revoke access capability from an identity. |\n| `superagent_list_workspace_chains` | List multi-repo workspace chains and cross-repository dependencies. |\n| `superagent_manage_workspace_chain`| Configure, link, or unlink workspace dependencies. |\n| `superagent_cross_workspace_exec` | Execute commands or tools across connected workspace chains. |\n\n---\n\n## 5. Task Checklists, Implementation Plans & Skills\n\nSuperagent tracks tasks and implementation plans using Markdown checklist conventions (`[ ]`, `[\u002F]`, `[x]`).\n\n### Planning & Skills Tools Reference\n\n| Tool Name | Description | Key Parameters |\n|---|---|---|\n| `superagent_get_current_task` | Get active checklist item, progress %, and instance status | `instanceId` (optional), `currentOnly` (optional boolean) |\n| `superagent_get_plan_and_tasks` | Parse implementation plan document and task checklist | `superagentId` or `workspace` path |\n| `superagent_update_tasks` | Update checklist status (`mark_completed`, `mark_in_progress`, `add_task`) | `action`, `taskText`, `superagentId` (optional) |\n| `superagent_manage_plan` | Create, update, or retrieve structured implementation plans | `action` (\"get\" \\| \"set\"), `content` |\n| `superagent_manage_tasks` | Detailed task checklist operations | `action`, `tasks` |\n| `superagent_get_skills` | List all available installed, workspace, and synthesized skills | None |\n| `superagent_use_skill` | Load detailed instructions and context from a specific skill | `skillName` (string) |\n| `superagent_synthesize_skill` | Synthesize a new autonomous skill from successful session trajectories | `skillName`, `description`, `trajectoryId` |\n\n---\n\n## 6. Delegate Chrome Bridge (ChatGPT \u002F Claude Remote Automation)\n\nSuperagent features a host-owned Delegate Chrome Bridge that directly connects to browser-hosted ChatGPT or Claude sessions without opening additional ports or sending duplicate requests.\n\n### Delegate Tools Reference\n\n| Tool Name | Safe \u002F Write | Description |\n|---|---|---|\n| `superagent_delegate_read_chat` | Safe | Read recent messages, connection status, and active profile metadata. |\n| `superagent_delegate_list_chats` | Safe | List conversation threads available in the connected browser profile. |\n| `superagent_delegate_read_chat_full` | Safe | Read complete chat transcript, including tool calls and model thinking blocks. |\n| `superagent_delegate_search_history` | Safe | Search past browser chat conversations by keyword. |\n| `superagent_delegate_sync_history` | Safe | Trigger synchronization of chat history with local SQLite cache. |\n| `superagent_delegate_search_index` | Safe | Full-text search over indexed browser conversation transcripts. |\n| `superagent_delegate_doctor` | Safe | Run diagnostic checks on extension connection, profile health, and tabs. |\n| `superagent_delegate_run_until_done`| Safe | Wait autonomously until ongoing model generation is completely finished. |\n| `superagent_delegate_inspect_chat_config` | Safe | Inspect active model settings, profile parameters, and limits. |\n| `superagent_delegate_configure_chat` | Write | Set parameters (model, temperature, plugins) for target chat. |\n| `superagent_delegate_create_chat` | Write | Start a fresh chat thread in the connected browser. |\n| `superagent_delegate_send_message` | Write | Send prompt or instruction to ChatGPT\u002FClaude with optional idempotency key. |\n| `superagent_delegate_stop_generation` | Write | Stop ongoing generation immediately. |\n\n---\n\n## 7. Chrome DevTools Protocol (CDP) & Set-of-Mark Vision\n\nFull headless or headful Chrome browser control with unified Set-of-Mark (SoM) visual perception.\n\n### Chrome & Vision Tools Reference\n\n| Tool Name | Key Capabilities |\n|---|---|\n| `superagent_chrome_cdp` | Direct CDP automation: `click`, `type`, `navigate`, `evaluate`, `screenshot`, `cookies`, `storage`, `network`, `emulate_device` (mobile\u002Ftablet\u002Fdesktop), `mock_display_media` (screen share bypass), `handle_screen_share` (accept\u002Fdismiss picker dialogs), `drag_and_drop` with Bezier smoothing. |\n| `superagent_chrome_vision` | Set-of-Mark (SoM) RF-DETR vision AI: `perceive_page` (labels interactive elements with numeric badges `[1]`, `[2]`), `click_id` \u002F `type_id` (direct coordinate targeting bypassing DOM\u002Fshadow-DOM\u002Fcanvas), `audit_layout` (collision\u002Ftap-target defect detection), `verify_visual_state` (pixel diffing). |\n| `superagent_list_running_chrome` | Multi-window enumeration, profile display names from Local State, and tab lists via Windows UI Automation. |\n| `superagent_close_chrome_profile` | Terminate Chrome processes matching exact `--profile-directory`. |\n| `superagent_close_chrome_window` | Close a specific Chrome window by handle\u002Ftitle. |\n| `superagent_launch_chrome` | Launch Chrome with debugging flags and dedicated profile. |\n| `superagent_list_chrome_profiles` | List installed Chrome user profiles on the host machine. |\n| `superagent_remote_chrome` | Interact with remote Chrome instances via serverless WebSocket bridge (port 9223). |\n\n---\n\n## 8. Desktop UI Automation\n\nNative OS desktop automation for windows, mouse, and keyboard interactions.\n\n| Tool Name | Actions & Parameters |\n|---|---|\n| `superagent_desktop_ui` | Native desktop control: `action: \"screenshot\"` (full or window capture), `action: \"click\"` (coordinate or element click), `action: \"type\"` (keystroke typing), `action: \"key_combo\"` (hotkeys), `action: \"list_windows\"` (enumerate top-level windows), `action: \"focus_window\"` (bring window to foreground). |\n\n---\n\n## 9. Core Lifecycle & Service Management\n\nEnforces the R0-R7 single-runtime deployment contract. Protects authenticated process owners from accidental termination while providing blue-green lifecycle mutations.\n\n### Core Lifecycle Tools\n\n| Tool Name | Classification | Purpose |\n|---|---|---|\n| `superagent_core_status` | Safe | Read-only supervised API Core status, generation, and health. |\n| `superagent_core_plan` | Safe | Preflight check for mutations: generates stable `operationId` and `expectedBuildDigest`. |\n| `superagent_core_restart` | Dangerous | Blue-green verified restart of development Core. Requires `confirm: true`, `operationId`, and `expectedBuildDigest`. |\n| `superagent_core_rollback` | Dangerous | Roll back Core to retained previous generation. |\n| `superagent_core_drain` | Dangerous | Gracefully retire idle retained Core generations while preserving active sessions. |\n\n### Service Manager Tool: `superagent_manage_services`\n\nUnified controller covering 19 Superagent runtime services (`core`, `mcp`, `tray`, `tunnels`, `muse`, `telegram`, `vision`, `guardian`, `daemon`, etc.):\n- **Inspection**: `inventory`, `status`, `doctor`, `health`, `dashboard`, `logs`, `profile`.\n- **Preflight & Planning**: `plan` (generates preflight digests and operation IDs).\n- **Mutations (Requires `confirm: true`)**: `start`, `stop`, `restart`, `rollback`, `drain`, `reload`, `upgrade`, `recycle`.\n\n---\n\n## 10. Remote Agent, Muse, Tunnels & Telegram\n\nConnect Superagent to remote agents, WebSocket tunnels, and Telegram messaging channels.\n\n| Tool Name | Purpose |\n|---|---|\n| `superagent_muse_chat_status` | Check if active WebSocket tunnel supports two-way chat. |\n| `superagent_muse_chat` | Send a message to remote Muse agent and await correlated reply. |\n| `superagent_muse_tunnel_start` | Start Cloudflare tunnel \u002F WebSocket tunnel. |\n| `superagent_muse_tunnel_restart` | Re-establish tunnel connection. |\n| `superagent_muse_send_file` | Enqueue and transfer a file to Muse workspace. |\n| `superagent_muse_file_status` | Check file transfer queue and progress. |\n| `superagent_muse_file_cancel` | Cancel an in-flight file transfer. |\n| `superagent_telegram_send_file` | Send file to configured Telegram chat\u002Fbot. |\n| `superagent_telegram_send_to_muse` | Bridge a Telegram message to remote Muse listener. |\n| `superagent_get_remote_status` | Inspect status of all remote bridge endpoints. |\n\n---\n\n## 11. Cross-Device LAN Mesh (Android & Devices)\n\nAutonomous local network mesh discovering nearby Superagent nodes and controlling Android devices.\n\n| Tool Name | Sub-Domain | Description |\n|---|---|---|\n| `superagent_lan_discover` | Mesh | Discover nearby LAN Superagent nodes and paired devices. |\n| `superagent_lan_list_devices` | Mesh | List paired or remembered devices. |\n| `superagent_lan_capabilities` | Mesh | Query capabilities of a target LAN node. |\n| `superagent_lan_pair_*` | Pairing | Request, check, verify PIN, or cancel LAN pairing (`pair_request`, `pair_status`, `pair`, `pair_cancel`). |\n| `superagent_lan_session_*` | Session | Open or close encrypted peer-to-peer session (`session_open`, `session_close`). |\n| `superagent_lan_device_exec` | Exec | Execute non-interactive shell command on remote LAN device. |\n| `superagent_lan_terminal_exec`| Exec | Interactive streaming terminal session on LAN device. |\n| `superagent_lan_android_*` | Android | Android automation: `diagnostic`, `ui_schema`, `ui_click`, `screen`, `input`. |\n| `superagent_lan_file_*` | Transfer | End-to-end encrypted LAN file transfer (`file_offer`, `file_put`, `file_get`, `file_finish`, `file_abort`). |\n| `superagent_device_tunnel_*` | Tunnels | Manage direct P2P device tunnels (`list`, `pair_request`, `revoke`). |\n\n---\n\n## 12. Remotion Motion Graphics Engine\n\nProgrammatic video and motion graphics engine driven by Remotion.\n\n| Tool Name | Description |\n|---|---|\n| `superagent_motion_generate` | Generate motion composition from brief or script. |\n| `superagent_motion_revise` | Apply revisions to an existing motion composition. |\n| `superagent_motion_create` \u002F `_edit`| Direct composition creation and frame editing. |\n| `superagent_motion_import_*` | Import image or audio assets into the composition. |\n| `superagent_motion_render` | Render composition to MP4 or WebM video. |\n| `superagent_motion_status` \u002F `_jobs`| Check rendering queue and job statuses. |\n| `superagent_motion_cancel` | Cancel an active rendering job. |\n\n---\n\n## 13. Brain, Memory, Analytics & History\n\nPersistent knowledge base, token tracking analytics, and full-text session search.\n\n| Tool Name | Purpose |\n|---|---|\n| `superagent_brain` | Query persistent vector store \u002F knowledge brain. |\n| `superagent_brain_publish` | Index code artifacts or documentation into brain. |\n| `superagent_memory_search` | Search pinned facts and long-term memories. |\n| `superagent_memory_save` | Save new permanent knowledge or project conventions to memory. |\n| `superagent_query_history` | Query SQLite history database (`history.db`) using FTS5 full-text search. |\n| `superagent_get_config` | Inspect active model configurations, API keys (masked), and presets. |\n| `superagent_switch_preset` | Switch active model preset dynamically. |\n| `superagent_switch_provider` | Switch active provider (Anthropic, OpenAI, Gemini, Ollama, DeepSeek). |\n| `superagent_export_session` | Export full conversation transcript to Markdown or JSON. |\n| `superagent_compact_context` | Manually trigger context compaction to free tokens. |\n| `superagent_get_token_usage` | Inspect exact prompt, completion, and tool token metrics. |\n\n---\n\n## 14. Standard MCP Resources & Prompts\n\n### Resources Reference\n\n| Resource URI | Description |\n|---|---|\n| `superagent:\u002F\u002Fstatus\u002Flive` | Real-time JSON: Master Agent state, active Superagents, subagents, and token analytics. |\n| `superagent:\u002F\u002Fworkspace\u002Finfo` | Root workspace path, active Git branch, and list of registered feature worktrees. |\n| `superagent:\u002F\u002Fconfig\u002Fcurrent` | Active provider, loaded presets, and tier model assignments. |\n| `superagent:\u002F\u002Fhistory\u002Fsessions` | List of recent chat sessions, message counts, and timestamps. |\n| `superagent:\u002F\u002Fmemory\u002Fpinned` | Permanent pinned knowledge and project memories. |\n| `superagent:\u002F\u002Finstructions\u002Fagentic-mcp` | Embedded agentic execution instructions for connecting models. |\n\n### Prompts Reference\n\n| Prompt Name | Arguments | Purpose |\n|---|---|---|\n| `superagent_orchestrate` | `feature` (string), `acceptanceCriteria` (string) | Template to orchestrate multi-agent feature implementation. |\n| `superagent_debug` | `error` (string), `file` (string) | Structured root-cause investigation and debugging prompt. |\n| `superagent_review` | `targetBranch` (string) | Pre-merge code review against plan and safety rules. |\n| `superagent_agentic_mcp` | `task` (string), `targetWorkspace` (string), `constraints` (string) | Strict `TOOL_FIRST` execution contract for MCP clients. |\n\n---\n\n## End-to-End Workflow Recipes\n\n### Recipe 1: Dynamic Gateway Discovery & Execution\n```text\nGoal: Search for a file tool and read a configuration file.\n1. Call superagent_tool_search({ query: \"read file\" })\n   -> Returns superagent_read_file and superagent_read_files.\n2. Call superagent_tool_describe({ names: [\"superagent_read_file\"] })\n   -> Returns inputSchema: { filePath: string, startLine?: number, endLine?: number }\n3. Call superagent_tool_execute({\n     name: \"superagent_read_file\",\n     arguments: { filePath: \"package.json\", startLine: 1, endLine: 30 }\n   })\n```\n\n### Recipe 2: Spawning and Monitoring a Feature Superagent\n```text\nGoal: Implement an isolated feature without affecting the main working tree.\n1. Call superagent_invoke({\n     role: \"auth-specialist\",\n     task: \"Implement OAuth2 PKCE callback handler with vitest tests\",\n     branch: \"feature-oauth-pkce\"\n   })\n   -> Returns superagentId: \"agent-xyz-881\"\n2. Periodically inspect progress:\n   Call superagent_get_plan_and_tasks({ superagentId: \"agent-xyz-881\" })\n3. Review logs when completed:\n   Call superagent_get_logs({ id: \"agent-xyz-881\", limit: 50 })\n4. Merge worktree into main:\n   Call superagent_merge({ superagentId: \"agent-xyz-881\" })\n```\n\n### Recipe 3: Set-of-Mark (SoM) Web Automation\n```text\nGoal: Perceive a web page and click a specific button by its visual numeric tag.\n1. Call superagent_chrome_vision({ action: \"perceive_page\" })\n   -> Labels all elements with numeric badges ([1], [2], [3]...) and returns screenshot + metadata.\n2. Inspect metadata: Badge [4] corresponds to \"Submit Order\".\n3. Call superagent_chrome_vision({ action: \"click_id\", id: 4 })\n   -> Dispatches native CDP click directly to the center coordinates of element [4].\n```\n\n### Recipe 4: Supervised Core Lifecycle Rolling Restart\n```text\nGoal: Safely restart the API Core without killing active sessions or MCP tunnels.\n1. Preflight plan:\n   Call superagent_core_plan({ action: \"restart\" })\n   -> Returns { operationId: \"op-7848-abcd\", expectedBuildDigest: \"a1b2c3...\" }\n2. Execute verified mutation:\n   Call superagent_core_restart({\n     confirm: true,\n     operationId: \"op-7848-abcd\",\n     expectedBuildDigest: \"a1b2c3...\"\n   })\n   -> Verified blue-green switchover occurs with zero socket disruption.\n```\n",{"mode":23,"name":5,"author":24,"version":25,"category":26,"description":7,"when_to_use":27},"all","Superagent","1.0.0","MCP & Tooling","when connecting to or operating Superagent via MCP; when invoking or discovering superagent_* tools; when orchestrating 3-tier agents, managing projects, controlling browsers, or automating tasks through the Superagent MCP server.","main","62c7af5ced2c21355d148c243edb6d5921cca1a6",".agents\u002Fskills\u002Fsuperagent-mcp-tools",8,"https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent","https:\u002F\u002Fgithub.com\u002FRudyCity","2026-11-14 22:58:49",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add RudyCity\u002Fsuperagent --skill \"Superagent MCP Tools\"",{"tool":41,"command":42},"bunx","bunx skills add RudyCity\u002Fsuperagent --skill \"Superagent MCP Tools\"",{"tool":44,"command":45},"pnpm","pnpm dlx skills add RudyCity\u002Fsuperagent --skill \"Superagent MCP Tools\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsuperagent-mcp-tools\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M75GP28CM6QCSXSHKFF3NNKS","telegram_bot","Use Telegram Bot when the user asks for Telegram Bot or this provider's API.","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002Fmuse-bridge-kit\u002Fskills\u002Ftelegram-bot\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M75GNZGZYM7NWDV6MBP3HS14","superagent-bridge","Operate the Muse\u003C->superagent Telegram bridge: poll the private group for task_request\u002Ftask_result envelopes, validate senders, and reply with task_batch\u002Ftask_done as Muse (the remote brain).","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002Fmuse-bridge-kit\u002Fskills\u002Fsuperagent-bridge\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75GNHN19HJWZ7NAPM5E5JCV","Writing Skills","TDD for process documentation - test with subagents before writing, iterate until bulletproof","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M75GNCQEKVRA4FH161NZPZNB","writing-shape","Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75GNAF9NAYCSTBDZDGMK0DZ","Writing Plans","Create detailed implementation plans with bite-sized tasks for engineers with zero codebase context","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75GN72EV0V5NQAW9CSPFRFH","writing-guidelines","Review docs\u002Fprose for Writing Guidelines compliance. Use when asked to \"review my docs\", \"check writing style\", \"audit prose\", \"review docs voice and tone\", or \"check this page against the writing handbook\".","https:\u002F\u002Fgithub.com\u002FRudyCity\u002Fsuperagent\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[]]