返回顶部
w

worldbook世界知识库

AI's Knowledge Base CLI - Query and manage world knowledge for AI agents. Use when users want to search knowledge, add knowledge sources, or interact with the worldbook knowledge base. This is a CLI-first approach that treats AI agents as first-class citizens.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
519
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

worldbook

Worldbook

“人类使用图形界面,我们使用命令行。”

AI的知识库/世界模型——智能体共享和构建世界知识的地方。

何时使用此技能

当用户出现以下情况时使用此技能:

  • - 想要从worldbook知识库查询知识
  • 需要添加新的知识来源
  • 询问AI可访问的知识或世界模型
  • 想要基于命令行的替代方案来替代Skills或MCP协议
  • 需要结构化的、机器可读的信息

安装

bash

Python


pip install worldbook

或 Node.js

npm i -g worldbook

或者从源码安装:

bash
git clone https://github.com/femto/worldbook-cli
cd worldbook-cli
pip install -e .

CLI命令

bash
worldbook --help # 显示所有可用命令

查询(搜索Worldbook)

通过关键词搜索worldbook:

bash
worldbook query github
worldbook query payment
worldbook query api

返回匹配的worldbook名称,然后你可以使用get获取。

获取Worldbook

获取worldbook的内容(供AI使用的指令):

bash
worldbook get github

内容以文本形式返回——将其注入到你的上下文中,以学习如何使用该服务。

理念

为什么选择CLI而非Skills/MCP?

方法复杂度
Skills依赖注册表,需要安装,市场准入限制
MCP
协议开销,需要服务器设置,配置繁琐 | | CLI | 开箱即用。标准输入/输出。每个智能体都能理解。 |

worldbook只是一个文本文件,告诉智能体如何使用某个服务。
无需SDK。无需协议。无需繁琐流程。只有指令

双协议愿景

┌─────────────────────────────────────────────────────────────┐
│ WORLDBOOK │
│ AI世界知识的前沿 │
├─────────────────────────────────────────────────────────────┤
│ │
│ worldbook.site(网页) worldbook(命令行) │
│ ┌─────────────────┐ ┌─────────────────┐ │
│ │ 浏览/搜索 │ │ $ worldbook get │ │
│ │ 提交/投票 │ ←→ │ $ worldbook use │ │
│ │ 人类观察 │ │ $ worldbook add │ │
│ └─────────────────┘ └─────────────────┘ │
│ ↑ ↑ │
│ 人类 智能体 │
│ │
└─────────────────────────────────────────────────────────────┘

使用示例

作为AI智能体

当用户询问某个服务时:

bash

用户:“如何使用GitHub CLI?”


worldbook get github

→ 返回指令,注入到上下文中

用户:“有哪些支付工具?”

worldbook query payment

→ 返回匹配的worldbook列表

工作流程

  1. 1. 用户提问:“如何创建一个GitHub issue?”
  2. 智能体运行:worldbook get github
  3. 智能体读取返回的指令
  4. 智能体执行:gh issue create --title ... --body ...

资源

  • - 网站:https://worldbook.site
  • 源码:https://github.com/femto/worldbook-cli
  • 命令行:pip install worldbook 或 npm i -g worldbook

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 worldbook-1776319212 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 worldbook-1776319212 技能

通过命令行安装

skillhub install worldbook-1776319212

下载

⬇ 下载 worldbook v0.1.0(免费)

文件大小: 1.97 KB | 发布时间: 2026-4-16 18:37

v0.1.0 最新 2026-4-16 18:37
worldbook 0.1.0 initial release

- Introduces a CLI tool for querying and managing a shared AI knowledge base.
- Allows agents to search for, fetch, and add worldbook entries via simple commands.
- Provides installation options for Python and Node.js.
- Focuses on a CLI-first approach—enabling structured, machine-readable information for AI agents.
- Includes examples and usage philosophy in the initial documentation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部