bm-checkpoint
БесплатноБез исполняемых скриптовНе проверенCreate an immutable Codex handoff in Basic Memory and return an exact bm-orient resume command.
от basicmachines-co★ 4 799 звёзд на GitHubОб этом скилле
Checkpoint Codex Work
Create a durable, immutable handoff note for current Codex work. Use this when the user asks to checkpoint, wrap up, hand off, remember the work state, or when the post-compaction SessionStart context requests the deliberate handoff.
When no project is pinned, discover projects with bm_project_list()
and pass the selected project's external ID as project on note/search calls.
With several addressable projects, these calls require an explicit scope even
when a default is configured.
Gather
Read ~/.codex/basic-memory.json, then the nearest project
.codex/basic-memory.json; project keys override user keys:
primaryProject, default omittedcaptureFolder, defaultcodex/<git top-level directory name>placementConventions, optionalsessionProfile, defaultgeneralrepository, required whensessionProfileiscoding
Apply the bm-writing skill before drafting the note.
Gather repo evidence:
- the original objective that started the thread and why it mattered
- the latest user intent, including corrections or scope changes that supersede the original objective
- the approach taken and why it solves the problem
- the current system state and practical impact
- tradeoffs, sharp edges, useful simplifications, and intentionally parked work
git status --short- current branch
- repository root and current working directory
- current Git SHA
- current pull request number, title, URL, state, base, and head when one exists
- changed files you touched
- tests or checks actually run
- failures or skipped checks
- decisions made in this thread
- unresolved blockers
- next action
- current username, hostname, and timestamp
- host-provided
session_id,agent,codex_turn_id,trigger, andmodelvalues from the checkpoint request, when present
Use direct, read-only evidence for repository and pull-request state. Do not
claim a test passed unless you ran it or the user supplied the result.
Treat host-provided session metadata as opaque identity data. Preserve exact
non-empty values; never infer or rewrite them. For older requests supplying only
codex_session_id, use that exact value as session_id with agent: codex.
Do not emit the legacy field on new checkpoints.
Write
A checkpoint is a durable handoff, not a status dump or commit-by-commit changelog. Tell the story for a human or agent returning later. Treat it as a snapshot plus pointers to authoritative artifacts, not a replacement for tasks, decisions, plans, issues, pull requests, commits, diffs, checked-in docs, or source files.
Every invocation creates a new checkpoint. Never edit, replace, or append to an earlier checkpoint, even when the topic is unchanged.
Use the title:
Codex checkpoint - <UTC YYYY-MM-DDTHH-MM-SSZ> - <short topic>
The UTC timestamp is part of the immutable checkpoint identity and avoids
filename-unsafe colons. If bm_write reports a title collision, retry with
the smallest available numeric suffix such as - 2. Never resolve a collision
by modifying the existing note.
Call bm_write with project=<configured primaryProject>,
overwrite=False, and output_format="json" on every attempt. When
primaryProject is omitted, discover projects and pass the selected project
external ID explicitly. The frontmatter project field is descriptive
metadata and does not replace the tool's project argument. The explicit
non-overwrite flag must win even when the user's
write_note_overwrite_default setting is true. Only accept a successful result
with action: created; treat the tool error ALREADY_EXISTS as the
title collision above, and stop on any other action or error.
Write a note to Basic Memory. For the general profile:
title: the timestamped checkpoint title abovedirectory: configuredcaptureFoldertags:["codex", "checkpoint"]- frontmatter:
type: codex_sessionstatus: openproject: <primaryProject if known>cwd: <current cwd>started: <current timestamp>username: <current username>hostname: <current hostname>capture: deliberateagent: codexsession_id: <host-provided Codex session id>, when suppliedcodex_turn_id: <host-provided Codex turn id>, when suppliedtrigger: <host-provided checkpoint trigger>, when suppliedmodel: <host-provided model slug>, when supplied
For the coding profile, write type: coding_session and use the same common
frontmatter plus these schema-required fields:
repository: <confirmed stable repository identifier>repo_root: <git rev-parse --show-toplevel>cwd: <current cwd>branch: <git rev-parse --abbrev-ref HEAD>git_sha: <git rev-parse HEAD>
When the current branch has a pull request, also add the typed optional fields
pull_request_number, pull_request_title, pull_request_url,
pull_request_state, pull_request_base, and pull_request_head. Resolve the
pull request with a read-only GitH
Установить bm-checkpoint в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bm-checkpoint?
Create an immutable Codex handoff in Basic Memory and return an exact bm-orient resume command.
Как установить скилл bm-checkpoint?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bm-checkpoint запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic