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

@gruntwork-ai/skills-setup

v0.3.0

Published

Bootstrap an infrastructure-live repo with the Gruntwork MCP server config and Claude Code skills for Terragrunt and the Gruntwork IaC Library.

Readme

@gruntwork-ai/skills-setup

One-command bootstrap for a Claude Code or Codex workspace that knows how to work with Gruntwork modules, Terragrunt, and OpenTofu/Terraform.

Run it inside an infrastructure-live repo and it wires up the Gruntwork MCP server, a set of skills/prompts, and a context file with your detected stack.

Quick start

# Claude Code
npx @gruntwork-ai/skills-setup --target claude --key gw_mk_xxxxxxxxxxxxx

# Codex (writes MCP config to ./.codex/config.toml)
npx @gruntwork-ai/skills-setup --target codex --codex-config project --key gw_mk_xxxxxxxxxxxxx

# Both
npx @gruntwork-ai/skills-setup --target all --codex-config project --key gw_mk_xxxxxxxxxxxxx

Then restart your agent. The Gruntwork MCP tools and Gruntwork skills will be available.

Get an access token at app.gruntwork.io/settings/profile#mcp-access-tokens. If you don't pass --key, the tool still scaffolds everything — it just leaves a placeholder for you to fill in.

Options

| Flag | Description | |------|-------------| | --target <claude\|codex\|all> | Required. Which agent(s) to configure. | | --repo <path> | Target repo (default: current directory) | | --key <token> | Gruntwork MCP access token. Alternative: set GRUNTWORK_MCP_API_KEY | | --codex-config <project\|global> | Where to write Codex's MCP config. project./.codex/config.toml (gitignored). global~/.codex/config.toml. If omitted when target includes codex, you'll be prompted on a TTY. Required in non-interactive environments. | | --no-scan | Skip the local filesystem scan (see below). The context file is still written with placeholders. |

What gets written

--target claude

  • .claude/settings.local.json — merges the Gruntwork MCP server config (with your access token) into your personal Claude Code settings. Existing keys are preserved; if the file isn't valid JSON, the tool refuses to overwrite. A matching .gitignore entry is added automatically so the token doesn't get committed.
  • .claude/skills/gruntwork/*.md — Claude skills (/gruntwork:find, /gruntwork:deploy, /gruntwork:debug, /gruntwork:patcher, /gruntwork:terragrunt).
  • CLAUDE.md — a detected-stack summary.

--target codex

  • .codex/config.toml (project) or ~/.codex/config.toml (global) — merges a [mcp_servers.gruntwork] entry that bridges the HTTP Gruntwork MCP server through npx mcp-remote (auto-fetched at runtime). Existing tables are preserved; invalid TOML is never overwritten. Project-scoped writes also update .gitignore.
  • .agents/skills/gruntwork-*/SKILL.md — Codex skills ($gruntwork-find, $gruntwork-deploy, $gruntwork-debug, $gruntwork-patcher, $gruntwork-terragrunt). Codex reads skills from .agents/skills/ in the repo or any parent directory.
  • AGENTS.md — a detected-stack summary.

--target all

Writes both sets. CLAUDE.md and AGENTS.md both get written with the same detected content.

What the scan does (and doesn't do)

By default, before writing anything, the tool walks the target repo up to 4 directories deep and reads every *.hcl file it finds, looking for three things:

  • Gruntwork module versions — regex-matches source = "...gruntwork-io/<repo>?ref=<version>" lines to determine which version of the Gruntwork Service Catalog you're on
  • Account names — reads account.hcl at the repo root and at each first-level subdirectory, pulling account_name = "..." values
  • AWS regions — regex-matches aws_region = "..." lines

These detected values are written into the context file (CLAUDE.md and/or AGENTS.md) so your agent has accurate stack context (e.g., knowing you run in us-east-1 and us-west-2 across a prod and stage account on Gruntwork v0.140.0). The scan is used for context only; it doesn't influence the skill prompts or the MCP configuration, and nothing ever leaves your machine — there are zero network calls during the scan.

Skipped files: anything under a dotfile directory (e.g., .git, .terragrunt-cache) or node_modules.

Pass --no-scan to skip this entirely. Useful when:

  • You're running in CI and want deterministic, side-effect-free behavior
  • You have a non-standard repo layout where the heuristics would produce misleading values
  • You prefer to fill in the context file by hand
  • The repo is very large and you want to skip the filesystem walk

Skills installed

| Purpose | Claude | Codex | |---------|--------|-------| | Discover the right Gruntwork module for an infrastructure requirement | /gruntwork:find | $gruntwork-find | | Scaffold Terragrunt configs for a specific Gruntwork module | /gruntwork:deploy | $gruntwork-deploy | | Audit module versions, apply patches and upgrades | /gruntwork:patcher | $gruntwork-patcher | | Troubleshoot Terragrunt, OpenTofu/Terraform errors | /gruntwork:debug | $gruntwork-debug | | Explain Terragrunt concepts, blocks, functions, repo structure, migrations | /gruntwork:terragrunt | $gruntwork-terragrunt |

Codex skills can also be invoked via /skills <name>, and Codex selects them implicitly when the description: matches the current task.

Each skill is a Markdown file — open any of them in .claude/skills/gruntwork/ or .agents/skills/ to read or customize the prompt.

Requirements

Links

License

MIT