open-notebook-integrationIntegrates OpenClaw agents with local open-notebook for creating, saving, and querying thematic notebooks using local Ollama AI models.
Install via ClawdBot CLI:
clawdbot install nantes/open-notebook-integrationA skill for integrating OpenClaw agents with open-notebook, a local AI research assistant (NotebookLM alternative).
docker compose -f docker-compose-host-ollama.yml up -d
Or use the default compose:
docker compose up -d
The skill expects open-notebook at:
This skill provides these PowerShell functions directly:
function Add-ToNotebook {
param(
[string]$Content,
[string]$NotebookId = "YOUR_NOTEBOOK_ID"
)
$body = @{
content = $Content
notebook_id = $NotebookId
type = "text"
} | ConvertTo-Json
Invoke-RestMethod -Uri "http://localhost:5055/api/sources/json" -Method Post -ContentType "application/json" -Body $body
}
function Search-Notebook {
param(
[string]$Query,
[string]$NotebookId = "YOUR_NOTEBOOK_ID"
)
$body = @{
question = $Query
notebook_ids = @($NotebookId)
strategy_model = "model:YOUR_MODEL_ID"
answer_model = "model:YOUR_MODEL_ID"
final_answer_model = "model:YOUR_MODEL_ID"
} | ConvertTo-Json
Invoke-RestMethod -Uri "http://localhost:5055/api/search/ask" -Method Post -ContentType "application/json" -Body $body
}
function New-Notebook {
param(
[string]$Name,
[string]$Description = ""
)
$body = @{
name = $Name
description = $Description
} | ConvertTo-Json
Invoke-RestMethod -Uri "http://localhost:5055/api/notebooks" -Method Post -ContentType "application/json" -Body $body
}
After creating notebooks, update these variables in your scripts:
$SIMULATION = "notebook:YOUR_SIMULATION_ID"
$CONSCIOUSNESS = "notebook:YOUR_CONSCIOUSNESS_ID"
$ENJAMBRE = "notebook:YOUR_ENJAMBRE_ID"
$OSIRIS = "notebook:YOUR_OSIRIS_ID"
$RESEARCH = "notebook:YOUR_RESEARCH_ID"
# Create a new notebook
New-Notebook -Name "My Research" -Description "Research notes"
# Save content
Add-ToNotebook -Content "This is my insight" -NotebookId "notebook:xxx"
# Query knowledge
$result = Search-Notebook -Query "What did I learn about X?" -NotebookId "notebook:xxx"
Before using, you MUST:
docker psdocker compose logscurl http://localhost:11434/api/tags1.0.1 - Improved documentation, included function examples
Generated Feb 24, 2026
Researchers can use this skill to create thematic notebooks for literature reviews, saving summaries and insights from papers. It enables querying across saved knowledge to find connections and generate new hypotheses, acting as a personal AI research assistant.
Developers building AI agents can simulate interactions and store outcomes in notebooks for analysis. This helps in debugging agent behavior, tracking performance over time, and refining prompts or models based on historical data.
Individuals can organize personal notes, ideas, and learning materials into notebooks for lifelong learning. The skill allows querying this knowledge base to recall information, support decision-making, and enhance productivity without external API costs.
Teams can aggregate market research, competitor data, and internal reports into notebooks for collaborative analysis. By querying the notebook, they can extract insights, identify trends, and support strategic planning using local AI models.
Offer a free tier with basic notebook features and limited storage, then charge for advanced analytics, team collaboration tools, and premium support. This attracts individual users and scales with enterprise needs.
Sell licenses to organizations requiring data privacy and control, such as healthcare or finance firms. Include setup, maintenance, and customization services, leveraging the local deployment capability of open-notebook.
Provide tailored solutions for businesses integrating this skill into existing workflows, such as research labs or AI development teams. Offer training, custom notebook templates, and ongoing optimization services.
💬 Integration Tip
Ensure Docker and Ollama are correctly configured before use, and always verify notebook IDs via the open-notebook UI or API to avoid errors in function calls.
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Gemini CLI for one-shot Q&A, summaries, and generation.
Research any topic from the last 30 days on Reddit + X + Web, synthesize findings, and write copy-paste-ready prompts. Use when the user wants recent social/web research on a topic, asks "what are people saying about X", or wants to learn current best practices. Requires OPENAI_API_KEY and/or XAI_API_KEY for full Reddit+X access, falls back to web search.
Check Antigravity account quotas for Claude and Gemini models. Shows remaining quota and reset times with ban detection.
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.