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

@hesed/claude

v0.1.0

Published

CLI for running Claude agents, skills, and slash commands via the Anthropic Agent SDK

Readme

claude

CLI for running Claude agents, skills, and slash commands via the Anthropic Agent SDK

Version Downloads/week

Install

sdkck plugins install @hesed/claude

Usage

$ npm install -g @hesed/claude
$ claude COMMAND
running command...
$ claude (--version)
@hesed/claude/0.1.0 darwin-arm64 node-v22.14.0
$ claude --help [COMMAND]
USAGE
  $ claude COMMAND
...

Commands

claude claude ask PROMPT

Ask the Claude agent a natural-language question

USAGE
  $ claude claude ask PROMPT [--allow-tools <value>] [-m <value>] [-p <value>] [--repo <value>] [--stream]
    [--system <value>] [--toon] [-w <value>]

ARGUMENTS
  PROMPT  Natural-language prompt to send to the agent

FLAGS
  -m, --model=<value>        Model to use (e.g. claude-opus-4-7)
  -p, --profile=<value>      Authentication profile name
  -w, --workspace=<value>    Workspace name (uses default workspace if omitted)
      --allow-tools=<value>  Comma-separated list of tools the agent may use (e.g. Read,Edit,Glob)
      --repo=<value>         Filter workspace context to this repo name
      --stream               Stream assistant text as it arrives
      --system=<value>       Custom system prompt for the agent
      --toon                 Format output as toon

DESCRIPTION
  Ask the Claude agent a natural-language question

EXAMPLES
  $ claude claude ask "What is the capital of France?"

  $ claude claude ask "List files in src" --allow-tools Read,Glob

  $ claude claude ask "Summarise changes" --workspace proj01

  $ claude claude ask "Review changes" --workspace proj01 --repo repo01

See code: src/commands/claude/ask.ts

claude claude auth add

Add Claude Agent SDK authentication

USAGE
  $ claude claude auth add [--json] [-p <value>] [-k <value>] [-u <value>] [--opus <value>] [--sonnet <value>]
    [--haiku <value>]

FLAGS
  -k, --key=<value>      Anthropic API key
  -p, --profile=<value>  Profile name:
  -u, --url=<value>      Anthropic API base URL (blank for default)
      --haiku=<value>    Haiku model ID mapping (blank for default)
      --opus=<value>     Opus model ID mapping (blank for default)
      --sonnet=<value>   Sonnet model ID mapping (blank for default)

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Add Claude Agent SDK authentication

EXAMPLES
  $ claude claude auth add

  $ claude claude auth add --profile work

See code: src/commands/claude/auth/add.ts

claude claude auth delete

Delete an authentication profile

USAGE
  $ claude claude auth delete -p <value> [--json]

FLAGS
  -p, --profile=<value>  (required) Profile name to delete

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Delete an authentication profile

EXAMPLES
  $ claude claude auth delete --profile work

  $ claude claude auth delete --profile default

See code: src/commands/claude/auth/delete.ts

claude claude auth list

List authentication profiles

USAGE
  $ claude claude auth list [--json]

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  List authentication profiles

EXAMPLES
  $ claude claude auth list

See code: src/commands/claude/auth/list.ts

claude claude auth profile

Set or show the default authentication profile

USAGE
  $ claude claude auth profile [--json] [--default <value>]

FLAGS
  --default=<value>  Profile name to set as default

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Set or show the default authentication profile

EXAMPLES
  $ claude claude auth profile

  $ claude claude auth profile --default work

See code: src/commands/claude/auth/profile.ts

claude claude auth test

Test Claude Agent SDK authentication and connection

USAGE
  $ claude claude auth test [--json] [-p <value>]

FLAGS
  -p, --profile=<value>  Authentication profile name

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Test Claude Agent SDK authentication and connection

EXAMPLES
  $ claude claude auth test

  $ claude claude auth test --profile work

See code: src/commands/claude/auth/test.ts

claude claude auth update

Update existing Claude Agent SDK authentication

USAGE
  $ claude claude auth update [--json] [-p <value>] [-k <value>] [-u <value>] [--opus <value>] [--sonnet <value>]
    [--haiku <value>]

FLAGS
  -k, --key=<value>      Anthropic API key
  -p, --profile=<value>  Profile name to update (default: "default")
  -u, --url=<value>      Anthropic API base URL
      --haiku=<value>    Haiku model ID mapping (blank to clear)
      --opus=<value>     Opus model ID mapping (blank to clear)
      --sonnet=<value>   Sonnet model ID mapping (blank to clear)

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Update existing Claude Agent SDK authentication

EXAMPLES
  $ claude claude auth update

  $ claude claude auth update --profile work

See code: src/commands/claude/auth/update.ts

claude claude list

List skills, slash commands, tools, subagents, and MCP servers the agent can use

USAGE
  $ claude claude list [--only <value>] [-p <value>] [--toon]

FLAGS
  -p, --profile=<value>  Authentication profile name
      --only=<value>     Comma-separated subset to return (skills|commands|tools|agents|mcpServers)
      --toon             Format output as toon

DESCRIPTION
  List skills, slash commands, tools, subagents, and MCP servers the agent can use

EXAMPLES
  $ claude claude list

  $ claude claude list --only skills

  $ claude claude list --only skills,commands --toon

See code: src/commands/claude/list.ts

claude claude run NAME [INPUT]

Execute a slash command or skill by name

USAGE
  $ claude claude run NAME [INPUT] [--allow-tools <value>] [-p <value>] [--stream] [--system <value>] [--toon]

ARGUMENTS
  NAME     Slash command (e.g. /help) or skill name
  [INPUT]  Additional input to forward to the agent

FLAGS
  -p, --profile=<value>      Authentication profile name
      --allow-tools=<value>  Comma-separated list of tools the agent may use (e.g. Read,Edit,Glob)
      --stream               Stream assistant text as it arrives
      --system=<value>       Custom system prompt for the agent
      --toon                 Format output as toon

DESCRIPTION
  Execute a slash command or skill by name

EXAMPLES
  $ claude claude run /help

  $ claude claude run review "this branch"

  $ claude claude run /clear --stream

See code: src/commands/claude/run.ts

claude claude workspace add

Add a workspace with named repository directories

USAGE
  $ claude claude workspace add [--json] [--repo <value>...] [-w <value>]

FLAGS
  -w, --workspace=<value>  Workspace name
      --repo=<value>...    Named repo entry as name=path (repeatable)

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Add a workspace with named repository directories

EXAMPLES
  $ claude claude workspace add --workspace proj01 --repo repo01=/path/to/repo01 --repo repo02=/path/to/repo02

See code: src/commands/claude/workspace/add.ts

claude claude workspace default

Set or show the default workspace

USAGE
  $ claude claude workspace default [--json] [--set <value>]

FLAGS
  --set=<value>  Workspace name to set as default

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Set or show the default workspace

EXAMPLES
  $ claude claude workspace default

  $ claude claude workspace default --set proj01

See code: src/commands/claude/workspace/default.ts

claude claude workspace delete

Delete a workspace or remove a repo from a workspace

USAGE
  $ claude claude workspace delete [--json] [--repo <value>] [-w <value>]

FLAGS
  -w, --workspace=<value>  Workspace name
      --repo=<value>       Repo name to remove from the workspace

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Delete a workspace or remove a repo from a workspace

EXAMPLES
  $ claude claude workspace delete --workspace proj01

  $ claude claude workspace delete --workspace proj01 --repo repo01

  $ claude claude workspace delete --repo repo01

See code: src/commands/claude/workspace/delete.ts

claude claude workspace list

List workspaces

USAGE
  $ claude claude workspace list [--json]

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  List workspaces

EXAMPLES
  $ claude claude workspace list

See code: src/commands/claude/workspace/list.ts

claude claude workspace update

Update repositories in an existing workspace

USAGE
  $ claude claude workspace update [--json] [--remove-repo <value>...] [--repo <value>...] [-w <value>]

FLAGS
  -w, --workspace=<value>       Workspace name (default: default workspace)
      --remove-repo=<value>...  Repo name to remove from the workspace (repeatable)
      --repo=<value>...         Named repo entry as name=path to add/update (repeatable, merges into existing)

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Update repositories in an existing workspace

EXAMPLES
  $ claude claude workspace update --workspace proj01 --repo repo01=/new/path --repo repo03=/path/to/repo03

  $ claude claude workspace update --workspace proj01 --remove-repo repo02

See code: src/commands/claude/workspace/update.ts