bip-ms-tuckin
Persist manuscript session state before context reset
от matsen★ 35 звёзд на GitHub
Установить bip-ms-tuckin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/bip-ms-tuckin
Flush manuscript session state to durable storage before a context reset or session end. Run this when context is getting long or before stopping.
Usage
/bip-ms-tuckin
Workflow
Step 1: Check for uncommitted manuscript changes
cd <manuscript-root>
git diff --stat
git diff --cached --stat
Commit the TeX changes this session made, with a message summarizing what changed (e.g., "Update implementation notes: Phase 1b done, branchScale normalization"). Ask the user before committing changes the session did not make.
If there are only untracked ISSUE-*.md files, note them but do not commit (these are intentionally untracked per CLAUDE.md).
Step 2: Push EPIC body updates
For each tracked repo in .ms-config.json, check whether the EPIC body was edited this session (compare the updatedAt from the start of the session to the current updatedAt).
If not pushed yet, push any pending EPIC body updates:
gh issue view <epic-number> --repo <org/repo> --json updatedAt
Report which EPICs were pushed and which were already up to date.
Step 3: Update .ms-config.json
Check whether fetch_cmds should be updated based on new experiments or results that arrived this session.
If new result paths were discovered but not added to fetch_cmds, note them for the user.
Step 4: Update the durable session state
Everything below lives in the repo.
misc/session-onboarding.md(create it if the repo has none). A fresh session reads its top and index whole and the rest only by grep, so it has three parts. The top carries what is needed before acting: what the paper is and is not, hazards, the peer sessions and their remits, and the working disciplines, one line per rule; an incident story goes in the commit message, not here. The live-thread index has one line per open thread, carrying its grep handles (issue and PR numbers, ledger id or\label, never a line number) and a pointer to where its evidence lives. Below the index, each thread's detail carries what it would mean for the paper, the analyses requested, and what it is waiting on; a ruling is quoted verbatim, never paraphrased. Prefer pointing at the file that holds a fact over restating it; a number that sits in a%PROVornotes/file is not copied here. It is a standing document, not a log: edit the lines that are now wrong rather than appending. When a thread closes, check that its result is in the paper, move any guard ("no exposure", "do not restore") or ruling it carries into a%PROVbeside the sentence it protects, then delete the thread. Never record open/merged/closed status: GitHub is the source of truth and a status line is wrong within hours. Before finishing, measure what a fresh session reads, the top plus the index:awk '/^## Live/{f=1;print;next} f&&/^## /{exit} {print}' misc/session-onboarding.md | wc -c. Over about 20 KB, prune first: close each finished thread as above, cut each open thread to one line, and move detail below the index. Do not finish the tuckin until it is under the limit or the user waives it.Keep it to ONE file. If the repo has both an onboarding doc and a separate notes file, merge them and delete the loser. Two documents with overlapping jobs is how state goes stale: the one you are looking at stays true and the other quietly lies, and whoever reads the wrong one has no way to tell.
The
%PROV/%TODOmarkers in the manuscript are the primary memory for anything attached to a specific number or sentence, and they beat both files above because they sit where the claim is. If this session learned that a number is wrong, superseded, or not yet citable, that belongs in the marker next to it — not in a notes file a future session may not read. When marking a%PROVstale, check its tail: a prepended correction does not neutralize the original claim further down.If Erick corrected an approach or confirmed a non-obvious choice, put it where it will be enforced: a durable project fact in
CLAUDE.md/AGENTS.md, a workflow rule in a~/re/bipartite/skills/skill, a finding in the test, doc, or issue it concerns.
Only update what changed. Do not rewrite unchanged files.
Step 4b: Update the nexus summary
If the paper changed in substance since the commit that nexus/papers/ms-<owner>-<repo>.md records, or the file doesn't exist, rewrite it from a pushed commit (format in nexus papers/README.md): the paper's own evidence status first (a do-not-cite banner, first-pass numbers), then the main claims, each with its section or \label; what is settled and what is open; which of the group's earlier papers it builds on.
Cite only the remote and the commit, never a local path. Delete superseded claims rather than qualifying them. Commit and push nexus.
Step 5: Verify build
make pdf
Ensure the manuscript bui
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл bip-ms-tuckin?
Persist manuscript session state before context reset
Как установить скилл bip-ms-tuckin?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bip-ms-tuckin запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…