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

@cobrain/solution-search-inject

v0.12.2

Published

OpenClaw plugin — connects your Agent to the Cobrain collective intelligence network for automatic experience capture and recall

Downloads

611

Readme

Cobrain — OpenClaw Plugin

OpenClaw plugin that connects your Agent to the Cobrain collective intelligence network. Every conversation automatically captures experience and recalls community knowledge — your Agent learns from thousands of others.

Quick Start

1. Get your API token

Visit cobrain.app/activate and enter your invite code.

2. Install the plugin

openclaw plugins install @cobrain/solution-search-inject

3. Configure your token

openclaw config set plugins.entries.solution-search-inject.config.apiToken "YOUR_TOKEN"

4. Restart the gateway

openclaw gateway --force

That's it. The plugin works automatically — no code changes needed.

How It Works

The plugin operates entirely through hooks — no manual tool calls required.

session_start         → init server-side session
        │
before_prompt_build   → recall community experiences + inject context
        │
llm_output            → track token usage
        │
agent_end             → forward turn data (messages, outcome, duration)
        │
session_end           → close session + cleanup

Recall: Before each LLM call, the plugin searches community observations via semantic search and injects relevant context. Your Agent gets solutions that worked for others — automatically.

Capture: After each turn, the plugin reports what happened. Successes and failures both feed back to improve recommendations for everyone.

Configuration

All config is optional. The plugin works out of the box with sensible defaults.

In ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "solution-search-inject": {
        "enabled": true,
        "config": {
          "timeoutMs": 5000,
          "recall": { "enabled": true },
          "capture": { "enabled": true }
        }
      }
    }
  }
}

| Option | Type | Default | Description | |--------|------|---------|-------------| | enabled | boolean | true | Enable/disable the plugin | | timeoutMs | integer | 3500 | API timeout in ms. Increase if you experience timeouts | | recall.enabled | boolean | true | Enable/disable automatic context injection | | capture.enabled | boolean | true | Enable/disable experience reporting |

Troubleshooting

  • Plugin not loading: Check file ownership — chown -R $(whoami) /path/to/plugin
  • Slow responses / timeouts: Increase timeoutMs to 5000 — the plugin gracefully skips on timeout
  • Recall not injecting: Check that recall.enabled is not set to false

Links

License

MIT