Command Palette

Search for a command to run...

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

okf-memory

БесплатноБез исполняемых скриптовНе проверен

Use before answering any question about this project's design, data, or a past decision; before changing code in an area that may carry recorded constraints…

uw-ssecот uw-ssec★ 33 звезды на GitHub

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

OKF Memory

Project memory is the OKF v0.2 bundle at knowledge/ in the repository root. Read it and write it only through the okf CLI, run as pixi run okf (the binary from the pixi environment; there is no pixi task). Run it from the repository root, where the bundle path defaults to knowledge and can be omitted; from any other directory okf treats that directory as the bundle.

Quick reference

Task Command
Find what is recorded pixi run okf search "<keywords>" --limit 3
Concepts governing a file pixi run okf search --for-path <path/to/file>
Read one concept pixi run okf show <id>
Record pixi run okf create <area>/<slug> --type <Type> --title "<t>" --desc "<d>" --tags "<a,b>" --body "<md>"
Revise pixi run okf update <id> --desc "<d>" (also --title, --body, --status)
Link two concepts pixi run okf relate <src-id> <tgt-id> --desc "<why they relate>"
Check the bundle pixi run okf validate --strict --drift

Add --json for machine-readable output. pixi run okf help <command> lists the rest. Pass --actor <harness>:<model> to create, update, and relate, using the same token as the Assisted-by trailer in AI_POLICY.md.

Read before write

  1. Search first. On a fresh bundle an empty result is normal; go on to create. Do not browse knowledge/ with find, grep, or cat to learn what is there; search and show are the readers. Read a hit's one-line description and show it only if needed.
  2. Before the first edit in a subsystem, run search --for-path on the file. A hit with governance: hold means stop and confirm with the user. A hit with governance: constraint lists invariants the change must keep.
  3. If a concept already covers the topic, update it. Do not create a -v2. Keep superseded reasoning in a "Superseded" section of the same concept.

What to record

Persist Discard
Decisions, rejected alternatives, and their trade-offs Naming deliberations, momentary thoughts
Requirements, constraints, platform or performance targets One-off prompt instructions ("make it shorter")
Non-obvious quirks, workarounds, undocumented tool behavior Anything the official docs already say
Root causes of subtle bugs Syntax errors fixed in one step
Explicit, durable directives from the project owner Transcripts, scratch notes, chain of thought

The test: would an agent starting from a blank context benefit from knowing this? Concept IDs are <area>/<slug>, where area is one of decisions, architecture, facts, requirements, bugs. Types are free-form; use Decision, Architecture, Fact, Requirement, or Bug unless the concept is clearly something else. Mark inferences as inferred and name what would confirm them; do not write a guess as a fact.

Frontmatter fields with no CLI flag

show --json prints them. Opening the one concept file you are changing and editing these fields by hand is allowed; validate afterwards.

Field Meaning and rules
code_refs Paths or globs the concept governs, relative to the repo root. No .., no / start.
governance hold, constraint, or context (the default); surfaced by search --for-path.
stale_after YYYY-MM-DD; validate --stale fails the gate once it passes.
sources Documents, commits, or URLs the knowledge came from.
verified Human-only. Never write it; generated is the agent's provenance and okf sets it.

Repo-specific traps

  • Do not run a Markdown formatter such as prettier over knowledge/: it folds long description: lines into multi-line YAML that okf reads as empty. If this repository adds a formatter, exclude knowledge/ from it.
  • Keep description: on one lin
Полный SKILL.md на GitHub

Установить okf-memory в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл okf-memory?

Use before answering any question about this project's design, data, or a past decision; before changing code in an area that may carry recorded constraints; when a decision or non-obvious discovery from this session should outlive it; or when `okf validate` fails. Not for how-to-run questions, which the rules and other skills answer.

Как установить скилл okf-memory?

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

Скилл okf-memory запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить okf-memory с