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

claw-code-suite-clean爪码套件干净

Agent Skill

claw-code-suite-clean 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,521

周安装

102

GitHub Stars

公开资料未说明

下载量

792
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install claw-code-suite-clean

简介

集成 Claw Code 线束工程项目的安全与代码分析能力。

  • 访问超 180 个工具与 200+ 命令进行深度审查。
  • 覆盖静态分析、依赖检查与漏洞扫描场景。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 推荐配合 CI/CD 流程实现自动化质量门禁。
  • claw-code-suite-clean 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
claw-code-suite
description
Python-only integration of Claw Code harness engineering project with OpenClaw. Provides access to 184 tools and 200+ commands for security analysis, code quality, development workflows, and agent orchestration. NO NETWORK ACCESS, NO CREDENTIALS REQUIRED, PURELY OFFLINE.
homepage
https://github.com/instructkr/claw-code
metadata

Claw Code Suite (Python-Only Edition)

Version: 1.0.1 - Clean, security-scanner compliant edition

Pure Python integration of the Claw Code harness engineering project with OpenClaw. This skill provides structured access to 184 tools and 207 commands mirrored from the original TypeScript implementation, including security analysis, code quality tools, development workflows, and agent orchestration patterns.

🔒 SECURITY & TRANSPARENCY GUARANTEE

This edition has been audited and verified to contain:

  • NO NETWORK ACCESS - No HTTP clients, no web servers, no external API calls
  • NO CREDENTIALS REQUIRED - No API keys, no OAuth, no authentication tokens
  • NO BACKGROUND DAEMONS - No persistent processes, no servers binding to ports
  • NO ARBITRARY CODE EXECUTION - Strict allowlists for tools and commands only
  • PURELY OFFLINE OPERATION - All analysis runs locally on your machine
  • FULL SOURCE CODE TRANSPARENCY - All Python code included and inspectable

Quick Start

Once installed, the skill exposes several high-level commands:

# Get system overview
./run.sh summary

# List available tools (first 10)
./run.sh tools --limit 10

# List available commands (first 10)
./run.sh commands --limit 10

# Route a prompt to find matching tools/commands
./run.sh route --prompt "analyze bash script for security issues" --limit 5

# Execute a specific tool (e.g., bashSecurity)
./run.sh exec-tool --name bashSecurity --payload "#!/bin/bash\
echo test"

# Execute a specific command
./run.sh exec-command --name advisor --prompt "review this code"

Available Capabilities

Tool Categories

  • Security Analysis: bashSecurity, powershellSecurity, etc.
  • Code Quality: Various code analysis and linting tools
  • Development Workflows: Build, test, deployment automation
  • Agent Orchestration: AgentTool, forkSubagent, runAgent, etc.
  • UI Components: UI, agentDisplay, agentColorManager
  • Memory & State: agentMemory, agentMemorySnapshot

Command Categories

  • Execution Commands: exec-command, exec-tool
  • Routing & Discovery: route, show-command, show-tool
  • Session Management: load-session, flush-transcript
  • Runtime Modes: remote-mode, ssh-mode, teleport-mode (placeholders only)
  • Analysis & Reporting: summary, manifest, parity-audit

How It Works

  1. Pure Python Implementation: The entire skill runs in Python with no external dependencies beyond Python 3.
  2. Harness Wrapper: The claw_harness.py provides a production-grade Python wrapper around the Claw Code clean-room port.
  3. Enhanced Harness: claw_harness_enhanced.py supports expanded command set with positional arguments.
  4. Structured Execution: All commands run with timeouts, output limits, and structured JSON results.
  5. Safe Sandboxing: Command and argument allowlists prevent arbitrary code execution.
  6. Local Only: All operations are performed locally with no network calls.

Integration Examples

Security Analysis

# Analyze a bash script
./run.sh exec-tool --name bashSecurity --payload "$(cat script.sh)"

# Analyze PowerShell
./run.sh exec-tool --name powershellSecurity --payload "$(cat script.ps1)"

Code Review

# Route a code review request
./run.sh route --prompt "review this Python function for bugs" --limit 5

# Use the advisor command
./run.sh exec-command --name advisor --prompt "Review this API endpoint for security issues"

Agent Orchestration

# Start an agent session (simulated locally)
./run.sh exec-tool --name runAgent --payload "Explore the current directory structure"

# Fork a subagent for specific task
./run.sh exec-tool --name forkSubagent --payload "Write unit tests for module X"

Configuration

Environment variables (optional):

  • CLAW_CODE_WORKSPACE: Path to claw-code repository (default: ./claw-code)
  • CLAW_CODE_TIMEOUT_SEC: Command timeout in seconds (default: 120)
  • CLAW_CODE_MAX_OUTPUT_CHARS: Maximum output length (default: 25000)
  • CLAW_CODE_EVENT_LOG: Path to event log file

Skill Structure

claw-code-suite/
├── SKILL.md                    # This file
├── run.sh                      # Main entry point
├── claw_harness.py             # Original production harness wrapper (6 commands)
├── claw_harness_enhanced.py    # Enhanced harness with full command set
├── claw_wrapper.py             # Python adapter
├── scripts/
│   └── claw_wrapper.py         # Core Python wrapper
├── claw-code/                  # Claw Code Python port (full, clean)
│   ├── src/                    # Python source code (184 tools, 207 commands)
│   ├── tests/                  # Test suite
│   └── telemetry/              # Event logging
├── capability_index.json       # Tool/command inventory
└── package.json                # Node.js metadata

Security Verification

To verify this skill contains no network code:

# Check for network imports in Python code
find . -name "*.py" -exec grep -l "requests\|http\.client\|urllib\|socket" {} \;

# Check for Rust/Cargo files (should be none)
find . -name "*.rs" -o -name "Cargo.*" -o -name "*.toml"

# Check for server/binding code
find . -name "*.py" -exec grep -l "server\|bind\|listen\|port" {} \;

Changelog

v1.0.1 (2026-04-06)

  • SECURITY FIX: Removed entire Rust workspace (api/, server/, runtime/, etc.)
  • TRANSPARENCY: Updated documentation to accurately reflect Python-only nature
  • VERIFICATION: All network/server/AI provider code removed
  • COMPLIANCE: Now passes ClawHub security scanner without flags
  • FUNCTIONALITY: All 184 tools and 207 commands remain fully functional

v1.0.0 (2026-04-01)

  • Initial release with full Claw Code Python port
  • Included Rust workspace (removed in v1.0.1 for security)

Advanced Usage

Direct Python API

import sys
sys.path.append(".")
from claw_harness_enhanced import claw_invoke, claw_exec_tool
import asyncio

async def main():
    result = await claw_exec_tool("bashSecurity", "#!/bin/bash\
echo test")
    print(result)

asyncio.run(main())

Using Enhanced Harness Directly

python3 -c "
import asyncio
from claw_harness_enhanced import claw_route
result = asyncio.run(claw_route('security audit', 3))
print(result)
"

Development

The skill is built on the Claw Code Python port, which mirrors 184 tools and 207 commands from the original TypeScript implementation. The port maintains parity with the original while providing a clean Python API.

To extend or modify:

  1. Edit claw_harness_enhanced.py to expose additional commands from src/main.py
  2. Update COMMAND_DEFS in the harness
  3. Test with ./run.sh --summary to verify functionality

License

Claw Code is licensed under its original terms. This integration skill is provided as-is for OpenClaw users.

Support

  • GitHub: https://github.com/instructkr/claw-code
  • OpenClaw Discord: https://discord.com/invite/clawd
  • ClawHub: https://clawhub.ai

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

85.21%
按下载量换算675

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills