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

aitasks

v1.0.3

Published

CLI task management tool built for AI agents

Readme

aitasks

CLI task management built for AI agents.

aitasks gives AI agents (Claude, Gemini, GPT, etc.) a structured task queue to work from. Agents can claim tasks, log progress notes, verify acceptance criteria with evidence, and hand off work — all via simple shell commands.

Requires Bun ≥ 1.0.0.


Install

bun install -g aitasks

Quick Start

# 1. Initialize in your project
aitasks init

# 2. Create a task
aitasks create --title "Add JWT auth" --priority high --ac "POST /login returns token" --ac "Token expires in 1h"

# 3. Agent picks up work
aitasks next --agent claude-sonnet

# 4. Claim and start
aitasks claim TASK-001 --agent claude-sonnet
aitasks start TASK-001 --agent claude-sonnet

# 5. Log notes along the way
aitasks note TASK-001 "Using bcrypt for hashing — src/auth.ts:L22" --agent claude-sonnet

# 6. Verify acceptance criteria
aitasks check TASK-001 0 --evidence "POST /login returns 200 with token field" --agent claude-sonnet
aitasks check TASK-001 1 --evidence "token exp claim set to now+3600, confirmed in jwt.test.ts:L14"

# 7. Mark done
aitasks done TASK-001 --agent claude-sonnet

Environment Variables

| Variable | Description | |---|---| | AITASKS_AGENT_ID | Default agent ID — avoids passing --agent on every command | | AITASKS_JSON | Set to true to force JSON output globally (useful for scripting) |

export AITASKS_AGENT_ID=claude-sonnet
export AITASKS_JSON=true

Commands

Setup

| Command | Description | |---|---| | aitasks init | Initialize a task database in the current project | | aitasks onboard | Print or inject agent protocol instructions into CLAUDE.md / AGENTS.md |

Task Discovery

| Command | Description | |---|---| | aitasks list | List all tasks, sorted by priority | | aitasks list --status ready | Filter by status (ready, in_progress, done, blocked, needs_review) | | aitasks next | Show the highest-priority unblocked ready task | | aitasks show <id> | Full detail on a specific task | | aitasks board | Kanban-style board view |

Task Lifecycle

| Command | Description | |---|---| | aitasks create | Create a task (interactive if no flags given) | | aitasks claim <id> --agent <id> | Claim a task | | aitasks start <id> --agent <id> | Begin active work | | aitasks note <id> <text> | Add an implementation note | | aitasks check <id> <n> --evidence <text> | Verify acceptance criterion n | | aitasks done <id> --agent <id> | Mark complete (all criteria must be verified) | | aitasks review <id> --agent <id> | Submit for human review | | aitasks reject <id> --reason <text> | Reject and send back to in_progress | | aitasks unclaim <id> --agent <id> | Release a task back to the pool |

Blocking

| Command | Description | |---|---| | aitasks block <id> --on <id,...> | Mark a task as blocked by others | | aitasks unblock <id> --from <id> | Manually remove a blocker |

Agents & History

| Command | Description | |---|---| | aitasks agents | List active agents and their current tasks | | aitasks heartbeat [taskId] | Update agent last-seen timestamp | | aitasks log <id> | Full event history for a task | | aitasks export --format json | Export all tasks as JSON | | aitasks export --format csv | Export all tasks as CSV |

Database

| Command | Description | |---|---| | aitasks db status | Show database health and stats |


create Flags

aitasks create \
  --title "My task" \
  --desc "Longer description" \
  --priority high \        # critical | high | medium | low (default: medium)
  --type feature \         # feature | bug | chore | docs
  --ac "Returns 200" \     # Acceptance criterion (repeatable)
  --parent TASK-001        # Parent task ID

Agent Protocol

When you run aitasks init, it automatically injects a full agent protocol into CLAUDE.md, AGENTS.md, or GEMINI.md (whichever exists, or creates AGENTS.md). This tells the AI agent exactly how to use aitasks.

You can also inject/view it manually:

aitasks onboard               # print to stdout
aitasks onboard --append      # append to detected agent file
aitasks onboard --file MY.md  # append to a specific file
aitasks onboard --json        # output as JSON string

Data Storage

aitasks init creates a .aitasks/ directory in your project root containing a SQLite database. Add .aitasks/ to your .gitignore if you don't want to commit task data, or commit it to share tasks across your team.


License

MIT