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

ghcopilot-hub

v1.4.0

Published

Centralized GitHub Copilot hub with shared agents, skills, packs, and a sync CLI for VS Code repositories.

Readme

ghcopilot-hub

English | Español

Centralized hub for reusing GitHub Copilot agents and skills across projects and materializing them into each repository with a declarative CLI.

Why Consumer Projects Use It

Use this project when you want shared Copilot setup to behave like infrastructure instead of copy-pasted files.

With ghcopilot-hub, a consumer repository can declare the agents and skills it needs, materialize them from a central hub, and keep that setup consistent over time.

Typical consumer outcomes:

  • Bootstrap a repository with only the shared agent catalog when no predefined pack fits yet
  • Start a new repository with a predefined pack such as spa-tanstack or node-api
  • Add or remove skills over time without manually copying files across repositories
  • Inspect the available packs and skills before choosing the setup
  • Review drift before updating managed files
  • Keep project-specific files outside managed paths

The consumer project declares its desired state in .github/ghcopilot-hub.json, and the CLI syncs that state into .github/agents/ and .github/skills/.

Quick Start From a Consumer Project

You do not need to install the package globally. The normal flow is to run it with npx, and the same commands also work with bunx or another package runner.

Inspect the catalog:

npx ghcopilot-hub@latest list
npx ghcopilot-hub@latest list packs
npx ghcopilot-hub@latest list skills

Bootstrap a consumer project without a predefined pack:

npx ghcopilot-hub@latest init

That agents-first setup syncs the full hub agent catalog and only installs the default ghcopilot-hub-consumer skill unless you also pass explicit --skill options.

Initialize a consumer project with a pack when one fits:

npx ghcopilot-hub@latest init --pack spa-tanstack

Adjust the selection later:

npx ghcopilot-hub@latest add skill ghcopilot-hub-mermaid-expert
npx ghcopilot-hub@latest remove skill ghcopilot-hub-tanstack-router

To exclude a skill that comes from a pack, remove that skill explicitly. The CLI adds it to excludeSkills, so the pack will not bring it back on the next sync. You can also edit .github/ghcopilot-hub.json manually and then run update.

Review or apply the current hub state:

npx ghcopilot-hub@latest diff
npx ghcopilot-hub@latest doctor
npx ghcopilot-hub@latest update

Help is available directly from the terminal:

npx ghcopilot-hub@latest --help

If you prefer, you can also install the package and run ghcopilot-hub directly instead of using npx.

Agent System

Every consumer project receives the full hub agent catalog under .github/agents/, but the easiest way to use it is to treat it as a two-step workflow.

Use it like this:

  1. Run /planner to turn the request into an approved execution plan. It coordinates discovery and design with agents such as explorer, librarian, architect, and gatekeeper.
  2. Pass that approved plan to /builder. It executes the approved handoff and closes the loop with plan-guardian, test-sentinel, and archiver for review, testing, and traceability.

That plan can be delivered as chat context, a shared URL, or session memory so the implementation phase can resume without re-planning.

See the full agent system overview in docs/agent-system.md.

Consumer Project Model

Consumer project layout:

.github/
  ghcopilot-hub.json
  agents/
  skills/

The manifest file .github/ghcopilot-hub.json is the local control file for the consumer project. It is not treated as a managed synced artifact.

Minimal manifest for an agents-first project:

{
  "packs": [],
  "skills": [],
  "excludeSkills": [],
  "settings": {
    "onConflict": "fail"
  }
}

Example manifest with a pack:

{
  "packs": ["spa-tanstack"],
  "skills": ["ghcopilot-hub-mermaid-expert"],
  "excludeSkills": [],
  "settings": {
    "onConflict": "fail"
  }
}

Resolution rules:

  • the ghcopilot-hub-consumer skill is installed by default in every project managed by the CLI
  • shared hub skill ids use the ghcopilot-hub- prefix to avoid collisions with repository-owned skills
  • all hub agents are always copied
  • packs is optional, so init can be used as an agents-first bootstrap command
  • the final skills set is resolved as packs + skills - excludeSkills
  • excludeSkills wins even if a skill comes from a pack
  • local files live outside managed paths

Internal Project Layout

hub/
  agents/            shared agents
  skills/            shared skills with their assets and references
  packs/             declarative skill compositions
tooling/cli/         materialization, diff, and doctor CLI
docs/                operational documentation

Version 1 covers the following:

  • dynamic catalog of agents and skills loaded from the filesystem
  • declarative skill packs
  • per-consumer manifest in .github/ghcopilot-hub.json
  • synchronization of managed files into the consumer repository
  • drift detection and diff preview before applying changes

It does not include functional versioning per project. Every sync targets the current hub state and records the available revision in managed file headers.

The syncable catalog lives under hub/. This keeps the repository root available for tooling, documentation, workflows, and package metadata.

Development

npm run lint
npm run format:check
npm test
npm run validate:hub
npm run pack:check

The same scripts can also be run with Bun.

Additional documentation:

License

This project is licensed under the MIT License. See LICENSE.

Copyright (c) 2026 Jose Manuel Gomez Perez.

Website: jmgomez.dev