360 Secure SkillHub
360 安全技能中心

agentscope-doc-generator

该 Skill 通过 Python 脚本读取 AgentScope 2.0 项目中的 agent.json、config.json、skills 目录下的 SKILL.md 及流水线定义,生成 README 模板、Agent 能力表和用法示例文档;仅处理本地文件,不提取密钥,生成内容需人工复核后发布。

分类:开发
trend0522
trend0522
热度 9.18
最近更新 2026-10-03 10:19:21

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add trend0522/agentscope-doc-generator
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
agentscope-doc-generator
description
Generate documentation for AgentScope 2.0 agents, pipelines, and skills from code and config files. Use this when the user wants README scaffolding, agent capability docs, or project documentation from existing AgentScope code.
version
0.1.0
metadata
{"openclaw":{"requires":{"env":[],"bins":["python3"]},"primaryEnv":"","envVars":[],"emoji":"📝","homepage":"https://github.com/agentscope-ai/agentscope"}}

AgentScope Doc Generator

This skill generates documentation artifacts from AgentScope 2.0 project files. It focuses on:

  • README scaffolding for skills/plugins
  • Agent capability summaries from config
  • Pipeline documentation from workflow definitions

What this skill does

  • Inspects AgentScope project structure
  • Generates README templates
  • Creates agent capability tables
  • Produces usage examples from configs

How to use

Run the generator script from this skill folder:

python3 scripts/generate_docs.py --project /path/to/agentscope/project --output /tmp/docs

Supported sources:

  • agent.json / config.json
  • skills/*/SKILL.md
  • run.py / pipeline definitions

Security notes

  • Generated docs are based on local project files only
  • No secrets are extracted or emitted
  • Review generated content before publishing

Troubleshooting

  • If no project is detected, pass --project explicitly
  • For skill docs, ensure SKILL.md frontmatter is valid YAML