Логотип Reflect And Improve

Reflect And Improve

Сообщество
ShaishavMaisuria
reflect-and-improve

Агент для рефлексии. Используйте его сразу после того, как другой навык создаст артефакт — например, перепишет текст с помощью polish-prose, подготовит ответ рецензентам, аннотацию, исправления после предварительной проверки или адаптированный черновик. Агент оценивает результат относительно поставленной цели, файла .paper-memory/profile.yml, соответствующих критериев и предыдущих выводов из .paper-memory/lessons.md, а затем определяет, действительно ли он стал лучше. Ключевые запросы: «проведи рефлексию», «самокритика», «стало ли лучше», «помогла ли моя правка», «проверь, не стало ли хуже», «оцени свой результат», «повтори», «доработай», «ещё один проход», «проверь переписанный текст» и «новая версия действительно лучше?». Запускает ограниченный цикл самоулучшения / Reflexion, предотвращает ухудшения и с помощью скрипта на стандартной библиотеке добавляет в .paper-memory/lessons.md полезные выводы, удаляя дубликаты и указывая дату. Так инструментарий становится эффективнее с каждой статьёй. Рефлексия требует дополнительных затрат, поэтому она оправдана только при наличии измеримого критерия.

Add to TypingMind

Обзор

ИздательShaishavMaisuria
Репозиторийresearch-paper-lifecycle-skills
Название навыкаreflect-and-improve
Звёзды
59
Форки
22
Файлы в комплекте
3
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — ShaishavMaisuria. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Reflect And Improve в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills/tree/main/skills/reflect-and-improve
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills.git /tmp/research-paper-lifecycle-skills
mkdir -p .claude/skills
cp -r /tmp/research-paper-lifecycle-skills/skills/reflect-and-improve .claude/skills/reflect-and-improve
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Reflect And Improve в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Reflect And Improve, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Reflect And Improve не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Reflect and Improve

A meta-skill that runs after another skill in this toolkit produces an artifact. It asks one question honestly: did the change actually make the paper better, measured against the goal — or did it just make it different? It critiques the new artifact against (a) the goal, (b) the paper's .paper-memory/profile.yml, (c) the rubric that fits the task, and (d) past .paper-memory/lessons.md; iterates within a hard budget; refuses to accept a change that lowers a measurable score; and records what it learned so the next paper starts smarter.

This is a copilot, not a pilot. It proposes; the author decides and edits.

When to use

  • Just after polish-prose, write-rebuttal, write-abstract, preflight-check, tailor-to-venue, draft-related-work, or any skill that emits an artifact, and you want a guarded second pass — "is the new version actually better, or did I introduce a regression?"
  • "Reflect on / critique / self-review this rewrite before I keep it."
  • "Did my edit help?" / "did this get better?" / "should I revert?"
  • To capture a durable lesson ("we keep over-hedging the abstract") so the whole toolkit stops repeating the mistake on this and future papers.

When NOT to use (be honest about cost)

Reflection is an extra LLM pass plus author attention. It only pays off when there is a measurable or rubric-anchored target. Skip it (or keep it to a single quick pass) when:

  • There is no goal to measure against — pure preference edits ("make it sound nicer" with no rubric) reduce to taste; one read is enough.
  • The producing skill already emits a hard score that did not change (e.g. a preflight that was clean before and after). Re-running its checker IS the reflection; do that instead of a narrative critique.
  • The artifact is tiny (a one-line fix). The loop's overhead exceeds its value.

Say this to the user when they ask to reflect on something unmeasurable, then offer the single-pass version.

Inputs

  1. The artifact to critique: the new text/file (and, ideally, the version it replaced, so "better" can be a diff, not a vibe).
  2. The goal: what the producing skill was asked to achieve, in one sentence ("cut the abstract to 200 words without dropping the contribution", "answer R2's soundness concern").
  3. .paper-memory/profile.yml — author/paper positioning. If it does not exist, create it first with paper-profile (or hand-write the minimal fields below). Reflection without positioning gives generic advice.
  4. A measurable target, where one exists:
    • a script score (preflight error count, polish-prose readability/hedge counts, abstract word count vs venue bound, citation-verify failures);
    • or a rubric in references/ (or simulate-reviewers/references/rubrics.md) scored 1–5 before and after.
  5. .paper-memory/lessons.md — read at start so the critique personalizes and does not repeat advice already logged.

The .paper-memory/ convention

A per-project directory in the user's paper working directory (never in this repo). The skill creates it at use time. Tell the user to add .paper-memory/ to their .gitignore unless they want positioning and lessons versioned with the paper. It is local; nothing is uploaded.

  • profile.yml — vertical (systems/theory/applied/empirical/survey/position), contribution_type, target audience & venue tier, risk appetite, writing preferences (link to match-style), constraints. Minimal starter in references/paper-memory-schema.md.
  • lessons.md — accumulated, deduplicated, dated lessons. Other skills (preflight-check, polish-prose, verify-citations, simulate-reviewers) APPEND here when they catch something and READ here at start. Format and hygiene rules in the schema reference; enforced by scripts/reflect_log.py.
  • decisions.md — venue/track/positioning decisions with rationale (written by select-venue / plan-submission; read here for context).

Process

The loop is Reflexion / self-refine, bounded: critique → revise → re-score → keep only if it measurably improved. Cap iterations; stop on no gain.

  1. Establish the baseline — measure first. Before critiquing, capture the current score of the artifact against its target. Pick the cheapest valid measure: re-run the producing skill's checker if it has one (preferred — deterministic), else score the relevant rubric 1–5. Record it:

    python3 scripts/reflect_log.py score --memory .paper-memory \
        --skill polish-prose --metric hedge-count --before 11

    If there is no measurable target, say so, do one qualitative pass, and stop — do not pretend a number exists.

  2. Read memory. Surface recurring lessons so you neither repeat past advice nor re-introduce a known regression:

    python3 scripts/reflect_log.py recurring --memory .paper-memory

    Read profile.yml. A "tighten every sentence" critique is wrong for a position paper that values voice; a "add more hedging" critique is wrong for a high-risk-appetite systems paper. Tailor to the profile.

  3. Critique against the four anchors, concretely and per-finding:

    • Goal — did it do the specific thing asked, fully and only that?
    • Profile — does it fit the vertical, audience, venue tier, voice?
    • Rubric — score the fitting dimensions (soundness, clarity, novelty-framing, responsiveness for rebuttals) 1–5 vs the prior version.
    • Lessons — does it repeat a logged mistake, or fix one? Write each as {what regressed/improved, evidence, minimal fix}.
  4. Decide — the regression guard is non-negotiable. Compute the after score the same way as the baseline and compare:

    python3 scripts/reflect_log.py score --memory .paper-memory \
        --skill polish-prose --metric hedge-count --before 11 --after 6

    The script prints the delta and a verdict. Never accept a change that lowers a measurable score (more preflight errors, worse rubric mean, over the word bound, new citation failures) even if the prose "feels" better — a measurable regression beats a feeling. Outcomes: KEEP (measurably better) / REVERT (measurably worse — recommend the prior version) / TIE (no measurable change — defer to author taste, do not burn another iteration).

  5. Iterate within budget. If KEEP but still short of target and under the iteration cap (default 3 total passes), produce a focused revision addressing the top finding only, then return to step 4. Stop when: the target is met, the cap is hit, or two consecutive passes show no measurable gain (diminishing returns — the honest signal to stop).

  6. Append durable lessons. When the loop surfaces a pattern worth carrying forward, log it — deduplicated and dated:

    python3 scripts/reflect_log.py append --memory .paper-memory \
        --skill polish-prose --scope recurring \
        --issue "abstract over-hedges the contribution" \
        --rec "state the result as a claim once, then qualify in the body"

    --scope this-paper for paper-specific notes, recurring for cross-paper patterns (these are never pruned). The script dedupes on (skill, issue) and stamps the date.

  7. Hygiene. Periodically prune stale this-paper lessons and enforce the cap (recurring lessons are always kept):

    python3 scripts/reflect_log.py prune --memory .paper-memory \
        --keep 50 --stale-days 365

    See references/reflection-loop.md for the patterns this implements and their failure modes (reward hacking, sycophantic self-approval, oscillation), and references/paper-memory-schema.md for the file formats.

Output

  • A critique: per-anchor findings (goal / profile / rubric / lessons), each with evidence and a minimal fix.
  • A KEEP / REVERT / TIE verdict backed by a before→after number, not a vibe. On REVERT, recommend the prior version and explain which measure dropped.
  • Zero or more lessons appended to .paper-memory/lessons.md.
  • An honest statement of confidence and of what reflection could not measure.

Adapt to your discipline

The loop and memory are field-agnostic; only the rubrics and metrics are CS-flavored. Swap in your field's review form for the rubric, your venue's length/format limits for the script metrics, and your citation style for the verify hook. The .paper-memory/ schema does not change.

Guardrails

  • Never accept a measurable regression. A lower score is a REVERT, however good the new version feels. This is the skill's whole point.
  • Reflection is not free. State the cost; skip the loop when there is no measurable target and offer a single pass instead — do not manufacture a metric to justify iterating.
  • Bounded loop. Hard iteration cap; stop on no measurable gain. Never spin.
  • No self-sycophancy. Do not approve your own previous output by default; the baseline measure, not your prior reasoning, is the judge.
  • Never fabricate scores, rubric numbers, or "improvements" — measure or say you could not. Route citation problems to verify-citations, desk-reject format problems to preflight-check.
  • Never submit anything anywhere; never promise acceptance. .paper-memory/ stays local — remind the user to .gitignore it.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Reflect And Improve?

Агент для рефлексии. Используйте его сразу после того, как другой навык создаст артефакт — например, перепишет текст с помощью polish-prose, подготовит ответ рецензентам, аннотацию, исправления после предварительной проверки или адаптированный черновик. Агент оценивает результат относительно поставленной цели, файла .paper-memory/profile.yml, соответствующих критериев и предыдущих выводов из .paper-memory/lessons.md, а затем определяет, действительно ли он стал лучше. Ключевые запросы: «проведи рефлексию», «самокритика», «стало ли лучше», «помогла ли моя правка», «проверь, не стало ли хуже»...

Зачем использовать Reflect And Improve в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Reflect And Improve — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Reflect And Improve в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills/tree/main/skills/reflect-and-improve. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Reflect And Improve?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Reflect And Improve?

С любым количеством. В TypingMind вы можете использовать Reflect And Improve с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Reflect And Improve?

Да. Навык опубликован на GitHub по лицензии Apache-2.0. Издатель — ShaishavMaisuria. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип firecrawl

Firecrawl Build Search

firecrawl
ОрганизацияПопулярный

Интегрируйте Firecrawl `/search` в код продукта и рабочие процессы агентов. Используйте этот навык, если приложению нужно найти материалы перед извлечением, функция начинается с поискового запроса, а не с URL, или системе нужно…

9.8K
181.6K
Инструкции
Открыть
Логотип firecrawl

Firecrawl Build

firecrawl
ОрганизацияПопулярный

Интегрируйте Firecrawl в код приложения, если продукту, агенту или рабочему процессу нужны веб-данные: поиск, актуальные результаты, скрейпинг страниц, извлечение структурированных данных или взаимодействие с браузером…

9.8K
181.6K
Файлы: 6
Открыть
Логотип Shubhamsaboo

Advisor Orchestrator Worker

Shubhamsaboo
СообществоПопулярный

Используйте, если задача слишком велика для одного прохода модели, требует параллельного исследования или генерации результатов по множеству подзадач (например, изучения дюжины конкурентов) или пользователь просит скоординировать работу нескольких…

20.4K
138.7K
Файлы: 4
Открыть
Логотип openai

Openai Docs

openai
ОрганизацияПопулярный

Используйте этот навык для вопросов о моделях и ценах Codex, запланированных задачах, навыках, настройках, установке, устранении неполадок, персонализации, автоматизации и сведениях о самом Codex, включая вопросы со словами «вы», «ваш» и «это приложение», если…

19.9K
127.4K
Файлы: 15
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇