Token导航 LogoToken导航

Agent Skill · 研究检索

auto-e2e(汽车电子到电子)

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

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

总安装 216周安装 9GitHub Stars 1下载 72核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/foyagent/ai --skill auto-e2e

这个 Skill 是做什么的

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

auto-e2e 提供端到端测试录制与回放能力,支持会话级 workflow 管理与输出物标准化。适合在 GUI 应用或 Web 界面测试中捕获用户操作流,复现问题并验证修复效果。通过 record 模式生成 session 录像、screenshot 与 summary.json,便于后续分析。

回放模式需依赖先前录制的数据,确保环境一致性以避免漂移导致的误判。输出文件按日期与别名组织,建议使用 references/recording-rules.md 规范命名规则。

来源仓库内路径:skills/auto-e2e

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

auto-e2e 怎么安装?

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

auto-e2e 支持哪些 AI 工具?

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

auto-e2e 需要什么权限?

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

auto-e2e 是免费的吗?

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

auto-e2e 用的人多吗?

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

auto-e2e 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 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调用外部服务未明确有提醒
auto-e2e

汽车电子到电子 · 本页

2161操作浏览器未明确有提醒

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

SKILL.md 原文

Auto E2E

Version

Current skill version: 1.1.0.

For every future edit to this skill, bump the semantic version and update both:

  • VERSION
  • CHANGELOG.md

Use this bump policy:

  • patch: wording fixes, clarification, non-behavioral instruction tweaks
  • minor: backward-compatible new capabilities, flags, or output files
  • major: breaking changes to trigger shape, generated script contract, save paths, or runtime expectations

Read these references when needed:

Session workflow

  1. Start recording when the user says /auto-e2e <url> or /aee <url> or otherwise clearly asks to begin an auto-e2e recording for a specific page.
  2. Detect optional flags from the same start message.

- If the user includes record, enable record mode for this session. - Examples that should enable record mode: - /auto-e2e https://example.com record - /auto-e2e record https://example.com - /aee https://example.com record

  1. Also recognize replay mode when the user says /auto-e2e replay <query> or /aee replay <query>.

- In replay mode, search auto-e2e/records/ for the best matching prior record based on the natural-language query. - If one record is a clear best match, load it, open its targetUrl, and tell the user which record is being replayed. - If there is significant ambiguity between multiple strong matches, show the top few likely records and ask the user to choose before proceeding.

  1. Maintain session state in memory for the current conversation:

- mode as record or replay - targetUrl - stepQueue[] in order - variables[] with name, description, sampleValue, and optional defaultValue only when the user explicitly asks for one - returnSpec if the user asks to return JSON data at the end - recordConversation boolean - conversationLog[] when record mode is enabled - scriptBasename to be decided only when recording ends - matchedRecord when replay mode is enabled - replayCursor for the current expected step index when replaying against a prior record

  1. If record mode is enabled, append every recording-session user message and every agent reply to conversationLog[] using the raw original text. Do not summarize or normalize the message text in the saved record.
  2. Interpret each later user message as one step unless the message is clearly a control message such as undo, cancel the last step, finish, abort, or replay confirmation.
  3. Execute the step in the open browser first, then record the canonical script version of the step into stepQueue.
  4. If the user asks to undo or cancel the last step, remove only the last recorded item from stepQueue. Do not change the browser. The user is responsible for restoring the page state manually.
  5. In replay mode, after each executed step, compare the current outcome against the most relevant expected assistant reply from the matched record.

- If the current outcome is semantically consistent with the prior expected result, continue and advance replayCursor. - If the current outcome is inconsistent with the prior expected result, pause immediately and ask the user whether to continue, adjust the step, or stop.

  1. When the user ends recording or replay re-recording, generate the final files inside the agent workspace auto-e2e/ directory:
  • auto-e2e/package.json
  • auto-e2e/<content-summary-name>.mjs
  • auto-e2e/records/<content-summary-name>.json only when recordConversation is true
  1. After saving, return a concise summary including the skill version, mode, output path, chosen script filename, whether a record JSON was written, required variables, and how to run it.

Recording rules

  • Treat the user's message as a browser action only when it clearly describes an intended action on the current page.
  • Supported first-version actions: click, hover, fill or clear inputs, select options, check or uncheck controls, keyboard actions including Enter, explicit waits for visible or hidden elements, and final data extraction for JSON output.
  • Prefer resilient locators in this order: getByRole, getByLabel, getByPlaceholder, getByText, then locator(...) only as a fallback.
  • Keep both a human-readable description and the exact generated Playwright code for each queued step, but the user does not need to see the code unless helpful.
  • After each mutating step, insert the default settle behavior:

1. wait until there are no network requests if possible; 2. then wait one additional second.

  • Implement settle behavior in generated code with a helper that gracefully falls back if networkidle never arrives.
  • Do not record pure conversation, clarifications, or status acknowledgements as browser steps.
  • In record mode, still save those non-step user and agent messages into conversationLog[]; only exclude browser-internal state dumps or tool traces.
  • In replay mode, use the matched record only as guidance and a verification baseline. The newly generated script must reflect what happened in the current run, not blindly copy the old steps if the user intentionally changed them.

Variable handling

Only create variables when the user explicitly marks content as variable or clearly says it should become an argument. Examples:

  • “这个邮箱是变量,变量名 email,当前值是 demo@example.com”
  • “把收货人当成变量 recipientName,录制时先填 张三”
  • “这一步里的搜索词后续会变,作为参数 searchKeyword,目前用 手机”

When the user explicitly marks something as variable:

  1. Require or infer a stable variable name in english lower camel case. If the user gives a Chinese name, translate it to a short english identifier.
  2. Record the sample value because recording still needs a concrete value to drive the browser now.
  3. Generate code that reads the runtime value from the single params object, for example params.email.
  4. Never write the recorded sample value into the script as a default value unless the user explicitly says it should be used when the param is missing.
  5. Add a runtime guard near the top of the script for every required variable that has no explicit default.
  6. Keep all variables under one function parameter object. Never generate multiple positional arguments.

If the user explicitly asks to use the recorded value as a fallback, treat that variable as optional at runtime and emit the default in code. Otherwise treat the sample value as recording-only data that must not appear in the generated script beyond comments or metadata.

If the user does not clearly say something is a variable, keep it as a literal value in the script.

Final script and record contract

Generate one single-file Playwright ESM script with these properties:

  • Filename: summarize the recorded workflow in english using lowercase words joined with hyphens. Make it specific but short, for example login-search-order.mjs or open-dashboard-export-report.mjs.
  • Location: auto-e2e/<filename>.mjs under the agent workspace.
  • Include a node shebang.
  • Default export exactly one async function receiving one object argument:
export default async function run(params = {}) {
  • Ensure auto-e2e/package.json exists and is compatible with the generated script. Use the bundled template in assets/package.json unless an equivalent file already exists.
  • The script must import Playwright from playwright, launch a browser, create a page, run all recorded steps, return the requested JSON object when the user asked for one, and always close the browser in finally.
  • If the user did not request data extraction, return a small JSON object describing success.
  • CLI mode must accept only one optional command-line argument: a JSON string representing the same params object.
  • In CLI mode, call the default-exported function and print the return value to stdout. If the return value is an object or array, print valid JSON.

If record mode is enabled, also write a JSON file to auto-e2e/records/<script-basename>.json with this shape:

{
  "skillVersion": "1.1.0",
  "targetUrl": "https://example.com",
  "scriptFile": "auto-e2e/login-search-order.mjs",
  "recordFile": "auto-e2e/records/login-search-order.json",
  "messages": [
    { "index": 1, "role": "user", "content": "/auto-e2e https://example.com record" },
    { "index": 2, "role": "assistant", "content": "已打开页面,等待下一步。" }
  ]
}

Rules for the record JSON:

  • Use the same basename as the generated script.
  • Preserve user original wording and agent reply text as-is.
  • Save only the recording-session conversation, from the start command through the final save confirmation for that session.
  • Store valid JSON only.

Replay contract

When the user starts replay mode with /auto-e2e replay <query> or /aee replay <query>:

  1. Search auto-e2e/records/ for likely matches using:

- the natural-language replay query; - record basename; - target URL and hostname; - notable user and assistant text from saved messages.

  1. Load the matched record and use it to reconstruct the expected flow.
  2. Re-record the flow in the live browser based on the current user instructions.
  3. After each step, use the matched record's prior assistant reply as the main expectation for whether the behavior still looks correct.
  4. Compare semantic outcomes, not exact wording. Prefer observed browser state over text similarity.
  5. If the current result contradicts the prior expected result, stop and confirm with the user before continuing.
  6. If the replay completes without unresolved mismatches, tell the user the verification re-recording is complete and then save the new script.

Output checklist

Before finishing, verify that the generated script:

  • uses only one params object for all variables;
  • includes required-variable validation for explicitly declared variables without explicit defaults;
  • does not leak recorded sample values into runtime defaults unless the user explicitly requested that behavior;
  • uses the default settle helper between steps;
  • writes valid ESM code runnable with Node;
  • writes or preserves auto-e2e/package.json;
  • saves the script with a summarized english hyphen-case filename.

Before finishing in record mode, also verify that the generated record file:

  • is saved under auto-e2e/records/;
  • uses the same basename as the script;
  • contains raw user and agent text from this recording session only;
  • includes the current skill version.

Before finishing in replay mode, also verify that:

  • the matched prior record was identified from auto-e2e/records/;
  • any mismatched step paused for user confirmation;
  • the final script reflects the current successful run, not stale prior code;
  • the completion message clearly states whether the replay matched cleanly or required user-confirmed divergence.

平台分布

Codex

36.56%
按下载量换算26

Claude

31.03%
按下载量换算22

Cursor

16.18%
按下载量换算12

Gemini CLI

8.82%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills