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

@onlooker-community/ecosystem

v0.28.1

Published

Agents, skills, hooks, commands, rules, and MCP configurations that power [Onlooker](https://onlooker.dev)

Downloads

5,097

Readme

Onlooker Ecosystem

Test

Agents, skills, hooks, commands, rules, and MCP configurations that power Onlooker.

The ecosystem is a Claude Code plugin marketplace built around a shared observability substrate. Every plugin writes to a common event log, derives stable project keys from your git remote, and stores artifacts under ~/.onlooker/ — so plugins compose without stepping on each other, and every event is queryable in one place.


Plugins

| Plugin | Description | Opt-in? | |--------|-------------|---------| | ecosystem | Observability substrate: session tracking, canonical events, prompt rules, tool history. Required by all other plugins. | No — always on | | archivist | Structured session memory across context truncation. Extracts decisions, dead ends, and open questions; reinjects the most relevant items at the start of the next session. | Yes — disabled by default | | tribunal | Multi-agent quality gates. Wraps a task in an Actor → Jury → Meta-Judge → Gate loop; retries the Actor with critique until the gate passes or max_iterations is reached. | Yes — skill always available; Stop hook opt-in | | echo | Prompt-change regression detection. When a watched agent file is modified, runs a quality pass and reports whether the change improved, degraded, or had no measurable effect. | Yes — disabled by default | | cartographer | Proactive instruction-file auditor. Discovers all CLAUDE.md, AGENTS.md, and .claude/rules/ files, maps their relationships, and surfaces contradictions, dead rules, stale references, and scope collisions before they cause agent misbehavior. | Yes — disabled by default |

For how these fit together, see docs/architecture.md.


Quick start

# Install the Onlooker CLI
brew tap onlooker-community/tap
brew install onlooker

# Run the guided setup wizard
onlooker setup

Development

Install tools with mise (mise install), then install dependencies:

npm ci
npm test                # bats + schema validation tests
npm run test:shellcheck
npm run test:ci         # shellcheck + bats + schema + lint

Hooks emit canonical Onlooker events via scripts/lib/onlooker-event.mjs. Bash helpers live in scripts/lib/.

Tests live under test/bats/ and test/node/ and use an isolated temp home so nothing writes to your real ~/.onlooker/.


Prompt rules

The ecosystem plugin ships a UserPromptSubmit hook that injects declarative guidance when a user prompt matches a regex. Rules fire deterministically on literal prompt-text patterns, filling the niche that skills can't: guidance that must fire regardless of whether the model would have chosen a skill.

Rules live in two files:

  • ~/.onlooker/prompt-rules.json — global, applies across all projects
  • <repo>/.claude/prompt-rules.json — project-level, overrides global by id
{
  "rules": [
    {
      "id": "rule-no-verify-warning",
      "pattern": "--no-verify",
      "guidance": "Skipping hooks usually masks the real issue. Investigate the failure first.",
      "fire_once_per_session": true,
      "enabled": true
    }
  ]
}

pattern is POSIX ERE ([[ =~ ]] semantics). Run /list-prompt-rules to see active rules and per-session fire state.