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

@taskless/cli

v0.3.0

Published

> A Work in Progress

Downloads

1,515

Readme

@taskless/cli

A Work in Progress

CLI companion for Taskless. Designed to be invoked by skills via npx or pnpm dlx. Useful for agents, and works for humans too.

Usage

# npm
npx @taskless/cli@latest info

# pnpm
pnpm dlx @taskless/cli@latest info

Commands

taskless info

Outputs CLI version, tool status, and login info as JSON to stdout:

{
  "version": "0.0.3",
  "tools": [],
  "loggedIn": true,
  "auth": { "user": "jake", "email": "[email protected]", "orgs": ["my-org"] }
}

taskless init

Install or update Taskless skills into detected tool directories (e.g. .claude/).

taskless check

Run ast-grep rules from .taskless/rules/ against the codebase. Exits with code 1 if any error-severity matches are found.

taskless check          # human-readable output
taskless check --json   # JSONL output

taskless auth login / taskless auth logout

Authenticate with taskless.io using the device flow. Tokens are stored in ~/.config/taskless/auth.json.

taskless rules create

Generate ast-grep rules via the taskless.io API. Reads a JSON request from stdin, submits it, polls for results, and writes rule and test files to .taskless/rules/ and .taskless/rule-tests/.

echo '{"prompt": "detect console.log usage"}' | taskless rules create
echo '{"prompt": "find innerHTML assignments", "language": "typescript"}' | taskless rules create --json

Requires authentication and a .taskless/taskless.json with orgId and repositoryUrl.

taskless rules delete <id>

Remove a rule file and its associated test files from disk. No authentication required.

taskless rules delete no-console-log

taskless --help

Lists available subcommands.

For skill authors

Skills should detect the package manager by checking for lock files and invoke the CLI accordingly:

  1. If pnpm-lock.yaml exists, use pnpm dlx @taskless/cli@latest <command>
  2. Otherwise, use npx @taskless/cli@latest <command>

All commands output structured JSON to stdout by default. Parse with JSON.parse() and handle non-zero exit codes as errors.

Developing

API base URL

The CLI resolves the API base URL in this order:

  1. TASKLESS_API_URL env var
  2. ~/.config/taskless/config.jsonapiUrl field
  3. Default: https://app.taskless.io/cli

For local development against the taskless.io app:

TASKLESS_API_URL=http://localhost:5173/cli taskless info

API schema introspection

All /cli/api/* endpoints support the x-explain: 1 header. When present, the endpoint returns its JSON schema instead of executing — no authentication required.

# List available endpoints
curl -s -H "x-explain: 1" http://localhost:5173/cli/api

# Get the schema for rule generation
curl -s -H "x-explain: 1" -X POST http://localhost:5173/cli/api/rule

# Get the schema for rule status polling
curl -s -H "x-explain: 1" http://localhost:5173/cli/api/rule/any-id

# Get the schema for whoami
curl -s -H "x-explain: 1" http://localhost:5173/cli/api/whoami

This is useful for verifying that CLI types align with the production API contract.