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

opencode-skill-hush

v0.1.0

Published

OpenCode plugin that suppresses verbose skill content and command template display in the TUI

Readme

opencode-skill-hush

License: MIT npm version

OpenCode plugin that suppresses verbose skill content and command template display in the TUI.

Instead of dumping 100+ lines of <skill_content> into the conversation when an agent loads a skill, it shows a one-line placeholder. The skill content still reaches the LLM context -- only the TUI display is shortened.

Before / After

Skill load -- Before:

Loaded skill: bmad-advanced-elicitation

<skill_content name="bmad-advanced-elicitation">
# Skill: bmad-advanced-elicitation

# Advanced Elicitation
**Goal:** Push the LLM to reconsider, refine, and improve its recent output.
...
Base directory for this skill: /Users/katops/git/.agents/skills/...
</skill_content>

Skill load -- After:

skill: bmad-advanced-elicitation
[Skill "bmad-advanced-elicitation" loaded]

Command template -- Before:

/commit
feat: add new feature (multi-line resolved template...)

Command template -- After:

/commit
[Command: commit]

Installation

Global (recommended)

npm install -g opencode-skill-hush

Or as a local plugin

Clone the repo and reference it directly in opencode.json:

{
  "plugin": ["/path/to/opencode-skill-hush/dist/index.js"]
}

Configuration

Add to your opencode.json:

{
  "plugin": [
    ["opencode-skill-hush", {
      "suppressSkills": true,
      "suppressCommands": true,
      "showLineCount": false
    }]
  ]
}

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | suppressSkills | boolean | true | Replace skill tool content with placeholder | | suppressCommands | boolean | true | Replace command templates with placeholder | | showLineCount | boolean | false | Append line count to skill placeholder |

Restart opencode after changing config.

Structure

opencode-skill-hush/
├── src/
│   ├── index.ts            # Plugin entry, exports ContentHushPlugin
│   └── hooks/
│       ├── skill.ts        # tool.execute.after handler
│       ├── command.ts      # command.execute.before handler
│       ├── chat.ts         # chat.message handler
│       └── __tests__/      # Unit tests (vitest)
├── package.json
├── tsconfig.json
└── AGENTS.md

How it works

Three hooks, one plugin:

| Hook | Target | What it does | |------|--------|-------------| | tool.execute.after | skill tool | Replaces output.title and output.output with a minimal placeholder. The tool has already finished, so the LLM context is unaffected. | | command.execute.before | slash commands | Replaces output.parts with a single [Command: {name}] text part before it renders. | | chat.message | TUI chat messages | Detects command templates in chat text parts and replaces them with [Command: {heading}]. Matches if the text contains a <skill_content> tag (regardless of H2 structure), or starts with an H1 heading (#) that has a / prefix and includes H2 sections (##). Minimum 50 chars. Catches templates that arrive via chat.message rather than command.execute.before. |

Development

npm install
npm run typecheck
npm test

Contributing

See CONTRIBUTING.md for contribution guidelines and CODE_OF_CONDUCT.md for community standards.

Security

Report vulnerabilities via SECURITY.md.

License

MIT License. See LICENSE.