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

xtrm-tools

v2.2.0

Published

Claude Code tools installer (skills, hooks, MCP servers)

Downloads

4,023

Readme

XTRM-Tools

Claude Code tools installer — skills, hooks, MCP servers, and project-specific extensions.

ARCHITECTURAL DECISION (v2.0.0+): xtrm-tools supports Claude Code exclusively. Hook translation for Gemini CLI and Qwen CLI was removed.

MIGRATION NOTICE (v2.1.20+): Core logic has moved to Pi Extensions. See the Pi Extensions Migration Guide.

This repository contains production-ready extensions to enhance Claude's capabilities with prompt improvement, task delegation, development workflow automation, and quality gates. The xtrm CLI provides a robust, modular "Plug & Play" installation engine for project-specific tools.

Quick Start

# Install globally (one-time)
git clone https://github.com/Jaggerxtrm/xtrm-tools.git
cd xtrm-tools/cli
npm install && npm run build
npm link

# Initialize a project and register gitnexus MCP
xtrm project init

Table of Contents


Project Skills & Hooks

Project skills are modular, plug-and-play tool packages extending Claude's capabilities for specific workflows. They install into your project's .claude/ directory and include specific hooks enforcing local workflow rules and quality gates.

using-xtrm (Session Operating Manual)

The foundational operating manual for an xtrm-equipped session.

  • Invocation: Activates automatically at session start via hook.
  • Purpose: Orients the agent on how to work within the xtrm stack: applying prompt improvement, using the beads issue-tracking gate, enforcing PR workflows, and combining the full toolset (gitnexus, Serena, TDD guard, quality gates, delegation).
  • Core Workflow: Provides the authoritative guide on feature-branch usage, requiring PRs for merges (with --squash), and stopping dangerous git commands on protected branches.

TDD Guard & Quality Gates (tdd-guard & using-quality-gates)

  • tdd-guard: Enforces Test-Driven Development by blocking implementation until failing tests exist. Now covers Serena edit tools via bridge behavior.
  • using-quality-gates: Unified PostToolUse code quality hooks — runs linting, type checking, and formatting (Python + TypeScript with strict mypy/ruff rules) on every edit.

Service Skills Set (Trinity)

Task intake and service routing for Docker service projects.

  • Invocation: /scope "task description" or automatic via SessionStart hook.
  • Purpose: Gives Claude persistent, service-specific expertise without re-explaining architecture. Emits structured scope plans and detects codebase drift via PostToolUse hooks.

Core Project Hooks

Main Guard (main-guard.mjs)

  • Trigger: PreToolUse (Write|Edit|MultiEdit|Serena edit tools|Bash)
  • Purpose: Enforces PR-only merge workflow with full git protection. Blocks direct commits and dangerous git checkout / git push commands on protected branches (main/master).
  • Post-Push (main-guard-post-push.mjs): After pushing a feature branch, reminds to use gh pr merge --squash and sync local via git reset --hard origin/main.

GitNexus Graph Context (gitnexus-hook.cjs)

  • Trigger: PostToolUse (with Serena support and dedup cache)
  • Purpose: Enriches tool output with knowledge graph context via gitnexus augment.
  • Note: gitnexus-impact-reminder was removed as impact analysis enforcement is now native.

Beads Issue Tracking Gates

  • Trigger: PreToolUse, PostToolUse, Stop, PreCompact, SessionStart
  • Purpose: Ensures all work is tracked to a bd issue. Blocks file edits without an active claim.
  • Compaction: Newly added PreCompact and SessionStart hooks preserve in_progress beads state across /compact events. Hook blocking messages are quieted and compacted to save tokens.

Global Skills

Global skills are reusable workflows installed to the user-level Claude environment (not tied to one repo).

documenting

Maintains Single Source of Truth (SSOT) documentation system with drift detection.

  • Invocation: /document [task]
  • Purpose: Creates, updates, and validates SSOT documentation. Auto-generates INDEX blocks for rapid navigation. A Stop hook fires at session end to detect stale memories based on the tracks: frontmatter field.

delegating

Proactively delegates tasks to cost-optimized agents before working in main session.

  • Invocation: /delegate [task] or /delegating [task]
  • Purpose: Routes simple deterministic tasks (tests, typos, formatting, docs) to GLM/Gemini/Qwen, and complex reasoning tasks to multi-agent orchestration. Interactive 2-step menu helps select the backend. Avoids main session token usage.

orchestrating-agents

Orchestrates task handoff and "handshaking" between Gemini and Qwen CLI agents.

  • Invocation: /orchestrate [workflow-type] [task]
  • Purpose: Facilitates multi-model collaboration, adversarial reviews, and deep cross-validation of complex logic. Workflows include collaborative design, adversarial security review, troubleshooting, and single handshakes.

Installation

🚀 Quick One-Time Run

npx -y github:Jaggerxtrm/xtrm-tools install all

🛠️ Global Installation (Recommended)

npm install -g github:Jaggerxtrm/xtrm-tools@latest

xtrm install all            # Install to all global targets
xtrm project init           # Setup current project (runs gitnexus analyze + bd init)
xtrm install project all    # Install all project-specific skills

CLI User Guide

xtrm <command> [options]

| Command | Description | |---|---| | install all | Non-interactive global install to all detected targets (installs gitnexus globally) | | install basic | Interactive global installation | | install project <name> | Install specific project skills (e.g., tdd-guard, service-skills-set) | | project init | Onboarding: runs gitnexus analyze, registers MCP, and runs bd init | | status | Read-only diff view showing what would change (with inline sync prompt) | | clean | Removes orphaned hooks, stale wrappers, and dead skills from your system | | reset | Clear saved CLI preferences |


Configuration

MCP Servers

Unified CLI sync configures core servers securely.

Core Servers:

  • serena: Code analysis (requires uvx)
  • context7: Documentation lookup (requires CONTEXT7_API_KEY)
  • github-grep: Code search
  • deepwiki: Technical documentation
  • gitnexus: Knowledge graph code intelligence (registered during xtrm project init)

Configured via ~/.config/xtrm-tools/.env. Run xtrm install basic to sync interactively.


Version History

| Version | Date | Highlights | |---|---|---| | 2.1.20 | 2026-03-16 | xtrm clean command, compact hook messages, pruneStaleWrappers fixes | | 2.1.18 | 2026-03-16 | PreCompact / SessionStart hooks to preserve in_progress beads state | | 2.1.16 | 2026-03-15 | Removed deprecated skill-suggestion, gitnexus-impact-reminder hooks | | 2.1.14 | 2026-03-15 | Rewrote gitnexus-hook as PostToolUse with Serena; added using-xtrm skill | | 2.1.9 | 2026-03-15 | main-guard enforced PR-only workflow, --squash requirement, npm publish |

See CHANGELOG.md for full history.

License

MIT License - See LICENSE file for details.