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

@alessandroraffa/tangyr

v0.11.0

Published

CLI for the Tangyr discipline — install and manage operating kits for AI coding tools

Downloads

868

Readme

@alessandroraffa/tangyr

CLI for the Tangyr discipline — install and manage operating kits for AI coding tools.

An operating kit is a self-contained package of agents, skills, commands, rules, and templates that implements the Tangyr discipline for a specific AI coding context. The CLI places kit artifacts into the environments consumed by supported tools.

Install / run

npx @alessandroraffa/tangyr <command>

Or install globally:

npm install -g @alessandroraffa/tangyr
tangyr <command>

Commands

Kit management

| Command | Description | | ---------------------------------- | ---------------------------------------------------------------------------------------------------- | | tangyr install --kit <name> | Install a kit resolved from configured search paths (kitSearchPaths/kit in tangyr.config.yaml) | | tangyr install --kit-path <path> | Install a kit from an explicit kit root path | | tangyr uninstall | Remove Tangyr from the target scope | | tangyr sync | Synchronize installed kit to the latest version | | tangyr verify | Check installation integrity against the manifest | | tangyr cleanup | Remove managed artifacts; delegates to uninstall if manifest exists | | tangyr assess | Pre-installation conflict analysis | | tangyr list | Display kits discovered in configured search paths and any installed manifests |

Environment

| Command | Description | | --------------- | -------------------------------------------------- | | tangyr detect | Detect supported AI tool runtimes | | tangyr status | Show managed artifact status per tool | | tangyr doctor | Run environment diagnostics with optional auto-fix | | tangyr probe | Probe configured platform paths |

Configuration

| Command | Description | | ----------------- | ----------------------------------------------------- | | tangyr init | Create a tangyr.config.yaml interactively | | tangyr config | Display or edit Tangyr configuration | | tangyr validate | Validate the kit against kitFormat 1 conformity rules |

Global flags

| Flag | Description | | ---------------------------- | ----------------------------------------------------------------------------------------------------- | | --config <path> | Use an explicit configuration file | | --kit-path <path> | Use an explicit operating kit root | | --dry-run | Report actions without modifying files | | --yes | Skip confirmation prompts | | --verbose | Detailed output | | --quiet | Errors only | | --no-color | Disable colors | | --claude-config-dir <path> | Claude Code global root directory (repeatable). Overrides claudeCodeGlobalPaths in the config file. |

Supported tools

  • Claude Code — artifacts placed in scope-resolved Claude Code paths
  • GitHub Copilot — agents and commands compiled to VS Code user directories
  • OpenAI CodexAGENTS.md, agent TOML files, rules, hooks, and MCP compiled to Codex paths
  • OpenCode — instructions, agents, commands, skills, and MCP placed in XDG config paths
  • Cursor — instructions, subagents, rules, commands, skills, hooks, and MCP
  • Cline — instructions, rules, workflows, skills, and MCP

Quick start

# Initialize a configuration in your project
npx @alessandroraffa/tangyr init

# Install a kit by path (preview with --dry-run first)
npx @alessandroraffa/tangyr install --kit-path ./path/to/operating-kit --dry-run
npx @alessandroraffa/tangyr install --kit-path ./path/to/operating-kit

# Check installation status, then sync after a kit update
npx @alessandroraffa/tangyr status
npx @alessandroraffa/tangyr sync

Scope

Every write command accepts --scope global or --scope project. The CLI flag overrides config.scope for that invocation.

| Scope | Manifest location | Claude Code artifacts | | --------- | ------------------------- | ----------------------------------- | | global | ~/.tangyr/manifest.json | ~/.claude/ | | project | .tangyr/manifest.json | repo root (AGENTS.md, .claude/) |

Multiple Claude Code global roots

If you maintain more than one Claude Code account (e.g. ~/.claude and ~/.claude-work), you can keep them identical with a single sync operation.

Via config (tangyr.config.yaml):

claudeCodeGlobalPaths:
  - ~/.claude
  - ~/.claude-work

Via environment variable (TANGYR_CLAUDE_CONFIG_DIRS):

A colon-separated list of Claude Code global root directories. Entries support ~/ expansion. This layer is designed for machine-specific configuration that must not be committed to a shared kit config.

export TANGYR_CLAUDE_CONFIG_DIRS="~/.claude:~/.claude-work"
tangyr sync

Auto-sync use case: if a kit-change hook or automation runs tangyr sync, exporting TANGYR_CLAUDE_CONFIG_DIRS in the shell environment keeps multiple Claude configs in sync automatically — without putting machine-specific paths in a shared tangyr.config.yaml.

Via CLI flag (repeatable):

tangyr sync --claude-config-dir ~/.claude --claude-config-dir ~/.claude-work

Precedence: --claude-config-dir flag > TANGYR_CLAUDE_CONFIG_DIRS env > claudeCodeGlobalPaths in config > default ~/.claude.

Per-root artifacts (instructions, agents, skills, commands, rules, output-styles, hooks settings) are written under each root. Shared artifacts (~/.claude.json for MCP, ~/.agents/hooks for hooks) are resolved from the platform default and written once regardless of how many roots are configured.

The manifest records the full set of roots written so that verify and uninstall operate on all of them.