Token导航 LogoToken导航

Agent Skill · 研究检索

agentscope-skill(Agent 范围技能)

agentscope-skill 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agentscope-skill 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 20,769。

总安装 5,098周安装 219GitHub Stars 公开资料未说明下载 1,787核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agentscope-skill(Agent 范围技能)
来源仓库:https://github.com/wxf8126275/agentscope-skill
安装命令:
openclaw skills install agentscope-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install agentscope-skill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

agentscope-skill 介绍 AgentScope 框架设计理念与核心概念使用方法。适合希望使用该框架开发复杂多代理系统的用户参考。提供完整指南覆盖实际应用场景与最佳实践示例。agentscope-skill 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

通过 clawhub 安装,输入任意问题获取针对性解答。建议结合实际项目结构阅读文档以加快上手速度。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install agentscope-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agentscope-skill 怎么安装?

在终端执行 openclaw skills install agentscope-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agentscope-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agentscope-skill 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install agentscope-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

agentscope-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agentscope-skill 用的人多吗?

公开数据是累计安装 5,098 次,近一周安装 219 次,下载 1,787 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agentscope-skill 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agentscope-skill

Agent 范围技能 · 本页

5,098—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
agentscope-skill
description
This guide covers the design philosophy, core concepts, and practical usage of the AgentScope framework. Use this skill whenever the user wants to do anything with the AgentScope (Python) library. This includes building agent applications using AgentScope, answering questions about AgentScope, looking for guidance on how to use AgentScope, searching for examples or specific information (functions/classes/modules).
version
0.1.0

Understanding AgentScope

What is AgentScope?

AgentScope is a production-ready, enterprise-grade open-source framework for building multi-agent applications with large language models. Its functionalities cover:

  • Development: ReAct agent, context compression, short/long-term memory, tool use, human-in-the-loop, multi-agent orchestration, agent hooks, structured output, planning, integration with MCP, agent skill, LLMs API, voice interaction (TTS/Realtime), RAG
  • Evaluation: Evaluate multistep agentic applications with statistical analysis
  • Training: Agentic reinforcement learning
  • Deployment: Session/state management, sandbox, local/serverless/Kubernetes deployment

Installation

pip install agentscope
# or
uv pip install agentscope

Core Concepts

  • Message: The core abstraction for information exchange between agents. Supports heterogeneous content blocks (text, images, tool calls, tool results).
from agentscope.message import Msg, TextBlock, ImageBlock, URLSource

msg = Msg(
    name="user",
    content=[TextBlock("Hello world"), ImageBlock(type="image", source=URLSource(type="url", url="..."))],
    role="user"
)
  • Agent: LLM-empowered agent that can reason, use tools, and generate responses through iterative thinking and action loops.
  • Toolkit: Register and manage tools (Python functions, MCP, agent skills) that agents can call.
  • Memory: Store Msg objects as conversation history/context with a marking mechanism for advanced memory management (compression, retrieval).
  • ChatModel: Unified interface across different providers (OpenAI, Anthropic, DashScope, Ollama, etc.) with support for tool use and streaming.
  • Formatter: Convert Msg objects to LLM API-specific formats. Must be used with the corresponding ChatModel. Supports multi-agent conversations with different agent identifiers.

Basic Usage Examples

Example 1: Simple Chatbot
from agentscope.agent import ReActAgent, UserAgent
from agentscope.model import DashScopeChatModel
from agentscope.formatter import DashScopeChatFormatter
from agentscope.memory import InMemoryMemory
from agentscope.tool import Toolkit, execute_python_code, execute_shell_command
import os, asyncio

async def main():
    # Initialize toolkit with tools
    toolkit = Toolkit()
    toolkit.register_tool_function(execute_python_code)
    toolkit.register_tool_function(execute_shell_command)

    # Create ReActAgent with model, memory, formatter, and toolkit
    agent = ReActAgent(
        name="Friday",
        sys_prompt="You're a helpful assistant named Friday.",
        model=DashScopeChatModel(
            model_name="qwen-max",
            api_key=os.getenv("DASHSCOPE_API_KEY"),
            stream=True,
        ),
        memory=InMemoryMemory(),
        formatter=DashScopeChatFormatter(),
        toolkit=toolkit,
    )

    # Create user agent for terminal input
    user = UserAgent(name="user")

    # Conversation loop
    msg = None
    while True:
        msg = await agent(msg)  # Agent processes and replies
        msg = await user(msg)   # User inputs next message
        if msg.get_text_content() == "exit":
            break

asyncio.run(main())
Example 2: Multi-Agent Conversation

AgentScope adopts explicit message passing for multi-agent conversations (PyTorch-like dynamic graph), allowing flexible information flow control.

alice, bob, carol, david = ReActAgent(...), ReActAgent(...), ReActAgent(...), ReActAgent(...)

msg_alice = await alice()
msg_bob = await bob(msg_alice)  # Bob receives Alice's message and generate a reply. Alice doesn't receive Bob's message unless explicitly passed back.
msg_carol = await carol(msg_alice)  # Similarly, the agent cannot receive messages from other agents unless explicitly passed.

# Broadcasting with MsgHub, a syntactic sugar for message broadcasting within a group of agents
from agentscope.pipeline import MsgHub

async with MsgHub(
    participants=[alice, bob, carol],
    announcement=Msg("Host", "Let's discuss", "user")
) as hub:
    await alice()  # Bob and Carol receive this
    await bob()    # Alice and Carol receive this

    # Manual broadcast
    await hub.broadcast(Msg("Host", "New topic", "user"))

    # Dynamic participant management
    hub.add(david)
    hub.delete(bob)
Example 3: Master-Worker Pattern

Wrap worker agents as tools for the master agent.

from agentscope.tool import ToolResponse, Toolkit

async def create_worker(task: str) -> ToolResponse:
    """Create a worker agent for the given task.

    Args:
        task (`str`): The given task, which should be specific and concise.
    """
    task_msg = Msg(name="master", content=task, role="user") # Use the input task or wrap it into a more complex prompt
    worker = ReActAgent(...)
    res = await worker(task_msg)
    return ToolResponse(content=res.content) # Return the worker's response as the tool response

toolkit = Toolkit()
toolkit.register_tool_function(create_worker)

Working with AgentScope

This section provides guidance on how to effectively answer questions about AgentScope or coding with the framework.

Step 1: Clone the Repository First

CRITICAL: Before doing anything else, clone or update the AgentScope repository. The repository contains essential examples and references.

# Clone into this skill directory so that you can refer to it across different sessions
cd /path/to/this/skill/directory
git clone -b main https://github.com/agentscope-ai/agentscope.git

# Or update if already cloned
cd /path/to/this/skill/directory/agentscope
git pull

Why this matters: The repository contains working examples, complete API documentation in source code, and implementation patterns that are more reliable than guessing.

Step 2: Understand the Repository Structure

The cloned repository is organized as follows. Note this may be outdated as the project evolves, you should always check the actual structure after cloning.

agentscope/
├── src/agentscope/          # Main library source code
│   ├── agent/               # Agent implementations (ReActAgent, etc.)
│   ├── model/               # LLM API wrappers (OpenAI, Anthropic, DashScope, etc.)
│   ├── formatter/           # Message formatters for different models
│   ├── memory/              # Memory implementations
│   ├── tool/                # Tool management and built-in tools
│   ├── message/             # Msg class and content blocks
│   ├── pipeline/            # Multi-agent orchestration (MsgHub, etc.)
│   ├── session/             # Session/state management
│   ├── mcp/                 # MCP integration
│   ├── rag/                 # RAG functionality
│   ├── realtime/            # Realtime voice interaction
│   ├── tts/                 # Text-to-speech
│   ├── evaluate/            # Evaluation tools
│   └── ...                  # Other modules
│
├── examples/                # Working examples organized by category
│   ├── agent/               # Different agent types
│   │   └── ...
│   ├── workflows/           # Multi-agent workflows
│   │   └── ...
│   ├── functionality/       # Specific features
│   │   └── ...
│   ├── deployment/          # Deployment patterns
│   ├── integration/         # Third-party integrations
│   ├── evaluation/          # Evaluation examples
│   └── game/                # Game examples (e.g., werewolves)
│
├── docs/                    # Documentation
│   ├── tutorial/            # Tutorial markdown files
│   ├── changelog.md         # Version history
│   └── roadmap.md           # Development roadmap
│
└── tests/                   # Test files

Step 3: Browse Examples by Category

When looking for similar implementations, browse the examples directory by category rather than searching by keywords alone:

  1. Start with the category that matches your use case:

- Building a specific agent type? → examples/agent/ - Multi-agent system? → examples/workflows/ - Need a specific feature (MCP, RAG, session)? → examples/functionality/ - Deployment patterns? → examples/deployment/

  1. List the subdirectories to see what's available:

- Use file listing tools to explore directory structure - Read directory names to understand what each example covers

  1. Read example files to understand implementation patterns:

- Most examples contain a main script and supporting files - Look for README files in subdirectories for explanations

  1. Combine with text search when needed:

- After identifying relevant directories, search within them for specific patterns - Search for class names, method calls, or specific functionality

Example workflow:

User asks: "Build a FastAPI app with AgentScope"
→ Browse: List files in examples/deployment/
→ Check: Are there any web service examples?
→ Search: Look for "fastapi", "flask", "api", "server" in examples/
→ Read: Found examples and adapt to user's needs

Step 4: Verify Functionality Exists

Before implementing custom solutions, verify if AgentScope already provides the functionality:

  1. List required functionalities (e.g., session management, MCP integration, RAG)
  2. Check if provided:

- Browse examples for examples - Search tutorial documentation in docs/tutorial/ - Use the provided scripts (see Part 3) to explore API structure - Read source code in src/agentscope/ for implementation details

  1. If not provided: Check how to customize by reading base classes and inheritance patterns in source code

Step 5: Make a Plan

Always create a plan before coding:

  1. Identify what AgentScope components you'll use
  2. Determine what needs custom implementation
  3. Outline the architecture and data flow
  4. Consider edge cases and error handling

Step 6: Code with API Reference

When writing code:

  1. Check docstrings and arguments before using any class/method

- Read source code files to see signatures and documentation, or - Use the provided scripts to view module/class structures - NEVER make up classes, methods, or arguments

  1. Check parent classes - A class's functionality includes inherited methods
  2. Manage lifecycle - Clean up resources when needed (close connections, release memory)

Common Pitfalls to Avoid

  • ❌ Guessing API signatures without checking documentation
  • ❌ Implementing features that already exist in AgentScope
  • ❌ Mixing incompatible Model and Formatter (e.g., OpenAI model with DashScope formatter)
  • ❌ Forgetting to await async agent calls
  • ❌ Not checking parent class methods when searching for functionality
  • ❌ Searching by keywords only without browsing the organized examples directory structure

Resources

This section lists all available resources for working with AgentScope.

Official Documentation

  • Tutorial: Comprehensive step-by-step guide covering most functionalities in detail. This is the primary resource for learning AgentScope.

GitHub Resources

Repository Structure

When the repository is cloned locally, the following structure is available for reference:

  • src/agentscope/: Main library source code

- Read this for API implementation details - Check docstrings for parameter descriptions - Understand inheritance hierarchies

  • examples/: Working examples demonstrating features

- Start here when building similar applications - Examples cover: basic agents, multi-agent systems, tool usage, deployment patterns

  • docs/tutorial/: Tutorial documentation source files

- Markdown files explaining concepts and usage - More detailed than README files

Scripts

Located in scripts/ directory of this skill.

  • view_pypi_latest_version.sh: View the latest version of AgentScope on PyPI.
cd /path/to/this/skill/directory/scripts/
bash view_pypi_latest_version.sh
  • view_module_signature.py: Explore the structure of AgentScope modules, classes, and methods.

Search strategy: Use deep-first search - start broad, then narrow down:

  1. agentscope → see all submodules
  2. agentscope.agent → see agent-related classes
  3. agentscope.agent.ReActAgent → see specific class methods
cd /path/to/this/skill/directory/scripts/
# View top-level module
python view_module_signature.py --module agentscope
# View specific submodule
python view_module_signature.py --module agentscope.agent
# View specific class
python view_module_signature.py --module agentscope.agent.ReActAgent

Reference

Located in references/ directory of this skill.

  • multi_agent_orchestration.md: Multi-agent orchestration concepts and implementation
  • deployment_guide.md: Deployment patterns and best practices

平台分布

OpenClaw

84.89%
按下载量换算1,517

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install agentscope-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills