Anthropic CLI — Development skill for Claude Code
CLI for interacting with Anthropic Claude.
How to install Anthropic CLI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dvcrn/anthropic-cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Anthropic CLI does
CLI for interacting with Anthropic Claude.
Alternatives in Development
- Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
- Anthropic Cookbook — Official examples and guides from Anthropic 36.3k ★
- Claude Plugins Official — Anthropic-managed directory of high quality Claude Code Plugins 14.9k ★
README
Anthropic API Command Line Tool
This is a command line tool that allows you to interact with the Anthropic API using the Anthropic Python SDK. You can send messages, including text and images, to the API and receive responses.
**NOTE**: This CLI has been programmed by Claude 3

Features
- Send text messages to the Anthropic API
- Include images (PNG, JPEG, or PDF) in the messages
- Specify various parameters such as model, system message, temperature, top-k, top-p, and max tokens
- Parse PDF files and convert into a JPEG image for processing (requires Poppler)
Installing Poppler
Poppler is a separate library that is required by the `pdf2image` library for converting PDF files to images. The installation process for Poppler varies depending on your operating system.
Please check https://pdf2image.readthedocs.io/en/latest/installation.html for installation instructions.
You do not need to install Poppler if you don't plan on passing PDFs into the vision API.
Setup
pip install git+https://github.com/dvcrn/anthropic-cli
Set your Anthropic API key as an environment variable named `ANTHROPIC_API_KEY`. You can do this by running the following command in your terminal or adding it to your shell configuration file (e.g., `.bashrc`, `.zshrc`):
export ANTHROPIC_API_KEY="your_api_key_here"
Replace `"your_api_key_here"` with your actual Anthropic API key.
Usage
To use the command line tool, run the following command:
python anthropic_cli.py [options]
Options
`-g`, `--message`: Add a message with the specified role and content. You can use this option multiple times to add multiple messages. The format is `-g ""`.
: The role of the message sender, e.g., "user" or "assistant".: The content of the message, enclosed in double quotes.
`-i`, `--image`: Path to an image file to include in the message. The image should be in PNG format.
Related Skills
Langsmith CLI
A coding agent-first CLI for interacting with LangSmith.
Claude Agent SDK Dotnet
A modern .NET library for interacting with the Claude Code CLI, with full Python SDK parity.
Obsidian CLI Skill
Claude Code skill for interacting with Obsidian vault via obsidian CLI
KiroGate
OpenAI & Anthropic 兼容的 Kiro IDE API 代理网关,支持 Claude Code CLI
Devcontainer Features
Anthropic Dev Container Features, including Claude Code CLI
Claude Code GUI / ChatUI — VS Code 插件
Claude Code ChatUI 是 Claude Code CLI 的全功能 GUI 界面插件,支持 VS Code 和 Cursor。Windows 原生运行(无需 WSL),同时支持 macOS。兼容官方 An
Related Agents
Claude Code Research Agent
Senior Anthropic researcher specializing in Claude Code CLI - researches latest context window and model avail
Orby
Use this agent when users need help interacting with the Prismatic platform - answering questions about their
Databricks Expert
Expert Databricks engineer for querying data, exploring Unity Catalog, managing permissions, and monitoring jo