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

@jankyz/ai-config

v0.1.3

Published

Reproducible environment manager for AI coding agents.

Readme

ai-config

ai-config is a reproducible environment manager for AI coding agents. It applies a reviewed, provider-aware baseline of instructions, workflow skills, verified external resources, and managed tools without taking over the rest of your environment.

What ai-config is

It turns a reviewed AI-agent setup into a previewable, repeatable operation. Codex is the primary provider; Claude Code is also supported. The canonical workflow remains provider-neutral.

Why it exists

Agent environments tend to drift as skills, local conventions, and tools are copied between machines. ai-config makes the intended pieces explicit, tracks what it owns, and uses locked dependency identities so setup and update are reviewable rather than an implicit adoption of whatever is latest upstream.

Quick start

Preview the planned Codex setup first:

npx @jankyz/ai-config setup --provider codex

Apply only after reviewing the preview:

npx @jankyz/ai-config setup --provider codex --apply

Check the environment and preview or apply updates with:

npx @jankyz/ai-config doctor --provider codex
npx @jankyz/ai-config update --provider codex
npx @jankyz/ai-config update --provider codex --apply

Preview vs --apply

setup, update, and rollback are previews by default. They mutate files only with --apply. If setup finds a differing file in an artifact it does not own, it reports a conflict and will not force-overwrite it. An exceptional replacement requires both the named --replace-conflict <artifact-id> and the exact preview fingerprint:

npx @jankyz/ai-config setup --provider codex --replace-conflict codex.global.instructions
npx @jankyz/ai-config setup --provider codex --replace-conflict codex.global.instructions --approve-preview <fingerprint> --apply

What setup installs

ai-config installs its global canonical instructions, native/adapted workflow skills, approved external-managed skills, an exact managed-tool version, and its own state, receipts, and backups.

Update

update reconciles only artifacts already managed or adopted by ai-config. It previews by default and does not update the ai-config npm package itself.

Doctor

doctor is read-only. It checks the lock metadata, provider plan health, and the availability of optional external capabilities.

Rollback

Every applied operation has a transaction ID. Preview or restore one explicitly:

npx @jankyz/ai-config rollback --provider codex --transaction <uuid>
npx @jankyz/ai-config rollback --provider codex --transaction <uuid> --apply

Ownership boundaries

ai-config manages its desired artifacts and state, but does not automatically take ownership of provider authentication, Codex config.toml, arbitrary plugins, arbitrary MCP configuration, unrelated user skills, or project dependencies.

Dependency model

Native / adapted resources are packaged with ai-config. They include canonical ai-config workflow skills and aic-product-design-lead, aic-tdd, aic-domain-modeling, aic-shadcn, aic-ui-components, and aic-ui-generate.

External-managed resources—codebase-design, wayfinder, grill-with-docs, grill-me, grilling, writing-for-agents, and ui-ux-pro-max—are acquired during setup/update from immutable identities in the packaged lock metadata. Their runtime bytes are not bundled in ai-config.

The managed tool is @21st-dev/[email protected], acquired at its exact locked npm identity.

External capabilities

ai-config does not install or authenticate OpenAI Product Design, browser/computer-use capability, project-owned Playwright (or equivalent), 21st authentication/quota, or a Python runtime. It can report when some of these are unavailable.

Supported providers

Use --provider codex or --provider claude with setup, update, and rollback. doctor may check one provider or both.

Safety model

The workflow is preview-first; --apply is required for mutation. ai-config detects conflicts, has no force-overwrite mode, tracks managed ownership, writes transaction backups for rollback, verifies locked dependency integrity, and never automatically adopts an upstream “latest” release. These controls reduce risk; they are not a substitute for reviewing a plan before applying it.

Known compatibility status

Phase 9/9.1 dogfood passed on macOS with Codex and Node v26.3.0. Independent public-package verification on Node.js 24 and through Bun/bunx is intentionally post-release work; neither has been claimed as verified.

Post-release checklist:

  • Verify the public package on actual Node.js 24.
  • Verify the public package through Bun/bunx.

Development and contributing

Install dependencies with npm ci, then run npm run check and npm run pack:check. The repository’s architecture and approved plans are in docs/architecture and docs/plans. Contributions should preserve preview-first behavior, ownership boundaries, and locked dependency review.

Maintainers: see docs/RELEASING.md for the one-time 0.1.0 bootstrap and the subsequent OIDC-only release flow.