Wrap the upstream repository https://github.com/AnyGenIO/anygen-skills into a unified entry point that elephant.ai can call directly:
help: progressive disclosure (overview → modules → module → action)task: execute the actions oftask-manager(create/status/poll/download/run)
Quick start
- Required environment variables:
ANYGEN_API_KEY=sk-xxx - Entry command:
python3 skills/anygen/run.py <command> [subcommand] [--flag value ...]
Progressive disclosure (recommended order)
# 1) 顶层总览
python3 skills/anygen/run.py help
2) Module list
python3 skills/anygen/run.py help --topic modules
3) View module descriptionpython3 skills/anygen/run.py help --topic module --module task-manager
4) View specific action parameters and examplespython3 skills/anygen/run.py help --topic action --module task-manager --action_name create
## task-manager 执行动作
支持 operation:`chat|slide|doc|storybook|data_analysis|website|smart_draw`
```bash
# 创建任务
python3 skills/anygen/run.py task create --operation slide --prompt 'Q2 roadmap deck' --style business
# 查询状态(单次)
python3 skills/anygen/run.py task status --task_id task_xxx
# 轮询直到结束(可自动下载)
python3 skills/anygen/run.py task poll --task_id task_xxx --output ./output
# 直接下载完成任务文件
python3 skills/anygen/run.py task download --task_id task_xxx --output ./output
# 一步式 create + poll (+可下载)
python3 skills/anygen/run.py task run --operation doc --prompt 'Technical design for notification service' --output ./output
Module boundaries
task-manager: executable by this wrapper.finance-report: currently provides guidance (visible via help), not executed directly within this skill.
Compatibility notes
- Input supports
commandoractionas the top-level command name. - When
action=create/status/poll/download/run, it will automatically route to thetaskcommand.