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

skill-tui

v0.3.1

Published

Terminal UI for importing Skills (SKILL.md) into AI coding agents: Claude Code, Codex, Cursor, ZCode, OpenClaw, Hermes, OpenCode.

Readme

skilltui — Skill Installer TUI

A terminal UI for importing Skills (SKILL.md) into AI coding agents from any git repository.

Enter a Skill repo's git URL, pick which skills to install, rename their install folders, choose target agents, and skilltui copies them into the right place — with a preview-before-write confirmation gate and automatic backups before overwrites.

Supported agents

| Agent | Install path | Detection | |---|---|---| | Claude Code | ~/.claude/skills/<name>/ | claude on PATH | | Codex | ~/.codex/skills/<name>/ | codex on PATH | | Cursor | ~/.cursor/skills/<name>/ | config dir | | ZCode | ~/.zcode/skills/<name>/ | zcode on PATH | | OpenClaw | ~/.openclaw/skills/<name>/ | openclaw on PATH | | Hermes | ~/.hermes/skills/<name>/ | hermes on PATH | | OpenCode | ~/.config/opencode/skills/<name>/ | opencode on PATH |

All agents share the same Skill format: a directory containing a SKILL.md with YAML frontmatter (name, description). The install folder name becomes the /command name — you can customize it during import.

Install

npm install -g skill-tui

Then run:

skilltui

The TUI launches on a clean screen (alternate buffer, like vim/htop) and restores your previous terminal content on exit.

Usage

skilltui                              # interactive: enter a git URL
skilltui https://github.com/obra/superpowers.git   # skip URL entry
skilltui --dry-run <url>              # preview what would be written, no changes
skilltui --overwrite <url>            # overwrite existing skills (backs up first)
skilltui --no-backup <url>            # overwrite without backup (confirm required)
skilltui --help
skilltui --version

Flow

  1. URL input — enter a Skill repo's git address (↑/↓ recalls history). Launched with skilltui <url> to skip this step.
  2. Clone — shallow-cloned to ~/.skill-tui/cache/<hash>/. Cache is pruned automatically: entries older than 2 hours are deleted on startup.
  3. Skill list — discovered skills with descriptions. Nothing is pre-selected — use Space to explicitly opt in, a to toggle all.
  4. Naming — rename each selected skill's install folder (the /command name). ↑/↓ to switch between fields, type directly to edit, Enter to confirm. Names are sanitized to [a-z0-9-].
  5. Agent select — target agents with three-state detection: ✓ installed / ⚠ configured-only / ✗ missing. Nothing is pre-selected — opt in with Space.
  6. Preview — the confirmation gate: lists every target path + the new folder name + action before any write. Press o to toggle overwrite mode.
  7. Import — copies with a live progress bar; overwrites are backed up first.
  8. Result — summary. r or Esc returns to the home screen for another import; o opens the install dir; b restores a backup; q quits.

Safety

  • Explicit selection: neither skills nor agents are pre-selected — you opt in to each with Space, preventing accidental mass installs.
  • Preview-first: nothing is written until you confirm the exact paths on the preview screen.
  • --dry-run: prints the plan and exits without touching disk.
  • Backups: overwriting a skill first copies the old directory to ~/.skill-tui/backup/<agent>/<name>/<timestamp>/, recorded in ~/.skill-tui/backup/index.json. Restore from the result screen with b.
  • Skip by default: existing skills are left alone unless you enable overwrite.
  • Cache auto-prune: cloned repos in ~/.skill-tui/cache/ older than 2 hours are deleted on each launch.

Theme

Amber-orange accent (#f5a623) on a dark background, with a dual-tone block-art SKILL TUI title (ANSI Shadow style).


For Developers

Build from source

git clone https://github.com/your-username/skill-tui.git
cd skill-tui
npm install        # install deps
npm run dev        # run via tsx (src/index.tsx)
npm test           # run vitest suite
npm run typecheck  # tsc --noEmit
npm run build      # tsup → dist/index.js
npm link           # make `skilltui` available globally for testing

Tech stack

  • TypeScript (strict)
  • Ink + React 19 — TUI framework
  • gray-matter — SKILL.md frontmatter parsing
  • tsup — bundling to a single-file CLI

Architecture

The app is a React state machine (Ink) that switches between 8 screens, backed by pure-logic core modules that have no UI dependencies — making the core fully testable.

src/
├── index.tsx              # CLI entry point (the `skilltui` command)
│                          #   arg parsing, alternate-screen, error handling
├── app.tsx                # state machine — wires screens together
├── theme.ts               # color tokens (amber-orange palette)
├── types.ts               # shared types (Skill, AgentId, Screen, ImportTask…)
│
├── components/            # screens + reusable UI
│   ├── screen-frame.tsx   #   full-screen vertical centering wrapper
│   ├── title.tsx          #   logo + subtitle
│   ├── logo.tsx           #   block-art "SKILL TUI" with gradient
│   ├── footer-hint.tsx    #   bottom keybinding bar
│   ├── url-input.tsx      #   ① Git URL input + history recall
│   ├── cloning.tsx        #   ② clone progress / error
│   ├── checkbox-list.tsx  #   reusable multi-select list
│   ├── skill-list.tsx     #   ③ skill discovery + selection
│   ├── naming.tsx         #   ④ rename install folders
│   ├── agent-select.tsx   #   ⑤ agent selection + 3-state detection
│   ├── preview.tsx        #   ⑥ confirmation gate (plan before write)
│   ├── importing.tsx      #   ⑦ concurrent copy + progress bar
│   ├── progress-bar.tsx   #   text progress bar widget
│   ├── spinner.tsx        #   spinner wrapper
│   └── result.tsx         #   ⑧ summary + restore backup
│
└── core/                  # logic (no UI, fully testable)
    ├── repo.ts            #   git clone / cache / pull
    ├── cache.ts           #   2-hour cache auto-prune
    ├── discover.ts        #   find SKILL.md in a repo (3 strategies)
    ├── frontmatter.ts     #   parse SKILL.md via gray-matter
    ├── agents.ts          #   agent registry + 3-state detection
    ├── detect.ts          #   executable-on-PATH probe (which/where)
    ├── importer.ts        #   plan() + importTask() with backup
    ├── backup.ts          #   backup + restore
    ├── history.ts         #   URL history persistence
    └── paths.ts           #   cross-platform paths (~/.skill-tui/, agent dirs)

Key design decisions

  • All agents are Tier-1: pure directory copy, no config-file wiring. Gemini CLI's GEMINI.md @-import turned out to be unnecessary (native discovery); this was verified during research.
  • Pre-rendered logo: the figlet ASCII art is embedded as a string constant — no runtime font-file dependency, smaller bundle.
  • Safety-first imports: plan() is a pure function (no writes) that both the preview screen and --dry-run reuse. importTask() only runs after explicit confirmation.
  • Three-state detection: installed (exe on PATH) / configured (config dir exists but no exe) / missing (neither) — more accurate than just checking for a config directory.
  • ~/.agents/skills/: cross-agent alias path recognized by OpenClaw, OpenCode, and Codex. Future feature: "install once, all agents use it."

Testing

npm test           # 35+ tests via vitest + ink-testing-library

Tests cover: skill discovery (3 repo layouts), frontmatter parsing, agent detection logic, importer plan/fresh/skip/overwrite/backup/restore, preview screen rendering, naming screen interaction, and a full e2e flow with a cached real repo.

Changelog

0.3.1

  • Rename bin command from skill to skilltui to avoid conflict with Linux procps-ng skill command

0.2.2

  • Replaced Antigravity with OpenClaw and Hermes (7 supported agents)
  • Removed Gemini CLI (discontinued by Google)

0.2.1

  • UI polish

0.2.0

  • Rename install folders: customize the /command name per skill before import
  • Explicit selection: skills and agents no longer pre-selected — opt in with Space
  • Clean screen on launch (alternate buffer); restores terminal on exit
  • Result screen: Esc returns to home (was: quit)
  • Cache auto-prune changed from 7 days to 2 hours
  • Amber-orange theme (#f5a623) replacing blue
  • Full-screen vertical centering on all screens
  • Import preview and progress show the renamed folder, not the original

0.1.0

  • Initial release

License

MIT