| name | ms-agent |
| version | 1.0.0 |
| description | Access ms-agent's advanced AI capabilities via MCP tools: deep research, document research, financial research, code generation, video generation, web search (arxiv/exa/serpapi), LSP code validation (TypeScript/Python/Java), concurrent-safe file editing, and agent delegation. All project-level capabilities support async submit/check/get patterns. Use when the user asks to research a topic, analyze documents, generate code or videos, validate code, edit files, or delegate tasks. Requires ms-agent (pip install ms-agent). |
| metadata | {"nanobot":{"emoji":"๐ค","requires":{"bins":["python3"],"env":[]}},"hermes":{"tags":["research","codegen","tools","mcp"],"category":"ai-tools"}} |
ms-agent Skills
This skill connects you to the ms-agent Capability Gateway โ a unified
interface to ms-agent's projects, components, and atomic tools, exposed as
MCP tools.
Setup
Verify ms-agent is installed:
python scripts/check_ms_agent.py
The MCP server must be configured in your agent's config. Pick the section
that matches your agent host.
nanobot config.json
{
"tools": {
"mcpServers": {
"ms-agent": {
"command": "python3",
"args": ["-m", "ms_agent.capabilities.mcp_server"],
"env": {"PYTHONPATH": "/path/to/ms-agent"},
"toolTimeout": 300,
"enabledTools": ["*"]
}
}
}
}
OpenClaw openclaw.json
{
"mcp": {
"servers": {
"ms-agent": {
"command": "/absolute/path/to/python",
"args": ["-m", "ms_agent.capabilities.mcp_server"],
"env": {"PYTHONPATH": "/path/to/ms-agent"}
}
}
}
}
Hermes Agent config.yaml
mcp_servers:
ms-agent:
command: "python3"
args: ["-m", "ms_agent.capabilities.mcp_server"]
env:
PYTHONPATH: "/path/to/ms-agent"
Once configured, all 30 capabilities below are available as MCP tools.
The tool prefix depends on your agent host:
| Agent | Tool name format | Example |
|---|
| nanobot | mcp_ms-agent_<tool> | mcp_ms-agent_web_search |
| OpenClaw | ms-agent_<tool> | ms-agent_web_search |
| Hermes | mcp_ms-agent_<tool> | mcp_ms-agent_web_search |
| Cursor / Claude Desktop | <tool> (no prefix) | web_search |
Capability Index
Deep Research
Document Research
Financial Research
Web Search
Code Generation
Video Generation
Agent Delegation
Code Validation
File Editing
Quick Decision Guide
User wants to...
โ
โโโ Research a topic in depth (20-60 min)
โ โโโ submit_research_task โ check_research_progress โ get_research_report
โ
โโโ Analyze documents or URLs (5-20 min)
โ โโโ submit_doc_research_task โ check_doc_research_progress โ get_doc_research_report
โ
โโโ Financial analysis with data & sentiment (20-60 min)
โ โโโ submit_fin_research_task โ check_fin_research_progress โ get_fin_research_report
โ
โโโ Search the web for quick info
โ โโโ web_search(query="...", engine_type="arxiv|exa|serpapi")
โ
โโโ Generate a software project from requirements (10-30 min)
โ โโโ submit_code_genesis_task โ check_code_genesis_progress โ get_code_genesis_result
โ
โโโ Generate a short video (~ 20 min)
โ โโโ submit_video_generation_task โ check_video_generation_progress โ get_video_generation_result
โ
โโโ Delegate a complex multi-step task to an AI agent
โ โโโ Short task (< 3 min) โ delegate_task(query="...")
โ โโโ Long task โ submit_agent_task โ check_agent_task โ get_agent_result
โ
โโโ Validate code for errors
โ โโโ Full project โ lsp_check_directory(directory="src/", language="typescript")
โ โโโ Single file โ lsp_update_and_check(file_path="...", content="...", language="...")
โ
โโโ Edit a file precisely
โโโ Know exact text โ replace_file_contents (concurrent-safe)
โโโ Know line numbers โ replace_file_lines
Async Pattern
All project-level capabilities (deep research, doc research, financial
research, code generation, video generation, agent delegation) support an
async submit/check/get pattern. This does NOT block the agent โ continue
handling other messages while the task runs in the background.
1. submit_*_task(...) โ returns task_id immediately
2. check_*_progress/task(task_id) โ poll status (repeat every few minutes)
3. get_*_result/report(task_id) โ retrieve final result when completed
4. cancel_*_task(task_id) โ cancel if no longer needed (agent delegation only)
Read the reference files for detailed SOP workflows for each capability.