md-hive-sync
GitHubAgent启动/结束时的上下文同步技能。读取持久化记忆,处理收件箱消息并归档,汇报状态,并在会话结束时保存关键决策与事实,确保跨会话知识延续。
Trigger Scenarios
Install
npx skills add chaitanyagiri/munder-difflin --skill md-hive-sync -g -y
SKILL.md
Frontmatter
{
"name": "md-hive-sync",
"version": "1.0.0",
"description": "Munder Difflin hive sync — runs the start-of-task hive protocol steps:\nreads memory.md, checks inbox\/ for new messages, and reminds you to record\ndurable facts in memory.md and write coordination files before ending.\nUse when asked to \"sync with the hive\", \"check my inbox\", \"hive status\",\nor \"hive sync\".\nProactively suggest at the start of a new task if you haven't checked your\nhive inbox in this conversation. (munder-difflin)\n",
"allowed-tools": [
"Read",
"Bash"
]
}
Hive Sync
Run the mandatory hive start-of-task steps:
-
Read memory —
Read $AGENT_DIR/memory.mdfor durable context from prior sessions. -
Check inbox — list and read all files in
$AGENT_DIR/inbox/that are NOT ininbox/.done/. For each message:- Act on the message.
- Move the handled file into
$AGENT_DIR/inbox/.done/withmv.
-
Report — summarize what you found in memory and any new inbox messages. Note any tasks assigned to you or information relevant to the current session.
-
End-of-task reminder — before closing this conversation, append durable facts, decisions, and outcomes to
$AGENT_DIR/memory.mdso future-you remembers.
Run echo $AGENT_DIR if the variable is not set to locate your agent directory under the hive root.
Version History
- df15a9a Current 2026-07-05 15:41


