← 返回 Skills 市场
wangzhiming1999

Felo LiveDoc

作者 wangzhiming · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
414
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install felo-livedoc
功能描述
Manage Felo LiveDocs (knowledge bases) and their resources. Use when users want to create, manage, or query knowledge bases, upload documents, add URLs, or p...
使用说明 (SKILL.md)

\r \r

Felo LiveDoc Skill\r

\r

When to Use\r

\r Trigger this skill when users want to:\r \r

  • Create/manage knowledge bases: Create, list, update, or delete LiveDocs\r
  • Add resources: Upload documents, add URLs, or create text documents in a LiveDoc\r
  • Semantic retrieval: Search across knowledge base resources using natural language queries\r
  • Resource management: List, view, or delete resources within a LiveDoc\r \r Trigger words:\r
  • English: knowledge base, livedoc, live doc, upload document, add URL, semantic search, retrieve, knowledge retrieval\r
  • 简体中文: 知识库, 文档库, 上传文档, 添加链接, 语义检索, 知识检索\r \r Explicit commands: /felo-livedoc, "livedoc", "felo livedoc"\r \r Do NOT use for:\r
  • General web search (use felo-search)\r
  • PPT generation (use felo-slides)\r
  • SuperAgent conversations (use felo-superAgent)\r \r

Setup\r

\r

1. Get Your API Key\r

\r

  1. Visit felo.ai and log in (or register)\r
  2. Click your avatar in the top right corner → Settings\r
  3. Navigate to the "API Keys" tab\r
  4. Click "Create New Key" to generate a new API Key\r
  5. Copy and save your API Key securely\r \r

2. Configure API Key\r

\r Set the FELO_API_KEY environment variable:\r \r Linux/macOS:\r

export FELO_API_KEY="your-api-key-here"\r
```\r
\r
**Windows (PowerShell):**\r
```powershell\r
$env:FELO_API_KEY="your-api-key-here"\r
```\r
## How to Execute\r
\r
When this skill is triggered, execute the livedoc script using the Bash tool:\r
\r
### LiveDoc Management\r
\r
**Create a LiveDoc:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs create --name "KB Name" --description "Description"\r
```\r
\r
**List LiveDocs:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs list\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs list --keyword "search term"\r
```\r
\r
**Update a LiveDoc:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs update SHORT_ID --name "New Name" --description "New Desc"\r
```\r
\r
**Delete a LiveDoc:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs delete SHORT_ID\r
```\r
\r
### Resource Management\r
\r
**Add a text document:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs add-doc SHORT_ID --title "Doc Title" --content "Document content here"\r
```\r
\r
**Add URLs (max 10, comma-separated):**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs add-urls SHORT_ID --urls "https://example.com,https://example.org"\r
```\r
\r
**Upload a file:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs upload SHORT_ID --file ./document.pdf\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs upload SHORT_ID --file ./document.pdf --convert\r
```\r
\r
**List resources:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs resources SHORT_ID\r
```\r
\r
**Get a single resource:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs resource SHORT_ID RESOURCE_ID\r
```\r
\r
**Delete a resource:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs remove-resource SHORT_ID RESOURCE_ID\r
```\r
\r
### Semantic Retrieval\r
\r
**Search across resources:**\r
```bash\r
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs retrieve SHORT_ID --query "your search query"\r
```\r
### Options\r
\r
All commands support:\r
- `--json` or `-j` — output raw JSON response\r
- `--timeout \x3Cms>` or `-t \x3Cms>` — request timeout in milliseconds (default: 60000)\r
\r
### Parse and Format Response\r
\r
The API returns JSON with this structure:\r
```json\r
{\r
  "status": "ok",\r
  "message": "success",\r
  "data": { ... }\r
}\r
```\r
\r
**LiveDoc object:**\r
- `short_id` — unique identifier (use this for all operations)\r
- `name` — LiveDoc name\r
- `description` — LiveDoc description\r
- `created_at` / `modified_at` — timestamps\r
\r
**Resource object:**\r
- `id` — resource identifier\r
- `title` — resource title\r
- `resource_type` — type (web, ai_doc, file, etc.)\r
- `status` — processing status\r
- `snippet` — content preview\r
\r
**Retrieve result:**\r
- `id` — resource ID\r
- `title` — resource title\r
- `content` — matched content\r
- `score` — relevance score (0-1)\r
\r
## Error Handling\r
\r
### Common Error Codes\r
\r
- `INVALID_API_KEY` — API Key is invalid or revoked\r
- `LIVEDOC_NOT_FOUND` — LiveDoc does not exist\r
- `LIVEDOC_RESOURCE_NOT_FOUND` — Resource does not exist\r
- `LIVEDOC_CREATE_FAILED` — Failed to create LiveDoc\r
- `LIVEDOC_RESOURCE_UPLOAD_FAILED` — File upload failed\r
- `LIVEDOC_RESOURCE_ADD_URLS_FAILED` — URL addition failed\r
- `LIVEDOC_RESOURCE_RETRIEVE_FAILED` — Semantic retrieval failed\r
\r
### Missing API Key\r
\r
If `FELO_API_KEY` is not set, display this message:\r
\r
```\r
ERROR: FELO_API_KEY not set. Get your API key from https://felo.ai (Settings → API Keys).\r
Set it with: export FELO_API_KEY="your-key"\r
```\r
\r
## Important Notes\r
\r
- Always use the `short_id` returned from create/list to reference a LiveDoc\r
- URL resources are limited to 10 per request\r
- Use `--convert` with upload to convert files to searchable documents\r
- Semantic retrieval returns results sorted by relevance score\r
- Execute immediately using the Bash tool — don't just describe what you would do\r
安全使用建议
What to consider before installing: - Metadata mismatch: the registry metadata claims no required env vars or binaries, but SKILL.md and the included script require FELO_API_KEY and the node runtime. Treat that as a red flag — the package declarations should be corrected. - Execution behavior: installing/using this skill will run a bundled Node script that contacts https://openapi.felo.ai (or FELO_API_BASE if overridden) and can upload files or send text you provide. Only use it with non-sensitive test data until you trust the service and code. - Verify the API key: create a scoped or revocable FELO API key if possible. Avoid using long-lived, highly-privileged keys. Be prepared to revoke the key if you see unexpected activity. - Inspect the code locally: the full script is included in the package. Review scripts/run_livedoc.mjs yourself (or with someone you trust) before running it in your environment. - Runtime requirements: ensure Node is installed and that running the script from the skill path is acceptable in your environment. The package should declare 'node' as a required binary; absence of that in metadata is an oversight. - Network and file risk: the skill will upload any files you direct it to and post content to the remote API. Do not upload secrets, credentials, or private files unless you trust the remote endpoint and have validated the code. If you want to proceed: fix or confirm the missing metadata (declare FELO_API_KEY and node), create a limited test API key, run the script locally to observe behavior, and monitor network/API usage for unexpected calls.
功能分析
Type: OpenClaw Skill Name: felo-livedoc Version: 1.0.0 The felo-livedoc skill provides a legitimate interface for managing knowledge bases (LiveDocs) via the Felo API. The core logic in scripts/run_livedoc.mjs implements standard CRUD operations, file uploads, and semantic search functionality interacting with openapi.felo.ai. The skill's instructions and code are well-aligned with its stated purpose, and it lacks any indicators of malicious intent, data exfiltration to unauthorized endpoints, or suspicious obfuscation.
能力评估
Purpose & Capability
The skill's name, README, SKILL.md, and the included script all implement Felo LiveDoc CRUD, resource uploads, and semantic retrieval against the Felo API — that aligns with the stated purpose. However, the registry metadata declared 'Required env vars: none' and 'Required binaries: none' while the SKILL.md and script clearly require FELO_API_KEY and execution via 'node'. The missing declarations are an inconsistency.
Instruction Scope
SKILL.md explicitly instructs the agent/user to run the included Node script via the Bash tool (node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs). The script performs network requests to the Felo API (default base https://openapi.felo.ai), accepts file paths for upload (reads files provided by the user), and can send user-supplied content. It does not appear to read unrelated system files or other credentials, but it will transmit data (including uploaded files and text) to the external API.
Install Mechanism
No install spec is provided (instruction-only), which is low risk in itself. But the instructions assume Node is available and that the included script is executed from the skill folder. The package metadata did not declare Node as a required binary. Because the skill bundles executable code that will be run, the absence of an explicit runtime requirement in the registry metadata is an incoherence to be aware of.
Credentials
The skill requires FELO_API_KEY (and optionally FELO_API_BASE) for API access, which is proportionate to its purpose. However, the registry metadata incorrectly lists 'Required env vars: none' and 'Primary credential: none' despite the SKILL.md and script demanding FELO_API_KEY. This mismatch should be resolved before trusting installation. No other unrelated secrets are requested.
Persistence & Privilege
The skill is not always-enabled and is user-invocable; it does not request elevated or persistent privileges. It does include a script that will run when invoked and makes outbound network calls, but it does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install felo-livedoc
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /felo-livedoc 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the felo-livedoc skill. - Enables creation, management, and deletion of Felo LiveDocs (knowledge bases). - Supports uploading documents, adding URLs, and creating text documents within a LiveDoc. - Allows semantic search and retrieval across knowledge base resources. - Provides commands for resource management, including listing, viewing, and deleting resources. - Requires FELO_API_KEY for authentication and provides environment variable setup instructions. - Includes explicit error handling and user guidance for setup and usage.
元数据
Slug felo-livedoc
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Felo LiveDoc 是什么?

Manage Felo LiveDocs (knowledge bases) and their resources. Use when users want to create, manage, or query knowledge bases, upload documents, add URLs, or p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 414 次。

如何安装 Felo LiveDoc?

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

Felo LiveDoc 是免费的吗?

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

Felo LiveDoc 支持哪些平台?

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

谁开发了 Felo LiveDoc?

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

💬 留言讨论