← 返回 Skills 市场
wangzhiming1999

Felo Slides

作者 wangzhiming · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
1264
总下载
0
收藏
6
当前安装
2
版本数
在 OpenClaw 中安装
/install felo-slides
功能描述
Generate PPT/slides with Felo PPT Task API in Claude Code. Use when users ask to create/make/generate/export presentations or slide decks, or when explicit c...
使用说明 (SKILL.md)

\r \r

Felo Slides Skill\r

\r

When to Use\r

\r Trigger this skill for requests about creating presentation files:\r \r

  • Create/generate slides from a topic or outline\r
  • Turn notes into a PPT deck\r
  • Build a presentation with a page count requirement\r
  • Export presentation content into a shareable slide link\r \r Trigger keywords:\r \r
  • Chinese prompts about making slides or presentations\r
  • English: slides, PPT, presentation deck, generate presentation\r
  • Explicit commands: /felo-slides, "use felo slides"\r \r Do NOT use this skill for:\r \r
  • Real-time information lookup (use felo-search)\r
  • Questions about local codebase files\r
  • Pure text tasks that do not require slide generation\r \r

Setup\r

\r

1. Get API key\r

\r

  1. Visit felo.ai\r
  2. Open Settings -> API Keys\r
  3. Create and copy your API key\r \r

2. Configure environment variable\r

\r Linux/macOS:\r \r

export FELO_API_KEY="your-api-key-here"\r
```\r
\r
Windows PowerShell:\r
\r
```powershell\r
$env:FELO_API_KEY="your-api-key-here"\r
```\r
\r
## How to Execute\r
\r
Use Bash tool commands and follow this workflow exactly.\r
\r
### Step 1: Precheck API key\r
\r
```bash\r
if [ -z "$FELO_API_KEY" ]; then\r
  echo "ERROR: FELO_API_KEY not set"\r
  exit 1\r
fi\r
```\r
\r
If key is missing, stop and return setup instructions.\r
\r
### Step 2: Run Node Script (create + poll)\r
\r
Use the bundled script (no `jq` dependency):\r
\r
```bash\r
node felo-slides/scripts/run_ppt_task.mjs \\r
  --query "USER_PROMPT_HERE" \\r
  --interval 10 \\r
  --max-wait 1800 \\r
  --timeout 60\r
```\r
\r
To apply a specific theme, first list available themes with `felo ppt-themes`, then pass the theme ID:\r
\r
```bash\r
node felo-slides/scripts/run_ppt_task.mjs \\r
  --query "USER_PROMPT_HERE" \\r
  --theme "THEME_ID_HERE" \\r
  --interval 10 \\r
  --max-wait 1800 \\r
  --timeout 60\r
```\r
\r
Script behavior:\r
\r
- Creates task via `POST https://openapi.felo.ai/v2/ppts`\r
- Supports optional `--theme \x3Cid>` to apply a PPT theme (sends `ppt_config.ai_theme_id`)\r
- Supports optional `--task-id \x3Cid>` to resume polling an existing task (skips creation)\r
- Polls via `GET https://openapi.felo.ai/v2/tasks/{task_id}/historical`\r
- Treats `COMPLETED`/`SUCCESS` as success terminal (case-insensitive)\r
- Treats `FAILED`/`ERROR` as failure terminal\r
- Stops polling immediately on terminal status\r
- Prints `ppt_url` on success (fallback: `live_doc_url`)\r
\r
Optional debug output:\r
\r
```bash\r
node felo-slides/scripts/run_ppt_task.mjs \\r
  --query "USER_PROMPT_HERE" \\r
  --interval 10 \\r
  --max-wait 1800 \\r
  --json \\r
  --verbose\r
```\r
\r
This outputs structured JSON including:\r
\r
- `task_id`\r
- `task_status`\r
- `ppt_url`\r
- `live_doc_url`\r
- `livedoc_short_id`\r
- `ppt_business_id`\r
- `error_message`\r
\r
### Step 4: Return structured result\r
\r
On success, return:\r
\r
- `ppt_url` immediately (script default output, fallback `live_doc_url`)\r
- if `--json` is used, also include `task_id`, terminal status, and optional metadata\r
\r
## Output Format\r
\r
Use this response structure:\r
\r
```markdown\r
## PPT Generation Result\r
\r
- Task ID: \x3Ctask_id>\r
- Status: \x3Cstatus>\r
- PPT URL: \x3Cppt_url>\r
- Live Doc URL: \x3Clive_doc_url or N/A>\r
\r
## Notes\r
\r
- livedoc_short_id: \x3Cvalue or N/A>\r
- ppt_business_id: \x3Cvalue or N/A>\r
```\r
\r
Error format:\r
\r
```markdown\r
## PPT Generation Failed\r
\r
- Error Type: \x3Cerror code or category>\r
- Message: \x3Creadable message>\r
- Suggested Action: \x3Cnext step>\r
```\r
\r
## Error Handling\r
\r
Known API error codes:\r
\r
- `INVALID_API_KEY` (401): key invalid or revoked\r
- `PPT_TASK_CREATE_FAILED` (502): create task downstream failed\r
- `PPT_TASK_QUERY_FAILED` (502): query task downstream failed\r
\r
Timeout handling:\r
\r
- If timeout reached, return last known status and instruct user to retry later\r
- Include `task_id` so user can query again\r
- **IMPORTANT**: To resume a timed-out task, use `--task-id` instead of `--query` to avoid creating a duplicate PPT:\r
\r
```bash\r
node felo-slides/scripts/run_ppt_task.mjs \\r
  --task-id "TASK_ID_HERE" \\r
  --interval 10 \\r
  --max-wait 1800\r
```\r
\r
## Important Notes\r
\r
- Always execute this skill when user intent is slide generation.\r
- Always return `task_id` so follow-up queries can continue from the same task.\r
- Do not claim completion without a terminal status.\r
- Keep API calls minimal: create once, then poll.\r
\r
## References\r
\r
- [Felo PPT Task API](https://openapi.felo.ai/docs/api-reference/v2/ppt-tasks.html)\r
- [Felo Open Platform](https://openapi.felo.ai/docs/)\r
安全使用建议
This skill appears to do what it says (create and poll Felo PPT tasks), but the package metadata fails to declare two important things: (1) it requires you to set FELO_API_KEY (and optionally FELO_API_BASE), and (2) it requires a Node runtime to execute the bundled script. Before installing or using it, confirm you trust felo.ai (prompts and slide content are sent to their API), verify the origin of this package (the manifest points to a GitHub repo but Source/Homepage were shown as unknown/none), and ask the skill author to update the manifest to declare FELO_API_KEY as a required credential and to note the Node requirement. If you proceed, ensure the API key you provide is scoped appropriately and avoid sending sensitive or private data in prompts.
功能分析
Type: OpenClaw Skill Name: felo-slides Version: 1.0.1 The felo-slides skill is a legitimate tool designed to generate PowerPoint presentations using the Felo PPT Task API. The core logic in `scripts/run_ppt_task.mjs` uses standard Node.js fetch calls to interact with `openapi.felo.ai` for task creation and status polling. The instructions in `SKILL.md` are well-aligned with the stated purpose, and there is no evidence of data exfiltration, malicious execution, or unauthorized access to sensitive local information.
能力评估
Purpose & Capability
The skill's code and instructions perform exactly the advertised task (create PPT tasks via openapi.felo.ai and poll for results). However the registry metadata claims no required env vars or binaries, while the SKILL.md and script require FELO_API_KEY (and optionally FELO_API_BASE) and a Node runtime. The missing declarations are a mismatch.
Instruction Scope
SKILL.md directs the agent to check FELO_API_KEY and run a bundled Node script that POSTs to /v2/ppts and polls /v2/tasks/... — all consistent with slide generation. But it also instructs use of Bash/node commands while the manifest lists no required binary. The instructions do not attempt to read unrelated files or exfiltrate other credentials, but they do send user-provided prompt content to an external service (felo.ai).
Install Mechanism
No external downloads or installers are used; the skill is instruction-only plus a bundled script. Nothing in the install path writes or fetches remote code at install time.
Credentials
The script legitimately needs FELO_API_KEY (and optionally FELO_API_BASE) but the skill manifest does not declare any required environment variables or a primary credential. This omission is disproportionate and reduces transparency (users won't be warned that an API key is needed). The skill does not request unrelated credentials.
Persistence & Privilege
The skill is not always-enabled and does not request persistent system-wide privileges. It does not modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install felo-slides
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /felo-slides 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
PPT theme support and task resume; README/SKILL doc updates.
v1.0.0
felo-slides 1.0.0 - Initial release of the felo-slides skill for generating PPT/slides using the Felo PPT Task API. - Handles API key checking, task creation, polling, and returns a shareable PPT URL. - Provides clear error handling and user setup instructions. - Supports both English and Chinese prompts for presentation/slide generation. - Returns structured results including task metadata for follow-up actions.
元数据
Slug felo-slides
版本 1.0.1
许可证 MIT-0
累计安装 7
当前安装数 6
历史版本数 2
常见问题

Felo Slides 是什么?

Generate PPT/slides with Felo PPT Task API in Claude Code. Use when users ask to create/make/generate/export presentations or slide decks, or when explicit c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1264 次。

如何安装 Felo Slides?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install felo-slides」即可一键安装,无需额外配置。

Felo Slides 是免费的吗?

是的,Felo Slides 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Felo Slides 支持哪些平台?

Felo Slides 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Felo Slides?

由 wangzhiming(@wangzhiming1999)开发并维护,当前版本 v1.0.1。

💬 留言讨论