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

@actvite/trouble

v1.2.0

Published

Four-roles debug protocol for stuck incidents and debug loops: verbatim evidence, Bayesian ranking of hypotheses, and no fix until four configurable roles unanimously agree. Ends with a machine-parseable TROUBLE_VERDICT. Claude Code, Codex, Grok, Copilot,

Readme

/trouble — four-roles debug protocol for stuck incidents

Stop guessing. Make the agent argue until the evidence wins.

/trouble is an open-source AI agent skill for hard debugging: production incidents, debug loops, and "nothing I try is fixing this" bugs. The protocol the model executes is YAML in skill/SKILL.md: ids defined once, no repeated prose.

trouble is part of ceciCela (/cecicela): ceci plans this, cela proves that, trouble fixes what breaks. ceciCela installs as one product: installing trouble installs /ceci, /cela, /trouble, and the /cecicela front door together. Once installed, /trouble runs by itself on a stuck bug; its only link to the others is a suggestion to run /cela on the fix it ships.

Four roles — the keeper, the detective, the maintainer, and the physicist — collect verbatim evidence, rank hypotheses with explicit Bayesian arithmetic, and will not apply a fix until they unanimously agree. Every run ends with a machine-parseable TROUBLE_VERDICT_BEGIN / TROUBLE_VERDICT_END block that pipelines can gate on.

If your coding agent patches first and thinks later, this is the protocol that slows it down on purpose.

Why people install it

  • Root-cause analysis, not vibes. Claims without a quoted log line, file, or command output are tagged unverified and cannot support a fix.
  • Incident response for agents. Exit-code triage, MCP documentation survey, smuggled-assumption hunt, timeline / causality check.
  • A real agreement gate. Each of the four roles votes yes/no with a 0–10 confidence score before any code change.
  • Names you choose. The roles' names are yours to set (below); what each role does is the protocol and stays fixed.

The four roles

| id | default name (who:) | what it does (fixed) | | --- | --- | --- | | keeper | the archivist | catalog facts, cite lines, syntax-perfect code, flag assumptions smuggled as facts, anchor on doc MCPs | | detective | the detective | what cannot be true, what is missing, hyper-specific falsifiers, unverified assumptions are suspects | | maintainer | the kernel maintainer | smallest diff, veto ceremony, veto a refactor when a one-line fix may exist, strike restated bugs | | physicist | the physicist who specialises in time | time order, what could not influence what, entropy, races, pull toward the minimal test |

Rename them

Copy skill/voices.default.yaml to .trouble/voices.yaml in a project (or ~/.trouble/voices.yaml for every project) and change the who: lines:

voices:
  keeper: {who: "The Librarian"}
  detective: {who: "The Inspector"}
  maintainer: {who: "The Gatekeeper"}
  physicist: {who: "The Timekeeper"}

Rules: exactly these four ids, no others, and only who: (one line, at most 80 characters). The cross-exams depend on the four ids, so a file that adds, drops, or renames a role, or tries to change does:, is refused with its reasons and /trouble uses the defaults. Check a file before you rely on it:

trouble voices check .trouble/voices.yaml      # or: node <skill dir>/tool/voices.js check FILE
trouble voices resolve                         # the names /trouble will use in this directory, and why

Lookup order in a coding agent: the project file, then the user file, then the defaults. In a chat (no files), paste a voices: block at the start of the conversation; it holds for that conversation only.

Install

ceciCela installs as one product, so every route below gives you all of it: /ceci, /cela, /trouble, and the /cecicela front door.

npx --yes @actvite/cecicela install --all    # all of ceciCela, every harness
npx --yes @actvite/trouble install --all     # the same: trouble hands the install to @actvite/cecicela
npx --yes @actvite/trouble install --claude --grok

trouble install hands off to the @actvite/cecicela bundle: a copy installed next to trouble when there is one, otherwise npx --yes @actvite/cecicela@latest. The bundle writes the skill directories into each harness you name (default: all nine): Claude Code, Grok, Codex, Cline, Goose, Cursor, GitHub Copilot, Google Antigravity, and Hermes Agent. Restart the agent session after an install; a session that was already open will not see a skill added underneath it.

Plugin marketplaces

The ceciCela repository is a marketplace for Claude Code, Grok, Copilot CLI, and Codex. It lists one plugin, cecicela, which carries all three skills and the front door:

claude plugin marketplace add actviteai/cecicela
claude plugin install cecicela@cecicela

grok plugin marketplace add actviteai/cecicela
grok plugin install cecicela --trust

copilot plugin marketplace add actviteai/cecicela
copilot plugin install cecicela@cecicela

codex plugin marketplace add actviteai/cecicela

In Claude Code a plugin's skills are namespaced by the plugin: the full command is /cecicela:trouble; /trouble works when no other installed skill claims the name.

Claude

Claude (claude.ai), not Claude Code, has no git marketplace. Upload the four ceciCela skills, each as its own zip.

  1. Enable Code execution and file creation (Skills stay off without it).
  2. Zip each skill as a folder named after it, so the folder name matches the skill name:
cd cecicela/packages
for s in ceci cela trouble cecicela; do
  mkdir -p "zips/$s" && cp -R "$s/skill/." "zips/$s/" && (cd zips && zip -qr "$s.zip" "$s")
done
  1. Settings → Capabilities → Skills → Upload skill, and upload zips/ceci.zip, zips/cela.zip, zips/trouble.zip, and zips/cecicela.zip.
  2. Toggle all four on. Custom uploads are private to that account.

Organization owners can provision the same zips for everyone: Organization settings → Plugins & skills → Add → Upload a skill. Those also load in Claude Code for users who sign in with that Claude account, unless syncClaudeAiSkills is false in Claude Code managed settings.

For a chat without code execution, use the ceciCela chat packs, which carry all three skills in one Project.

Hermes Agent

npx --yes @actvite/cecicela install --hermes

That writes ceci/, cela/, trouble/, and cecicela/ under ~/.hermes/skills/software-development/ (Windows: %LOCALAPPDATA%\hermes). Slash command is /trouble. In the desktop app, run /reload-skills or restart.

DeepSeek Harness

DeepSeek Harness has no git marketplace catalog analogous to .grok-plugin/marketplace.json or .claude-plugin/marketplace.json. Do not look for .deepseek-plugin/marketplace.json — that file is not a DSH interface. DSH discovers SKILL.md by copying a skill directory into a skill root. Copy all four ceciCela skills from a clone of the repository:

mkdir -p ~/.dsh/skills ~/.agents/skills
for s in ceci cela trouble cecicela; do
  cp -R "cecicela/packages/$s/skill" ~/.dsh/skills/$s
  cp -R "cecicela/packages/$s/skill" ~/.agents/skills/$s
done

Project-local (highest precedence is .dsh/skills): the same loop into .dsh/skills/. Restart the DSH session and invoke /trouble.

OpenCode

OpenCode reads .opencode/skills/<name>/SKILL.md, ~/.config/opencode/skills/<name>/SKILL.md, and the Claude and .agents skill directories, so npx --yes @actvite/cecicela install --claude already makes all four skills visible to it. metadata.opencode/slash is "true" in this skill, so /trouble is a TUI command. To use OpenCode's own directory instead, copy all four from a clone:

mkdir -p ~/.config/opencode/skills
for s in ceci cela trouble cecicela; do cp -R "cecicela/packages/$s/skill" ~/.config/opencode/skills/$s; done

Project-local: .opencode/skills/<name>/. Start a new session after install.

NeMo Agent Toolkit

NeMo does not load SKILL.md. It is a workflow framework. Any string field accepts file://, resolved from the workflow file's directory. Allowed extensions include .md (also .txt, .prompt, .j2, .jinja, .tpl, .template).

tool_calling_agent can take the protocol as its system prompt:

workflow:
  _type: tool_calling_agent
  llm_name: nim_llm
  tool_names: []  # your tools
  system_prompt: file://packages/trouble/skill/SKILL.md

react_agent is different. In nvidia-nat-langchain 1.8.0, a set system_prompt replaces the default prompt, and the joined system_prompt + additional_instructions must still contain {tools} and {tool_names} or nat raises Invalid system_prompt. Leave system_prompt unset and attach the protocol here:

workflow:
  _type: react_agent
  llm_name: nim_llm
  tool_names: []  # your tools
  additional_instructions: file://packages/trouble/skill/SKILL.md

Adjust the file:// path so it is relative to the workflow file, or use an absolute path. There is no NeMo plugin package in this repo: the protocol has no engine to wrap.

Use

  • Slash command: /trouble
  • Skills menu: /skills trouble
  • Triggers: "troubleshoot", "debug this", "root cause", "incident response", "let's Bayesian this", "we need the four minds", or a problem that has already been worked on unsuccessfully

The agent must announce Using the four-minds debug protocol and follow order in SKILL.md.

In a chat, without tools

trouble's untooled mode is the lead chat product of ceciCela. With prompt text only, it skips phases 0 and 1, does not pretend to read files or run commands, caps every score at 6, and always ends INCIDENT_RESOLVED: no; what it hands back is evidence requests and a proposed fix with the one command that would verify it. See the ceciCela chat packs.

What you get

packages/trouble/
├── bin/trouble.js               # install, status, voices
├── lib/skill.js                 # install through the shared core; used by @actvite/cecicela
├── lib/core/                    # generated copy of packages/core
└── skill/
    ├── SKILL.md                 # YAML protocol the model executes
    ├── voices.default.yaml      # the four default role names
    └── tool/voices.js           # finds and validates voices.yaml (zero dependencies)

Uninstall

ceciCela comes out as one product too, and only what it wrote is removed:

npx --yes @actvite/cecicela@latest uninstall --all --dry-run   # list what would go
npx --yes @actvite/cecicela@latest uninstall --all             # everywhere on this machine
npx --yes @actvite/cecicela@latest uninstall --dir ./my-repo   # one project: what cela init wrote
npx --yes @actvite/cecicela@latest uninstall --web             # the steps for Claude, ChatGPT, Grok, Microsoft 365

trouble uninstall does the same. The cela memory (~/.cela) and a project's .cela/ stay unless you add --purge. A marketplace plugin is removed with claude plugin uninstall cecicela@cecicela, grok plugin uninstall cecicela --confirm, or copilot plugin uninstall cecicela. Claude uploads are removed in Settings → Capabilities → Skills.

Validate (maintainers)

npm test --workspace @actvite/trouble   # structure, voices, install, npm files
npm test                                # the whole repository

Machine learning

Model regressions are the kind of bug trouble is for: the metric dropped, two fixes did not help, and nobody can say why. trouble lists the possible causes (target leakage, a changed train/holdout split, a new library default such as an XGBoost version change, a seed, a data refresh), ranks them with explicit Bayesian arithmetic on quoted evidence, and holds the fix until all four roles agree. Then /cela can prove the fix with a test that failed before it and passes after. See Machine learning advantages.

Keywords: AI agent skills, agent skills, SKILL.md, Claude Code skills, Codex skills, Cursor skills, GitHub Copilot, LLM agents, agentic AI, agentic workflows, debugging, root-cause analysis, incident response, troubleshooting, Bayesian reasoning, postmortem, machine learning, MLOps, model evaluation, XGBoost, gradient boosting, tabular data, data leakage, GPU scheduling, CUDA, NVIDIA NeMo Agent Toolkit.

License

GNU General Public License v3.0 or later (GPLv3).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.