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

@danielfalci/ado-cli

v0.1.4

Published

CLI to manage work items on an Azure DevOps board (JSON output)

Readme

ado-cli

npm ci

A local (Rust) CLI that exposes the tasks (work items) of an Azure DevOps board from the command line: list/query, create, update, change state, assign, move taskboard columns, link items (backlog hierarchy), reorder the backlog, navigate sprint context, decompose items into sub-tasks, and manage tags and comments.

Every operation prints JSON to stdout. It is the command-line counterpart of the mcp-ado MCP server (which still exists, independently).

Quick start

End-to-end, from zero to driving your board with Claude:

# 1. Install the CLI globally (pulls the native binary for your platform)
npm install -g @danielfalci/ado-cli

# 2. Go into the project where you want to use it
cd /path/to/your/project

# 3. Install the skill + configure credentials (interactive)
ado-cli skill
#   → it writes .claude/skills/azure-devops-tasks/SKILL.md
#   → then it prompts you, interactively:
#       AZDO_PAT      : <paste your Personal Access Token>
#       AZDO_PROJECT  : organization/project   (e.g. contoso/Store)
#       AZDO_TEAM     : <Enter to accept the default "{project} Team">
#   → and saves .claude/skills/azure-devops-tasks/.env for you

# 4. Sanity-check the connection (read-only)
ado-cli my-work-items

# 5. Run Claude in that folder — the skill is now active
claude

That's it. From inside Claude you can now say things like "show my tasks", "tell me about #2287", or "create a user story for X", and the agent will use ado-cli following the safety rules baked into the skill (read freely; write only on an explicit order).

Heads up on AZDO_PROJECT: the value must match an existing project exactly (e.g. contoso/Store). A typo produces TF200016 ... project does not exist. To list the valid projects in your org: curl -u :$AZDO_PAT https://dev.azure.com/<org>/_apis/projects?api-version=7.1.

Installation

Via npm (installs the native binary for your platform automatically):

npm install -g @danielfalci/ado-cli

Supported platforms: macOS (arm64/x64), Linux (arm64/x64) and Windows x64. There are also prebuilt binaries in each GitHub Release. Or build from source (see Build from source).

Setup

Configuration comes from a .env file in the skill folder (.claude/skills/azure-devops-tasks/.env, relative to the current directory), in KEY=value format. For each key missing from the file, it falls back to the OS environment variable of the same name. There are no configuration flags in the CLI — the command line only takes operation arguments.

The recommended way to configure is to run ado-cli skill: in an interactive terminal it asks for the credentials and writes the .env to the correct folder (see Claude Code skill).

| Variable | Required | Default | Description | | ------------------- | -------- | ------------------------ | --------------------------------------------- | | AZDO_PAT | yes | — | Personal Access Token (Work Items r/w scope). | | AZDO_PROJECT | yes | — | In the organization/project format. | | AZDO_TEAM | no | {project} Team | Team used by the sprint/iteration APIs. | | AZDO_BASE_URL | no | https://dev.azure.com | Useful for on-prem Azure DevOps Server. | | AZDO_API_VERSION | no | 7.1 | REST API version. |

Example .claude/skills/azure-devops-tasks/.env:

AZDO_PAT=<your-pat>
AZDO_PROJECT=contoso/Store

Build from source

If you'd rather not use the npm package or a prebuilt binary, build it yourself with a stable Rust toolchain:

cargo build --release
# binary at target/release/ado-cli

Usage

ado-cli <command> [args]
# output is always JSON on stdout

ado-cli --help          # list all commands
ado-cli <command> --help

Examples

# Read
ado-cli query                               # no WIQL: only the most recent OPEN ones
ado-cli query --include-closed              # no WIQL: include closed ones
ado-cli query --wiql "SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType]='Bug' AND [System.State]='Active'"
ado-cli get 123
ado-cli links 10
ado-cli current-sprint --fields System.Id,System.Title,System.State
ado-cli taskboard
ado-cli my-work-items                       # by default, only open ones
ado-cli my-work-items --include-closed      # include closed ones
ado-cli my-work-items --only-current-sprint

# Write
ado-cli create --type Bug --title "Checkout error" --repro-steps "1. ..." --priority 1
ado-cli update 123 --set System.Title="New title" --set Microsoft.VSTS.Common.Priority=2
ado-cli update 123 --json '{"System.Title":"New title","Microsoft.VSTS.Common.Priority":2}'
ado-cli assign 123 "[email protected]"
ado-cli add-link 10 42 --link-type child
ado-cli add-comment 123 "A comment"

# Write 🔴 (state/column): only on an explicit order
ado-cli set-state 77 Closed
ado-cli set-taskboard-column 123 --column "Em Desenvolvimento"

# Decompose a parent into sub-tasks (JSON array via --json or stdin)
ado-cli create-child-tasks --parent-id 10 --json '[{"title":"Implement API"},{"title":"Test"}]'
echo '[{"title":"A"},{"title":"B"}]' | ado-cli create-child-tasks --parent-id 10

Commands with complex structure (update, create-child-tasks) accept JSON via flag (--json) or via stdin when the flag is omitted.

Claude Code skill

The binary installs a skill that teaches the agent how to use this CLI and, in the same step, configures the credentials:

cd /your/project
ado-cli skill

What ado-cli skill does:

  • writes ./.claude/skills/azure-devops-tasks/SKILL.md (overwrites if present);
  • writes a template .env.example in the same folder;
  • in an interactive terminal, prompts for the credentials (PAT, project, and the optionals) and writes the .env directly into the correct folder — asking for confirmation before overwriting an existing .env. Outside a terminal, it just indicates where to create the .env.

Development

cargo test
cargo clippy --all-targets -- -D warnings
cargo fmt --all --check

License

MIT.