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

@gal-run/cli

v0.1.68

Published

GAL CLI - Command-line tool for managing AI agent configurations across your organization

Downloads

317

Readme

GAL CLI

Governance platform for AI coding agents. Discover, centralize, and sync approved configurations for individuals and teams.

Install

pnpm add -g @gal-run/cli

Or via Homebrew:

brew tap scheduler-systems/tap
brew install gal

Windows:

winget install SchedulerSystems.GAL

Bootstrap scripts:

curl -fsSL https://gal.run/install.sh | sh
powershell -NoProfile -ExecutionPolicy Bypass -Command "$script = Join-Path $env:TEMP 'gal-install.ps1'; Invoke-WebRequest -UseBasicParsing -Uri 'https://gal.run/install.ps1' -OutFile $script; & $script; Remove-Item $script -Force"

Usage

# Authenticate with GitHub
gal auth login

# Pull approved configs
gal sync --pull

# Configure MCP + validate tool discovery
gal mcp setup
gal mcp doctor

# Check sync status
gal sync --status

# Scan org repos for AI agent configs
gal discover

GAL Code

If your org has GAL Code access, the CLI exposes the coding agent under gal code.

# Launch the default OpenCode UI
gal code

# Pass flags and prompts straight through to the default OpenCode runner
gal code --model glm-5 "write a migration plan"

# Select a specific variant explicitly when needed
gal code codex --model gpt-5.4 "fix the failing tests"

# Profile-scoped GAL Code memory sync uses the same GAL-owned runtime home
gal install --platform gal-code --profile work
gal mcp sync-memory --platform gal-code --profile work --pull
gal code --profile work

Supported Platforms

  • Claude Code (.claude/)
  • Cursor (.cursor/)
  • GitHub Copilot (.github/)
  • Gemini (.gemini/)
  • Codex (.codex/)
  • Windsurf (.windsurf/)

MCP Server

GAL provides an MCP server for AI coding agents. Auto-configured by gal sync --pull, or set up directly:

gal mcp setup
gal mcp doctor

Recommended onboarding:

gal auth login
gal mcp setup
gal mcp doctor

Manual config example:

Claude Code (.mcp.json):

{
  "mcpServers": {
    "gal": {
      "type": "http",
      "transport": "http",
      "url": "https://api.gal.run/mcp"
    }
  }
}

Cursor (.cursor/mcp.json), Windsurf (.windsurf/mcp_config.json), Gemini (settings.json):

{
  "mcpServers": {
    "gal": {
      "type": "http",
      "transport": "http",
      "url": "https://api.gal.run/mcp"
    }
  }
}

The hosted endpoint https://api.gal.run/mcp uses OAuth/Bearer auth.

Codex Setup

Project-local Codex setup is auto-managed by GAL:

gal sync --pull
# or
gal install --platform codex

That writes managed .codex/config.toml and .codex/hooks.json entries so Codex can use the local GAL MCP server and mirror shared memory into .codex/memory/MEMORY.md.

Manual fallback:

Preferred (OAuth):

codex mcp add gal --url https://api.gal.run/mcp
codex mcp login gal

If OAuth login fails with Dynamic client registration not supported, use bearer-token mode:

export GAL_AUTH_TOKEN="$(node -e 'console.log(JSON.parse(require(\"fs\").readFileSync(process.env.HOME+\"/.gal/config.json\",\"utf8\")).authToken||\"\")')"
codex mcp remove gal
codex mcp add gal --url https://api.gal.run/mcp --bearer-token-env-var GAL_AUTH_TOKEN

If /mcp shows Tools: (none), verify GAL_AUTH_TOKEN is set in the Codex process environment.

CI/CD Integration

- name: Install GAL CLI
  run: pnpm add -g @gal-run/cli

- name: Sync configs
  run: gal sync --pull
  env:
    GAL_TOKEN: ${{ secrets.GAL_TOKEN }}

Documentation

  • Docs: https://gal.run/docs
  • Dashboard: https://app.gal.run
  • Release runbook: docs/release-runbook.md
  • Issues: https://github.com/gal-run/gal-cli/issues

License

Proprietary - Copyright (c) 2026 Scheduler Systems. All rights reserved.