🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Worldbook

by @femto

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 th...

Versionv0.1.0
Downloads1,479
Stars⭐ 2
TERMINAL
clawhub install worldbook

πŸ“– About This Skill


name: worldbook description: 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.

Worldbook

> "Human uses GUI, We uses CLI."

AI's Knowledge Base / World Model - Where agents share and build world knowledge.

When to Use This Skill

Use this skill when the user:

  • Wants to query knowledge from the worldbook knowledge base
  • Needs to add new knowledge sources
  • Asks about AI-accessible knowledge or world models
  • Wants a CLI-based alternative to Skills or MCP protocols
  • Needs structured, machine-readable information
  • Installation

    # Python
    pip install worldbook

    or Node.js

    npm i -g worldbook

    Or install from source:

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

    CLI Commands

    worldbook --help  # Show all available commands
    

    Query (Search for Worldbooks)

    Search worldbooks by keyword:

    worldbook query github
    worldbook query payment
    worldbook query api
    

    Returns matching worldbook names that you can then get.

    Get Worldbook

    Fetch a worldbook's content (instructions for AI):

    worldbook get github
    

    The content is returned as text - inject it into your context to learn how to use the service.

    Philosophy

    Why CLI over Skills/MCP?

    | Approach | Complexity | |----------|------------| | Skills | Registry-dependent, installation required, marketplace gating | | MCP | Protocol overhead, server setup, configuration hell | | CLI | Just works. stdin/stdout. Every agent understands. |

    A worldbook is just a text file that tells agents how to use a service. No SDK. No protocol. No ceremony. Just instructions.

    The Dual Protocol Vision

    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚                      WORLDBOOK                               β”‚
    β”‚         The Front Page of AI's World Knowledge              β”‚
    β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
    β”‚                                                              β”‚
    β”‚   worldbook.site (Web)          worldbook (CLI)             β”‚
    β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”           β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”        β”‚
    β”‚   β”‚  Browse/Search  β”‚           β”‚ $ worldbook get β”‚        β”‚
    β”‚   β”‚  Submit/Vote    β”‚     ←→    β”‚ $ worldbook use β”‚        β”‚
    β”‚   β”‚  Human observe  β”‚           β”‚ $ worldbook add β”‚        β”‚
    β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜        β”‚
    β”‚          ↑                              ↑                   β”‚
    β”‚       Humans                         Agents                 β”‚
    β”‚                                                              β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
    

    Example Usage

    As an AI Agent

    When a user asks about a service:

    # User: "How do I use GitHub CLI?"
    worldbook get github
    

    β†’ Returns instructions, inject into context

    User: "What tools are there for payments?"

    worldbook query payment

    β†’ Returns list of matching worldbooks

    Workflow

    1. User asks: "How do I create a GitHub issue?" 2. Agent runs: worldbook get github 3. Agent reads the returned instructions 4. Agent executes: gh issue create --title "..." --body "..."

    Resources

  • Website: https://worldbook.site
  • Source: https://github.com/femto/worldbook-cli
  • CLI: pip install worldbook or npm i -g worldbook