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

asana-cli-skill

v1.0.0

Published

Minimal CLI for Asana task management, built to power a Claude Code skill

Downloads

171

Readme

asana-cli

Minimal CLI for Asana task management. Built to power the asana skill for Claude Code, but works standalone in any terminal.

The CLI is a thin infrastructure layer over the Asana REST API. All orchestration logic (reading a task, generating a plan, executing steps, reporting progress) lives in the skill — see The Claude Code skill.

Installation

npm install -g asana-cli-skill

This makes the asana-cli command available globally.

Or from source:

git clone https://github.com/giacomeli/asana-cli-skill.git
cd asana-cli-skill
npm install
npm link

Requires Node.js 18+ (native fetch).

Configuration

Option 1: Interactive command

asana-cli init

Prompts for your Personal Access Token and saves it to ~/.asana-cli/.env.

Option 2: Manual

Create ~/.asana-cli/.env (or a .env in your working directory):

ASANA_TOKEN=your-token-here

You can generate a token at: Asana > Settings > Apps > Developer > Personal Access Tokens.

Optional: progress custom field

By default, asana-cli complete marks the task as completed (the Asana checkbox). If your workspace tracks progress with an enum custom field instead (common on board-style projects), configure it:

ASANA_PROGRESS_FIELD=Task Progress
ASANA_PROGRESS_VALUE=Done

With these set, complete sets the custom field to that value instead of checking the task off. Use --close to also check it off.

Commands

asana-cli task <url-or-id>

Reads a full task: title, description, project, assignee, and subtasks.

asana-cli task https://app.asana.com/0/1234/5678

Output:

Task: Implement notification system
   Status: In progress
   Project: Sprint 42
   Assignee: Juliano
   ID: 5678

   Description:
   Build a push notification system...

   Subtasks (2):
   [ ] Create schema (id: 9012)
   [x] Define endpoints (id: 9013)

asana-cli subtasks <url-or-id>

Lists only the subtasks of a task.

asana-cli subtasks 5678

asana-cli complete <task-id> -m "message"

Adds a comment and marks the task as done (completed checkbox, or the configured progress custom field).

asana-cli complete 9012 -m "Done\n\nSchema created with Zod validation\n\nCommit: abc1234\nBranch: feature/notifications"

Literal \n sequences are converted to real line breaks automatically.

Flags:

  • --close — also mark the task as completed (checkbox) and complete any pending subtasks. Useful when a progress custom field is configured and you want both.

asana-cli comment <task-id> -m "message"

Adds a comment without changing the task status.

asana-cli comment 5678 -m "Task completed\n\nCommit summary..."

Attach files (repeatable, images are embedded inline):

asana-cli comment 5678 -m "Screenshots attached" -a screenshot1.png -a screenshot2.png

asana-cli create-subtask <parent-id> -n "name"

Creates a new subtask under a task.

asana-cli create-subtask 5678 -n "Implement toast component"

Accepted URL formats

The CLI accepts any of these:

  • https://app.asana.com/0/<project-id>/<task-id>
  • https://app.asana.com/0/<project-id>/<task-id>/f
  • https://app.asana.com/1/<workspace-id>/project/<project-id>/task/<task-id>
  • Plain numeric ID (e.g. 1234567890)

The Claude Code skill

The skills/asana/ directory contains a Claude Code skill that orchestrates a full development workflow on top of this CLI: it reads an Asana task, builds an implementation plan from its subtasks (creating them if missing), executes step by step, and updates Asana with comments, commit hashes, and status as the work progresses.

To install it, copy (or symlink) the skill into your Claude Code skills directory.

From a cloned repo:

cp -r skills/asana ~/.claude/skills/asana

From the npm global install (the package ships the skill):

cp -r "$(npm root -g)/asana-cli-skill/skills/asana" ~/.claude/skills/asana

Then share any Asana task link in a Claude Code conversation, or use /asana.

Project structure

asana-cli-skill/
├── bin/
│   └── asana-cli.js          # Entry point, command registration
├── src/
│   ├── client.js             # HTTP client for the Asana API
│   ├── formatter.js          # Human-readable terminal output
│   ├── utils.js              # URL parsing, helpers
│   └── commands/
│       ├── init.js            # Token setup
│       ├── task.js            # Read a task
│       ├── subtasks.js        # List subtasks
│       ├── complete.js        # Complete + comment
│       ├── comment.js         # Comment
│       └── create-subtask.js  # Create a subtask
├── skills/
│   └── asana/
│       └── SKILL.md          # Claude Code skill
├── package.json
└── .gitignore

Stack

  • Node.js (native ESM, no build step)
  • commander for argument parsing
  • chalk for terminal colors
  • dotenv for configuration
  • Native fetch (Node 18+)

License

MIT