ms-agent

Access research, code generation, video generation, and code validation capabilities via MCP tools.

4.4k|518|Updated Aug 3, 2023
One-click install
npx skills add https://github.com/modelscope/ms-agent --skill ms-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ms-agent
Source: https://github.com/modelscope/ms-agent/tree/main/ms-agent-skills
Command: npx skills add https://github.com/modelscope/ms-agent --skill ms-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ms-agent, mcp, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Coordinating long-running AI tasks like deep research, document analysis, financial analysis, code generation, and video production normally requires blocking calls and manual orchestration. This Skill exposes ms-agent's 30 capabilities as MCP tools with async submit/check/get patterns, so agents can launch background tasks and keep working.

Core Features & Use Cases

  • Research Pipelines: Run deep research, document research (PDF, DOCX, PPT, URLs), and financial research with async progress polling and structured markdown reports.
  • Generation Capabilities: Generate full software projects from natural language requirements and produce short videos with scripts, images, narration, and animation.
  • Developer Tools: Validate TypeScript, Python, and Java code via LSP servers, perform concurrent-safe file edits, search the web (arxiv/exa/serpapi), and delegate multi-step tasks to sub-agents.
  • Use Case: Ask the agent to research a topic in depth; it submits the task, polls progress every few minutes while handling other requests, then retrieves and summarizes the final report.

Quick Start

Run python scripts/check_ms_agent.py to verify the installation, then ask the agent to research a topic or generate a project using the ms-agent MCP tools.

Frequently Asked Questions about ms-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run deep research with ms-agent MCP tools?

Call submit_research_task with your research query to get a task_id, poll with check_research_progress every few minutes, then call get_research_report when the status is completed. The async pattern avoids blocking the agent during the 20-60 minute run.

How do I generate a software project from a text description?

Use submit_code_genesis_task with a natural language query describing the project, choosing the standard 7-stage or simple 4-stage workflow. Poll with check_code_genesis_progress and retrieve the file tree with get_code_genesis_result. Docker is required for sandboxed execution.

What languages does the LSP code validation support?

The lsp_check_directory and lsp_update_and_check tools support TypeScript/JavaScript via typescript-language-server, Python via pyright, and Java via Eclipse JDT Language Server. The corresponding language server must be installed for each language.

Which web search engines are supported and do they need API keys?

The web_search tool supports arxiv, exa, and serpapi engines. Arxiv is the default and requires no API key, while exa needs EXA_API_KEY and serpapi needs SERPAPI_API_KEY. Set fetch_content=true to retrieve full page text.

Why is replace_file_contents preferred over rewriting a whole file?

replace_file_contents matches exact text instead of line numbers, making it concurrent-safe when multiple agents edit different parts of the same file. It also supports replacing a specific occurrence or all occurrences without rewriting unchanged content.

What are the prerequisites for video generation?

Video generation requires Python 3.10+, Node.js 16+ for Remotion animation rendering, FFmpeg on PATH, and API keys for an LLM provider and an image generation provider such as modelscope, dashscope, or google. A typical video takes about 20 minutes across 9 pipeline steps.