Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

brainforge-autoresearchBrainforge 自动研究

Agent Skill

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

总安装

2,887

周安装

124

GitHub Stars

公开资料未说明

下载量

1,012
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install brainforge-autoresearch

简介

优化技能提示词与基准测试自动化研究工具。

  • 支持提示工程迭代与性能对比分析。brainforge-autoresearch 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 适用于 AI 技能提示词调优与效果验证场景。
  • 需定义评估指标与对照组实验设计。
  • 建议结合人工评审避免陷入局部最优解。

SKILL.md

name
brainforge-autoresearch
description
>-
version
0.2.5
metadata
author
zning1994
openclaw
requires
anyEnv
anyBins
primaryEnv
OPENAI_API_KEY
optionalEnv
homepage
https://github.com/zning1994/brainforge-autoresearch
os

brainforge-autoresearch

Previously published as autoresearch / openclaw-autoresearch. Renamed for the brainforge marketplace rollout — functionality unchanged.

Autonomous prompt optimization for AI agent skills. Runs controlled experiments to find better prompt variants using the Karpathy autoresearch pattern: generate hypothesis, mutate prompt, evaluate, repeat.

When to use

  • 用户说"优化一下这个 skill" / User says "optimize this skill's prompt"
  • 用户要对比不同 prompt 版本的效果 / User wants to benchmark prompt variants
  • 用户说"run autoresearch on X" / "eval skill X" / "improve skill X"
  • 用户对 skill 输出质量不满,想系统性改进 / User is unhappy with skill output quality and wants systematic improvement

Do not use:

  • 一次性的小改动(直接改 prompt 即可) / One-off prompt tweaks — just edit the prompt directly
  • 调试某个特定失败 case / Debugging a specific failure — investigate the root cause instead
  • Skill 脚本本身有 bug(代码逻辑问题不是 prompt 问题) / Skill script has a bug — fix the code, not the prompt

Requirements

  • Python 3.10+
  • autoresearch.py script in the skill directory
  • LLM API access (MiniMax, OpenAI, or Anthropic)
  • Target skill must have a prompt file (SKILL.md, SYSTEM.md, or similar)

Procedure

Always follow these steps in order: (1) Create eval.json, (2) Run autoresearch command, (3) Review results and apply best prompt.

Step 1: Gather context

Before running, you need:

ParameterDescriptionExample
--targetPath to the skill directory or prompt file to optimize../workspace/skills/brain-search/SKILL.md
--evalsPath to eval definition JSON fileeval.json
--providerLLM provider for running experimentsminimax (default), openai, anthropic
--runsNumber of runs per experiment (statistical significance)5 (default)
--max-experimentsMaximum experiments before stopping30 (default)
--dashboardOpen live results dashboard in browserflag, no value

Step 2: Create eval.json

Define test inputs and evaluation criteria. Each eval is a binary pass/fail check.

{
  "test_inputs": [
    "search for latest AI agent frameworks",
    "find news about LLM inference optimization",
    "搜一下 transformer 架构的最新进展"
  ],
  "evals": [
    {
      "name": "has_sources",
      "type": "rule",
      "rule": "regex",
      "pattern": "(https?://|Source:|来源:)"
    },
    {
      "name": "no_hallucinated_urls",
      "type": "rule",
      "rule": "banned_phrases",
      "phrases": ["example.com", "placeholder.url"]
    },
    {
      "name": "sufficient_detail",
      "type": "rule",
      "rule": "word_count",
      "min": 50,
      "max": 500
    },
    {
      "name": "contains_summary",
      "type": "rule",
      "rule": "contains",
      "values": ["summary", "key findings", "结论"]
    },
    {
      "name": "no_apology_prefix",
      "type": "rule",
      "rule": "not_contains",
      "values": ["I apologize", "I'm sorry, but"]
    },
    {
      "name": "actionable_output",
      "type": "llm",
      "question": "Does the response provide actionable information the user can immediately use (links, specific facts, concrete next steps)?",
      "pass_description": "The response contains specific actionable items like URLs, concrete facts, or clear next steps",
      "fail_description": "The response is vague, generic, or lacks specific actionable information"
    }
  ]
}

Rule types:

RuleParametersDescription
regexpatternPass if regex matches output
banned_phrasesphrases (list)Pass if NONE of the phrases appear
word_countmin, max (optional)Pass if word count is within range
containsvalues (list), optional match: "any" (default) or "all"Pass if any/all values appear in output (case-insensitive)
not_containsvalues (list)Pass if NONE of the values appear in output (case-insensitive)

LLM eval type:

FieldDescription
typeMust be "llm"
nameUnique name for this eval
questionWhat to ask the judge LLM about the output
pass_descriptionDescription of what a passing output looks like
fail_descriptionDescription of what a failing output looks like

See eval-guide.md for detailed guidance on writing effective evals.

Step 3: Run autoresearch

python autoresearch.py \
  --target ../workspace/skills/brain-search/SKILL.md \
  --evals eval.json \
  --provider minimax \
  --runs 5 \
  --max-experiments 30 \
  --dashboard

Step 4: Review results and apply changes

The script writes results to results.tsv in the working directory. Each row is one experiment:

experiment_id  parent_id  mutation_description  avg_score  pass_rate  evals_detail  prompt_diff

Find the best performing variant:

cat results.tsv | sort -k4 -nr | head -5

Apply the winning prompt to your skill by copying the optimized prompt text to replace the original.

Example: optimizing brain-search

User: brain-search 的搜索结果经常缺少来源链接,帮我优化一下

完整流程:

1. 创建 eval.json:
   {
     "test_inputs": [
       "search for latest news on OpenAI",
       "搜一下最新的 AI 芯片进展",
       "find recent papers on RAG optimization",
       "what happened with Anthropic this week",
       "查查 GPU 价格趋势"
     ],
     "evals": [
       {
         "name": "has_urls",
         "type": "rule",
         "rule": "regex",
         "pattern": "https?://[^\\s]+"
       },
       {
         "name": "min_2_sources",
         "type": "rule",
         "rule": "regex",
         "pattern": "https?://[^\\s]+.*https?://[^\\s]+"
       },
       {
         "name": "structured_output",
         "type": "llm",
         "question": "Is the output well-structured with clear sections?",
         "pass_description": "Output uses clear structure like bullets or headers",
         "fail_description": "Output is a wall of text without clear structure"
       }
     ]
   }

2. 运行命令:
   python autoresearch.py \
     --target ../workspace/skills/brain-search/SKILL.md \
     --evals eval.json \
     --runs 5 \
     --max-experiments 20

3. 查看并应用结果:
   - 检查 results.tsv 找最高分变体
   - 查看 mutation_description 了解关键改动
   - 将最佳 prompt 应用到原始 SKILL.md

Failure handling

IssueAction
LLM API rate limitScript auto-retries with backoff; if persistent, reduce --runs
Target file not foundCheck path, must be readable prompt/skill file
All experiments score 0Evals may be too strict — review eval definitions, loosen criteria
Script crashes mid-runResults already written to results.tsv are preserved; re-run continues

Gotchas

  • 每次实验会调用 LLM 多次(runs x test_inputs x llm_evals),注意 API 用量 / Each experiment makes multiple LLM calls — watch API usage
  • LLM eval 本身有噪声,--runs 设高一点(5+)才有统计意义 / LLM evals are noisy, use 5+ runs for statistical significance
  • Rule evals 比 LLM evals 更稳定、更便宜,优先用 rule / Rule evals are more stable and cheaper — prefer them
  • Baseline 分数太低(< 20%)说明 eval 定义可能有问题,先修 eval / If baseline score is very low, fix evals first
  • 优化 prompt 不能解决架构问题(比如搜索 API 本身返回差结果) / Prompt optimization cannot fix architectural issues

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

97.5%
按下载量换算987

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills