Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

pansclaw-code盘爪码

Agent Skill

pansclaw-code 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,496

周安装

104

GitHub Stars

1

下载量

832
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pansclaw-code(盘爪码)
来源仓库:https://github.com/dashiming/pansclaw-code
安装命令:
openclaw skills install pansclaw-code
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pansclaw-code

简介

pansclaw-code 用于通过 Rust 实现的 Claude Code CLI 进行 AI 辅助编码。

  • 适用于开发者提升本地开发效率与代码质量。
  • 支持文件编辑、测试运行与 Git 操作集成。
  • 需在命令行环境中配置路径与依赖项。pansclaw-code 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 安装前建议检查系统架构与编译器兼容性。

SKILL.md

name
pansclaw-code
version
0.1.0
description
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, delegate code writing/refactoring to pansclaw code, or use it interactively. Handles auto-build if binary is missing/outdated. Prerequisites: MINIMAX_API_KEY, ANTHROPIC_API_KEY, or local Ollama models.

PansClaw Code Skill

Rust reimplementation of Claude Code CLI — an AI-powered coding assistant that runs locally.

When to Use

USE this skill when:

  • 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

Prerequisites

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"

Commands

Run a single task (local Ollama)

~/.local/bin/claw --provider ollama --model mistral-small:24b --dangerously-skip-permissions "Your coding task"

Run with cloud model

~/.local/bin/claw --provider minimax --model MiniMax-Text-01 --dangerously-skip-permissions "Your task"

Interactive REPL

~/.local/bin/claw --provider ollama --model qwen3

Useful flags

FlagDescription
--provider <name>Provider: ollama (local), minimax, openai, anthropic
--model <name>Model name (provider-specific)
--dangerously-skip-permissionsSkip permission prompts
--printNon-interactive, print result only

Available Models

ProviderModelAPI Key NeededNotes
ollamamistral-small:24b❌ NoneDefault local model
ollamaqwen3❌ NoneChinese-optimized
ollamallama3❌ NoneGeneral purpose
ollamacodellama❌ NoneCode-specialized
minimaxMiniMax-Text-01✅ MINIMAX_API_KEYCloud
anthropicclaude-opus-4-6✅ ANTHROPIC_API_KEYCloud

Auto-Build Check

Before calling claw, verify the binary exists and is up-to-date:

if [ ! -f "/Users/dashi/Documents/claude code source /claw-code-main/rust/target/release/claw" ]; then
    cd "/Users/dashi/Documents/claude code source /claw-code-main/rust"
    cargo build -p claw-cli --release
fi

Execution Pattern

  1. Check binary — verify release build exists
  2. Build if needed — run cargo build -p claw-cli --release if missing
  3. Select provider — prefer local Ollama, fall back to cloud
  4. Execute — run claw with appropriate flags
  5. Return output — report results to user

Usage Examples

User: "用 claw 写一个冒泡排序"

Assistant:

~/.local/bin/claw --provider ollama --model mistral-small:24b --dangerously-skip-permissions "写一个冒泡排序算法"

User: "用 claw 重构 api 模块"

Assistant:

~/.local/bin/claw --provider minimax --model MiniMax-Text-01 --dangerously-skip-permissions "重构 api 模块使用 async/await"

User: "用 claw 解释 Rust 生命周期"

Assistant:

~/.local/bin/claw --provider ollama --model qwen3 --dangerously-skip-permissions "解释 Rust 的生命周期"

Notes

  • 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

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.28%
按下载量换算768

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills