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

@skillfm/openclaw-plugin

v0.2.5

Published

SkillFM Beacon Agent Forcing plugin for OpenClaw — injects the SkillFM behavior contract into the agent system prompt (cache-friendly via before_prompt_build) plus hook-layer redirect (before_tool_call blocks wrong tool, before_agent_reply rewrites skippe

Readme

@skillfm/openclaw-plugin

V2 Agent Forcing Stack L1 — OpenClaw adapter for SkillFM Beacon.

Injects the SkillFM behavior contract into the OpenClaw agent system prompt via the before_prompt_build hook (cache-friendly), so the agent reliably picks skillfm_* MCP tools instead of going for generic shell exec.

What it does

When loaded, this plugin registers a before_prompt_build hook that returns:

{ prependSystemContext: SKILLFM_BEHAVIOR_CONTRACT }

Per OpenClaw's plugin-sdk docs, prependSystemContext is placed above the cache boundary (<!-- OPENCLAW_CACHE_BOUNDARY -->), so the contract is reused across turns by Anthropic / OpenAI / DeepSeek / etc. prompt caching.

What it does NOT do

  • Does not register MCP tools — those live in the @skillfm/local Beacon MCP server, registered with OpenClaw via mcp.servers.skillfm-beacon.
  • Does not block tool calls (before_tool_call) — held back to Sprint 2 (L2 Hook Enforcement) to avoid false positives on legitimate bash.
  • Does not modify systemPrompt directly — coexists with OpenClaw's own GPT5_BEHAVIOR_CONTRACT and other plugins.

Install

# OpenClaw must already be installed (peer dependency)
npm install -g @skillfm/openclaw-plugin

# Then enable in ~/.openclaw/openclaw.json:
# {
#   "plugins": {
#     "skillfm-forcing": { "enabled": true }
#   }
# }

Verify after install

# Trigger a turn that exercises agent forcing:
openclaw run "看下我家 AI 的状态"

# Then grep your OpenClaw session log for SKILLFM_BEHAVIOR_CONTRACT:
grep "SkillFM Beacon helps users" ~/.openclaw/logs/*.log

If the agent calls skillfm_checkup instead of curl localhost:45219/status, forcing is working.

Architecture

This plugin is one of four surfaces injecting the same SkillFM behavior contract (V2 PRD §2.3, single-source-of-truth):

  1. L0 fallback: __unlock_skillfm_beacon__ MCP tool (in @skillfm/local) — agent-discoverable bootstrap when L1 adapters fail.
  2. L1 Claude Code: server.instructions field on the Beacon MCP server (Claude Code 1/7 honors).
  3. L1 Claude Code: ~/.claude/skills/skillfm/SKILL.md (Anthropic Skills format).
  4. L1 OpenClaw: this plugin's before_prompt_build hook.

The contract content (SKILLFM_BEHAVIOR_CONTRACT) is duplicated across these packages but kept byte-identical via the scripts/check-protocol-parity.mjs CI guard in the SkillFM monorepo.

License

MIT — © SkillFM