闲社服务运行正常AI智能体自动化平台
f

Felo知识库管理

技能标识: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 perform semantic retrieval over a knowledge base. Explicit commands: /felo-livedoc."

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Felo知识库管理

Felo LiveDoc 技能

使用场景

当用户想要以下操作时触发此技能:

  • - 创建/管理知识库: 创建、列出、更新或删除 LiveDoc
  • 添加资源: 上传文档、添加 URL 或在 LiveDoc 中创建文本文档
  • 语义检索: 使用自然语言查询跨知识库资源进行搜索
  • 资源管理: 列出、查看或删除 LiveDoc 中的资源

触发词:

  • - 英文:knowledge base, livedoc, live doc, upload document, add URL, semantic search, retrieve, knowledge retrieval
  • 简体中文:知识库, 文档库, 上传文档, 添加链接, 语义检索, 知识检索

显式命令: /felo-livedoc,livedoc,felo livedoc

请勿用于:

  • - 通用网页搜索(使用 felo-search)
  • PPT 生成(使用 felo-slides)
  • SuperAgent 对话(使用 felo-superAgent)

设置

1. 获取您的 API 密钥

  1. 1. 访问 felo.ai 并登录(或注册)
  2. 点击右上角头像 → 设置
  3. 导航至API 密钥选项卡
  4. 点击创建新密钥生成新的 API 密钥
  5. 安全地复制并保存您的 API 密钥

2. 配置 API 密钥

设置 FELOAPIKEY 环境变量:

Linux/macOS:
bash
export FELOAPIKEY=your-api-key-here

Windows(PowerShell):
powershell
$env:FELOAPIKEY=your-api-key-here

执行方法

当此技能被触发时,使用 Bash 工具执行 livedoc 脚本:

LiveDoc 管理

创建 LiveDoc:
bash
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs create --name 知识库名称 --description 描述

列出 LiveDoc:
bash
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs list
node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs list --keyword 搜索关键词

更新 LiveDoc:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs update SHORTID --name 新名称 --description 新描述

删除 LiveDoc:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs delete SHORTID

资源管理

添加文本文档:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs add-doc SHORTID --title 文档标题 --content 文档内容

添加 URL(最多 10 个,以逗号分隔):
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs add-urls SHORTID --urls https://example.com,https://example.org

上传文件:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs upload SHORTID --file ./document.pdf
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs upload SHORTID --file ./document.pdf --convert

列出资源:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs resources SHORTID

获取单个资源:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs resource SHORTID RESOURCE_ID

删除资源:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs remove-resource SHORTID RESOURCE_ID

语义检索

跨资源搜索:
bash
node ~/.agents/skills/felo-livedoc/scripts/runlivedoc.mjs retrieve SHORTID --query 您的搜索查询

选项

所有命令支持:

  • - --json 或 -j — 输出原始 JSON 响应
  • --timeout 或 -t — 请求超时时间(毫秒,默认:60000)

解析和格式化响应

API 返回具有以下结构的 JSON:
json
{
status: ok,
message: success,
data: { ... }
}

LiveDoc 对象:

  • - shortid — 唯一标识符(所有操作使用此标识)
  • name — LiveDoc 名称
  • description — LiveDoc 描述
  • createdat / modified_at — 时间戳

资源对象:

  • - id — 资源标识符
  • title — 资源标题
  • resourcetype — 类型(web、aidoc、file 等)
  • status — 处理状态
  • snippet — 内容预览

检索结果:

  • - id — 资源 ID
  • title — 资源标题
  • content — 匹配的内容
  • score — 相关性评分(0-1)

错误处理

常见错误代码

  • - INVALIDAPIKEY — API 密钥无效或已撤销
  • LIVEDOCNOTFOUND — LiveDoc 不存在
  • LIVEDOCRESOURCENOTFOUND — 资源不存在
  • LIVEDOCCREATEFAILED — 创建 LiveDoc 失败
  • LIVEDOCRESOURCEUPLOADFAILED — 文件上传失败
  • LIVEDOCRESOURCEADDURLSFAILED — URL 添加失败
  • LIVEDOCRESOURCERETRIEVE_FAILED — 语义检索失败

缺少 API 密钥

如果未设置 FELOAPIKEY,显示以下消息:

错误:未设置 FELOAPIKEY。请从 https://felo.ai(设置 → API 密钥)获取您的 API 密钥。
设置方法:export FELOAPIKEY=your-key

重要说明

  • - 始终使用 create/list 返回的 short_id 来引用 LiveDoc
  • URL 资源每次请求限制为 10 个
  • 使用 --convert 配合 upload 将文件转换为可搜索文档
  • 语义检索返回按相关性评分排序的结果
  • 立即使用 Bash 工具执行 — 不要仅描述您将要执行的操作

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 felo-livedoc-1776108328 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 felo-livedoc-1776108328 技能

通过命令行安装

skillhub install felo-livedoc-1776108328

下载

⬇ 下载 felo-livedoc v1.0.0(免费)

文件大小: 8.02 KB | 发布时间: 2026-4-15 12:44

v1.0.0 最新 2026-4-15 12:44
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.
返回顶部