๐ŸŽ Get the FREE AI Skills Starter Guide โ€” Subscribe โ†’
BytesAgainBytesAgain
๐Ÿฆ€ ClawHub

PansClaw Code

by @dashiming

Use the PansClaw Code CLI (Rust reimplementation of Claude Code) for AI-assisted coding. Triggers when: user wants to run coding tasks via pansclaw code, del...

โšก When to Use
TriggerAction
- User asks to use pansclaw code for a coding task
- User wants to delegate code writing/refactoring/debugging to pansclaw code
- User wants interactive pansclaw code REPL mode
- User explicitly mentions "pansclaw code"
โŒ **DON'T use this skill when:**
- User wants me to directly implement code (use my native tools instead)
- Simple file operations that don't need AI assistance
- Tasks requiring OpenClaw tool/memory integration
โš™๏ธ Configuration

1. Build the binary (first time only)

cd "/Users/dashi/Documents/claude code source /claw-code-main/rust"
cargo build -p claw-cli --release

Binary location: ~/.local/bin/claw (symlinked to release build)

2. API Keys (choose one)

Option A: Local Ollama (recommended - no API key needed)

# Ensure Ollama is running
ollama list

Available models: mistral-small:24b, qwen3, llama3, codellama

Option B: Cloud APIs

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

๐Ÿ“‹ Tips & Best Practices

  • claw is a CLI tool โ€” runs once per command, exits after completion
  • Local Ollama models work offline and are fast
  • Cloud models may have better quality but require API keys
  • Does NOT have access to OpenClaw's tools/memory by default
  • View on ClawHub
    TERMINAL
    clawhub install pansclaw-code

    ๐Ÿงช Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    ๐Ÿ” Can't find the right skill?

    Search 60,000+ AI agent skills โ€” free, no login needed.

    Search Skills โ†’