360 Secure SkillHub
360 安全技能中心

agentscope-doc-generator

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

trend0522
trend0522
热度 7.64
最近更新 2026-10-03 10:19:21
分类:开发依赖:代码执行 / 读写文件应用场景:模板 / 摘要总结 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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