Command Palette

Search for a command to run...

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

mb-end

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

Session-closing skill that helps users wrap up intentionally. Use when: user says done, wrapping up, end my day, closing out, call it a day, goodnight, that's…

dmthepmот dmthepm★ 44 звезды на GitHub

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

End

Close your session intentionally. The bookend to /mb-start.

You only run this when you choose to. It is never auto-invoked.

Shared source: The portable workflow contract lives in workflows/mb-end/workflow.md. This Claude skill is the Claude Code shell over that source.

CLI facts first: After finding the business repo, run mb status --json --peek and mb checkpoint --plan --json before summarizing the session or offering to save. Use status journal, since_last_check, dirty-work, readiness, and checkpoint facts as the primary source. Raw git is fallback/detail only when mb facts are unavailable or a crystallize step needs site-code history the CLI does not expose.

Shared contract markers: Keep these aligned with the shared source.

Required commands:

  • mb status --json --peek
  • mb start --json
  • mb doctor repair --plan
  • mb checkpoint --plan --json
  • mb validate --json

Required fact paths:

  • money_path
  • money_path.objects.proof.quality
  • validation.file_contracts
  • content_strategy
  • ranked_actions
  • relationship_health.gaps
  • update
  • readiness
  • drift.items
  • runtime.codex_cli
  • runtime.claude_code
  • journal
  • since_last_check
  • checkpoint.pending
  • checkpoint.pending.changed_files
  • checkpoint.pending.blockers
  • checkpoint.pending.proposed_subject
  • summary.changed_files
  • safety.blocks
  • proposal.message
  • validation

Approval gates: updates_repairs_migrations, file_writes, checkpoint, provider_mutation, publishing_or_spend, customer_contact, private_data, destructive_operations, and public_issue_or_proposal.

Public/private boundaries: no_secrets, no_raw_provider_exports, no_raw_transcripts, no_customer_member_data, no_private_runtime_settings, and no_raw_finance_legal_records.

Core closeout flow: status scan, checkpoint plan, session summary, final thought capture, crystallize, approval-gated save, owner-facing save states, and warm close.


Philosophy

The end of a session is the highest-leverage reconnection point. All session you were doing -- researching, deciding, generating. Now you step back and see what actually happened. Accumulated doing becomes conscious understanding.

/mb-end is not just end-of-day. It closes any significant session:

  • End of day -- wrapping up, done for today
  • End of a research batch -- crystallize before deciding
  • End of a decision sprint -- step back and see what decisions mean together
  • Mid-work checkpoint -- pause deep work, crystallize, then continue

The crystallize moment does not assume the user is leaving. It assumes the user wants to step back from doing and see what happened.

This is not an audit. It is a thoughtful friend helping you close the session.


The Flow

1. Find the business repo
2. Scan today's activity
2b. Decision lifecycle reconciliation (shared audit script)
3. Session summary
4. Final thought capture (optional)
5. Crystallize (spawns dedicated agent if meaningful activity detected)
   5a. Check for meaningful activity
   5b. Gather file contents for the agent
   5c. Spawn crystallize agent (Task tool)
   5d. Present output to user as-is
   5e. If user engages: stay with it (engagement protocol)
   5f. Propose saving crystallize output as a research file
6. Checkpoint & close

Step 4 is optional. Step 5 is required when meaningful activity happened (decisions, research, core changes) unless the user explicitly asks for a quick close or the runtime cannot support it. In Claude Code, use the Task subagent for deep crystallize. In runtimes without that surface, the shared workflow still requires crystallize-lite instead of silently skipping the ritual.

A quick /mb-end (user says "just commit and close") can be steps 1-3 and 6. But if there is meaningful activity and the user did not explicitly skip, always run Step 5.

Mid-session save vs session close. When the operator only wants to save progress and keep working -- "save", "save my progress", "checkpoint this", "yes save" mid-flow, "should we checkpoint everything" -- this is a save, not a close. Run mb checkpoint --plan --json, show the planned save, save on approval through mb checkpoint, and return them to their work. Do not run the crystallize/summary closeout, and never save with raw git add/git commit -- the save always goes through mb checkpoint. Reserve the full flow (crystallize, final thought, warm close) for an actual end or pause of the session.


Step 1: Find the Business Repo

CWD-first: If current Main Branch markers exist in CWD, use it. If CWD looks like an old Main Branch repo, run mb status --json --peek and mb doctor repair --plan before saved config or discovery. Do not write to old repo structure; tell the operator to follow the repair/migration plan. Otherwise, read ~/.config/vip/local.yaml for default_repo only as a legacy machine-local fallback.

If no repo found:

Полный SKILL.md на GitHub

Установить mb-end в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

references/crystallize-agent.mdreferences/decision-lifecycle-audit.md

FAQ

Что делает скилл mb-end?

Session-closing skill that helps users wrap up intentionally. Use when: user says done, wrapping up, end my day, closing out, call it a day, goodnight, that's it for today, checkpoint, pause. Bookend to /mb-start. Scans git activity, surfaces what happened, spawns a crystallize agent for deep analysis, offers to save an approved checkpoint, and closes with a brief summary. Works for end-of-day, end-of-research-batch, end-of-decision-sprint, or mid-work checkpoints.

Как установить скилл mb-end?

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

Скилл mb-end запускает скрипты?

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

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

Сравнить mb-end с