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

@moltzap/cc-judge

v0.0.3

Published

TypeScript CLI + SDK for planned Claude Code harness runs, LLM bundle judging, and summary.md + results.jsonl reports with Braintrust + Promptfoo telemetry.

Readme

cc-judge

TypeScript-first CLI + SDK for planned Claude Code harness runs, LLM bundle judging, and summary.md + results.jsonl reports. Telemetry can fan out to Braintrust and Promptfoo through pluggable emitters.

Prerequisites

  • Node.js 20.11+
  • pnpm 9+
  • Claude judge auth through claude auth login or ANTHROPIC_API_KEY=...
  • Docker, if your harness launches Docker workloads

When --judge-backend anthropic is active and ANTHROPIC_API_KEY is not set, cc-judge runs claude auth status before run. Successful checks are cached for 24 hours under the user cache directory.

Install

pnpm add cc-judge

Quickstart

Create a harness-backed plan:

project: moltzap
scenarioId: EVAL-005
name: Cold outreach response quality
description: Verify the target agent responds helpfully to a first-contact DM.
requirements:
  expectedBehavior: The agent should answer coherently instead of returning an auth or runtime error.
  validationChecks:
    - Response contains non-empty text
    - Response stays on topic
harness:
  module: ../../packages/runtimes/dist/trace-capture-harness.js
  payload:
    runtime:
      kind: openclaw
    conversation:
      kind: direct
      setupMessage: Hello, can you explain how MoltZap conversations work?

Run it:

cc-judge run ./plans/**/*.yaml --results ./eval-results --log-level info

Successful and failed runs both emit:

eval-results/
  summary.md
  results.jsonl
  details/
    <scenario-id>.<run-number>.yaml

Harness Modules

The plan's harness.module path resolves relative to the plan file. The module must export load(args) as its default export unless the plan sets harness.export.

Minimal module shape:

import { Effect } from "effect";

export default {
  load(args) {
    return Effect.succeed({
      plan: {
        project: args.plan.project,
        scenarioId: args.plan.scenarioId,
        name: args.plan.name,
        description: args.plan.description,
        requirements: args.plan.requirements,
        agents: [
          {
            id: "target-agent",
            name: "Target Agent",
            artifact: {
              _tag: "DockerImageArtifact",
              image: "repo/target:latest",
            },
            promptInputs: {},
          },
        ],
      },
      harness: {
        name: "demo-harness",
        run: () =>
          Effect.fail({
            _tag: "ExecutionFailed",
            message: "replace with a real harness or coordinator",
          }),
      },
    });
  },
};

For real systems, the harness usually returns either plan + harness + runtime or plan + harness + coordinator.

CLI

cc-judge run <input>
cc-judge inspect <run-id>

run

run accepts harness-backed plan documents with a top-level harness block.

Important options:

  • --results <dir>: output directory, default ./eval-results
  • --judge <model>: judge model, default claude-opus-4-7
  • --judge-backend anthropic
  • --concurrency <n>
  • --log-level debug|info|warn|error
  • --total-timeout-ms <ms>
  • --emit-braintrust
  • --emit-promptfoo <file>

Compatibility options:

  • --runtime subprocess
  • --bin <path>

These are only relevant when the loaded harness defers execution to cc-judge's built-in coordinator/runtime path.

inspect

inspect reads the WAL timeline for one run id:

cc-judge inspect <run-id> --results ./eval-results

SDK

Main entrypoints:

  • runPlans(...) for harness-backed plan files
  • runWithHarness(...) for direct harness execution
  • scoreBundles(...) when you already have normalized JudgmentBundle values

Harness ingress types:

  • SharedHarnessPlanDocument
  • ExternalHarnessModule
  • HarnessPlanLoadArgs

Local Development

pnpm lint
pnpm typecheck
pnpm test
pnpm build

Mutation testing:

pnpm mutation

Verified Surfaces

Current tree coverage includes:

  • planned harness YAML ingress
  • module resolution/import/load failures
  • timeout cleanup in the judge and pipeline layers
  • bundle scoring
  • report, WAL, and observability emitters

License

MIT