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

my-ctx

v1.2.3

Published

Install AI agent skills from private GitHub repos

Readme

my-ctx

A CLI tool to share and install internal AI agent skills across your team.

The Problem

AI coding agents like Claude Code, Codex, and OpenCode can be customized with skills — markdown files containing specialized instructions, prompts, or reference material.

But there's no good way to share company-specific skills with your team:

  • Skills live in local folders (~/.claude/skills/, ~/.codex/skills/, ~/.config/opencode/skills/)
  • No built-in sync or sharing mechanism
  • Copy-pasting skills manually doesn't scale

The Solution

my-ctx lets you:

  1. Store your team's skills in a private GitHub repo
  2. Install any skill with a single command
  3. Choose destinations — install to all agent folders, specific ones, or custom paths
  4. Keep everyone's skills in sync

Quick Start

# 1. First-time setup (authenticate + set your skills repo)
npx my-ctx init

# 2. List available skills
npx my-ctx list

# 3. Install a skill
npx my-ctx install drafting-conventional-commits

What happens when you install?

$ npx my-ctx install drafting-conventional-commits

Fetching skill from your-org/skills-pack...

Skill contents:
  SKILL.md
  reference/
  reference/examples.md

? Select destinations (space to toggle, enter to confirm):
❯ [x] ~/.claude/skills (Claude)
  [x] ~/.codex/skills (Codex)
  [x] ~/.config/opencode/skills (OpenCode)
  [ ] + Add custom path...

This will install skill to:
  1) ~/.claude/skills/drafting-conventional-commits
  2) ~/.codex/skills/drafting-conventional-commits
  3) ~/.config/opencode/skills/drafting-conventional-commits

? Proceed with install? Yes

✓ Installed to ~/.claude/skills/drafting-conventional-commits
✓ Installed to ~/.codex/skills/drafting-conventional-commits
✓ Installed to ~/.config/opencode/skills/drafting-conventional-commits

✓ Installed drafting-conventional-commits

Features

Interactive Destination Selection

Every install prompts you to choose destinations. Use space to toggle, enter to confirm:

  • Pre-selects your last used destinations
  • All defaults checked on first install
  • Remembers your selections for next time

Custom Paths

Select "+ Add custom path..." to install to any location:

? Enter custom path (supports ~ and relative paths): ./my-project/skills
? Save this path for future installs? Yes

Supported formats:

  • Absolute: /Users/me/project/skills
  • Home directory: ~/my-project/skills
  • Relative: ./skills (relative to current directory)

Manage Custom Destinations

npx my-ctx config destinations

Add or remove saved custom paths:

Manage skill destinations:

  Default destinations:
    - ~/.claude/skills (Claude)
    - ~/.codex/skills (Codex)
    - ~/.config/opencode/skills (OpenCode)

  Custom destinations:
    1. ~/my-project/skills

? What would you like to do?
❯ Add custom path
  Remove custom path
  Done

Commands

| Command | Description | |---------|-------------| | my-ctx init | Setup GitHub auth and configure your skills repo | | my-ctx install <skill> | Install a skill to selected destinations | | my-ctx list | List available skills | | my-ctx config show | Show current configuration | | my-ctx config set repo <owner/repo> | Change skills repo | | my-ctx config set ref <branch/tag> | Change branch or tag | | my-ctx config destinations | Manage custom skill destinations |

Setting Up Your Skills Repo

Create a private GitHub repo with this structure:

skills/
  drafting-conventional-commits/
    SKILL.md              # Required - the main skill file
    reference/            # Optional - additional files
      examples.md
  code-review-guidelines/
    SKILL.md
  internal-api-patterns/
    SKILL.md
    reference/
      api-docs.md

Each skill folder must contain a SKILL.md file. Any additional files or folders will be copied along with it.

Requirements

  • Node.js 18+
  • GitHub CLI (gh) — for authentication
  • Access to the private skills repository

Configuration

Config is stored at ~/.my-ctx/config.json:

{
  "repo": "your-org/skills-pack",
  "ref": "main",
  "selectedDestinations": ["claude", "codex", "opencode"],
  "customDestinations": [
    {
      "id": "custom-1",
      "path": "~/my-project/skills",
      "label": "~/my-project/skills",
      "isCustom": true
    }
  ]
}

Environment Variables

For CI/automation, you can use environment variables instead of gh auth:

  • GITHUB_TOKEN — GitHub personal access token
  • MY_CTX_TOKEN — Alternative token variable

License

MIT