Skills Plugins MCP Prompt Model 博客 我的中心

codex-autoresearch

Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding, open-ended work without a mechanical metric, or non-Git directories.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=leo-lilinxiao-codex-autoresearch-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name codex-autoresearch description Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding, open-ended work without a mechanical metric, or non-Git directories. metadata {"short-description":"Run measurable autonomous experiments"} Codex Autoresearch Turn a repo-level goal into a controlled loop: inspect -> change one thing -> verify -> keep or revert -> repeat Codex supplies the engineering judgment. The bundled control script supplies strict Git boundaries, measurement, rollback, state, and logs. Load Read references/workflow.md for every invocation, including status, history, report, stop, and resume. Read references/experiment.md before starting or continuing an active run. Read references/background.md only for a background run. Resolve commands from this skill's own directory as <skill-root>/scripts/autoresearch.py . Never assume the target repository contains the script. Before Starting Require one Git repository root. If the task spans repositories, ask the user to choose one run per repository. Check for autoresearch-results/run.json with: python3 <skill-root>/scripts/autoresearch.py status --repo <repo> not_initialized is fresh. Any other status or schema error must be surfaced; do not infer state from other files. For a fresh run, inspect the repo and propose: one plain-language goal, repository-relative file or directory scopes (no globs), one numeric metric and whether lower or higher is better, a command whose final non-empty stdout line is that number, or a JSON object plus one explicit key, a numeric target, an optional baseline-passing guard command, foreground or background, an optional iteration limit. Run candidate measurement commands read-only if needed, then show one concise confirmation. Include the baseline, target, scope, commands, mode, and the fact that each trial is committed and failed trials are reverted. Do not write project files, initialize artifacts, create a Goal, or launch a controller before clear user approval such as go . Start After approval, use the exact confirmed values. Foreground Initialize once: python3 <skill-root>/scripts/autoresearch.py init \ --repo <repo> --goal <goal> --scope <path> \ --metric-name <name> --direction <lower|higher> \ --verify < command > [--metric-key <key>] --target <number> \ [--guard < command >] [--max-iterations <n>] Then call get_goal . Reuse a matching unfinished Goal, otherwise call create_goal . The Goal objective must identify this as codex-autoresearch, include the returned run id, metric and target, and say to continue the validated experiment loop until terminal status. If a different unfinished Goal exists, stop and explain the conflict. Official Codex Goal continuation owns foreground persistence; this skill does not install hooks or modify Codex configuration. If Goal tools are unavailable, do not claim the foreground run can continue autonomously across turns. Explain that the installed Codex does not expose the required Goal capability. Background Launch once with the same configuration: python3 <skill-root>/scripts/autoresearch.py launch \ --repo <repo> --goal <goal> --scope <path> \ --metric-name <name> --direction <lower|higher> \ --verify < command > [--metric-key <key>] --target <number> \ [--guard < command >] [--max-iterations <n>] \ --execution-policy <danger-full-access|workspace-write> Background defaults to danger-full-access ; show this in the confirmation. Use workspace-write only when the user explicitly prefers the sandbox and accepts that Git operations may be restricted. Do not create a Codex Goal for background runs. After a successful launch, report the run id, baseline, controller PID, results path, and status command. Do not poll unless asked. Experiment Loop For each foreground iteration: Read validated status and recent events. Inspect evidence and choose one focused hypothesis that differs from discarded attempts. Modify only confirmed scopes. Do not manually commit, revert, or edit autoresearch-results/ . Finalize exactly once: python3 <skill-root>/scripts/autoresearch.py finish \ --repo <repo> --description <short-description> finish checks scope and Git provenance, creates the trial commit, runs the metric and guard, keeps an improvement, reverts a failed trial, appends the audit event, and marks the run complete when the target is reached. Continue immediately while status is active . On complete , verify status, call update_goal(status="complete") , and summarize the baseline, final metric, iterations, and retained commits. Use block only when progress truly requires external input or an environment change, and only after the same blocker has prevented progress on three consecutive Goal turns: python3 <skill-root>/scripts/autoresearch.py block --repo <repo> --reason <reason> Then call update_goal(status="blocked") . A failed hypothesis, difficult bug, or lack of immediate improvement is not a blocker. Existing Runs History request: run history --repo <repo> ; use --format tsv only for tabular export. HTML report request: run report --repo <repo> and return its generated path. Both views validate the complete event history; neither is runtime state. Same foreground goal: validate status , resume the matching official Goal, and continue. Background status , stop , or resume : use the corresponding script command. Resume requires a user note or new direction. Different goal: show the current run. Stop a live background run first; for an active foreground run, ask the user to clear its official Goal with /goal clear . Then ask before archive and initialize the fresh run. complete : never resume it. Archive before a new goal. Invalid JSON, unknown schema, event gap, Git mismatch, stale controller, out-of-scope change, or malformed metric output: stop and report the exact error and log path. Never reconstruct, guess, or silently repair state. A failed initialization may leave init-error.json and command logs but no run.json . Report the diagnostic and use explicit archive before retrying; do not treat it as a fresh run. Invariants Ask before the first write or launch. Require a clean named Git branch at initialization. Keep one authoritative configuration in run.json and one append-only state history in events.jsonl . Use one numeric metric and one target. A guard is pass/fail and must pass at baseline. One focused experiment per finish ; one repository per run. Never stage autoresearch artifacts or touch paths outside confirmed scope. Verification commands must exit zero, emit UTF-8, and use an explicit scalar or JSON-key parser. Parsing or command errors stop the run. Never hide failures with fallback parsing, old-layout recovery, or synthetic success. Never ask "should I continue?" after launch. Continue until target, user stop, iteration limit, or a verified external blocker. Preserve command output and controller events under autoresearch-results/ for diagnosis.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。