PansClaw Code for Openclaw

A high-performance Rust reimplementation of Claude Code for AI-assisted coding, refactoring, and interactive debugging.

dashiming
v0.1.0
Apr 7, 2026
1
753
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pansclaw-code

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pansclaw-code using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is PansClaw Code?

PansClaw Code is a sophisticated Rust-based CLI tool designed to bring the power of AI-driven development directly to your local machine. As a specialized entry in the Openclaw Skills library, it serves as a robust alternative for developers who need high-speed, local AI coding assistance. The tool allows users to delegate complex tasks—such as code generation, deep refactoring, and logical debugging—to a variety of language models, supporting both privacy-focused local execution and high-performance cloud APIs.

PansClaw Code Use Cases

  • Delegating entire code writing or refactoring tasks to an autonomous AI agent.
  • Using an interactive REPL mode for real-time exploratory coding and troubleshooting.
  • Integrating automated AI coding workflows into local development environments using Openclaw Skills.
  • Executing coding requests using local LLMs via Ollama to ensure data privacy and offline availability.

How PansClaw Code Works

  1. The skill first verifies the presence of the PansClaw Code binary in the local environment.
  2. If the binary is missing or requires an update, it triggers an automated build process using the Cargo package manager.
  3. The user selects a preferred provider (such as Ollama for local or Anthropic for cloud) and the specific model to be used.
  4. The system executes the claw command with relevant flags like --dangerously-skip-permissions for seamless operation.
  5. The AI processes the request within the local project context and returns the generated code or technical analysis to the user.

PansClaw Code Setup

1. Build the Binary

First-time setup requires building the Rust source code:

cd "/path/to/claw-code-main/rust"
cargo build -p claw-cli --release

2. Configure Environment

Set up your preferred API keys for cloud providers:

export MINIMAX_API_KEY="your-key"
export ANTHROPIC_API_KEY="sk-ant-..."

3. Verify Local Models

Ensure Ollama is running if you prefer local execution within the Openclaw Skills framework:

ollama list

PansClaw Code Data Schema & Taxonomy

The skill manages its execution environment and model parameters through a structured CLI interface:

Component Details
Binary Location Typically symlinked to ~/.local/bin/claw
Providers Supported ollama, minimax, openai, anthropic
Permission Handling Uses --dangerously-skip-permissions for automated task execution
Output Modes Supports standard interactive REPL or non-interactive --print mode

PansClaw Code Advanced Features

  • Native support for local Ollama models including mistral-small:24b, qwen3, and codellama.
  • Automated build-and-run lifecycle management to ensure the CLI tool is always up to date.
  • Flexible provider switching, allowing developers to balance between local privacy and cloud-based reasoning power.
  • Headless execution capabilities optimized for integration within broader Openclaw Skills automation pipelines.
  • Specialized flags for non-interactive output, making it ideal for scripting and CI/CD tasks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*