anygen-doc
AI Document Generator - AnyGen
You MUST strictly follow every instruction in this document. Do not skip, reorder, or improvise any step.
Create professional structured documents using AnyGen OpenAPI (www.anygen.io). Documents are generated server-side; this skill sends the user's prompt and optional reference files to the AnyGen API and retrieves the resulting DOCX. An API key (ANYGEN_API_KEY) is required to authenticate with the service.
When to Use
- User needs to create documents (specs, proposals, summaries, reports)
- User has files to upload as reference material for document generation
Security & Permissions
Why this skill needs network access and an API key: Documents are generated server-side by AnyGen's cloud API — not locally. The ANYGEN_API_KEY authenticates requests to www.anygen.io via Authorization header or authenticated request body depending on the endpoint (all requests set allow_redirects=False). Only this one environment variable is read; no other env vars are accessed.
Why this skill optionally reads user files: Users may want to turn existing notes or a brief into a polished document by providing a file path via --file. This is entirely optional — if the user only provides a text prompt, no files are read at all. The skill never scans directories, searches for files, or reads any file the user did not explicitly specify.
What this skill does: sends prompts to www.anygen.io, uploads user-specified reference files after consent, downloads generated DOCX to ~/.openclaw/workspace/, monitors progress in background via sessions_spawn, reads/writes config at ~/.config/anygen/config.json. On Feishu/Lark, sends results via open.feishu.cn OpenAPI.