Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

auto-skill-forge自动技能锻造

Agent Skill

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

总安装

3,312

周安装

134

GitHub Stars

公开资料未说明

下载量

1,040
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install auto-skill-forge

简介

auto-skill-forge 自动生成测试任务集或走完「生成→评估→改进」全链路。

  • 适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。
  • 可读取 SKILL.md 中的 frontmatter 和示例来生成完整技能文档。
  • 安装命令:openclaw skills install auto-skill-forge;需确认权限范围和维护状态。
  • 注意是否会触发联网、命令执行或文件读写操作,建议结合原始 README 核验具体用法。

SKILL.md

name
skill-forge
category
tool
description
>
license
MIT
triggers

Skill Forge

Generate Skills from requirements AND generate task_suite.yaml for evaluation.

The primary value of this skill is task_suite generation -- turning a SKILL.md into a structured test harness that improvement-evaluator can run. Secondary value is generating SKILL.md from a structured skill_spec.yaml.

Key differentiator: Skill Forge does not merely scaffold a skeleton; it performs static analysis of the SKILL.md to extract testable claims (from five distinct sources) and assigns the appropriate judge type per task, producing a suite that is immediately runnable by improvement-evaluator.

When to Use

  1. Add tests to an existing Skill -- You have a SKILL.md but no task_suite.yaml.

Run --from-skill to analyze the SKILL.md and generate a test suite automatically. The generator extracts scenarios from five sections of the document and assigns the right judge per task.

  1. Create a new Skill from scratch -- You have a skill_spec.yaml describing

what the skill should do. Run --from-spec to generate both a complete SKILL.md (with frontmatter, sections, examples) and a matching task_suite.yaml.

  1. Full lifecycle -- Generate a skill, test it with --evaluate, and optionally

improve it with --auto-improve in one pass. Combines skill-forge, improvement-evaluator, and improvement-orchestrator into a single command.

  1. Validate coverage of an existing suite -- Compare the generated task_suite

against a hand-written one to find untested scenarios.

When NOT to Use

  • You just want to evaluate an existing skill with an existing task_suite.yaml

→ use improvement-evaluator

  • You just want to improve a skill that already has tests

→ use improvement-orchestrator

  • You want to manually write a SKILL.md with templates

→ use skill-creator

  • You want to score improvement candidates (not generate tests)

→ use improvement-discriminator

  • You want to merge overlapping skills into one consolidated skill

→ use skill-distill

Modes

Mode A: --from-skill (Generate task suite for existing SKILL.md)

# Generate test suite for an existing skill
python3 scripts/forge.py --from-skill /path/to/skill-dir --output /path/to/output

# Generate and immediately evaluate
python3 scripts/forge.py --from-skill /path/to/skill-dir --output /path/to/output --evaluate

Reads the SKILL.md, extracts scenarios from five sources in priority order:

  1. Frontmatter (description, triggers) → 1 core-capability test
  2. "When to Use" bullets → up to 3 positive use-case tests
  3. <example> tags → up to 2 keyword-match tests (uses ContainsJudge)
  4. <anti-example> tags → up to 2 negative tests (should avoid bad patterns)
  5. Output format/CLI sections → 1 format compliance test

Produces task_suite.yaml in the output directory. Example generated output:

skill_id: release-notes-generator
version: "1.0"
generated_by: skill-forge
tasks:
  - id: release-notes-generator-core-capability
    description: "Test core capability described in skill description"
    prompt: "You are an AI assistant with this skill loaded..."
    judge:
      type: llm-rubric
      rubric: "The output should demonstrate the capability..."
      pass_threshold: 0.7
    timeout_seconds: 120
    source: frontmatter.description
  - id: release-notes-generator-use-case-01
    description: "Use case: Generate notes from git log between tags"
    prompt: "Scenario: Generate notes from git log..."
    judge:
      type: llm-rubric
      rubric: "The output should address this use case..."
      pass_threshold: 0.6
    timeout_seconds: 120
    source: when_to_use

Mode B: --from-spec (Generate skill + task suite from spec)

# Generate complete skill from a spec file
python3 scripts/forge.py --from-spec spec.yaml --output /path/to/output

# Generate, evaluate, and auto-improve if below SOLID grade
python3 scripts/forge.py --from-spec spec.yaml --output /path/to/output --auto-improve

Reads a skill_spec.yaml (see references/spec-format.md) and generates:

  1. A complete SKILL.md with frontmatter, When to Use / When NOT to Use, examples, output format
  2. A task_suite.yaml derived from the generated SKILL.md (same five-source extraction)

The spec format requires only name and purpose; optional fields (inputs, outputs, quality_criteria, domain_knowledge, reference_skills) enrich the generated SKILL.md. Example minimal spec:

name: release-notes-generator
purpose: Generate structured release notes from git commit history

inputs:
  - name: commits
    type: git-log
    description: "Git commit log between two tags"

outputs:
  - name: release-notes
    format: markdown
    description: "Structured release notes with sections"

quality_criteria:
  - name: completeness
    description: "All commits accounted for in the notes"
    weight: 0.3

Common Flags

FlagEffect
--mockUse mock LLM (for testing without API calls)
--evaluateRun improvement-evaluator after generation (requires it installed)
--auto-improveRun improvement-orchestrator if score below SOLID (requires it installed)

Output Artifacts

RequestDeliverableLocation
--from-skilltask_suite.yaml with 5-10 test tasks<output>/task_suite.yaml
--from-specSKILL.md + task_suite.yaml<output>/<name>/SKILL.md, <output>/<name>/task_suite.yaml
--evaluateEvaluation report (pass/fail per task, aggregate pass rate)stdout + <output>/evaluation_report.json
--auto-improveImproved SKILL.md (if score was below SOLID)in-place update of SKILL.md

All generated YAML files use allow_unicode: True and default_flow_style: False for human readability. Files are written atomically (write-then-rename) to prevent corruption on crash.

Task Generation Strategy

The generator extracts test scenarios from 5 sources in the SKILL.md:

  1. Frontmatter description → 1 core-capability test
  2. "When to Use" section → up to 3 positive use-case tests
  3. <example> tags → up to 2 keyword-match tests
  4. <anti-example> tags → up to 2 anti-pattern avoidance tests
  5. Output format section → 1 format compliance test

Tasks are deduplicated and capped at 10 per suite.

Judge Selection

  • Scenario with specific keywords/outputs → ContainsJudge
  • Scenario requiring quality/style assessment → LLMRubricJudge
  • Scenario with structured output → PytestJudge (if test script can be generated)

Harness Pattern Tasks (for scripted skills)

When the target skill has a scripts/ directory, forge auto-generates additional test tasks checking execution-harness pattern adoption:

  • Timeout handling: Does the skill handle subprocess.TimeoutExpired?
  • Atomic writes: Does it use write_json/write_text from lib/common (atomic write-then-rename)?
  • Backup/rollback: Does it create backups before file modifications?
  • Error escalation: Does it have graduated error handling (not just crash-on-first-failure)?
  • State persistence: Does it write recoverable state for crash recovery?

These tasks use ContainsJudge to grep the skill's Python source code. They only apply to orchestration/tool-type skills — pure-text knowledge skills skip this category.

Why Null-Skill Calibration

A generated task suite is only useful if it measures the _skill's_ contribution, not the base LLM's general ability. Without calibration, a naive suite can report 80%+ pass rates even when the SKILL.md adds zero value -- because the LLM already knows how to answer those questions.

Null-skill calibration addresses this by running every candidate task against a "null skill" (empty context, no SKILL.md loaded). Any task the null skill passes trivially is filtered out before the final suite is emitted. This ensures that every surviving task genuinely requires the knowledge or structure encoded in the SKILL.md.

Tradeoff: Null-skill calibration adds one extra LLM call per candidate task (or a heuristic keyword check in --mock mode). For a typical 10-task candidate set, this means ~10 additional calls during suite generation. The cost is justified because an uncalibrated suite gives false confidence: a skill that scores 9/10 on easy tasks looks "SOLID" but may add no value over a bare model. Calibrated suites reliably distinguish genuine skill contributions from baseline LLM capability.

When --mock is used, calibration falls back to a heuristic: tasks whose prompt contains only generic verbs ("explain", "describe", "list") without skill-specific terminology are filtered. This is less precise than LLM-based calibration but costs zero API calls.

The calibration step runs after deduplication and before the final cap of 10 tasks per suite.

Related Skills

SkillRelationshipWhen to prefer over skill-forge
improvement-evaluatorDownstream consumer: runs the generated task_suite.yaml and reports pass/fail per taskYou already have both SKILL.md and task_suite.yaml, just need to run them
improvement-orchestratorDrives the full generate-evaluate-improve loop; skill-forge is one step in this loopYou want automatic multi-round improvement, not just test generation
improvement-generatorGenerates improvement candidates (patches) for a SKILL.mdYou want to improve an existing skill's prose/structure, not generate tests
improvement-discriminatorScores improvement candidates via multi-reviewer blind panelYou need to judge which candidate patch is best
skill-creatorManual SKILL.md authoring guide with templatesYou prefer hand-writing the SKILL.md rather than generating it
skill-distillMerges multiple overlapping skills into one distilled skillYou have redundant skills to consolidate, not a new skill to create

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

81.78%
按下载量换算851

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install auto-skill-forge 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills