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

@iamramo/zanat-cli

v0.14.18

Published

CLI for zanat - a skill hub for AI agents

Readme

@iamramo/zanat-cli

CLI for Zanat - a skill hub for AI agents.

Installation

npm install -g @iamramo/zanat-cli

Quick Start

  1. Initialize zanat:

    zanat init

    This will prompt you for the hub repository URL and branch.

  2. Search for skills:

    zanat search code-review
  3. Add a skill:

    zanat add yurchi.code-review

    You can also use nested namespaces:

    zanat add company.team.code-review
  4. List added skills:

    zanat list
  5. Update skills:

    # Update a specific skill
    zanat update yurchi.code-review
    
    # Update all skills
    zanat update
  6. Check status:

    zanat status
  7. Remove a skill:

    zanat rm yurchi.code-review

Quick Reference

| Command | Description | | --------------------------------- | -------------------------------------------------------------- | | zanat init | Initialize zanat configuration and clone the hub repository | | zanat pull | Pull the latest changes from the hub repository | | zanat search [query] | Search for available skills in the hub | | zanat add <skill> | Add a skill (tracks hub branch by default) | | zanat add <skill> --pin=<ref> | Add a skill pinned to a specific branch, tag, or commit | | zanat rm <skill> | Remove a skill from your local skills | | zanat list | List all added skills with version info | | zanat update [skill] | Update skill(s) from hub | | zanat status | Show hub and skills status |

Version Tracking

Zanat uses a dual-reference tracking system that distinguishes between what you asked for and what was actually resolved:

  • requestedRef: The branch, tag, or commit you specified (e.g., main, v1.2.0, abc1234)
  • resolvedCommit: The actual commit SHA that was resolved from the requested ref

Tracking vs Pinning

Tracking (default): Skills track the hub branch for automatic updates

zanat add vercel.frontend.react-patterns
# Tracks main branch, updates with 'zanat update'

Pinning: Lock a skill to a specific version that never auto-updates

# Pin to a branch (follows branch updates but not hub branch)
zanat add vercel.frontend.react-patterns --pin=develop

# Pin to a tag (never updates)
zanat add vercel.frontend.react-patterns --pin=v1.2.0

# Pin to a specific commit (never updates)
zanat add vercel.frontend.react-patterns --pin=abc1234

Reference Status

Skills can have three reference states:

  • ✓ ok: The requested ref exists and resolves to a commit
  • ⚠ orphaned: The ref (branch/tag) no longer exists, but the commit is preserved
  • ✗ broken: Neither the ref nor the commit exist (skill files remain but can't update)

Check status with:

zanat list          # Shows ref status in version column
zanat status        # Detailed status for all skills
zanat update        # Warns about orphaned/broken skills before updating

Fixing Orphaned Skills

If a skill becomes orphaned (the branch was deleted), re-pin it to the hub branch:

zanat add vercel.frontend.react-patterns
# Re-adds without --pin, which tracks the hub branch

Configuration

Configuration is stored in ~/.zanat/config.json:

{
  "hubUrl": "[email protected]:iamramo/zanat-hub.git",
  "hubBranch": "main",
  "hubDir": "/Users/you/.zanat/hub",
  "lastPull": "2026-03-23T12:00:00.000Z"
}

Troubleshooting

Enable Debug Mode

If you encounter errors, enable debug mode to see detailed error information:

zanat --debug status
# or
zanat status --debug

This outputs the full error details in JSON format, helpful for debugging issues.

Common Issues

"Failed to initialize"

  • Ensure Git is installed and accessible in your PATH
  • Check that you have permission to clone the hub repository

"Failed to pull"

  • Verify your hub repository URL is correct in ~/.zanat/config.json
  • Check network connectivity to the Git host

"Could not read the lock file"

  • Run zanat init to create the initial configuration

License

MIT