Receber por email
← Voltar para o catálogo

research-refine

Turn a vague research direction into a problem-anchored, elegant, frontier-aware, implementation-oriented method plan via iterative GPT-5.5 review. Use when the user says "refine my approach", "帮我细化方案", "decompose this problem", "打磨idea", "refine research plan", "细化研究方案", or wants a concrete research method that stays simple, focused, and top-venue ready instead of a vague or overbuilt idea.

15kestrelas
Atualizado há 2 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add wanshuiyin/Auto-claude-code-research-in-sleep

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/research-refine/svg)](https://www.skillteca.com.br/skills/research-refine)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Research Refine: Problem-Anchored, Elegant, Frontier-Aware Plan Refinement

Refine and concretize: $ARGUMENTS

Overview

Use this skill when the research problem is already visible but the technical route is still fuzzy. The goal is not to produce a bloated proposal or a benchmark shopping list. The goal is to turn a vague direction into a problem -> focused method -> minimal validation document that is concrete enough to implement, elegant enough to feel paper-worthy, and current enough to resonate in the foundation-model era.

Four principles dominate this skill:

  1. Do not lose the original problem. Freeze an immutable Problem Anchor and reuse it in every round.
  2. The smallest adequate mechanism wins. Prefer the minimal intervention that directly fixes the bottleneck.
  3. One paper, one dominant contribution. Prefer one sharp thesis plus at most one supporting contribution.
  4. Modern leverage is a prior, not a decoration. When LLM / VLM / Diffusion / RL / distillation / inference-time scaling naturally fit the bottleneck, use them concretely. Do not bolt them on as buzzwords.
User input (PROBLEM + vague APPROACH)
  -> Phase 0 (Claude): Freeze Problem Anchor
  -> Phase 1 (Claude): Scan grounding papers -> identify technical gap -> choose the sharpest route -> write focused proposal
  -> Phase 2 (Codex/GPT-5.5): Review for fidelity, specificity, contribution quality, and frontier leverage
  -> Phase 3 (Claude): Anchor check + simplicity check -> revise method -> rewrite full proposal
  -> Phase 4 (Codex, same thread): Re-evaluate revised proposal
  -> Repeat Phase 3-4 until OVERALL SCORE >= 9 or MAX_ROUNDS reached
  -> Phase 5: Save full history to refine-logs/
  -> Optional handoff: /experiment-plan for a detailed execution-ready experiment roadmap

Constants

  • REVIEWER_MODEL = gpt-5.5 — Reviewer model used via Codex MCP.
  • MAX_ROUNDS = 5 — Maximum review-revise rounds.
  • SCORE_THRESHOLD = 9 — Minimum overall score to stop.
  • OUTPUT_DIR = refine-logs/ — Directory for round files and final report.
  • MAX_LOCAL_PAPERS = 15 — Maximum local papers/notes to scan for grounding.
  • MAX_CORE_EXPERIMENTS = 3 — Default cap for core validation blocks inside this skill.
  • MAX_PRIMARY_CLAIMS = 2 — Soft cap for paper-level claims. Prefer one dominant claim plus one supporting claim.
  • MAX_NEW_TRAINABLE_COMPONENTS = 2 — Soft cap for genuinely new trainable pieces. Exceed only if the paper breaks otherwise.
Override via argument if needed, e.g. /research-refine "problem | approach" -- max rounds: 3, threshold: 9.

State Persistence (Checkpoint Recovery)

Long-running refinement sessions may fail mid-way (e.g., API timeout, context compaction, or session interruption). To avoid losing completed work, persist state to refine-logs/REFINE_STATE.json after each phase boundary:

{
  "phase": "review",
  "round": 1,
  "threadId": "019cd392-...",
  "last_score": 6.5,
  "last_verdict": "REVISE",
  "status": "in_progress",
  "timestamp": "2026-03-22T20:00:00"
}

Field definitions:

| Field | Values | Meaning | |-------|--------|---------| | phase | "anchor" / "proposal" / "review" / "refine" / "done" | Last completed phase | | round | 0–MAX_ROUNDS | Current round number | | threadId | string or null | Reviewer thread ID for codex-reply continuity | | last_score | number or null | Most recent overall score from reviewer | | last_verdict | string or null | Most recent verdict (READY / REVISE / RETHINK) | | status | "in_progress" / "completed" | Loop status | | timestamp | ISO 8601 | When state was last written |

Write rules:

  • Write after each phase completes (not before). Overwrite each time — only the latest state matters.
  • On completion (Phase 5 finished), set "status": "completed".

Output Structure

refine-logs/
├── REFINE_STATE.json
├── round-0-initial-proposal.md
├── round-1-review.md
├── round-1-refinement.md
├── round-2-review.md
├── round-2-refinement.md
├── ...
├── REVIEW_SUMMARY.md
├── FINAL_PROPOSAL.md
├── REFINEMENT_REPORT.md
└── score-history.md

Every round-N-refinement.md must contain a full anchored proposal, not just incremental fixes.

Workflow

Initialization (Checkpoint Recovery)

Before starting any phase, check whether a previous run left a checkpoint:

  1. Check for refine-logs/REFINE_STATE.json:
  2. If it does not exist → fresh start (proceed to Phase 0 normally)
  3. If it exists AND status is "completed" → fresh start (delete state file, previous run finished)
  4. If it exists AND status is "in_progress" AND timestamp is older than 24 hours → fresh start (stale state from a killed/abandoned run — delete the file)
  5. If it exists AND status is "in_progress" AND timestamp is within 24 hours → resume
  1. On resume, read the state file and recover context:
  2. Read all existing refine-logs/round-*.md files to restore prior work
  3. Read refine-logs/score-history.md if it exists
  4. Recover threadId for reviewer thread continuity
  5. Log to the user: "Checkpoint found. Resuming after phase: {phase}, round: {round}."
  6. Jump to the next phase based on the saved phase value:

| Saved phase | What was completed | Resume from | |---------------|-------------------|-------------| | "anchor" | Phase 0 done | Phase 1 (read anchor from round-0 context) | | "proposal" | Phase 1 done | Phase 2 (read round-0-initial-proposal.md) | | "review" | Phase 2 or 4 done | Phase 3 (read latest round-N-review.md) | | "refine" | Phase 3 done | Phase 4 (read latest round-N-refinement.md) |

  1. On fresh start, ensure refine-logs/ directory exists and proceed to Phase 0.

Phase 0: Freeze the Problem Anchor

Before proposing anything, extract the user's immutable bottom-line problem. This anchor must be copied verbatim into every proposal and every refinement round.

Write:

  • Bottom-line problem: What technical problem must be solved?
  • Must-solve bottleneck: What specific weakness in current methods is unacceptable?
  • Non-goals: What is explicitly not the goal of this project?
  • Constraints: Compute, data, time, tooling, venue, deployment limits.
  • Success condition: What evidence would make the user say "yes, this method addresses the actual problem"?

If later reviewer feedback would change the problem being solved, mark that as drift and push back or adapt carefully.

Checkpoint: Write refine-logs/REFINE_STATE.json with {"phase": "anchor", "round": 0, "threadId": null, "last_score": null, "last_verdict": null, "status": "in_progress", "timestamp": "<now>"}.

Phase 1: Build the Initial Proposal

Step 1.1: Scan Grounding Material

Check papers/ and literature/ first. Read only the relevant parts needed to answer:

  • What mechanism do current methods use?
  • Where exactly do they fail for this problem?
  • Which recent LLM / VLM / Diffusion / RL era techniques are actually relevant here?
  • What training objectives, representations, or interfaces are reusable?
  • What details distinguish a real method from a renamed high-level idea?

If local material is insufficient, search recent top-venue/arXiv work online. Focus on method sections, training setup, and failure modes, not just abstracts.

Step 1.2: Identify the Technical Gap

Do not stop at generic research questions. Make the gap operational:

  1. Current pipeline failure point: where does the baseline break?
  2. Why naive fixes are insufficient: larger context, more data, prompting, memory bank, or stacking more modules.
  3. Smallest adequate intervention: what is the least additional mechanism that could plausibly fix the bottleneck?
  4. Frontier-native alternative: is there a more current route using foundation-model-era primitives that better matches the bottlen
Compartilhar X LinkedIn