npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cloud-atlas-ai/bottle

v0.2.6

Published

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

Readme

Bottle - Cloud Atlas AI for OpenCode

One package, full stack: ba (task tracking), wm (working memory), and superego (metacognition) for OpenCode.

Installation

npm install @cloud-atlas-ai/bottle

Add to your opencode.json:

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

What You Get

ba - Task Tracking

Simple ownership-based task tracking for multi-agent workflows.

Tools:

  • ba-init - Initialize ba for a project
  • ba-status - Show current tasks and counts
  • ba-quickstart - Quick reference guide

Requires: ba binary (install instructions)

wm - Working Memory

Accumulates tacit knowledge across sessions. Model-driven: the LLM calls wm when it needs context.

Tools:

  • wm init - Initialize working memory
  • wm show state - View accumulated knowledge
  • wm compile - Get relevant context for current task
  • wm distill - Extract knowledge from recent work

Requires: wm binary (install instructions)

How it works: A soft hint in the system prompt tells the LLM about wm. When the model needs context, it calls the wm tool. Similar to superego's "pull mode."

superego - Metacognition

Reviews your work before finishing. Provides feedback on approach, risks, and missed considerations.

Tools:

  • superego init - Initialize superego
  • superego status - Check if enabled
  • superego disable/enable - Toggle evaluation
  • superego remove - Remove from project

How it works: Evaluates sessions when idle. If concerns found, injects feedback into the conversation.

Quick Start

  1. Install bottle:

    npm install @cloud-atlas-ai/bottle
  2. Add to opencode.json:

    {
      "plugin": ["@cloud-atlas-ai/bottle"]
    }
  3. Install binaries (ba and wm require them):

    # ba
    brew install cloud-atlas-ai/ba/ba
    # or: cargo install ba
    
    # wm
    brew install cloud-atlas-ai/wm/wm
    # or: cargo install wm
  4. Initialize in your project: Ask OpenCode to initialize each tool:

    • "use ba-init to set up task tracking"
    • "use wm init to set up working memory"
    • "use superego init to set up metacognition"

Differences from Claude Code

ba

✅ Same functionality - tools wrap the CLI

wm

⚠️ Model-driven instead of automatic:

  • Claude Code: Automatically injects relevant context before every user prompt
  • OpenCode: Model decides when to call wm compile (no per-prompt hooks available)
  • Why: OpenCode doesn't have an equivalent to Claude Code's UserPromptSubmit hook
  • Benefit: Preserves relevance filtering, avoids token bloat

superego

✅ Same "pull mode" behavior - evaluates on session idle

Individual Plugins

If you only want one tool, install from their respective repos:

Architecture

Bottle is a meta-package that depends on the individually published plugins:

  • ba-opencode - Task tracking plugin
  • wm-opencode - Working memory plugin
  • superego-opencode - Metacognition plugin

Each plugin can be published and versioned independently. Bottle simply re-exports them for convenience.

Each plugin:

  • Provides OpenCode tools
  • Injects soft hints via experimental.chat.system.transform
  • Registers event hooks where needed (superego uses session.idle)

License

MIT

Links