Use Case
Stop doing repetitive data & analytics tasks manually. claude-usage-cli lets your AI agent handle them automatically through natural conversation. Query Claude API usage and cost reports from the command line. Secure macOS Keychain storage for Admin API key. Table/JSON output. This guide shows practical examples of using claude-usage-cli to automate common data & analytics workflows and save hours every week.
Install claude-usage-cli: npx clawhub@latest --dir ~/.claude/skills install claude-usage-cli
Identify the repetitive data & analytics tasks you want to automate
Describe the task to your AI in plain English
claude-usage-cli will execute the task and return results directly in the chat
Chain multiple tasks: ask your AI to run a sequence of operations
Copy these prompts and use them with your AI agent after installing claude-usage-cli
Automate my data & analytics tasks using claude-usage-cli
What repetitive tasks can claude-usage-cli handle for me?
Set up a workflow that runs claude-usage-cli every morning
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install claude-usage-cliOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install claude-usage-cliβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/claude-usage-cli/π‘Extract and place the folder at the path above, then restart your agent.