Llm Claude Code banner
ftnext ftnext

Llm Claude Code

AI community

Description

[![PyPI](https://img.shields.io/pypi/v/llm-claude-code.svg)](https://pypi.org/project/llm-claude-code/)

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

llm-claude-code

[![PyPI](https://img.shields.io/pypi/v/llm-claude-code.svg)](https://pypi.org/project/llm-claude-code/) [![Changelog](https://img.shields.io/github/v/release/ftnext/llm-claude-code?include_prereleases&label=changelog)](https://github.com/ftnext/llm-claude-code/releases) [![Tests](https://github.com/ftnext/llm-claude-code/actions/workflows/test.yml/badge.svg)](https://github.com/ftnext/llm-claude-code/actions/workflows/test.yml) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/ftnext/llm-claude-code/blob/main/LICENSE)

LLM plugin for Claude Code SDK integration

Overview

`llm-claude-code` is a plugin for [Simon Willison's LLM tool](https://llm.datasette.io/) that enables you to use Claude Code through the LLM command-line interface. This plugin leverages the Claude Code CLI to provide AI assistance with coding tasks.

Prerequisites

Before using this plugin, ensure you have:

  • Claude Code CLI installed: Install with npm install -g @anthropic-ai/claude-code
  • Node.js: Required for Claude Code CLI
  • Anthropic API Key configured: Set up through environment variables or Claude Code settings
  • Python 3.10 or higher

To install Claude Code, visit the [official documentation](https://docs.anthropic.com/en/docs/claude-code).

Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/):

llm install llm-claude-code

Usage

Basic Usage

Use the `claude-code` model with the LLM command:

# Basic usage
llm -m claude-code "Write a Python function to calculate fibonacci numbers"

# Using the alias 'cc'
llm -m cc "Create a hello world script"

Features

  • Streaming Support: Real-time output display during generation
  • Color-coded Output: Different message types are displayed with distinct colors:
    • Tool messages: Blue
    • Error messages: Red
    • Success messages: Green
    • Regular messages: Default color
  • **Erro