Логотип Autonomous Lesson Learning

Autonomous Lesson Learning

Сообщество
Fmarzochi
autonomous-lesson-learning

Autonomous loop that learns while it runs: recalls stored lessons before each iteration, saves new lessons on failures and wins, and reinforces known lessons instead of repeating mistakes. Orchestrates continuous-agent-loop patterns with the egc-memory lesson tools.

Add to TypingMind

Обзор

ИздательFmarzochi
РепозиторийEGC
Название навыкаautonomous-lesson-learning
Звёзды
68
Форки
49
Файлы в комплекте
Только инструкции
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

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

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

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

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

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

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

Установка

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

1

Установка в TypingMind

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

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Fmarzochi/EGC/tree/main/skills/ai/autonomous-lesson-learning
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Fmarzochi/EGC.git /tmp/EGC
mkdir -p .claude/skills
cp -r /tmp/EGC/skills/ai/autonomous-lesson-learning .claude/skills/autonomous-lesson-learning
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

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

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

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

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

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

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

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

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

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

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

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

Autonomous Lesson Learning

Run an autonomous work loop that gets smarter every iteration. This skill is pure orchestration: it combines the loop patterns from continuous-agent-loop / autonomous-loops with the lesson_recall, lesson_save, and lesson_reinforce tools from the egc-memory MCP server. It does not reimplement loops and it does not add a new lesson store.

Works in any harness that has the egc-memory MCP server registered (all EGC Tier 1/2/3 targets). Nothing here is platform-specific: the loop is plain instruction-following and the memory calls are standard MCP tool calls.

When to Activate

  • Running a long multi-iteration task autonomously (fix all lint errors, raise coverage, burn down an issue list) where repeating a known mistake is expensive
  • Resuming a class of work that has failed before and the failure modes are worth remembering across sessions
  • Any continuous-agent-loop pattern (Sequential Pipeline, Continuous PR Loop) where you also want cross-session learning

Use a plain loop (/loop-start, continuous-agent-loop) instead when the task is one-off, trivial, or exploratory throwaway work where lessons would be noise.

The Cycle

text
+--------------------------------------------------------+
|  AUTONOMOUS LESSON LEARNING ITERATION                  |
|                                                        |
|  1. RECALL   lesson_recall({ query }) for the current  |
|              step BEFORE acting                        |
|  2. APPLY    adjust the plan using recalled lessons;   |
|              lesson_reinforce({ id }) each lesson that |
|              proved relevant                           |
|  3. ACT      execute one loop iteration (implement,    |
|              test, fix) per continuous-agent-loop      |
|  4. RECORD                                             |
|     - failure -> known lesson matches?                 |
|         yes -> lesson_reinforce({ id })                |
|         no  -> lesson_save({ content, context })       |
|     - new pattern that worked well?                    |
|         -> lesson_save with prescriptive wording       |
|  5. CHECK    stop condition met? done : goto 1         |
+--------------------------------------------------------+

1. Recall before acting

At the start of every iteration, query stored lessons for the area you are about to touch:

lesson_recall({ query: "flaky playwright timeout", limit: 5 })

lesson_recall searches content, context, and tags, and returns lessons ranked by confidence (default floor 0.2). Read the results and adjust the plan before executing. Skipping this step defeats the purpose of the skill.

2. Reinforce what proved relevant

When a recalled lesson applies to the current iteration, or a mistake it describes recurs, reinforce it by the id field returned from lesson_recall:

lesson_reinforce({ id: "<lesson id from lesson_recall>" })

Reinforcement raises confidence by 0.15 (capped at 1.0) and un-archives decayed lessons. Never save a duplicate lesson for a pattern that already exists: recall first, reinforce on match, save only on miss.

3. Save on failure

When an action fails during the loop (a command errors, a test breaks, a fix has to be redone), record what went wrong and why, with a context that says where it applies:

lesson_save({
  content: "npm test hangs when the dashboard watcher is left running; kill the watcher before the suite.",
  context: "test runs in the EGC dashboard package",
  tags: "testing,watcher"
})

Both content and context are required. Keep lessons atomic: one failure mode, one lesson. initial_confidence defaults to 0.7 and only needs overriding for tentative observations.

4. Save wins too

When a new approach works well, save it in positive, prescriptive form so the next loop starts from it:

lesson_save({
  content: "Always regenerate the skill index (scripts/build-skill-index.js) before running the docs tests when a skill was added.",
  context: "adding or renaming skills in the EGC repo",
  tags: "workflow,skills"
})

5. Stop conditions

Inherit the safety rules from continuous-agent-loop: every loop needs an explicit stop condition (max iterations, completion signal, green test suite) and quality gates between iterations. If the same lesson gets reinforced on three consecutive iterations without progress, stop the loop and escalate: that is the "repeated retries with same root cause" failure mode.

Worked Example

Task: "fix every failing test in the suite, autonomously".

  1. lesson_recall({ query: "failing tests <project name>" }) -> a lesson says the fixture DB must be reset between runs (confidence 0.85).
  2. Reset the fixture DB first, then run the suite. The lesson applied: lesson_reinforce({ id }).
  3. Iteration 2: a fix is reverted because it broke an unrelated snapshot. No matching lesson from recall -> lesson_save({ content: "Snapshot tests in pkg X break when locale helpers change; run pkg X snapshots after touching i18n.", context: "test fixing in project Y" }).
  4. Iteration 5: discovered that running the linter before the type checker cuts iteration time in half -> save it as a prescriptive win.
  5. Suite green -> stop condition met -> loop ends.

Division of Labor

SystemMechanismSpeedUse for
autonomous-lesson-learningexplicit MCP calls inside an active loopimmediate, per-iterationmistakes and wins observed while working
continuous-learning-v2passive hook observation, background instinct clusteringslow, cross-sessionbroad behavioral patterns you did not notice yourself
continuous-agent-looploop architecture, gates, recoveryn/athe loop mechanics themselves

autonomous-lesson-learning and continuous-learning-v2 coexist: this skill is the fast, deliberate path (the AI knows it just failed and writes it down); v2 is the slow, passive path (hooks notice patterns the AI missed). Neither replaces the other, and both read from independent stores.

Requirements

  • egc-memory MCP server registered (egc doctor to verify)
  • A loop pattern from continuous-agent-loop with an explicit stop condition

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

Что делает навык ИИ Autonomous Lesson Learning?

Autonomous loop that learns while it runs: recalls stored lessons before each iteration, saves new lessons on failures and wins, and reinforces known lessons instead of repeating mistakes. Orchestrates continuous-agent-loop patterns with the egc-memory lesson tools.

Зачем использовать Autonomous Lesson Learning в TypingMind?

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

Как установить Autonomous Lesson Learning в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Fmarzochi/EGC/tree/main/skills/ai/autonomous-lesson-learning. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Autonomous Lesson Learning?

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

Со сколькими моделями ИИ можно использовать Autonomous Lesson Learning?

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

Бесплатен ли навык ИИ Autonomous Lesson Learning?

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

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

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

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

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

Все
Логотип affaan-m

Competitive Report Structure

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

Используйте после того, как benchmark-methodology подготовит оценённые карточки профилей конкурентов. Собирает результаты в отчёт для принятия решений: карту рынка, профили конкурентов, сравнительную матрицу, анализ свободных ниш…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Dmux Workflows

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

Координируйте работу нескольких агентов с помощью dmux (менеджера панелей tmux для ИИ-агентов). Используйте шаблоны параллельных рабочих процессов с Claude Code, Codex, OpenCode и другими средами. Этот навык пригодится, когда нужно параллельно запустить несколько сеансов агентов…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Documentation Lookup

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

Используйте актуальную документацию библиотек и фреймворков через Context7 MCP вместо обучающих данных. Навык активируется при вопросах о настройке, запросах справки по API и примеров кода, а также когда пользователь называет фреймворк (например, React,…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Mle Workflow

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

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

40.4K
270.2K
Файлы: 1
Открыть

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

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