clawvalue

OpenClaw Claw度评估系统 - 量化你的 AI 自动化能力,生成龙虾能力估值趣味评估报告。支持16套主题、5级Mock数据、游戏化展示。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "clawvalue" with this command: npx skills add lazyyoun/claw-value

🦞 ClawValue - OpenClaw 能力估值系统

量化你在 OpenClaw 上的 AI 自动化能力,生成趣味化的"龙虾能力估值"评估报告。

📦 安装依赖

在项目根目录执行:

cd 到skill安装目录/clawValue
pip install -r requirements.txt

或手动安装:

pip install flask requests

🔑 配置(可选)

DASHSCOPE_API_KEY - 百炼 API 密钥

export DASHSCOPE_API_KEY="your-api-key"

说明:

  • ✅ 不配置也能使用:数据采集、评估分析、页面展示
  • ❌ 不配置无法使用:龙虾海报图片生成(会跳过图片相关功能)

🚀 快速开始

方式一:一键启动(推荐)

python scripts/server.py

访问:http://localhost:5002

方式二:自定义参数

# 指定端口
python scripts/server.py --port 8080

# 监听所有网卡(支持局域网/公网访问)
python scripts/server.py --host 0.0.0.0 --port 5002

# 完整参数
python scripts/server.py -H 0.0.0.0 -p 5002

参数说明:

参数简写默认值说明
--host-H127.0.0.1绑定地址,0.0.0.0 允许外部访问
--port-p5002服务端口

⚠️ 远程访问注意:

  • 使用 --host 0.0.0.0 才能从其他设备访问
  • 确保防火墙/安全组开放对应端口
  • 云服务器需要配置安全组白名单

🌐 访问地址

默认页面

http://localhost:5002

带锐评内容访问

http://localhost:5002/?clawJudge=这是大型生成的锐评内容

URL 参数:

  • clawJudge - 自定义锐评内容(URL编码)

示例:

# 中文内容需要 URL 编码
curl "http://localhost:5002/?clawJudge=$(python3 -c 'import urllib.parse; print(urllib.parse.quote(\"你的锐评内容\"))')"

🔄 交互模式

模式一:独立服务模式

┌─────────────────────────────────────────────────────┐
│  1. 安装依赖                                         │
│     pip install flask requests                      │
│                                                     │
│  2. 配置百炼API(可选)                               │
│     export DASHSCOPE_API_KEY="xxx"                  │
│     └─ 不配置:影响图片生成,不影响分析服务             │
│                                                     │
│  3. 启动服务                                         │
│     python scripts/server.py                        │
│                                                     │
│  4. 访问页面                                         │
│     http://localhost:5002                           │
└─────────────────────────────────────────────────────┘

特点:

  • 自动采集 OpenClaw 数据
  • 内置 AI 生成锐评内容
  • 完整的页面展示

模式二:API 集成模式

┌─────────────────────────────────────────────────────┐
│  1. 安装依赖                                         │
│     pip install flask requests                      │
│                                                     │
│  2. 配置百炼API(可选)                               │
│     export DASHSCOPE_API_KEY="xxx"                  │
│                                                     │
│  3. 调用 API 获取数据                                │
│     GET /api/ → 返回评估数据 JSON                    │
│                                                     │
│  4. 生成锐评内容                                     │
│     调用大模型 API,结合数据生成锐评                  │
│                                                     │
│  5. 传入页面展示                                     │
│     http://host:port/?clawJudge=锐评内容            │
└─────────────────────────────────────────────────────┘

特点:

  • 数据与展示分离
  • 可集成到其他系统
  • 支持自定义锐评逻辑

📡 API 接口

获取评估数据

GET /api/

响应示例:

{
  "success": true,
  "data": {
    "depth_level": 2,
    "value_estimation": {
      "amount": 2500,
      "currency": "CNY"
    },
    "skills": {
      "total": 12,
      "custom": 10,
      "categories": {
        "社交媒体": 3,
        "工具效率": 2,
        "自动化": 2
      }
    },
    "sessions": {
      "total": 1500,
      "active_days": 15
    },
    "evaluation": {
      "skill_score": 45,
      "automation_score": 35,
      "integration_score": 30
    },
    "achievements": [
      "🎮 新手上路",
      "🦞 初级玩家"
    ],
    "log_stats": {
      "info_count": 1200,
      "warn_count": 200,
      "error_count": 100,
      "tool_calls": 150
    }
  }
}

字段说明

字段类型说明
depth_levelint使用深度等级 (1-5)
value_estimation.amountint估值金额(元)
skills.totalint技能总数
skills.customint自定义技能数
skills.categoriesobject技能分类统计
sessions.totalint日志条目总数
sessions.active_daysint活跃天数
evaluation.skill_scoreint技能评分 (0-100)
evaluation.automation_scoreint自动化评分 (0-100)
evaluation.integration_scoreint集成评分 (0-100)
achievementsarray成就列表
log_stats.*int日志统计数据

生成龙虾海报

POST /api/generate-image
Content-Type: application/json

{
  "level": 2,
  "title": "初级玩家",
  "roast": "你的技能树已经点亮了一半..."
}

注意: 需要配置 DASHSCOPE_API_KEY

🎮 等级体系

等级名称特征
Lv.1入门小白刚接触 OpenClaw,基础交互
Lv.2初级玩家开始使用自定义技能
Lv.3中级开发者多技能协作,自动化场景
Lv.4高级工程师多 Agent,复杂工作流
Lv.5龙虾大师全方位自动化,Proactive 模式

📂 项目结构

clawvalue/
├── SKILL.md              # 技能说明(本文件)
├── requirements.txt      # Python 依赖
├── lib/                  # 核心库代码
│   ├── __init__.py
│   ├── collector.py      # 数据采集(技能扫描、日志解析)
│   ├── constants.py      # 常量定义(分类、来源)
│   ├── evaluation.py     # 评估逻辑
│   ├── schemas.py        # 数据模型
│   ├── image_generator.py # 图片生成(万象API)
│   ├── parser.py         # 日志解析器
│   └── achievements.py   # 成就定义
├── scripts/              # 可执行脚本
│   ├── server.py         # Flask 服务入口
│   └── gen_icons.py      # 批量生成成就图标
├── web/                  # 前端资源
│   ├── index.html        # 单文件前端
│   └── images/           # 图片资源
│       └── achievements/ # 成就图标
└── docs/                 # 文档和设计资料

🎨 主题系统

支持 16 套精美主题

主题名说明类型
deep-sea深海龙虾(默认)深色
neo-brutalist新野兽派设计特色
fresh-garden清新花园浅色
cyber-neon赛博霓虹深色
retro-type复古打字机浅色
minimal-ink极简水墨浅色
dark-forest暗夜森林深色
summer-beach夏日海滩浅色
candy-land糖果乐园浅色
dark-gothic暗黑哥特深色
vaporwave蒸汽波深色
sakura-bloom樱花盛开浅色
pixel-game像素游戏深色
ocean-deep深海深色
music-rhythm音乐节奏深色
snow-peak雪峰浅色

🔧 技术栈

组件技术
后端Python Flask
前端原生 HTML/CSS/JS
样式oklch 颜色、CSS变量、动画
数据JSONL 日志解析、技能扫描
图片阿里云万象API(可选)

🦞 ClawValue v2.0 - 让 AI 能力量化变得有趣!

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Grab Company

Provides detailed insights on Grab's evolution, business model, market position, and significance in Southeast Asia's digital economy and super app landscape.

Registry SourceRecently Updated
General

CV-Driven Job Hunter

Asiste en una búsqueda laboral proactiva basada en el CV del usuario — analiza perfil, sugiere banda salarial, escanea boards y career pages, califica matche...

Registry SourceRecently Updated
General

Changelog Linter

Validate CHANGELOG.md files against the Keep a Changelog format (keepachangelog.com). Checks version ordering, date formats, section types, link references,...

Registry SourceRecently Updated
General

Bosch Company

Bosch is the world's largest automotive Tier 1 supplier, focusing on automotive parts, industrial tech, consumer goods, and energy solutions with a foundatio...

Registry SourceRecently Updated