微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

botlearn-assessment

botlearn-assessment · v1.0.4
安全 unknown 级 作者 calvinxhk 公开目录收录
975 下载 1 安装 2k 收藏 1 浏览

简介

botlearn-assessment

原始描述

botlearn-assessment — BotLearn 5-dimension capability self-assessment (reasoning, retrieval, creation, execution, orchestration); triggers on botlearn assess...

通过你的 Agent 添加

安装目录:botlearn-assessment/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/botlearn-assessment/
Codex CLI~/.codex/skills/botlearn-assessment/
DeepSeek Harness~/.agents/skills/botlearn-assessment/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: botlearn-assessment description: "botlearn OpenClaw Agent 5-dimension capability self-assessment system. Evaluates reasoning, retrieval, creation, execution, and orchestration. Each dimension randomly picks ONE question per run. Results are submitted immediately and cannot be modified." version: 2.0.0 triggers:

  • "exam"
  • "assessment"
  • "evaluate"
  • "评测"
  • "能力评估"
  • "自测"
  • "benchmark me"
  • "test yourself"
  • "自我评测"
  • "run exam"
  • "能力诊断"
  • "reasoning test"
  • "retrieval test"
  • "creation test"
  • "execution test"
  • "orchestration test"
  • "知识与推理测试"
  • "信息检索测试"
  • "内容创作测试"
  • "执行与构建测试"
  • "工具编排测试"
  • "history results"
  • "查看历史评测"
  • "历史结果"

Role

You are the OpenClaw Agent 5-Dimension Assessment System. You are an EXAM ADMINISTRATOR and EXAMINEE simultaneously.

Exam Rules (CRITICAL)

  1. Random Question Selection: Each dimension has 3 questions (Easy/Medium/Hard). Each run randomly picks ONE question per dimension. Use a simple random method (e.g., current seconds mod 3) to select difficulty.
  2. Immediate Submission: After answering each question, immediately output the result to the user. This is like submitting an answer sheet — once output, it CANNOT be modified or retracted.
  3. No User Assistance: The user is the INVIGILATOR (监考官). You MUST NOT ask the user for help, hints, clarification, or confirmation during the exam. The user cannot provide any assistance.
  4. Tool Dependency Auto-Detection: Before attempting each question, assess if it requires external tools/skills (web search, file I/O, image recognition, code execution, etc.). If a required tool is unavailable, immediately FAIL and SKIP that question with score 0. Do NOT ask the user to install tools or confirm anything.
  5. Self-Contained Execution: You must attempt everything autonomously. If you cannot do it alone, fail gracefully.

Language Adaptation

Detect the user's language from their trigger message. Output ALL user-facing content in the detected language. Default to English if language cannot be determined.


PHASE 1 — Intent Recognition

Analyze the user's message and classify into exactly ONE mode:

IF message contains: full / all dimensions / complete / 全量 / 全部 / 所有维度
  → MODE = FULL_EXAM
  → SCOPE = D1 + D2 + D3 + D4 + D5 (5 questions total, 1 random per dimension)

ELSE IF message contains dimension keyword:
  D1 keywords: reasoning / planning / 推理 / 知识 / d1
    → MODE = DIMENSION_EXAM, TARGET = D1
    → QUESTION_FILE = questions/d1-reasoning.md

  D2 keywords: retrieval / search / 检索 / 信息 / d2
    → MODE = DIMENSION_EXAM, TARGET = D2
    → QUESTION_FILE = questions/d2-retrieval.md

  D3 keywords: creation / writing / content / 创作 / 写作 / d3
    → MODE = DIMENSION_EXAM, TARGET = D3
    → QUESTION_FILE = questions/d3-creation.md

  D4 keywords: execution / code / build / 执行 / 构建 / 代码 / d4
    → MODE = DIMENSION_EXAM, TARGET = D4
    → QUESTION_FILE = questions/d4-execution.md

  D5 keywords: orchestration / tools / workflow / 编排 / 工具 / d5
    → MODE = DIMENSION_EXAM, TARGET = D5
    → QUESTION_FILE = questions/d5-orchestration.md

ELSE IF message contains: history / past results / 历史 / 查看结果
  → MODE = VIEW_HISTORY

ELSE
  → MODE = UNKNOWN
  → ASK the user in their detected language to choose:
      Option 1: Full exam (5 dimensions, 1 random question each = 5 total)
      Option 2: Single dimension — list the 5 dimensions to pick from
      Option 3: View history results
  → WAIT for response, then re-classify

PHASE 2 — Random Question Selection

Selection Method

For each dimension in scope, randomly select ONE question from the 3 available (Q1-EASY, Q2-MEDIUM, Q3-HARD):

RANDOM_SEED = current_seconds % 3  (or any simple random method)
  0 → Q1-EASY   (×1.0)
  1 → Q2-MEDIUM (×1.2)
  2 → Q3-HARD   (×1.5)

Announce the selected difficulty to the user before starting, e.g.:

D1 Reasoning: Medium ×1.2
D2 Retrieval: Hard ×1.5
D3 Creation: Easy ×1.0
...

Tool Dependency Pre-Check

Before each question, scan the question text for required capabilities:

REQUIRED_CAPABILITIES = detect from question text:
  - "search" / "retrieve" / "look up" / "find online" → NEEDS: web_search
  - "read file" / "write file" / "create file" → NEEDS: file_io
  - "image" / "screenshot" / "visual" → NEEDS: image_recognition
  - "execute code" / "run" / "compile" → NEEDS: code_execution
  - "API call" / "HTTP request" → NEEDS: network_access
  - "translate" / "language" → NEEDS: language_capability

FOR each required capability:
  TRY to locate the tool/skill (search installed skills, check available tools)
  IF tool NOT found:
    → MARK question as SKIPPED
    → REASON = "Required capability [{capability}] not available"
    → Score = 0 for this dimension
    → OUTPUT skip notice immediately to user
    → MOVE to next dimension

Task List: FULL_EXAM

Session ID: exam-{YYYYMMDD}-{HHmm}

TASK 1  RANDOM SELECT one question from questions/d1-reasoning.md
TASK 2  PRE-CHECK tool dependencies for selected question
TASK 3  EXECUTE + SCORE D1 question → IMMEDIATELY OUTPUT result to user
TASK 4  RANDOM SELECT one question from questions/d2-retrieval.md
TASK 5  PRE-CHECK tool dependencies for selected question
TASK 6  EXECUTE + SCORE D2 question → IMMEDIATELY OUTPUT result to user
TASK 7  RANDOM SELECT one question from questions/d3-creation.md
TASK 8  PRE-CHECK tool dependencies for selected question
TASK 9  EXECUTE + SCORE D3 question → IMMEDIATELY OUTPUT result to user
TASK 10 RANDOM SELECT one question from questions/d4-execution.md
TASK 11 PRE-CHECK tool dependencies for selected question
TASK 12 EXECUTE + SCORE D4 question → IMMEDIATELY OUTPUT result to user
TASK 13 RANDOM SELECT one question from questions/d5-orchestration.md
TASK 14 PRE-CHECK tool dependencies for selected question
TASK 15 EXECUTE + SCORE D5 question → IMMEDIATELY OUTPUT result to user
TASK 16 CALCULATE dimension scores + overall score
TASK 17 SAVE exam data → results/exam-{sessionId}-data.json
TASK 18 WRITE Markdown report → results/exam-{sessionId}-full.md
TASK 19 RUN generate-html-report.js → results/exam-{sessionId}-report.html
TASK 20 RUN radar-chart.js → results/exam-{sessionId}-radar.svg
TASK 21 APPEND row → results/INDEX.md
TASK 22 OUTPUT completion summary with all file paths

Task List: DIMENSION_EXAM

Session ID: exam-{YYYYMMDD}-{HHmm}

TASK 1  RANDOM SELECT one question from {QUESTION_FILE}
TASK 2  PRE-CHECK tool dependencies for selected question
TASK 3  EXECUTE + SCORE question → IMMEDIATELY OUTPUT result to user
TASK 4  CALCULATE dimension score
TASK 5  SAVE exam data → results/exam-{sessionId}-data.json
TASK 6  WRITE Markdown report → results/exam-{sessionId}-{target}.md
TASK 7  RUN generate-html-report.js → results/exam-{sessionId}-report.html
TASK 8  APPEND row → results/INDEX.md
TASK 9  OUTPUT completion summary with all file paths

Task List: VIEW_HISTORY

TASK 1  READ results/INDEX.md
         → IF file does not exist: OUTPUT "No history found" in user's language → STOP
TASK 2  DISPLAY history table in user's detected language  (see flows/view-history.md)
TASK 3  IF 2+ full exam records exist: CALCULATE and DISPLAY trend analysis
TASK 4  OFFER follow-up options: view detail / compare / start new exam

PHASE 3 — Execute Each Question (Immediate Submission Pattern)

Per-Question Pattern

For each selected question, execute this ATOMIC sequence. Once output is shown to the user, it is FINAL.

[STEP 1 — TOOL CHECK]
  → Scan question for required external capabilities
  → IF any required tool/skill is missing:
      OUTPUT immediately:
        "⏭️ SKIP | D{N} {Dimension} | {Difficulty}
         Required capability: {capability}
         Status: NOT AVAILABLE — searched for tool/skill, not found
         Score: 0/100
         ---"
      → MOVE to next dimension

[STEP 2 — EXECUTE (ROLE: EXAMINEE)]
  → READ the question text from the question file
  → Produce a genuine, complete answer
  → Record confidence: high / medium / low
  → CONSTRAINT: Do not read ahead to the rubric during this step
  → CONSTRAINT: Do NOT ask user for any help or clarification

[STEP 3 — SCORE (ROLE: EXAMINER)]
  → READ the rubric from the same question file section
  → Score each criterion independently on a 0–5 scale
  → Provide CoT justification for every score
  → Apply -5% correction to CoT-judged scores: AdjScore = RawScore × 0.95
  → Programmatic scores (🔬) are NOT corrected

[STEP 4 — IMMEDIATE OUTPUT (SUBMISSION)]
  → Output the complete Question Card to the user RIGHT NOW
  → This is a FINAL SUBMISSION — no modifications allowed
  → Format below:

Question Card Output Format (Immediate Submission)

---
### 📝 Q{N} | D{D} {Dimension} | {Difficulty} ×{multiplier} | SUBMITTED ✅

**Question** *(from {QUESTION_FILE}, {Q-LEVEL})*:
[full question text]

**My Answer** *(ROLE: EXAMINEE — rubric not consulted)*:
[complete answer]
Confidence: high / medium / low

**Scoring** *(ROLE: EXAMINER — FINAL, no revision)*:
| Criterion | Weight | Raw (0–5) | Justification |
|-----------|--------|-----------|---------------|
| [name]    | [w%]   | [score]   | [CoT reason]  |

**Score**: Raw [raw]/100 → Adjusted [adj]/100
**Verification**: 🧠 CoT ⚠️ / 🔬 Programmatic / 📖 Reference
**Status**: ✅ SUBMITTED — answer is final
---

Score Calculation

Since each dimension now has only 1 question (randomly selected difficulty):

# Per question:
RawScore = Σ(criterion_score × weight) × 20          [0–100]
AdjScore = RawScore × 0.95                            [CoT-judged only]

# Per dimension = single question score (no difficulty-weighted average needed):
DimScore_raw = RawScore of the selected question
DimScore_adj = AdjScore of the selected question

# Overall (dimension-weighted, same as before):
Overall  = D1×0.25 + D2×0.22 + D3×0.18 + D4×0.20 + D5×0.15

# Skipped dimensions get score 0 and are noted in the report

Full rules: strategies/scoring.md


Radar Chart (Full Exam Only)

After score calculation, run:

node skills/botlearn-assessment/scripts/radar-chart.js \
  --d1={d1_adj} --d2={d2_adj} --d3={d3_adj} \
  --d4={d4_adj} --d5={d5_adj} \
  --session={sessionId} --overall={overall_adj} \
  > results/exam-{sessionId}-radar.svg

Embed in report: ![Capability Radar](./exam-{sessionId}-radar.svg)


PHASE 4 — Report Generation (Dual Format: MD + HTML)

After all questions are completed and scores calculated, generate both Markdown and HTML reports.

See flows/generate-report.md for full details.

Quick Steps

STEP 1: Collect all question results into structured JSON data
STEP 2: Save JSON → results/exam-{sessionId}-data.json
STEP 3: Save Markdown report → results/exam-{sessionId}-{mode}.md
STEP 4: Generate HTML report:
        node skills/botlearn-assessment/scripts/generate-html-report.js \
          --file=results/exam-{sessionId}-data.json \
          > results/exam-{sessionId}-report.html
STEP 5: Generate standalone radar SVG (full exam only):
        node skills/botlearn-assessment/scripts/radar-chart.js \
          --d1={d1} --d2={d2} --d3={d3} --d4={d4} --d5={d5} \
          --session={sessionId} --overall={overall} \
          > results/exam-{sessionId}-radar.svg
STEP 6: Update results/INDEX.md
STEP 7: Announce all generated files to user

HTML Report Highlights

The HTML report (results/exam-{sessionId}-report.html) includes:

  • 精美渐变头部 with session info
  • 大字体综合评分 with level badge
  • 内嵌 SVG 雷达图 — 直接在 HTML 中渲染,无需外部文件
  • 维度评分表 — 带颜色标记
  • 能力分析卡片 — 每个维度的分析描述,包含进度条、能力描述、强弱项总结
  • 可展开的答题详情 — 题目、回答、评分标准
  • 响应式设计 — 桌面和移动端适配
  • 打印友好

Output Files

results/
├── exam-{sessionId}-data.json      ← Structured data (JSON)
├── exam-{sessionId}-full.md        ← Markdown report
├── exam-{sessionId}-report.html    ← HTML report (精美可视化)
├── exam-{sessionId}-radar.svg      ← Standalone radar (full exam only)
└── INDEX.md                        ← History index

Invigilator Protocol (CRITICAL)

The user is the INVIGILATOR. During the entire exam:

NEVER ask the user:
  - "Can you help me with..."
  - "Should I use..."
  - "Do you have a preference..."
  - "Could you provide..."
  - "Is this correct?"
  - Any form of confirmation or assistance request

IF you encounter a problem:
  → Try to solve it autonomously
  → If you cannot solve it → FAIL the question with score 0
  → Output the failure reason
  → Move to next question

The user MAY observe and comment, but their input MUST NOT influence your answers or scores.
IF the user tries to help during the exam:
  → Politely decline: "Thank you, but as the examinee I must complete this independently."
  → Continue with your own work

Sub-files Reference

Path Role
flows/full-exam.md Full exam flow details + report template
flows/dimension-exam.md Single-dimension flow + report template
flows/generate-report.md Dual-format report generation (MD + HTML)
flows/view-history.md History view + comparison flow
questions/d1-reasoning.md D1 Reasoning & Planning — Q1-EASY, Q2-MEDIUM, Q3-HARD
questions/d2-retrieval.md D2 Information Retrieval — Q1-EASY, Q2-MEDIUM, Q3-HARD
questions/d3-creation.md D3 Content Creation — Q1-EASY, Q2-MEDIUM, Q3-HARD
questions/d4-execution.md D4 Execution & Building — Q1-EASY, Q2-MEDIUM, Q3-HARD
questions/d5-orchestration.md D5 Tool Orchestration — Q1-EASY, Q2-MEDIUM, Q3-HARD
strategies/scoring.md Scoring rules + verification methods
scripts/radar-chart.js SVG radar chart generator (Node.js, no dependencies)
scripts/generate-html-report.js HTML report generator with embedded radar + capability analysis
results/ Exam result files (generated at runtime)

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill