Token导航 LogoToken导航

Agent Skill · 研究检索

massgen(massgen 搜索)

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

massgen 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 34,665。

总安装 2,187周安装 93GitHub Stars 5下载 766核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:massgen(massgen 搜索)
来源仓库:https://github.com/massgen/skills
仓库路径:skills/massgen
安装命令:
npx skills add https://github.com/massgen/skills --skill massgen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/massgen/skills --skill massgen

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

massgen 用于查找、检索和筛选相关信息,适合在多种宿主环境中快速定位候选结果。适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索需求。通过关键词输入和来源仓库配置实现信息定位与筛选功能。安装前需确认权限范围和维护状态,注意可能触发联网或文件读写操作。

建议结合原始 README 核验具体用法,确保符合实际使用边界。

来源仓库内路径:skills/massgen

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/massgen/skills --skill massgen;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

massgen 怎么安装?

在终端执行 npx skills add https://github.com/massgen/skills --skill massgen。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

massgen 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

massgen 需要什么权限?

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

massgen 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

massgen 用的人多吗?

公开数据是累计安装 2,187 次,近一周安装 93 次,下载 766 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

massgen 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
massgen

massgen 搜索 · 本页

2,1875操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

MassGen Skill

Delegate tasks to your MassGen team.

Before You Launch

Check that a config exists:

ls .massgen/config.yaml 2>/dev/null || ls ~/.config/massgen/config.yaml 2>/dev/null

If no config exists, set one up:

  • Default (browser): run uv run massgen --web-quickstart — user picks models and keys in the browser
  • Headless: read references/config_setup.md — you discover available backends via --list-backends, check the user's API keys, discuss preferences, and generate config with --quickstart --headless

If config exists — launch immediately. No need to ask questions first.

Important: Only Add What's Asked

Do NOT add extra flags unless the user explicitly requests them:

  • No --personas unless the user asks for diverse approaches
  • No --plan-depth deep unless the user wants detailed decomposition
  • No --quick unless the user wants speed over quality

The defaults are good. Let MassGen handle the rest.

Quick Dispatch

1. Detect Mode

User IntentCLI Flags
General task (write, build, research, design)*(default)*
Review/critique existing work--checklist-criteria-preset evaluation
Plan a feature or project--plan
Plan and auto-execute--plan-and-execute
Write requirements/spec--spec
Execute an existing plan--execute-plan <path_or_latest>
Execute against an existing spec--execute-spec <path_or_latest>

2. Write Criteria

Always write opinionated evaluation criteria tailored to the task. Criteria shape what agents produce, not just how they're scored. Save to a temp file and pass via --eval-criteria. Aim for 4-7 criteria.

Required JSON format — each criterion needs text, category, and anti_patterns:

{
  "aspiration": "A site a designer would screenshot for their portfolio",
  "criteria": [
    {
      "text": "Design coherence: Does it feel authored or assembled? ...",
      "category": "primary",
      "anti_patterns": ["unmodified library defaults", "AI-generic aesthetics"]
    },
    {
      "text": "Content depth: Every section teaches something specific ...",
      "category": "standard",
      "anti_patterns": ["Wikipedia-summary prose", "filler sections"]
    }
  ]
}

Categories: primary (ONE — where the model needs most push), standard (must-pass), stretch (nice-to-have). See references/criteria_guide.md for full guidance on writing effective opinionated criteria.

For evaluate/plan/spec modes, you can use --checklist-criteria-preset instead of writing custom criteria (presets: evaluation, planning, spec, persona, decomposition, prompt, analysis).

3. Build Prompt

General: User's task with relevant context.

Evaluate: What to evaluate. Auto-gather git diff, changed files, test output. Keep it factual — what was built, not your quality opinion. Let agents discover issues independently.

Plan: Goal + constraints.

Spec: Problem statement + user needs + constraints.

4. Choose CWD Context

Default to rw when the task produces files. If the deliverable is a file (code, docs, config, README, website, etc.), agents need write access. Use ro only when agents need to *read* the codebase for context but their output is pure text (an answer, review, or analysis) — not files.

ScenarioFlag
Task produces/modifies files in the project (code, docs, configs, etc.)--cwd-context rw
Task needs codebase context but output is text only (review, analysis, Q&A)--cwd-context ro
Isolated task, no codebase needed (default)*(omit flag)*

Rule of thumb: if the user says "write", "create", "build", "rewrite", "update", or "edit" something in the project → rw.

5. Run

Always use the wrapper script:

# Isolated task (default, no cwd-context needed)
bash "$SKILL_DIR/scripts/massgen_run.sh" \
  --mode general \
  --criteria /tmp/massgen_criteria.json \
  "Create an SVG of a butterfly mixed with a panda"

# Task that writes to the project → rw
bash "$SKILL_DIR/scripts/massgen_run.sh" \
  --mode general --cwd-context rw \
  --criteria /tmp/massgen_criteria.json \
  "Rewrite the README with better examples and structure"

The wrapper includes --web --no-browser by default. The run starts immediately — the user can open http://localhost:8000/ anytime to monitor progress. Tell the user about this URL.

Run in the background. MassGen prints these for tracking:

  • LOG_DIR: <path> — full run data
  • STATUS: <path>/status.json — live status
  • ANSWER: <path> — winning agent's answer.txt

Expect 15-45 minutes for multi-round runs.

5b. Review Notification (when --cwd-context rw)

When agents have write access (--cwd-context rw), automatically add --web-review so the user can review git diffs before changes are applied. Review requires --web (the wrapper's default).

Headless (--no-web): If the user explicitly requests headless mode with --cwd-context rw, skip --web-review — changes are applied directly without a review gate. Warn the user that there will be no diff review.

After launching the MassGen run, also launch the review watcher in the background. Parse LOG_DIR from the MassGen output first:

# Launch the watcher (reads LOG_DIR from the MassGen run output)
bash "$SKILL_DIR/scripts/review_watcher.sh" "$LOG_DIR"

The watcher polls status.json and prints structured markers when review is ready:

__REVIEW_PENDING__
REVIEW_URL: http://localhost:8000/?v=2
REVIEW_API: http://localhost:8000/api/sessions/{id}/review-response
FILES_CHANGED: src/foo.py (M), src/bar.py (A)
__END_REVIEW_INFO__

When you see __REVIEW_PENDING__, tell the user:

"MassGen has changes ready for review. You can open the WebUI to review diffs visually, or tell me which files to approve/reject."

Two resolution paths:

  1. Browser: User opens the REVIEW_URL and approves/rejects in the UI.
  2. Agent (text-based): Fetch diffs via GET /api/sessions/{id}/review, show the user a summary, then submit their decision: # Approve all curl -X POST "$REVIEW_API" -H "Content-Type: application/json" \ -d '{"approved": true, "action": "approve"}' # Approve specific files curl -X POST "$REVIEW_API" -H "Content-Type: application/json" \ -d '{"approved": true, "approved_files": ["src/foo.py"]}' # Reject all curl -X POST "$REVIEW_API" -H "Content-Type: application/json" \ -d '{"approved": false, "action": "reject"}'

Either path resolves the review — the other side auto-closes. After resolution, __REVIEW_COMPLETE__ APPROVED=true|false is printed.

6. Read Results

Read the ANSWER: path from the output. The winning agent's workspace is always in the workspace/ directory next to answer.txt.

Workspace paths in answer.txt are best-effort normalized to reference the adjacent workspace/ directory. However, always navigate to the workspace/ next to answer.txt as the ground truth — not paths mentioned in the text.

For plan mode, project_plan.json is in the workspace. For spec mode, project_spec.json is in the workspace.

Optional Flags (only when requested)

FlagPurpose
--quickOne-shot, no voting/refinement
--plan-depth <level>Decomposition depth: dynamic (default), shallow, medium, deep
--plan-thoroughness thoroughDeeper strategic reasoning (default: standard)
--personas <style>Agent diversity: perspective, implementation, methodology, or off
--cwd-context roGive agents read access to codebase
--cwd-context rwGive agents write access to codebase
--web --no-browserEnable WebUI for watching progress (on by default in wrapper)

Config

MassGen auto-discovers config from .massgen/config.yaml or ~/.config/massgen/config.yaml. See setup instructions above.

References

Only consult when the quick dispatch isn't enough:

FileWhen
references/criteria_guide.mdCriteria format, tiers, examples
references/config_setup.mdHeadless config creation
references/advanced_workflows.mdCheckpoint loops, living documents, structured eval, plan-evaluate integration

平台分布

Codex

37%
按下载量换算283

Claude

28.4%
按下载量换算218

Cursor

17.65%
按下载量换算135

Gemini CLI

9.97%
按下载量换算76

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills