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

likit-codex

v1.0.4

Published

Codex workflow for students with commands and guides

Readme

Likit - Lightweight Kit for Agentic Workflows

A gated mentoring system for Codex. Codex acts as a senior engineer who guides you through building a project from scratch. It never writes your code but instead questions, reviews, and teaches until you can build without it.

Before a single line of code is written, Likit builds the entire project architecture through conversation. It asks about your stack, what you know, what you don't, and what the project needs to do. Then it critiques your answers, cross-checks for gaps, and refines the design back and forth until everything is solid. The architecture is not assumed but is negotiated.

Built for students such as myself learning to code professionally.


Context Window

These workflow files consume about 1–1.5% of Codex's large context window (~2,000–2,500 tokens after setup). Codex's own system prompt and tool definitions take another 5,000–8,000 tokens. That still leaves a very large budget for actual project work such as reading your source files, discussing code, and holding conversation history.

The real bottleneck is never the workflow files. It is conversation length. Messages, code reads, and tool outputs pile up far faster than the workflow files ever will. The files were optimised in a way it takes minimal tokens and space in the context window so Claude spends less time processing instructions and more time helping you.

Most workflow templates out there are heavy. Thousands of tokens of repeated rules, verbose examples, and redundant instructions eating into the window before real work starts. Likit's entire instruction set fits in under 3,000 tokens. On Codex, that efficiency means a student working consistently can push through more projects per week on the base subscription without wasting context on bloated instructions or losing progress between sessions.


How to Use

Requirements

  • Codex installed and authenticated
  • A terminal open in the project directory

Getting Started

  1. npm i likit-codex in terminal or clone/copy the repository on GitHub
  2. Codex reads AGENTS.md automatically and starts the setup questionnaire (G0).
  3. If it doesn't, prompt codex to read AGENTS.md and begin
  4. Answer the questions. Codex will not move forward until each sub-gate passes.
  5. Once G0 completes, your project files are generated and you begin building phase by phase.

Commands

Run these in the Codex prompt at any time.

| Command | What it does | |---------|-------------| | /phase-check | Quick status on new session - current phase, what is done, what is next, first command to run | | /progress-log | Detailed report - all completed phases, blockers, next steps, overall percentage | | /progress-save | Saves current session progress to Progress.md for /phase-check on new session for context handoff| | /phase-explain | Deep explanation of the current phase - concepts, patterns, checkpoints, common traps | | /step-explain | Deep explanation of a single checkpoint step - why it exists, how to verify it, what mistakes to avoid |


How the Workflow Works

The entire workflow is a sequence of gates. Each gate has checkboxes. Every checkbox requires proof, a command output, a test result, a demonstration. Nothing moves forward until every box is checked.

Gate 0 (G0) is the project setup questionnaire. It asks about your project, your experience, your stack, and your constraints. It critiques your answers, cross-checks for gaps, then selects one of three ProjectSummary architecture templates based on your project type, web, systems, or creative, fills it with everything discussed to the ProjectSummary.md template, and deletes all three templates. Nothing unused stays in the repo. The context window stays clean, and there is nothing left to accidentally load.

Gates 1–17 (G1–G17) are the build phases. Each phase produces one piece of the project. The naming is simple: G1 = P1, G2 = P2, and so on. G is the gate, P is the phase hence same thing but two labels.

Codex enforces 13 professional habits throughout. Violating any of them blocks the current gate.

| # | Habit | What it means | |---|-------|---------------| | H1 | Walking Skeleton First | Prove the system works end-to-end with the thinnest possible slice before adding depth. | | H2 | Vertical Slices | Complete one feature through every layer before starting the next. | | H3 | Conventional Commits | type(scope): description format. Imperative mood, under 72 characters. Feature branches only. | | H4 | Test First on Core Logic | Write the failing test before writing the function. Red, green, refactor. | | H5 | Clean Code (Names, Functions, Errors) | Descriptive names, single-responsibility functions, cause-chained error handling. | | H6 | YAGNI / KISS / DRY | Build only what the current phase needs. No speculative features, no premature abstractions. | | H7 | Refactor in a Separate Commit | Never mix a refactor with a feature. Keeps code review possible. | | H8 | DevOps Incrementally | .gitignore and branching from day one. Secrets never in the repo. Docker and CI when needed. | | H9 | Structured Logging | Log objects with context (route, user ID, action). No bare print statements. | | H10 | Document the Why | Comments explain decisions and tradeoffs, not what the code does. | | H11 | Debug With Method | Reproduce, hypothesise, test one variable, read the full stack trace. No guessing. | | H12 | Small Working Progress | Every session ends with something that runs and is committed. | | H13 | Test Every Seam | Unit tests for pure logic, integration tests for entry points, E2E for critical flows. |


File Map


What Each File Does

AGENTS.md

The entry point. Codex reads this every session. It defines the gate system, the G0 status check, the session start procedure, and the gate pass protocol. It tells Codex which files to load and when. Everything else flows from here.

Codex_guide.md

The mentor rulebook. Contains the prime directive (never write code for the student), four response rules, 13 professional habits with enforcement actions, and red lines that block gates on violation. Loaded every session.

BuildFlow.md

The build plan. 17 phases, each with a goal, checkboxes, and a proof line. Loaded on demand when entering a new phase. After G0 completes, every phase is filled with project-specific goals and proofs.

Progress.md

The tracker. Mirrors BuildFlow's checkboxes but tracks state — not started, in progress, complete. This is the source of truth for which gate is current. Updated by /progress-save.

ProjectSummary.md

The architecture reference. Contains your tech stack, data models, file structure, API routes or entry points, and environment variables. Generated during G0 from one of three templates (web, systems, or creative). Read every session so Codex understands what you are building.

G0_questionnaire.md

The setup questionnaire specification. Six sub-gates that collect your project identity, developer profile, architecture, features, constraints, and then critique everything before generating files. Loaded only while G0 is incomplete. Never touched again after G0 passes.

_fill_manifest.md

A single file that stores every answer from the setup questionnaire in G0.6. All other project files are generated from it. Stays in the repo so you can always see where your project config came from.

ProjectSummary templates

Three templates covering the three project types: web, systems and creative. Codex picks the one that matches your project, fills it with everything from the questionnaire, saves it in the ProjectSummary.md skeleton, then deletes all three templates so ProjectSummary.md only remains as the sole summary and also so nothing unused stays in the repo. The context window stays clean, and there is nothing left to accidentally load.


How the Files Talk to Each Other

After G0, the flow is straightforward. Each session:

  1. Codex reads the three core files (guide, summary, progress).
  2. It determines the current gate from Progress.md.
  3. It works on that gate only.
  4. When all checkboxes pass with proof, it advances to the next gate.
  5. BuildFlow.md is consulted when entering a new phase for its specific requirements.

The commands (/phase-check, /progress-log, etc.) are shortcuts that read these same files and produce structured reports or updates.


Project Categories

G0 classifies your project into one of three categories. This determines which template, question set, and cross-checks are used.

| Category | When it applies | |----------|----------------| | web | Frontend + backend + database. SPAs, full-stack apps, API-only projects with a database. | | systems | No browser UI. CLI tools, scripts, pipelines, libraries, batch jobs, background services. | | creative | Game engines, mobile frameworks, desktop GUI frameworks. |

After classifying, Codex uses the matching question set for G0.4 and G0.5, runs the right cross-checks during critique, and picks the correct architecture template to generate your project files from.


License

MIT License. See LICENSE. Feel free to mess around with it!