К основному содержанию
скилл CX Codex

research-refine-pipeline — скилл для Claude Code: метод и план

Скилл связывает доработку исследовательской идеи и планирование экспериментов в один проход: от сырого направления до финального предложения и дорожной карты опытов.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill research-refine-pipeline -a claude-code
Открыть на GitHub

Что делает research-refine-pipeline

Скилл прогоняет два этапа подряд. Сначала research-refine доводит метод до устойчивого тезиса: сохраняет привязку к проблеме, выбирает минимальный достаточный механизм, оставляет один главный вклад. Потом experiment-plan строит план проверки, привязанный к заявленным утверждениям статьи. Между этапами стоит гейт: если тезис, главный вклад и отвергнутая сложность не сформулированы чётко, планирование не начинается.

На выходе — шесть файлов в refine-logs/: FINAL_PROPOSAL.md, REVIEW_SUMMARY.md, REFINEMENT_REPORT.md, EXPERIMENT_PLAN.md, EXPERIMENT_TRACKER.md и PIPELINE_SUMMARY.md со сводкой, что запускать первым. Если refine-logs/FINAL_PROPOSAL.md уже есть и совпадает с текущим запросом, скилл переиспользует его и переходит сразу к экспериментам.

Внутри — обращение к ревьюерам через reviewer_route.py и .aris/reviewer.json, с откатом на Codex MCP по умолчанию. Для маршрута backend=codex нужны инструменты mcp__codex__codex и mcp__codex__codex-reply; без них слот ревьюера вернёт REVIEW_UNAVAILABLE. Это повод проверить конфигурацию MCP до запуска, а не посреди пайплайна. Скилл рассчитан на полный проход — если нужен только один этап, берите research-refine или experiment-plan по отдельности.

Какие задачи решает

  • довести сырую исследовательскую идею до финального предложения
  • связать утверждения статьи с планом экспериментов
  • проверить, нужен ли методу современный LLM- или RL-примитив
  • зафиксировать, какую сложность сознательно отбросили
  • получить сводку с первыми запусками и рисками

Примеры запросов агенту

  • /research-refine-pipeline преврати черновик про отбор примеров в финальное предложение и план экспериментов
  • /research-refine-pipeline собери пайплайн end-to-end: метод и roadmap опытов вместе
  • /research-refine-pipeline проверь, нужен ли здесь diffusion-примитив, и обоснуй его необходимость в плане

Как установить research-refine-pipeline

1Через Skills CLI (Vercel)

npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill research-refine-pipeline -a claude-code

2Вручную: положить файлы

~/.claude/skills/research-refine-pipeline/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/research-refine-pipeline/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о research-refine-pipeline

Как установить research-refine-pipeline в Claude?

Через установщик скиллов: npx skills add wanshuiyin/Auto-claude-code-research-in-sleep --skill research-refine-pipeline -a claude-code. После этого файл скилла лежит в ~/.claude/skills/research-refine-pipeline/SKILL.md.

Что делает research-refine-pipeline?

Связывает два этапа: доработку метода до устойчивого тезиса и планирование экспериментов под заявленные утверждения. На выходе — предложение, отчёт о ревью, план опытов, трекер и сводка пайплайна в refine-logs/.

Чем отличается от отдельных скиллов research-refine и experiment-plan?

Те делают по одному этапу. Этот скилл ведёт оба подряд и добавляет гейт между ними: эксперименты не планируются, пока тезис метода не сформулирован чётко.

Исходный текст

SKILL.md · MIT
---
name: research-refine-pipeline
description: 'Run an end-to-end workflow that chains `research-refine` and `experiment-plan`. Use when the user wants a one-shot pipeline from vague research direction to focused final proposal plus detailed experiment roadmap, or asks to "串起来", build a pipeline, do it end-to-end, or generate both the method and experiment plan together.'
allowed-tools: Bash(*), Read, Write, Edit, Grep, Glob, WebSearch, WebFetch, mcp__codex__codex, mcp__codex__codex-reply
---

# Research Refine Pipeline: End-to-End Method and Experiment Planning

> **Before each reviewer slot**, follow [Selectable Reviewers](../shared-references/reviewer-backends.md):
> resolve invocation → `.aris/reviewer.json` → Claude Code default (Codex MCP)
> with `reviewer_route.py` through the canonical helper resolver, preserving this
> slot's tier, fresh contexts, source/image inputs and deterministic gates.
> Codex examples/pins below apply only to `backend=codex`; other routes use their
> own first-call/reply contract. Save the route and actual returned identity;
> unavailable selections are `REVIEW_UNAVAILABLE`. Classify acceptance from actual
> families/completion/scope. Forward invocation reviewer/model/effort overrides
> to reviewer-bearing children. Generation workers are unchanged.


Refine and concretize: **$ARGUMENTS**

## Overview

Use this skill when the user does not want to stop at a refined method. The goal is to produce a coherent package that includes:

- a problem-anchored, elegant final proposal
- the review history explaining why the method is focused
- a detailed experiment roadmap tied to the paper's claims
- a compact pipeline summary that says what to run next

This skill composes two existing workflows:

1. `research-refine` for method refinement
2. `experiment-plan` for claim-driven validation planning

For stage-specific detail, read these sibling skills only when needed:

- `../research-refine/SKILL.md`
- `../experiment-plan/SKILL.md`

## Core Rule

Do not plan a large experiment suite on top of an unstable method. First stabilize the thesis. Then turn the stable thesis into experiments.

## Default Outputs

- `refine-logs/FINAL_PROPOSAL.md`
- `refine-logs/REVIEW_SUMMARY.md`
- `refine-logs/REFINEMENT_REPORT.md`
- `refine-logs/EXPERIMENT_PLAN.md`
- `refine-logs/EXPERIMENT_TRACKER.md`
- `refine-logs/PIPELINE_SUMMARY.md`

## Workflow

### Phase 0: Triage the Starting Point

- Extract the problem, rough approach, constraints, resources, and target venue.
- Check whether `refine-logs/FINAL_PROPOSAL.md` already exists and still matches the current request.
- If the proposal is missing, stale, or materially different from the current request, run the full `research-refine` stage.
- If the proposal is already strong and aligned, reuse it and jump to experiment planning.
- If in doubt, prefer re-running `research-refine` rather than planning experiments for the wrong method.

### Phase 1: Method Refinement Stage

Run the `research-refine` workflow and keep its V3 philosophy intact:

- preserve the Problem Anchor
- prefer the smallest adequate mechanism
- keep one dominant contribution
- modernize only when it improves the paper

Exit this stage only when these are explicit:

- the final method thesis
- the dominant contribution
- the complexity intentionally rejected
- the key claims and must-run ablations
- the remaining risks, if any

If the verdict is still `REVISE`, continue into experiment planning only if the remaining weaknesses are clearly documented.

### Phase 2: Planning Gate

Before the experiment stage, write a short gate check:

- What is the final method thesis?
- What is the dominant contribution?
- What complexity was intentionally rejected?
- Which reviewer concerns still matter for validation?
- Is a frontier primitive central, optional, or absent?

If these answers are not crisp, tighten the final proposal first.

### Phase 3: Experiment Planning Stage

Run the `experiment-plan` workflow grounded in:

- `refine-logs/FINAL_PROPOSAL.md`
- `refine-logs/REVIEW_SUMMARY.md`
- `refine-logs/REFINEMENT_REPORT.md`

Ensure the experiment plan covers:

- the main anchor result
- novelty isolation
- a simplicity or deletion check
- a frontier necessity check if applicable
- run order, budget, and decision gates

### Phase 4: Integration Summary

Write `refine-logs/PIPELINE_SUMMARY.md`:

```markdown
# Pipeline Summary

**Problem**: [problem]
**Final Method Thesis**: [one sentence]
**Final Verdict**: [READY / REVISE / RETHINK]
**Date**: [today]

## Final Deliverables
- Proposal: `refine-logs/FINAL_PROPOSAL.md`
- Review summary: `refine-logs/REVIEW_SUMMARY.md`
- Experiment plan: `refine-logs/EXPERIMENT_PLAN.md`
- Experiment tracker: `refine-logs/EXPERIMENT_TRACKER.md`

## Contribution Snapshot
- Dominant contribution:
- Optional supporting contribution:
- Explicitly rejected complexity:

## Must-Prove Claims
- [Claim 1]
- [Claim 2]

## First Runs to Launch
1. [Run]
2. [Run]
3. [Run]

## Main Risks
- [Risk]:
- [Mitigation]:

## Next Action
- Proceed to `/run-experiment`
```

### Phase 5: Present a Brief Summary to the User

```
Pipeline complete.

Method output:
- refine-logs/FINAL_PROPOSAL.md

Experiment output:
- refine-logs/EXPERIMENT_PLAN.md
- refine-logs/EXPERIMENT_TRACKER.md

Pipeline summary:
- refine-logs/PIPELINE_SUMMARY.md

Best next step:
- /run-experiment
```

## Output Protocols

> Follow these shared protocols for all output files:
> - **[Output Versioning Protocol](../shared-references/output-versioning.md)** — write timestamped file first, then copy to fixed name
> - **[Output Manifest Protocol](../shared-references/output-manifest.md)** — log every output to MANIFEST.md
> - **[Output Language Protocol](../shared-references/output-language.md)** — respect the project's language setting

## Key Rules

- **Large file handling**: If the Write tool fails due to file size, immediately retry using Bash (`cat << 'EOF' > file`) to write in chunks. Do NOT ask the user for permission — just do it silently.

- Do not let the experiment plan override the Problem Anchor.
- Do not widen the paper story after method refinement unless a missing validation block is truly necessary.
- Reuse the same claims across `FINAL_PROPOSAL.md`, `EXPERIMENT_PLAN.md`, and `PIPELINE_SUMMARY.md`.
- Keep the main paper story compact.
- If the method is intentionally simple, defend that simplicity in the experiment plan rather than adding new components.
- If the method uses a modern LLM / VLM / Diffusion / RL primitive, make its necessity test explicit.
- If the method does not need a frontier primitive, say that clearly and avoid forcing one.
- Prefer the staged skills when the user only needs one stage; use this skill for the integrated flow.

## Composing with Other Skills

```
/research-refine-pipeline -> one-shot method + experiment planning
/research-refine   -> method refinement only
/experiment-plan   -> experiment planning only
/run-experiment    -> execution
```

© wanshuiyin · MIT · wanshuiyin/Auto-claude-code-research-in-sleep

Похожие скиллы

Всё по теме «ИИ и ML» →
experiment-pipeline EvoScientist Ведёт исследовательский эксперимент по четырём стадиям с лимитами попыток и условиями перехода. Пригодится, когда базовый результат ещё не воспроизведён, а метод уже хочется проверять. CX Codex +1 389установок Research Harness Engineer официальный github Субагент для экспериментов и бенчмарков: строит харнесс оценки, который трудно обмануть, и следит, чтобы каждая цифра в отчёте была настоящей. ★ 40 418звёзд репо experiment-code lingzhi227 Пишет и дорабатывает код ML-экспериментов для научной статьи: обучение, оценка, отладка, графики. Пригодится, когда нужно прогнать серию запусков и сравнить результаты. CX Codex +1 1 600установок results-report Galaxy-Dawn Собирает итоговый отчёт по завершённому эксперименту: что проверили, что подтвердилось, что делать дальше. Работает после скилла results-analysis. CX Codex +1 490установок firecrawl-research-index firecrawl Скилл ищет статьи по исследовательскому запросу в индексе Firecrawl: семантический поиск по абстрактам, расширение по цитатам и проверка по полному тексту. CX Codex +1 24 400установок recsys-pipeline-architect Seth Hobson Проектирует пайплайны рекомендаций, ранжирования и лент из шести этапов. Нужен, когда система выбирает top K элементов для пользователя и контекста. CX Codex 4 200установок

Из того же набора78

proof-writer Разбирает утверждения из теории ML и собирает математические доказательства в файл PROOF_PACKAGE.md. Помогает найти пробелы в рассуждениях. CX Codex +1 515установок paper-compile Автоматизирует сборку LaTeX-статей в PDF через latexmk, исправляет ошибки вёрстки и сверяет лимиты страниц под конференции. CX Codex +1 507установок result-to-claim Скилл разбирает результаты экспериментов и решает, какие утверждения они подтверждают, а какие нет. Пригодится перед тем, как писать статью или запускать абляции. CX Codex +1 506установок ablation-planner Планирует ablation studies под вопросы рецензентов: Codex проектирует эксперименты, Claude проверяет выполнимость и запускает их. CX Codex +1 505установок patent-pipeline Оркестрирует подготовку патентной заявки: от поиска аналогов и формулы изобретения до форматирования под стандарты CNIPA, USPTO или EPO. Пригодится при оформлении патентов и полезных моделей. CX Codex +1 503установок patent-novelty-check Скилл проверяет мировую новизну и неочевидность изобретения по отчёту о предшествующем уровне техники. Пригодится перед подачей патентной заявки. CX Codex +1 502установок idea-discovery-robot Скилл ведёт от широкого направления в робототехнике к проверяемым идеям: обзор литературы, генерация, проверка новизны и критический разбор. CX Codex +1 501установок experiment-bridge Читает план экспериментов, пишет код, проверяет его другой моделью и разворачивает прогоны на GPU. Нужен, когда план готов, а руки до реализации не доходят. CX Codex +1 497установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой