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

@korl3one/ccode

v3.1.0

Published

Persistent context CLI for AI-assisted development. Generates documentation, architecture, rules, and tasks — synced to Claude Code, Gemini CLI, Cursor, Copilot, and AGENTS.md.

Readme

Persistent context CLI for AI-assisted development.

Stop re-explaining your project to AI every time the session resets.

npm install -g @korl3one/ccode

npm version license Node.js GitHub stars


The problem

Every time you switch sessions, models, or tools when working with AI, you lose your project context. You end up re-explaining the architecture, previous decisions, and current state over and over again.

And if you use multiple AI tools — Claude Code, Cursor, Gemini CLI, Copilot — you have to configure context files for each one manually.

The solution

CCODE generates and maintains your project context inside the repository. One command produces professional documentation, architecture, rules, and a verifiable task checklist — all adapted to your project's actual complexity.

Then it syncs that context to every major AI tool automatically.

Any developer or AI can read your project and understand it instantly.


Universal Context Sync

This is what makes CCODE different. One command generates context files for every major AI tool:

ccode sync
project/
├── AGENTS.md                        ← Open Standard (60K+ repos)
├── CLAUDE.md                        ← Claude Code
├── GEMINI.md                        ← Gemini CLI
├── .cursorrules                     ← Cursor
├── .github/copilot-instructions.md  ← GitHub Copilot
└── .ccode/context-export.md         ← Universal (copy/paste to any AI chat)

Each file is adapted to the tool's expected format. Your project context — architecture, rules, tasks, decisions — synced everywhere, from a single source of truth.

No manual setup per tool. No copy-pasting between files. Context stays in sync automatically with ccode init, ccode update, and ccode sync.


Why CCODE?

| | CCODE | Manual prompts | |---|:---:|:---:| | Persistent project context | ✅ | ❌ | | Universal context sync (5+ AI tools) | ✅ | ❌ | | Architecture adapted to complexity | ✅ | ❌ | | AI-ready documentation | ✅ | ❌ | | Verifiable task checklist | ✅ | ❌ | | Auto-detect file changes | ✅ | ❌ | | AI-powered task verification | ✅ | ❌ | | Zero-config AI provider detection | ✅ | ❌ | | Context lives in the repo (Git) | ✅ | ❌ |


How it works

1. Initialize

cd my-project
ccode init

A step-by-step wizard asks about your project and an AI generates the full context. CCODE adapts automatically:

| Project type | Context depth | Tasks | |---|---|---| | Simple (prototype, few features) | Lightweight docs | 3-5 | | Medium (standard app) | Moderate architecture | 5-8 | | Complex (multiple modules) | Detailed patterns + diagrams | 8-12 |

A simple login doesn't need microservice diagrams. CCODE is smart about it.

After generation, context is automatically synced to all AI tools.

2. Persistent session

After init, CCODE stays active — watching your project in real time:

  • Detects file changes automatically
  • Suggests verifying tasks when it sees progress
  • Adapts the menu to your current workflow state
  • Recovers from errors without crashing

You code in your editor. CCODE runs in another terminal as a companion.

3. AI verification

CCODE compares acceptance criteria against actual project files:

✓ TASK-001: Setup project base — COMPLETED
  Evidence: package.json, tsconfig.json found

◐ TASK-002: Create login form — IN PROGRESS
  Missing: password field not found, validation pending

○ TASK-003: Implement JWT auth — PENDING

It doesn't guess — it verifies.

4. Context sync

ccode sync

Regenerates context files for every AI tool. Run it after making significant changes, or let ccode update handle it when you re-analyze the project.

5. Context export

ccode export

Three options: sync to all tools, export a universal .md for copy/paste into any AI chat, or pick specific tools.

6. Project health check

ccode doctor

Like a linter, but for your project context. Checks context files, AI connection, task status, export state, and tells you what needs attention.


Supported AI Providers

| Provider | Models | Note | |----------|--------|------| | Google Gemini | 2.5 Flash, 2.5 Pro, 2.0 Flash | Free — just a Google account | | Claude (Anthropic) | Sonnet 4, Haiku 3.5, Opus 4 | Best quality |

CCODE auto-detects your provider:

  1. Gemini CLI OAuth — If you have gemini CLI installed and authenticated, it works instantly. Zero config.
  2. Environment variablesGOOGLE_API_KEY or ANTHROPIC_API_KEY detected automatically.
  3. Manual setup — Guided wizard with browser-based key generation as fallback.

Available commands

| Command | What it does | |---------|-------------| | ccode init | Interactive wizard — generates full project context + syncs to all AI tools | | ccode sync | Sync context to all AI tools (AGENTS.md, CLAUDE.md, .cursorrules, ...) | | ccode update | Re-analyze project with AI and refresh context | | ccode export | Export context — all tools, universal .md, or pick specific | | ccode verify | AI-powered task verification against actual project files | | ccode status | Dashboard with progress bar and stats | | ccode doctor | Health check — context files, AI connection, exports, tasks | | ccode connect | Configure or reconfigure AI provider | | ccode explain | Quick project summary for onboarding | | ccode plan | Generate or regenerate task checklist | | ccode next | Show and start the next pending task | | ccode complete | Mark active task as completed |


What gets generated

Source of truth (.ccode/)

.ccode/
├── project.md          Vision, objectives, scope
├── architecture.md     System structure (adapted to complexity)
├── rules.md            Development standards for your stack
├── tasks.json          Task checklist with acceptance criteria
├── state.json          Active task, workflow stage
├── context.json        Project configuration
├── memory.md           Decision history
├── config.json         AI provider config
└── context-export.md   Universal export

Synced context files (project root)

AGENTS.md                        Open Standard
CLAUDE.md                        Claude Code
GEMINI.md                        Gemini CLI
.cursorrules                     Cursor
.github/copilot-instructions.md  GitHub Copilot

All derived from .ccode/. One source, multiple outputs.


Architecture

src/
├── cli/           Session, branding, file watcher
├── core/          Context engine, tasks, prompt builder, exports
├── ai/            Provider adapters (Adapter pattern)
└── utils/         File system abstraction

Patterns: Adapter (AI providers) · Observer (file watcher) · State Machine (workflow) · Builder (prompts)


Contributing

See CONTRIBUTING.md for setup instructions.

Adding a new AI provider? Implement IAIProvider, add it to the manager, done.

Adding a new export format? Add a method to ContextExporter, register the format, done.

Zero changes to the rest of the system in both cases.


Learn more

| Resource | Link | |----------|------| | Engineering roles | AGENTS.md | | Technical competencies | SKILLS.md | | YouTube | @CreativeCode25 |


If CCODE helps you, consider giving it a star

It helps the project grow and reach more developers.

Star on GitHub

npm · GitHub · YouTube

CCODE doesn't tell you how to code — it tells you what to build and makes sure you don't lose track.