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

@ikarmic/forge-eval

v5.4.1

Published

Eval harness for IKarmic AI Forge. Runs agent tasks against isolated workspaces and grades the results with deterministic checks.

Readme

@ikarmic/forge-eval

Eval harness for IKarmic AI Forge. Runs agent tasks against isolated workspaces and grades the results with deterministic checks: no API keys needed to grade, only to run.

What's in the box

  • 5 free graders: regex, contains, equals, file-exists, command-runs. Deterministic, no LLM-as-judge, no API spend.
  • 10 curated tasks spanning three categories:
    • read: list / read / search style tasks
    • edit: write / modify / delete style tasks
    • multi-step: tasks that need search + edit, run + report, or read + summarize
  • Per-task isolated cwd: every task runs in its own temp directory so tasks can't affect each other or your real project.
  • CLI: forge-eval run [--model X] [--task Y] [--json] plus forge-eval list for browsing the task catalog.
  • Markdown + JSON reports so you can diff runs over time.

Install / build

This package lives in the Forge monorepo. From the repo root:

pnpm -r build
pnpm --filter @ikarmic/forge-eval test

CLI usage

# Run the full suite against whatever model FORGE_DEFAULT_* resolves to.
pnpm forge-eval run

# Run a single task by id.
pnpm forge-eval run --task read-package-version

# Run the built-in agent tasks five times each, for pass counts.
pnpm forge-eval run --tag agents --runs 5

# Pin a specific model.
pnpm forge-eval run --model anthropic/claude-3-5-haiku-latest

# JSON output (one event per line) for piping into scripts.
pnpm forge-eval run --json | tee run.jsonl

# Browse the task catalog.
pnpm forge-eval list

The CLI exits 0 if all tasks passed, 1 if any failed, 2 if the run couldn't start (missing model, bad task id, etc.).

Task authoring

A task is just an object: setup writes fixture files into a temp dir, the agent runs against that dir, then graders inspect the result + filesystem.

import { defineTask, regex, fileExists, commandRuns } from '@ikarmic/forge-eval';

export default defineTask({
  id: 'my-task',
  name: 'My task',
  category: 'edit',
  description: 'Does X then Y',
  task: 'Write "hi" to greeting.txt',
  setup: async (cwd) => {
    await fs.writeFile(path.join(cwd, '.gitkeep'), '');
  },
  graders: [
    fileExists('greeting.txt'),
    commandRuns({ command: 'node -e "require(\'fs\').readFileSync(\'greeting.txt\',\'utf8\')"', contains: 'hi' }),
  ],
});

Drop the task file in src/tasks/your-task.ts, register it in src/tasks/index.ts, done.

Grader reference

| Grader | What it checks | |---|---| | regex(pattern, opts?) | result.finalText matches a regex (and optionally case-insensitive / multiline) | | contains(substring) | result.finalText contains a substring (case-sensitive) | | equals(text) | result.finalText.trim() equals text.trim() | | fileExists(relPath) | A file exists at cwd/relPath | | commandRuns(opts) | Runs a shell command via child_process.exec in cwd; checks exit code 0 + optional stdout predicate |

All graders receive { cwd, task, result, toolInvocations } so you can also write custom graders against result.messages or the recorded tool calls.

Limitations

  • Free graders only: no LLM-as-judge in v1 (that needs API keys per task).
  • 10 tasks in v1: the catalog is intentionally small. More tasks are welcome via PR.
  • Tasks assume a writable temp dir and a working node on PATH (for command-runs).