Перейти к содержимому
TakoAPI
Назад к навыкам

guava-memory

от koatora20

Notes & PKM
—Ещё нет оценок
Ваша оценка

Кратко

Structured episodic memory with Q-value scoring.

Описание

Что делает этот навык

GuavaMemory adds structured episodic memory to OpenClaw agents. It records task outcomes with Q-value scores, searches past episodes by semantic similarity, and promotes high-success patterns into reusable skill procedures. Anti-patterns from failures are tracked to prevent repeating the same mistakes.

Unlike static notes or documentation, Q-value scoring continuously reweights past approaches by actual outcome, so the most reliable procedures surface first rather than the most recent ones.

Когда его использовать

  • Recalling which debugging approach worked on a similar error last week
  • Avoiding a deployment sequence that previously caused an outage
  • Promoting a repeated file-parsing workflow into a reusable skill procedure
  • Surfacing the highest-Q-value episode before starting a new refactor task
  • Logging a failed API integration attempt as an anti-pattern for future reference

Пример сценария

ВВОД

User asks: debug the failing authentication test suite

АГЕНТ
  1. 1

    Run memory_search with intent 'debug failing tests' to find related episodes

  2. 2

    Filter results by Q-value, select top 3 active episodes

  3. 3

    Apply the success pattern from the highest-scoring episode

  4. 4

    Complete the task, then write ep_YYYYMMDD_NNN.md with intent, context, outcome, and Q-value

  5. 5

    Update memory/episodes/index.json to keep the index in sync

ВЫВОД

Test suite fixed using a recalled pattern; new episode recorded with reward score and feel tag for future retrieval

Установка

clawhub install koatora20/guava-memory

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки