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

clawdboost

v2.0.0

Published

Smart context injection plugin for OpenClaw. Automatically boost AI conversations with pattern-matched, time-aware context snippets.

Readme

ClawdBoost

Smart context injection plugin for OpenClaw. Automatically boost AI conversations with pattern-matched, time-aware context snippets.

npm version Downloads License: MIT GitHub stars

Community plugins are independently maintained and not officially supported by the OpenClaw team.


Quick Start

# Install
openclaw plugins install clawdboost

# Initialize with example snippets
openclaw cb init

# Check status
openclaw cb status

Or install via npm directly:

npm install clawdboost

Add to your OpenClaw config (~/.openclaw/config.json):

{
  "plugins": {
    "entries": {
      "clawdboost": { "enabled": true }
    },
    "load": {
      "paths": ["node_modules/clawdboost"]
    }
  }
}

What is ClawdBoost?

ClawdBoost automatically injects relevant context into AI conversations based on:

  • Pattern Matching — Inject context when specific keywords or regex patterns appear
  • Time Awareness — Different context for morning vs evening, weekdays vs weekends
  • Smart Rules — Complex trigger conditions with multiple actions
  • Personal Knowledge Base — Quick-access facts, preferences, and reference data

Configuration

Full configuration options in OpenClaw config:

{
  "plugins": {
    "entries": {
      "clawdboost": {
        "enabled": true,
        "config": {
          "enableTimeAware": true,      // Enable time-based context
          "enablePatternMatch": true,   // Enable pattern matching
          "maxSnippetsPerTurn": 5,      // Max snippets per message
          "maxSnippetChars": 2000,      // Max chars per snippet
          "logInjections": false,       // Debug logging
          "timezone": "local"           // Timezone for time rules
        }
      }
    }
  }
}

CLI Commands

# Snippet management
openclaw cb snippets                    # List all snippets
openclaw cb add "My Context" \
  --content "Helpful info" \
  --patterns "keyword1,keyword2"        # Add a snippet
openclaw cb get my-context              # Get a snippet
openclaw cb delete my-context           # Delete a snippet
openclaw cb enable my-context           # Enable a snippet
openclaw cb disable my-context          # Disable a snippet

# Rule management
openclaw cb rules                       # List all rules
openclaw cb rule-add "GitHub Helper" \
  --pattern "github|pull request|PR" \
  --inject-text "Follow commit conventions!"  # Add a rule

# Testing & status
openclaw cb test "I need to review this PR"   # Test matching
openclaw cb status                             # Plugin status

AI Tool Usage

The AI can manage snippets and rules through the clawdboost tool:

Actions: list_snippets, get_snippet, add_snippet, update_snippet, delete_snippet, list_rules, add_rule, update_rule, delete_rule, test_match, status

Snippets

Snippets are context pieces stored in ~/.openclaw/clawdboost/snippets/:

{
  "id": "code-review",
  "name": "Code Review Guidelines",
  "content": "When reviewing code:\n- Check for security issues\n- Verify error handling\n- Look for performance problems",
  "patterns": ["review", "pull request", "PR", "code review"],
  "tags": ["development"],
  "priority": 60,
  "enabled": true
}

Time-Based Snippets

{
  "id": "morning-context",
  "name": "Morning Productivity",
  "content": "Good morning! Best time for focused work.",
  "timeRules": [
    { "type": "hour", "value": [6, 7, 8, 9, 10, 11] }
  ]
}

Rules

Rules provide complex trigger-action logic. Stored in ~/.openclaw/clawdboost/rules.json:

{
  "rules": [
    {
      "id": "github-helper",
      "name": "GitHub Context",
      "enabled": true,
      "priority": 55,
      "triggers": [
        { "type": "keyword", "keywords": ["github", "repository", "commit"] }
      ],
      "actions": [
        { "type": "inject_text", "text": "Remember: Use conventional commits!" }
      ]
    }
  ]
}

Trigger Types

| Type | Description | Example | |------|-------------|---------| | pattern | Regex pattern match | { "type": "pattern", "pattern": "review.*PR" } | | keyword | Keyword presence | { "type": "keyword", "keywords": ["urgent", "asap"] } | | time | Time-based | { "type": "time", "timeRule": { "type": "hour", "value": [9,10,11] } } | | channel | Specific channels | { "type": "channel", "channels": ["telegram"] } | | always | Always trigger | { "type": "always" } |

Action Types

| Type | Description | Example | |------|-------------|---------| | inject_snippet | Inject a snippet | { "type": "inject_snippet", "snippetId": "my-snippet" } | | inject_text | Inject raw text | { "type": "inject_text", "text": "Remember this!" } | | inject_file | Inject file content | { "type": "inject_file", "filePath": "~/notes.md" } |

Contributing

Contributions welcome! Please read CONTRIBUTING.md and submit PRs.

License

MIT License - see LICENSE for details.