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

codev-framework

v0.1.3

Published

CODEV Framework — AI-agent-friendly project knowledge scaffolding. Give your AI persistent, structured context about your codebase.

Readme

CODEV

AI-agent-friendly project knowledge scaffolding.

Give your AI agent persistent, structured context about your codebase — so it stops guessing and starts knowing.


The Problem

Every time you start a new AI agent session, it knows nothing about your project. You explain the same things over and over. It reads the wrong files, uses the wrong patterns, breaks things it shouldn't touch, and forgets everything by the next session.

CODEV fixes this.

What It Does

CODEV scaffolds a lightweight knowledge layer into your repository — a set of markdown files that any AI agent can read to instantly understand your project, follow your conventions, and pick up where the last session left off.

your-project/
├── AGENTS.md              ← Agent reads this first (project cover page)
├── CLAUDE.md              ← Claude Code bridge that imports AGENTS.md
└── codev/
    ├── init.md            ← First-time onboarding workflow
    ├── index.md           ← Master table of contents
    ├── profile.md         ← Dev environment & setup
    ├── guardrails.md      ← What the agent must NOT do
    ├── conventions.md     ← Coding standards & patterns
    ├── glossary.md        ← Domain-specific terminology
    ├── preflight.md       ← Checklist before making changes
    ├── knowledges/        ← Atomic knowledge files (≤150 lines each)
    ├── decisions/         ← Architectural decision records
    ├── current_ticket/    ← Active task context
    ├── tickets/           ← Completed ticket archive
    ├── sessions/          ← Agent session memory
    └── templates/         ← Reusable document templates

How It Works

1. Scaffold

npx codev-framework init

This adds AGENTS.md, a Claude-compatible CLAUDE.md bridge, and the codev/ folder to your project. No dependencies. Just markdown.

2. Onboard

Tell your AI agent:

"Read AGENTS.md and initialize the project knowledge base."

The agent follows codev/init.md — a step-by-step workflow that instructs it to:

  • Ask you about the project
  • Scan the entire repository
  • Write atomic knowledge docs (architecture, tech stack, database, auth, etc.)
  • Build a master index
  • Set up guardrails, conventions, and a glossary
  • Rewrite AGENTS.md into a project dashboard

3. Work

From now on, every Codex-compatible agent session starts by reading AGENTS.md. Claude Code reads CLAUDE.md, which imports the same AGENTS.md instructions. In seconds, the agent knows:

  • What the project is
  • How to set up the dev environment
  • Where to find domain-specific knowledge
  • What files not to touch
  • What coding patterns to follow
  • What the current task is
  • What it must write back into CODEV after learning or deciding something

No more re-explaining. No more hallucinated architecture. No more broken migrations.

AGENTS.md stays short on purpose: it is the entry gate with navigation and mandatory behavior. Deeper knowledge lives under codev/.

4. Browse

Run the local dashboard when you want a human-readable cockpit over the same Markdown knowledge base:

codev serve

The dashboard serves on localhost, opens the project's codev/ folder when present, separates child folders from Markdown files, renders Markdown, and lets you edit/save .md files through the local server.


Core Concepts

Atomic Knowledge (≤150 lines per file)

Knowledge files are short, focused, and single-domain. Instead of one massive doc, you get:

codev/knowledges/
├── architecture.md       ← System design overview
├── tech_stack.md          ← Languages, frameworks, versions
├── database_schema.md    ← Models and relationships
├── api_routes.md          ← Endpoints and contracts
├── auth_flow.md           ← Authentication mechanism
├── deployment.md          ← Build and deploy pipeline
└── ...

Why? Small files fit in context windows. The agent reads only what's relevant to the current task — guided by the index.

The Index (codev/index.md)

A table of contents that maps domains to files. The agent doesn't read the whole codebase — it reads the index and navigates to exactly what it needs.

Guardrails (codev/guardrails.md)

Explicit boundaries: files the agent must not edit (migrations, lock files), patterns to avoid (any types, console.log), security rules (never hardcode secrets). Think of it as a fence around dangerous areas.

Session Memory (codev/sessions/)

After each session, the agent logs what it did, what it learned, and what's left. The next agent reads the handoff notes and continues seamlessly.

Ticket Context (codev/current_ticket/ and codev/tickets/)

current_ticket/ is the active workspace for the task in front of the agent. When the ticket is complete, the agent archives that context under tickets/{date-ticket-slug}/ so findings, implementation notes, blockers, and handoff details remain available without cluttering the next ticket.

Decision Records (codev/decisions/)

Track why decisions were made. When an agent suggests switching your ORM, the ADR explains why you chose this one — preventing circular debates.


Installation

# Run directly with npx (no install needed)
npx codev-framework init

# Or install globally
npm install -g codev-framework

# Or clone and link locally
git clone https://github.com/Vajrap/codev.git
cd codev
npm link

Usage

# Initialize in current directory
codev init

# Initialize in a specific directory
codev init ./my-project

# Show help
codev help

# Show version
codev version

# Serve the human dashboard for the current project
codev serve

# Serve another project or custom port
codev serve ./my-project --port 4174

After Initialization

Tell your AI agent to begin the onboarding:

"Read AGENTS.md and initialize the project knowledge base."

The agent will:

  1. Ask you for the project name and description
  2. Scan the repository structure, dependencies, and source code
  3. Generate atomic knowledge files under codev/knowledges/
  4. Create the environment profile, conventions, guardrails, and glossary
  5. Build the master index at codev/index.md
  6. Update AGENTS.md into a project dashboard

Works With Any AI Agent

CODEV is just markdown files. It works with:

  • Claude (Anthropic)
  • Gemini (Google)
  • GPT / ChatGPT (OpenAI)
  • Cursor / Windsurf / Cline
  • GitHub Copilot
  • Any AI tool that can read files

No vendor lock-in. No proprietary formats. No API keys required.


Philosophy

  • Markdown over metadata — Human-readable, agent-readable, version-controllable
  • Atomic over monolithic — Small focused files over one giant doc
  • Indexed over scattered — A central map so agents don't wander
  • Guarded over permissive — Explicit boundaries prevent agent mistakes
  • Persistent over ephemeral — Knowledge survives across sessions
  • Archived over overwritten — Completed ticket context is preserved for later review

Contributing

Contributions are welcome! Whether it's new templates, CLI improvements, or documentation.

License

MIT