Логотип Memoose Sessions

Memoose Sessions

Спільнота
AndrewNgo-ini
memoose-sessions

Track a working session in memoose and distill it into lessons at the end. Use at the start of a task (load standing rules and preferences), at each step of a multi-step task (declare your Position and read the guidance), whenever the user states a goal, rule, preference, or environment fact, and when a task or conversation ends (declare the outcome, distill lessons).

Огляд

ВидавецьAndrewNgo-ini
Репозиторійmemoose
Назва навичкиmemoose-sessions
Зірки
58
Форки
8
Файли в пакеті
Лише інструкції
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

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

  • Відкритий вихідний код

    Видавець на GitHub: AndrewNgo-ini. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Memoose Sessions у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/AndrewNgo-ini/memoose/tree/main/harness/skills/memoose-sessions
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AndrewNgo-ini/memoose.git /tmp/memoose
mkdir -p .claude/skills
cp -r /tmp/memoose/harness/skills/memoose-sessions .claude/skills/memoose-sessions
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Memoose Sessions в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Memoose Sessions, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Memoose Sessions не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Sessions in memoose

A session is one conversation's short-lived memory: turns plus typed context entries. At the end it is distilled into a few durable lessons that join the permanent graph. memoose stores and packs; you curate and write.

At the start of work

  1. session_start(session_id?). Use a stable id per conversation if the host gives you one.
  2. Read standing_context (goals, rules, preferences, lessons_learned, tool_rules, environment_facts) and recent_lessons. Follow the rules and preferences without being asked.
  3. recall anything the task depends on.

During work

Record, do not narrate. Use session_set_context(session_id, section, content, confidence):

sectionput here
goalswhat the user is trying to achieve in this session
rulesconstraints the user states ("never force-push", "tests before commit")
preferencesstyle and tooling preferences ("uv not pip", "short answers")
environment_factsfacts about the machine, repo, services discovered while working
workflow_statewhere a multi-step task stands, so a later session can resume
tool_ruleshow a specific tool must be used here
success_patterns / failure_lessonswhat worked or failed and why
feedback+Name / -Name to raise or lower how strongly an entity is recalled

Replace an outdated entry with retire_entry_id instead of adding a second one. Add turns with session_add_turn only for exchanges worth distilling later: decisions, discoveries, corrections. Not every message.

Where you are

When the work is a multi-step task, declare your Position on the turn that reaches a step memory knows: session_add_turn(session_id, "assistant", "tests are green", position="run the test suite") (CLI: memoose session turn <id> --text ... --at "run the test suite"). The reply carries the Guidance from there: the Transitions two hops out with their Condition, Advice, Pitfall and how past runs ended. Read it, then decide; it is memory, not an instruction. Declaring is what builds the session's Trace, and the Trace is the only thing a later distillation can learn a procedure from. If the step is not a Procedure yet, the call says so; remember it first if the chain is worth keeping, otherwise leave position off.

At the end of work: distillation

  1. session_timeline(session_id). It returns batches, prior_lessons, and the rules below.
  2. Curate (per batch): propose lessons that are general beyond this session, actionable next time, supported by what actually happened, and not already in prior_lessons. Short title, one to three sentences, the evidence line. Fewer and sharper beats many. Never invent.
  3. Write or reject (per lesson): recall related lessons and facts. Reject if a prior lesson already says it or the evidence is thin. Otherwise write the text so it stands alone and list the entities it applies to (systems, technologies, people, conventions).
  4. publish_lessons(session_id, lessons) with applies_to names and entity_types for any name not yet remembered.
  5. session_end(session_id, outcome) with the Outcome: succeeded, failed, or abandoned (CLI: memoose session end <id> --outcome failed). Every Transition the Trace traversed counts it, and the reply returns the Trace and says what to distil from it.

Lessons about how, from contrast

When a session held a failure followed by a success, or the user corrected a step, the lesson is procedural and belongs in the graph as Procedures and Transitions, not as a sentence. Take the Trace session_end returned and guidance() from its first Position, and compare: which Transition did the failed run take that the successful one did not, or take too early, or skip? Write the difference as Transitions with condition, advice and pitfall (CLI --when, --do, --avoid). If a Transition memory already holds is what led astray, supersede it with the corrected one rather than adding a second; the failed route stays queryable as history. If the chain was right and the run failed for another reason, dismiss("transition:<id>", reason) so the next pass does not re-judge it. A Transition with several failed and no succeeded counts is the first place to look. This is how a procedure improves from experience without anyone editing it by hand; the store counts, you judge.

Ask before distilling anything personal the user did not ask you to keep.

Поширені запитання

Що робить навичка ШІ Memoose Sessions?

Track a working session in memoose and distill it into lessons at the end. Use at the start of a task (load standing rules and preferences), at each step of a multi-step task (declare your Position and read the guidance), whenever the user states a goal, rule, preference, or environment fact, and when a task or conversation ends (declare the outcome, distill lessons).

Навіщо використовувати Memoose Sessions у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Memoose Sessions — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Memoose Sessions у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/AndrewNgo-ini/memoose/tree/main/harness/skills/memoose-sessions. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Memoose Sessions?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Memoose Sessions?

Зі скількома забажаєте. У TypingMind ви можете використовувати Memoose Sessions із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Memoose Sessions?

Так. На GitHub цю навичку публікує AndrewNgo-ini за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇