Skip to content
    ↑↓ select↵ openesc close
    English中文
    open-horizon-labs

    Bottle

    v0.2.6Memory & Context
    @cloud-atlas-ai/bottle

    Cloud Atlas AI core stack for OpenCode - ba, wm, and superego in one package

    GitHub stars

    3

    Monthly installs

    75

    13 in 7 days

    Composite scoreSCORE

    26.9

    Multi-signal model

    Last commit

    5 months ago

    2026-02-23

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@cloud-atlas-ai/bottle@0.2.6"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    Open Horizon Labs - One entry point for all the tools

    Bottle provides the complete Open Horizon Labs stack for Claude Code, OpenCode, and Codex.

    Quickstart

    brew tap open-horizon-labs/homebrew-tap && brew install bottle
    bottle install stable
    bottle integrate claude_code  # or: codex, opencode
    

    Multiple Claude Code Directories

    If you have multiple Claude Code directories (e.g., ~/.claude for personal use and ~/.claude-work for work), use the CLAUDE_CONFIG_DIR environment variable:

    bottle integrate --list                                      # shows all detected directories
    CLAUDE_CONFIG_DIR=~/.claude-work bottle integrate claude_code  # integrate specific directory
    

    Then initialize in your project:

    /bottle:init          # Claude Code
    $bottle init          # Codex
    bottle-init           # OpenCode
    

    This installs binaries, initializes .ba/, .wm/, .superego/, and creates AGENTS.md.


    Ecosystem Vision

    Bottle is part of the Open Horizon Labs ecosystem - tools that give you AI superpowers without surrendering your mind. The ecosystem has two delivery mechanisms serving different audiences:

    Open Horizons (strategic layer - missions, guardrails, metis)
        |
        +-- Bottle (developer tools)
        |       CLI tools that augment AI coding assistants
        |       You use these TO BUILD software
        |
        +-- Memex (end user product)
                Desktop app that IS the AI interface
                Knowledge workers use this directly
    

    Bottle tools augment Claude Code, OpenCode, and Codex with:

    • Intentional grounding (wm/dive-prep) - Start sessions with relevant context
    • Semantic recall (datasphere) - Search past knowledge
    • Metacognitive oversight (superego) - Catch drift before it compounds
    • Strategic alignment (oh-mcp) - Connect to your mission hierarchy
    • Task tracking (ba) - Simple work management
    • Remote orchestration (miranda) - Control sessions via Telegram

    Memex implements the same concepts natively for end users:

    • Dive = intentional grounding (native)
    • Datasphere = semantic recall (native)
    • Superego = metacognitive oversight (native)
    • OH-local = strategic alignment (native)

    The philosophy is shared: grounding prevents drift, recall surfaces relevant knowledge, oversight catches mistakes, and strategic context keeps you aligned with what matters.

    We use bottle tools to build Memex. Memex will be the finished product for knowledge workers who want AI without the command line.


    Tools

    • ba - Task tracking for AI sessions
    • wm - Working memory for automatic tacit knowledge extraction
    • superego - Metacognitive advisor
    • datasphere - Knowledge graph from Claude Code sessions (Claude Code only)
    • oh-mcp - Open Horizons MCP for strategic alignment (Claude Code only)
    • miranda - Telegram bot for remote orchestration (Claude Code only)

    Platform-Specific Docs

    For detailed installation and usage per platform:


    What Each Tool Does

    ba - Task Tracking

    Simple, file-based task tracking. No server, no database.

    Commands: /ba:init, /ba:quickstart, /ba:status

    wm - Working Memory

    Automatically captures tacit knowledge from sessions and injects relevant context.

    Setup: Installs plugin + binary, works automatically

    superego - Metacognition

    Monitors Claude's work and provides feedback before finishing or making large changes.

    Commands: /superego:init, /superego:review, /superego:prompt

    datasphere - Knowledge Graph

    Builds a searchable knowledge graph from Claude Code sessions, making insights from past sessions queryable.

    Commands: /datasphere:init, /datasphere:setup

    oh-mcp - Strategic Alignment

    Connects Claude Code to Open Horizons for strategic context.

    Setup: /oh-mcp:setup (requires OH account + API key)

    miranda - Remote Orchestration

    Telegram bot for running Claude sessions remotely.

    Setup: Server component, see miranda docs

    Updating

    bottle update
    

    See platform-specific docs for manual update commands.

    Bespoke Bottles

    Want to pin specific tool versions or create a team-shared configuration? Create a bespoke bottle:

    bottle create mystack --from stable
    # Edit ~/.bottle/bottles/mystack/manifest.json
    bottle install mystack
    

    Bespoke bottles support:

    • Version pinning - Lock specific versions you've tested together
    • MCP servers - Register Figma, Azure DevOps, or custom MCP servers
    • Custom tools - Include tools not in the curated bottles
    • Team setup pattern - Share via version control with AI-assisted onboarding

    Team Setup Pattern

    For teams sharing a bottle via version control, use a project-local manifest:

    dev_tools/bottle/
    ├── manifest.json   ← tools, versions, MCP servers
    ├── SETUP.md        ← AI assistant guidance (verification, troubleshooting)
    ├── README.md       ← human quick start
    └── bootstrap.sh    ← one-time setup script
    

    This enables AI-assisted developer onboarding - the AI reads SETUP.md and can guide new developers through setup, verify it's correct, and troubleshoot issues.

    See docs/bespoke.md for a full walkthrough and bottles/example-team/ for a working example.

    Individual Repos

    Each tool has its own repo with detailed documentation:

    Plugin Sync

    The Claude Code plugins in .claude-plugin/plugins/ are synced from their source repositories via a GitHub Action. To update to the latest plugin versions, run the "Sync Claude Code Plugins" workflow manually from the Actions tab.

    License

    Source-available. See individual repos for license details.