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

agent-foreman

v0.2.1

Published

Long Task Harness for AI agents - task/feature-driven development with external memory

Readme

agent-foreman

Stop AI agents from half-building features. Ship complete code in one session.

npm version License: MIT

Chinese | Detailed Guide

Problem

AI coding agents face three common failure modes:

  1. Doing too much at once - Trying to complete everything in one session
  2. Premature completion - Declaring victory before features actually work
  3. Superficial testing - Not thoroughly validating implementations

Solution

agent-foreman provides a structured harness that enables AI agents to:

  • Maintain external memory via structured files
  • Work on one feature at a time with clear acceptance criteria
  • Hand off cleanly between sessions via progress logs
  • Track impact of changes on other features

Quick Start

/plugin install agent-foreman        # 1. Install
/agent-foreman:init Build auth API   # 2. Initialize
/agent-foreman:run                   # 3. Let AI work

Installation

# Quick install (binary)
curl -fsSL https://raw.githubusercontent.com/mylukin/agent-foreman/main/scripts/install.sh | bash

# Via npm
npm install -g agent-foreman

# Or use npx directly
npx agent-foreman --help

Manual download: GitHub Releases


Usage

Plugin Commands (Recommended)

/plugin marketplace add mylukin/agent-foreman
/plugin install agent-foreman

| Command | Description | |---------|-------------| | /agent-foreman:status | View project status and progress | | /agent-foreman:init | Initialize harness with project goal | | /agent-foreman:analyze | Analyze existing project structure | | /agent-foreman:spec | Transform requirements into tasks | | /agent-foreman:next | Get next priority task | | /agent-foreman:run | Auto-complete all pending tasks |

Transform requirements into tasks:

/agent-foreman:spec Build a user authentication system
Requirement → [PM→UX→Tech→QA] → Spec Files → BREAKDOWN Tasks → /run → Implementation

For standalone CLI usage without Claude Code:

| Command | Description | |---------|-------------| | init [goal] | Initialize or upgrade the harness | | next [feature_id] | Show next feature to work on | | status | Show current project status | | check [feature_id] | Verify code changes or task completion | | done <feature_id> | Verify, mark complete, and auto-commit | | fail <feature_id> | Mark a task as failed | | impact <feature_id> | Analyze impact of changes | | tdd [mode] | View or set TDD mode | | agents | Show available AI agents | | install | Install Claude Code plugin | | uninstall | Uninstall Claude Code plugin |


Workflow

next → implement → check → done → repeat

| Step | Command | What Happens | |------|---------|--------------| | 1 | next | Get task with acceptance criteria | | 2 | implement | Write code to satisfy criteria | | 3 | check | Verify implementation | | 4 | done | Mark complete, auto-commit |


Best Practices

  1. One feature at a time - Complete before switching
  2. Update status promptly - Mark passing when criteria met
  3. Review impact - Run impact analysis after changes
  4. Clean commits - One feature = one atomic commit
  5. Read first - Always check feature list and progress log

Reference

| File | Purpose | |------|---------| | ai/tasks/index.json | Task index with status summary | | ai/tasks/{module}/{id}.md | Individual task definitions | | ai/progress.log | Session handoff audit log | | ai/init.sh | Environment bootstrap script | | CLAUDE.md | AI agent instructions |

| Status | Meaning | |--------|---------| | failing | Not yet implemented | | passing | Acceptance criteria met | | blocked | External dependency blocking | | needs_review | May be affected by changes | | failed | Verification failed | | deprecated | No longer needed |

AI agents need the same tooling that makes human teams effective:

| Human Practice | AI Equivalent | |----------------|---------------| | Scrum board | ai/tasks/index.json | | Sprint notes | progress.log | | CI/CD pipeline | init.sh check | | Code review | Acceptance criteria |


License

MIT

Author

Lukin (@mylukin)


Inspired by Anthropic's blog post: Effective harnesses for long-running agents