auto-review-loop-llm
하는 일
이 스킬은 별도의 언어 모델로 연구 프로젝트를 반복해서 검토하고, 수정을 적용한 뒤 다시 검토합니다. 주 어시스턴트와 다른 모델에게서 피드백을 받고 싶은 연구자를 위한 스킬입니다.
사용하는 경우
- ✓연구 초안과 결과를 두 번째 모델에게 비평받고 싶을 때.
- ✓논문 검토에 쓸 OpenAI 호환 API가 있고 이를 사용하고 싶을 때.
- ✓리뷰어가 긍정적으로 평가하거나 네 라운드가 지나면 검토 사이클을 멈추고 싶을 때.
스킬 링크
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/auto-review-loop-llm/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“OpenAI 호환 모델로 제 연구 초안을 검토해 주세요. 리뷰어가 만족할 때까지 수정을 적용해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 선택한 모델에 초안을 보내고, 점수와 판정을 읽은 뒤 수정을 적용하고 다시 검토합니다. 판정이 긍정적이거나 네 라운드가 끝나면 멈춥니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Auto Review Loop (Generic LLM): Autonomous Research Improvement
🔒 Do not wrap this skill in
/loop,/schedule, orCronCreate. Like/auto-review-loop, it already loops internally (review → fix → re-review), feeding each round's prior-round summary into the next review prompt (the backend is a stateless per-round API/MCP call, not a shared thread). An external timer re-enters from the top each tick, dropping that accumulated context and firing the verdict on wall-clock time instead of on artifact change — zero new signal, full token cost. Schedule the external wait that precedes it, not the verdict. Seeshared-references/external-cadence.md.
Autonomously iterate: review → implement fixes → re-review, until the external reviewer gives a positive assessment or MAX_ROUNDS is reached.
Context: $ARGUMENTS
Constants
- MAX_ROUNDS = 4
- POSITIVE_THRESHOLD: score >= 6/10 AND verdict ∈ {"ready", "almost"} — both must hold, matching the operative STOP check below. Verdict vocabulary is {"ready", "almost", "not ready"}. (Earlier wording used
orand a stale verdict set; theANDform is authoritative.) - REVIEW_DOC:
review-stage/AUTO_REVIEW.md(cumulative log) (fall back to./AUTO_REVIEW.mdfor legacy projects)
LLM Configuration
This skill uses any OpenAI-compatible API for external review via the llm-chat MCP server.
Configuration via MCP Server (Recommended)
Add to ~/.claude/settings.json:
{
"mcpServers": {
"llm-chat": {
"command": "/usr/bin/python3",
"args": ["/Users/yourname/.claude/mcp-servers/llm-chat/server.py"],
"env": {
"LLM_API_KEY": "your-api-key",
"LLM_BASE_URL": "https://api.deepseek.com/v1",
"LLM_MODEL": "deepseek-chat"
}
}
}
}
Supported Providers
| Provider | LLM_BASE_URL | LLM_MODEL |
|---|---|---|
| OpenAI | https://api.openai.com/v1 |
gpt-6.1-sol, gpt-6-astra |
| DeepSeek | https://api.deepseek.com/v1 |
deepseek-chat, deepseek-reasoner |
| MiniMax | https://api.minimax.io/v1 |
MiniMax-M3 |
| Kimi (Moonshot) | https://api.moonshot.cn/v1 |
moonshot-v1-8k, moonshot-v1-32k |
| ZhiPu (GLM) | https://open.bigmodel.cn/api/paas/v4 |
glm-4, glm-4-plus |
| SiliconFlow | https://api.siliconflow.cn/v1 |
Qwen/Qwen2.5-72B-Instruct |
| 阿里云百炼 | https://dashscope.aliyuncs.com/compatible-mode/v1 |
qwen-max |
| 零一万物 | https://api.lingyiwanwu.com/v1 |
yi-large |
The llm-chat server defaults to gpt-6.1-sol. When LLM_FALLBACK_MODEL is
unset, the 504-timeout fallback inherits LLM_MODEL (so it is not a fixed,
different model). Calls to api.openai.com automatically use
max_completion_tokens; third-party OpenAI-compatible endpoints use
max_tokens. Set LLM_MAX_TOKENS_FIELD=max_tokens or
LLM_MAX_TOKENS_FIELD=max_completion_tokens to override that automatic choice.
API Call Method
Primary: MCP Tool
mcp__llm-chat__chat:
prompt: |
[Review prompt content]
model: "deepseek-chat"
system: "You are a senior ML reviewer..."
Fallback: curl
For third-party OpenAI-compatible endpoints, use max_tokens:
curl -s "${LLM_BASE_URL}/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${LLM_API_KEY}" \
-d '{
"model": "${LLM_MODEL}",
"messages": [
{"role": "system", "content": "You are a senior ML reviewer..."},
{"role": "user", "content": "[review prompt]"}
],
"max_tokens": 4096
}'
For a direct OpenAI call, use max_completion_tokens instead:
curl -s "https://api.openai.com/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${LLM_API_KEY}" \
-d '{
"model": "gpt-6.1-sol",
"messages": [
{"role": "system", "content": "You are a senior ML reviewer..."},
{"role": "user", "content": "[review prompt]"}
],
"max_completion_tokens": 4096
}'
State Persistence (Compact Recovery)
Persist state to review-stage/REVIEW_STATE.json after each round:
{
"round": 2,
"status": "in_progress",
"last_score": 5.0,
"last_verdict": "not ready",
"pending_experiments": [],
"timestamp": "2026-03-15T10:00:00"
}
Write this file at the end of every Phase E (after documenting the round).
On completion, set "status": "completed".
Wo
자주 묻는 질문
설정하려면 무엇이 필요한가요?
스킬이 설명하는 대로 MCP 서버나 환경 변수로 설정한 OpenAI 호환 API가 필요합니다.
검토는 몇 라운드 진행되나요?
최대 네 라운드입니다. 리뷰어가 긍정적인 판정을 주면 그보다 일찍 끝납니다.
일정에 맞춰 실행할 수 있나요?
스킬은 타이머로 감싸지 말라고 권합니다. 이미 내부적으로 반복하기 때문입니다.
상세 정보
작성자의 원본 설명
Autonomous research review loop using any OpenAI-compatible LLM API. Configure via llm-chat MCP server or environment variables. Trigger with "auto review loop llm" or "llm review".
인기도
- GitHub 스타
- 18k
- 순위
- #10521
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ablation-planner
18k에이전트가 논문의 제거 실험(ablation)을 계획하도록 돕습니다. 주요 결과가 좋아 보이면 심사위원이 요청할 가능성이 높은 실험을 고릅니다.
alphaxiv
18k에이전트가 arXiv 링크나 ID로 AlphaXiv 요약을 써서 논문 한 편을 빠르게 읽도록 합니다. 요약이 없으면 원문이나 LaTeX를 씁니다.
analyze-results
18k에이전트가 머신러닝 실험 결과를 분석하고, 실행 결과를 기준선과 비교하며, 숫자를 명확한 발견과 다음 단계로 정리하도록 돕습니다.
arxiv
18k에이전트가 arXiv에서 학술 논문을 검색하고, 세부 정보를 읽고, 연구 주제에 맞는 PDF를 내 라이브러리에 저장하도록 돕습니다.
비슷한 스킬
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
notcrawl
394k에이전트가 저장된 Notion 워크스페이스 사본을 검색하고, 페이지와 데이터베이스를 찾아보며, 페이지를 Markdown 파일로 내보내도록 돕습니다.
knowledge-entities
394k에이전트가 사람, 회사, 프로젝트가 무엇인지 식별한 뒤, Knowledge 볼트에 출처가 있는 프로필 페이지를 작성하도록 돕습니다.