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

gaslighting

v0.1.0

Published

A hardcore project-discipline generator for AI coding agents.

Readme

Gaslighting

AI coding agents love to escape.

They start strong, then drift.

They implement three examples and call it done.

They leave TODOs.

They create placeholders.

They say "the rest follows the same pattern."

Gaslighting is a strict project-discipline generator that stops this behavior.

It generates:

  • GASLIGHTING.md
  • PRD.md
  • ASSUMPTIONS.md
  • MISSING_INFO.md
  • DECISION_LOG.md
  • MEMORY.md
  • STACK_POLICY.md
  • AGENTS.md
  • CODEX_PROMPT.md
  • .codex/prompts/gaslighting.md
  • Codex Skill files

Quick Start

npx gaslighting "I want to build a hospital website."

Short aliases after global install or local link:

gaslighting "I want to build a hospital website."

The default mode is already aggressive:

  • hardcore discipline
  • full-scope enforcement
  • no-TODO escape prevention
  • no-shortcut enforcement
  • Codex Skill generation
  • Codex /gaslighting prompt file generation

What It Does

It turns vague intent into strict AI-readable project discipline.

It tells the agent:

  • what the project is
  • what the project must not become
  • what assumptions are being made
  • what information is missing
  • what stack to use
  • what not to over-engineer
  • what fake completion looks like
  • what counts as done
  • what stable project facts should be remembered

Commands

gaslighting "I want to build a hospital website."
gaslighting init "I want to build a hospital website."
gaslighting generate "Build an ecommerce MVP."
gaslighting update "The hospital is actually an OB-GYN clinic, not dermatology."
gaslighting doctor
gaslighting skill
gaslighting agents

Useful Options

Options are escape hatches. The strict behavior is already the default.

--standard
--allow-partial
--allow-todo
--allow-shortcut
--force
--dry-run
--lang en
--lang ko
--type hospital_homepage
--type ecommerce
--type landing_page
--type admin_dashboard

Why the Name?

Because AI agents often need aggressive reminders.

This project does not manipulate humans.

It disciplines AI coding agents.

Core Rule

Fake completion is worse than honest incompletion.

If the work is not done, say it is not done.

Use with Codex

After generating documents, tell Codex:

Read GASLIGHTING.md, PRD.md, STACK_POLICY.md, MISSING_INFO.md, ASSUMPTIONS.md, DECISION_LOG.md, MEMORY.md, and AGENTS.md.
Do not shrink the scope.
Do not leave TODOs.
Do not fake completion.

Gaslighting also writes .codex/prompts/gaslighting.md. Where your Codex build supports project prompt files, this gives you a /gaslighting-style prompt shortcut. Codex Skills are the stronger supported path, so the CLI also writes .codex/skills/gaslighting/SKILL.md.

Use as Codex Skill

Generate skill files:

gaslighting skill

This creates:

.codex/prompts/gaslighting.md
.codex/skills/gaslighting/SKILL.md
.codex/skills/gaslighting/references/GASLIGHTING_TEMPLATE.md
.codex/skills/gaslighting/references/HARDCORE_DISCIPLINE_TEMPLATE.md
.codex/skills/gaslighting/references/STACK_POLICY_TEMPLATE.md
.codex/skills/gaslighting/references/HOSPITAL_HOMEPAGE_EXAMPLE.md
.codex/skills/gaslighting/scripts/generate-gaslighting-docs.ts

Development

npm install
npm run build
node dist/index.js "I want to build a hospital website." --dry-run
npm test

The MVP is deterministic and template-based. It does not call OpenAI, Anthropic, or any external LLM API.