Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

fresheyes

БесплатноЗапускает вложенные скриптыНе проверен

Use when the user asks for "fresh eyes", an independent review, or a second opinion on code, commits, plans, or files.

danshapiroот danshapiro★ 19 звёзд на GitHub14 установок в других каталогах

Об этом скилле

Fresh Eyes - Independent Code Review

Invoke an independent model to perform a code review. The reviewer has zero context from your conversation — only the repo and the scope you give it.

Instructions

Step 1: Ensure changes are committed

The reviewer uses git commands and only sees committed code. Before invoking, verify all relevant changes are committed. If not, commit them first (or tell the user uncommitted changes won't be reviewed).

Step 2: Determine the review scope

{{#if args}} Use the provided scope: {{args}} {{else}} Default scope: "Review the staged changes using git diff --cached. If nothing is staged, review the most recent commit using git show HEAD." {{/if}}

The scope should be a clear, specific instruction telling the reviewer what to examine. The reviewer has NO context from your conversation — only the repo and what you tell it.

The user's instructions are paramount. If the user says "do a security review of src/auth/", pass that through faithfully — the scope becomes "Review the files in src/auth/ for security issues." If the user does not scope the review, DO NOT PROVIDE INSTRUCTIONS THAT LIMIT THE SCOPE OF THE REVIEW. Do not use your judgment about what to review, only relay any opinions by the user, if any. Preserve reviewer independence; do not send instructions to the judge.

Good scope examples:

  • Review the staged changes using git diff --cached.
  • Review commit abc1234 using git show abc1234.
  • Review the files in src/auth/.
  • Review the files in src/auth/ for security issues. (user explicitly asked for security review)
  • Review the plan in docs/plans/2025-01-03-feature.md.
  • Review the changes between main and this branch using git diff main...HEAD.
  • Review the changes in the worktree at ../feature-worktree using git diff

Bad scope examples:

  • check out what we just did (reviewer has no context for "what we just did")
  • review src/auth/ again; the buffer overflow has been fixed (don't add your own context — either say nothing, or pass through what the user asked for)

Step 3: Choose a provider

Default to a different model family from yourself — model diversity improves review quality.

  • You are Claude → use --gpt
  • You are GPT/Codex → use --claude
  • You are neither → use --gpt
  • User explicitly requests a provider → honor it (--gpt or --claude)

The provider keyword controls which model runs the review. Do NOT include it in the scope text.

If the model you chose throws an error, try another. If that also throws an error, stop and ask the user what to do. DO NOT CONTINUE IF YOU CANNOT FOLLOW THESE INSTRUCTIONS.

Step 4: Launch the reviewer

The script path is fresheyes.sh inside this skill's base directory (shown at the top of these instructions).

Run it as a plain foreground command:

bash "<base-directory>/fresheyes.sh" [--gpt|--claude] "<scope from step 2>"

Manual reviews detach automatically, so this returns within a couple of seconds and prints exactly two lines:

FRESHPID=20260729-181530-a3f9c2
NEXT: bash <base-directory>/fresheyes-progress.sh --json 20260729-181530-a3f9c2   (reviews take 5-30 min; poll every 30-60s)

Read the value after FRESHPID= — an OPAQUE run handle (not a process id; do not pass it to ps or kill). Save it; it is your handle for the entire review lifecycle (polling in Step 5, result retrieval in Step 7). The NEXT: line is the exact poll command to run. If no FRESHPID= line is printed, do not proceed to Step 5 — report the command's output to the user.

Do not add setsid, a trailing &, output redirects, or $! — the script backgrounds itself. Run the command exactly as above and read the receipt from its output. Do not add --foreground preemptively: it blocks for the full review (5-30 minutes). Use it only when a poll tells you to (see the state table below) — and when you do, first make sure your harness/exec timeout for that call is longer than the review (request/configure a timeout of at least 30 minutes).

Step 5: Poll every 30-60 seconds

Poll with the exact command from the receipt's NEXT: line:

bash "<base-directory>/fresheyes-progress.sh" --json <handle>

Do not call fresheyes-progress.sh <handle> without --json or --result; bare handle polling is intentionally rejected (usage errors exit 2) because stale legacy progress can look like current output.

Each poll returns one JSON line. The state field and the command's exit code tell you everything:

state exit meaning what you do
launching 0 the review child is starting; no heartbeat yet poll again in ~15s
running 0 fresh heartbeat; review in progress keep polling every 30-60s
complete 0 verdict present (verdict: passed/failed) fetch the review with --result (Step 7)
killed_at_launch 3 the child never wrote its first heartbeat do what the message says: re-
Полный SKILL.md на GitHub

Установить fresheyes в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash

Вложенные файлы

fresheyes-automatic-prompt.mdfresheyes-automatic-schema.jsonfresheyes-claude-stream.pyfresheyes-handle.pyfresheyes-progress.shfresheyes-prompt.mdfresheyes-verdict.pyfresheyes.sh

FAQ

Что делает скилл fresheyes?

Use when the user asks for "fresh eyes", an independent review, or a second opinion on code, commits, plans, or files.

Как установить скилл fresheyes?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл fresheyes запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить fresheyes с