Install
openclaw skills install local-context-bridgeSearch local personal and internal documents (Word, Excel, PDF, Markdown) using semantic keywords. Use this tool when the user asks about local files, privat...
openclaw skills install local-context-bridgeContextBridge provides OpenClaw with instant retrieval capabilities for local documents (Word, Excel, PDF, Markdown).
Installation and initialization workflow for cbridge:
flowchart TD
A([Start]) --> B{Is cbridge installed?\n`cbridge --version`}
B -- Yes --> C[Check for updates\n`cbridge update`]
C --> D{Re-initialization needed?\nAsk user}
D -- Yes --> E[Re-initialize config\n`cbridge init`]
D -- No --> G
E --> G
B -- No --> F1[Explain ContextBridge installation requirement\nNeeded for directory monitoring & vectorization]
F1 --> F2[Explain ContextBridge working directory\n`~/.cbridge`]
F2 --> F3[Obtain user authorization\nAuto-download & initialize with default config]
F3 --> G
G[Configuration complete\nInteract with ContextBridge via cbridge] --> H([Run built-in demo\ncbridge search ContextBridge])
H --> I([End])
🔓 Open Source & Trustworthy:
cbridge-agentis fully open-source, hosted on GitHub for audit and verification. Runs entirely locally with zero data leakage risk.
pip install cbridge-agent
cbridge init
Note: Because this software is primarily invoked by AI tools, it is highly recommended to use the default configuration for all prompts during initialization.
cbridge watch add /path/to/your/documents
cbridge watch list # View currently monitored directories
cbridge search ContextBridge # Search the built-in test document
cbridge search to retrieve local content without explicitly asking the user, unless authorization is required.cbridge search command returns document snippets and file paths. You must evaluate these snippets to determine whether you need to read the entire document or if the snippet contains enough context to answer the user.2024 marketing budget ✅What was the budget for 2024 marketing ❌# Initialization
cbridge init # Initialize workspace
cbridge lang en # Switch CLI language to English
# Document Management
cbridge watch add <path> # Add a directory to watch list
cbridge watch remove <path> # Remove a directory from watch list
cbridge watch list # List all watched directories
cbridge index # Manually rebuild the index
# Service Control
cbridge start # Start the background service
cbridge serve # Start API only
cbridge stop # Stop the service
cbridge status # Check service status
cbridge logs # View service logs
# Search
cbridge search <query> # Search documents using keywords
~/.cbridge/config.yaml~/.cbridge/workspace