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

cc-pipeline

v0.7.2

Published

Autonomous Claude Code pipeline engine. Install into any repo, write a BRIEF.md, and let Claude build your project phase by phase.

Downloads

128

Readme

cc-pipeline

Autonomous Claude Code pipeline engine. Install into any repo, write a BRIEF.md describing your project, and let Claude build it phase by phase.

What Is This?

cc-pipeline orchestrates autonomous development workflows using Claude Code. You provide a project vision in plain language, and the pipeline:

  • Breaks down the vision into phases
  • Plans and implements each phase
  • Runs tests, reviews code, and commits automatically
  • Iterates until the project is complete

Think of it as a CI/CD system for AI-driven development—but instead of deploying code, it writes it.

Prerequisites

  • Node.js >=18
  • Claude CLI (claude) installed and configured (get it here)
  • git — For the commit step (you probably already have this)

Installation

Initialize the pipeline in your project:

cd your-project
npx cc-pipeline@latest init

This scaffolds the .pipeline/ directory, prompt templates, CLAUDE.md, and a BRIEF.md.example into your project.

Quick Start

1. Initialize the pipeline

cd your-project
npx cc-pipeline@latest init

2. Write your project brief

Copy the example and edit it:

cp BRIEF.md.example BRIEF.md

Or let Claude Code help you write it — fire up claude in your project and ask:

Using the @BRIEF.md.example as a template, let's discuss this project's goals
and write a BRIEF.md. Ask me for a quick description first, then ask questions
one-at-a-time to build a good brief.

Example of Claude Code building a BRIEF.md through interactive Q&A

3. Run the pipeline

npx cc-pipeline run

The TUI launches automatically in a terminal, showing live step progress, agent activity, and per-step timers. That's it — the pipeline will spec, build, review, fix, and commit each phase automatically.

Commands

| Command | Description | |---------|-------------| | npx cc-pipeline@latest init | Scaffold .pipeline/, CLAUDE.md, and BRIEF.md.example | | npx cc-pipeline@latest update | Refresh prompts and docs (preserves your workflow.yaml) | | npx cc-pipeline run [options] | Run the pipeline | | npx cc-pipeline status | Show current phase, step, and recent events | | npx cc-pipeline reset | Clear event log, phase outputs, and STATUS.md |

Tip: Use @latest with init and update to get the newest templates. For run, status, and reset, the cached version is fine.

Run Options

  • --phases <n> — Limit to N phases (useful for testing)
  • --model <name> — Override model for all steps (e.g., opus, sonnet, haiku)
  • --ui — Force TUI on (default: auto-detects TTY)
  • --no-ui — Plain log output, no TUI (useful for CI/pipes)

Examples

npx cc-pipeline run                  # Run until complete (TUI auto-enabled)
npx cc-pipeline run --phases 3       # Run just 3 phases
npx cc-pipeline run --model opus     # Use opus for all steps
npx cc-pipeline run --no-ui          # Plain output, no TUI
npx cc-pipeline reset                # Start over from scratch

The pipeline resumes from interruptions automatically. Press Ctrl-C to pause, then npx cc-pipeline run again to continue.

How It Works

Phases

The pipeline works in phases, each representing a unit of progress (e.g., "user authentication", "payment integration"). Each phase follows the same workflow of steps.

Steps

Each phase runs through these steps (defined in .pipeline/workflow.yaml):

  1. spec — Break the project vision into a phase spec
  2. research — Analyze the current codebase state
  3. plan — Create an actionable implementation plan
  4. build — Implement the plan
  5. review — Staff engineer-level code review
  6. fix — Address review findings (skipped if none)
  7. reflect — Look back at progress, plan the next phase
  8. status — Update STATUS.md with build summary, test coverage, and what's next
  9. commit — Git commit and push

Agents

| Agent | How It Runs | Used For | |-------|------------|----------| | claudecode | Claude Agent SDK (in-process) | All AI steps by default | | codex | OpenAI Codex CLI (codex exec --yolo) | Alternative for build/fix | | bash | Direct shell command | Scripts, git operations |

State & Resume

Pipeline state lives in .pipeline/pipeline.jsonl — an append-only event log. The current phase and step are derived from the log, so you can interrupt and resume seamlessly.

Project Completion

When Claude determines the project is complete, it writes PROJECT COMPLETE in REFLECTIONS.md. The pipeline stops automatically.

Configuration

Pipeline behavior is controlled by .pipeline/workflow.yaml. See .pipeline/CLAUDE.md for full configuration docs — how to edit steps, change agents/models, customize prompts, and add new steps.

Quick Examples

Override model per step:

steps:
  - name: build
    agent: claudecode
    model: claude-opus-4-5
    prompt: prompts/build.md

Use Codex for build/fix:

  - name: build
    agent: codex
    model: o4-mini
    prompt: prompts/build.md

Add conditional execution:

  - name: fix
    agent: claudecode
    prompt: prompts/fix.md
    skip_unless: "MUST-FIX.md"    # Only runs if review produced MUST-FIX.md

Customize prompts: Edit the markdown files in .pipeline/prompts/ to change how each step behaves.

Example BRIEF.md

# Project Brief

## Overview
A command-line task manager with persistent storage.

## Tech Stack
- Node.js + SQLite
- No external dependencies

## Features (Priority Order)
1. **Add/list/complete tasks** — Core CRUD operations
2. **Due dates & filtering** — Filter by status, due date
3. **Tags & search** — Organize and find tasks

## Constraints
- Must work offline
- Single-file database

## Testing
- Node test runner for unit tests
- Cover core CRUD operations

## Definition of Done
~3 phases for MVP, complete when all features work with tests passing

Project Structure

After initialization and a few phases:

your-project/
├── .pipeline/
│   ├── CLAUDE.md            # Pipeline config docs (for Claude Code)
│   ├── workflow.yaml        # Step definitions, agents, models
│   ├── pipeline.jsonl       # Event log (auto-created on first run)
│   └── prompts/             # Prompt templates (customizable)
│       ├── spec.md
│       ├── research.md
│       ├── plan.md
│       ├── build.md
│       ├── review.md
│       ├── fix.md
│       ├── reflect.md
│       └── status.md
├── docs/
│   └── phases/
│       ├── phase-1/         # Phase artifacts
│       │   ├── SPEC.md
│       │   ├── RESEARCH.md
│       │   ├── PLAN.md
│       │   ├── REVIEW.md
│       │   └── REFLECTIONS.md
│       └── phase-2/
│           └── ...
├── BRIEF.md                 # Your project vision
├── CLAUDE.md                # Project conventions (for Claude Code)
├── AGENTS.md                # Dev docs (created by Phase 1)
├── STATUS.md                # Running build summary (auto-updated)
└── [your code here]

Troubleshooting

Pipeline won't start:

  • Ensure claude CLI is installed: claude --version
  • Run npx cc-pipeline@latest init if .pipeline/ doesn't exist

Step times out or hangs:

  • Check Anthropic's status page — API issues cause slow startups
  • The pipeline resumes automatically: press Ctrl-C and run npx cc-pipeline run again
  • For codex steps, an inactivity timeout (5 min of no output) will automatically retry up to 3 times

Want to start over:

npx cc-pipeline reset
npx cc-pipeline run

Want the latest prompts without losing your workflow.yaml:

npx cc-pipeline@latest update

Development

git clone https://github.com/timothyjoh/cc-pipeline.git
cd cc-pipeline
npm install
npm test
npm link    # For local development

License

MIT License — see LICENSE for details.

Contributing

Contributions welcome! Please open an issue or PR on GitHub.


Built with Claude Code by Anthropic.