omk-context-broker

Maintain context and memory policy for long-running multi-file Kimi coding sessions.

130|14|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/dmae97/oh-my-kimi --skill omk-context-broker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: omk-context-broker
Source: https://github.com/dmae97/oh-my-kimi/tree/main/templates/skills/agents/omk-context-broker
Command: npx skills add https://github.com/dmae97/oh-my-kimi --skill omk-context-broker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents long-running multi-file Kimi Code work from losing critical context by organizing project-local memory and run-local checkpoints across turns and workers.

Core Features & Use Cases

  • Context Broker Policy for Long Sessions: Keeps memory coherent when tasks span many files, turns, agents, or repeated project runs.
  • Local Graph Memory as Default Source of Truth: Leverages omk-project memory tools to read/write stable project facts and temporary run/session facts, with a local mirror at .omk/memory/.
  • Okabe / D-Mail Checkpoints for Context Recovery: Uses Kimi Code Okabe plus SendDMail to trigger smart recovery before risky changes, multi-agent handoffs, or compaction.
  • Durable Memory File Conventions: Standardizes where project facts, decisions, commands, risks, and run events/plans/final reports are stored.

Quick Start

Use omk-context-broker whenever your coding task is likely to span multiple files and turns so the agent can maintain durable project memory and run checkpoints.

Frequently Asked Questions about omk-context-broker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain context for long-running multi-file coding sessions?

To maintain context for long-running multi-file coding sessions, you need a context broker policy that organizes project-local memory and run-local checkpoints across turns and workers. This prevents losing critical state across retries and multi-agent handoffs.

What is the best way to prevent losing state during risky refactors and multi-agent handoffs?

The best way to prevent losing state during risky refactors and multi-agent handoffs is to use Okabe or D-Mail style checkpoints before destructive actions. This triggers smart recovery and ensures durable memory file conventions for project facts and decisions.

How does local graph memory work for managing temporary state in coding agents?

Local graph memory works by acting as the default source of truth, reading and writing stable project facts and temporary run or session facts. It maintains a local mirror at .omk/memory/ to keep agent memory coherent across repeated project runs.

When do I need checkpointed recovery for multi-agent coordination?

You need checkpointed recovery for multi-agent coordination when tasks span many files, turns, or DAG workers and face memory compaction moments. It ensures durable recovery before destructive actions and maintains state across complex project work.

Does omk-context-broker require project-local graph memory tools for coding sessions?

Yes, omk-context-broker requires project-local graph memory tools for stable facts and run-local memory for temporary state. These dependencies are necessary to establish the local mirror at .omk/memory/ and execute Okabe or D-Mail checkpoints effectively.