Agent Skills › HarnessMD/munder-difflin › md-hive-sync

md-hive-sync

GitHub

用于在任务开始和结束时进行上下文同步。读取记忆文件,处理收件箱新消息并归档,总结关键信息,并在结束前记录持久化事实,确保跨会话状态连续性。

resources/skills/md-hive-sync/SKILL.md HarnessMD/munder-difflin

触发场景

sync with the hive check my inbox hive status hive sync

安装

npx skills add HarnessMD/munder-difflin --skill md-hive-sync -g -y
更多选项

非标准路径

npx skills add https://github.com/HarnessMD/munder-difflin/tree/main/resources/skills/md-hive-sync -g -y

不安装直接使用

npx skills use HarnessMD/munder-difflin@md-hive-sync

指定 Agent (Claude Code)

npx skills add HarnessMD/munder-difflin --skill md-hive-sync -a claude-code -g -y

安装 repo 全部 skill

npx skills add HarnessMD/munder-difflin --all -g -y

预览 repo 内 skill

npx skills add HarnessMD/munder-difflin --list

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:

  1. Read memory — Read $AGENT_DIR/memory.md for durable context from prior sessions.

  2. Check inbox — list and read all files in $AGENT_DIR/inbox/ that are NOT in inbox/.done/. For each message:

    • Act on the message.
    • Move the handled file into $AGENT_DIR/inbox/.done/ with mv.
  3. 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.

  4. End-of-task reminder — before closing this conversation, append durable facts, decisions, and outcomes to $AGENT_DIR/memory.md so future-you remembers.

Run echo $AGENT_DIR if the variable is not set to locate your agent directory under the hive root.

版本历史

  • df15a9a 当前 2026-07-05 15:41

同 Skill 集合

.claude/skills/ian-xiaohei-illustrations/SKILL.md
resources/skills/capabilities/SKILL.md
resources/skills/last30Days/SKILL.md
resources/skills/last7Days/SKILL.md
resources/skills/lastMonth/SKILL.md
resources/skills/lastQuarter/SKILL.md
resources/skills/lastWeek/SKILL.md
resources/skills/lastYear/SKILL.md
resources/skills/md-audit/SKILL.md
resources/skills/md-fetch-summarize/SKILL.md
resources/skills/temporal/SKILL.md
resources/skills/thisMonth/SKILL.md
resources/skills/thisQuarter/SKILL.md
resources/skills/thisWeek/SKILL.md
resources/skills/thisYear/SKILL.md
resources/skills/today/SKILL.md
resources/skills/yesterday/SKILL.md

元信息

文件数
0
版本
6dcda2d
Hash
d1fcef33
收录时间
2026-07-05 15:41

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 23:49
浙ICP备14020137号-1