Agent skill

Munder Difflin Hive Sync

by HarnessMD in HarnessMD/munder-difflin

Runs the start-of-task routine for an agent working in a multi-agent hive: reads memory.md, processes new inbox messages and reminds the agent to record durable facts before ending.

MITAuto-check: notesAgent Workflows

Install Munder Difflin Hive Sync

skills CLI
$ npx skills add HarnessMD/munder-difflin --skill md-hive-sync -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HarnessMD/munder-difflin md-hive-sync --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HarnessMD/munder-difflin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/skills/md-hive-sync .claude/skills/md-hive-sync && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
md-hive-sync
GitHub stars
8.6k
Token cost
~331 tokens
SKILL.md length
111 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Runs the start-of-task routine for an agent working in a multi-agent hive: reads memory.md, processes new inbox messages and reminds the agent to record durable facts before ending.

  • Works in 4 steps: Read memory — Read $AGENT_DIR/memory.md… → Check inbox — list and read all files in… → Report — summarize what you found in… → …
  • Starting a new task and syncing with the multi-agent hive
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Checking an agent's inbox for new coordination messages

What it does

At the start of a task the agent reads $AGENT_DIR/memory.md for context carried over from earlier sessions, then lists and reads every file in $AGENT_DIR/inbox/ that is not already in inbox/.done/, acting on each message and moving the handled file into the done folder with mv. It reports back a summary of what it found in memory and any new inbox messages, noting anything assigned to it or relevant to the current session.

Before the conversation closes, the skill reminds the agent to append durable facts, decisions and outcomes to memory.md so a future session picks up the context. If AGENT_DIR is not set, running echo $AGENT_DIR locates the agent's directory under the hive root.

When your agent uses it

  • Starting a new task and syncing with the multi-agent hive
  • Checking an agent's inbox for new coordination messages
  • Recording durable facts before ending a session so the next one has them

Example prompts

  • “Sync with the hive before we start this task.”
  • “Check my hive inbox for anything assigned to me.”
  • “Before you finish, write today's decisions into memory.md.”

Requirements

  • An AGENT_DIR environment variable pointing at the agent's hive directory
  • Pre-approved tools (allowed-tools): Read, Bash

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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
  3. Report — summarize what you found in memory and any new inbox messages. Note any tasks assigned to you or information relevant to the…
  4. End-of-task reminder — before closing this conversation, append durable facts, decisions, and outcomes to $AGENT_DIR/memory.md so…

What it can do on your machine

Read from SKILL.md and the folder at commit 2c64612. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Munder Difflin Hive Sync loads about 331 tokens when it runs. Until then it costs about 111 tokens; SKILL.md has 111 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~331

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from HarnessMD/munder-difflin at commit 2c64612, republished under its MIT licence (© HarnessMD). 111 words, ~331 tokens.

Download SKILL.mdSave it as .claude/skills/md-hive-sync/SKILL.md (or your agent's skills folder).
name
md-hive-sync
description
Munder Difflin hive sync — runs the start-of-task hive protocol steps: reads memory.md, checks inbox/ for new messages, and reminds you to record durable facts in memory.md and write coordination files before ending. Use when asked to "sync with the hive", "check my inbox", "hive status", or "hive sync". Proactively suggest at the start of a new task if you haven't checked your hive inbox in this conversation. (munder-difflin)
allowed-tools
Read, Bash
version
1.0.0

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.

© HarnessMD, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

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

Open the folder on GitHubat commit 2c64612

Compare with similar skills

Munder Difflin Hive Sync next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Munder Difflin Hive Sync compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Munder Difflin Hive Sync this skillHarnessMD/munder-difflin8.6k—~331Automated safety check: NotesMIT
Harness Engineering10xChengTu/harness-engineering1021 repos~1kAutomated safety check: PassNone
Agent Startersmvschwarz/openrig6.2k—~1.7kAutomated safety check: PassApache-2.0
Durable Session StateZaxbyHub/opencode-swarm493—~896Automated safety check: PassMIT
MetaBot CLIxvirobotics/metabot994—~573Automated safety check: PassMIT
Orca CLIstablyai/orca88k2 repos~593Automated safety check: PassMIT

Similar skills

  • Harness Engineering

    10xChengTu/harness-engineering

    Set up and improve harness engineering (AGENTS.md, docs/, lint rules, eval systems, project-level prompt engineering) for AI-agent-friendly codebases.

    102 GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check passed
  • Agent Starters

    mvschwarz/openrig

    Covers authoring, inspecting, refreshing, promoting and deprecating named Agent Starters, the reusable starting points for agent seats in a rig.

    6.2k GitHub stars~1.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    493 GitHub stars~896 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • MetaBot CLI

    xvirobotics/metabot

    Documents the unified `metabot` CLI for personal memory, the skill hub, durable agent messaging, the agent registry, T5T status and scheduling.

    994 GitHub stars~573 tokensUpdated 23 days ago
    Agent WorkflowsAuto-check passed
  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    88k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from HarnessMD/munder-difflin

  • Temporal Date Window Resolver

    HarnessMD/munder-difflin

    Resolves a named time window like lastWeek, last30Days or lastQuarter into exact ISO start and end dates relative to the current moment, with no files written and no network calls.

    8.6k GitHub stars~742 tokensUpdated today
    Auto-check: notes
  • Worker Capability Catalog

    HarnessMD/munder-difflin

    Read-only catalog that tells a spawned worker agent its environment variables, temporal date-range skills and how to call each integration.

    8.6k GitHub stars~1.4k tokensUpdated today
    Auto-check: notes
  • Read-Only Code Audit

    HarnessMD/munder-difflin

    Scans the working directory for ignored errors, hard-coded secrets, debt comments, dead exports and type gaps, and reports findings by severity without editing files.

    8.6k GitHub stars~350 tokensUpdated today
    Auto-check: notes
  • Today Date Resolver

    HarnessMD/munder-difflin

    Resolve "today" to a concrete ISO date range relative to your run time — today. Returns inclusive civil dates plus exact UTC instants so you have temporal…

    8.6k GitHub stars~285 tokensUpdated today
    Auto-check: notes
  • Yesterday Date Resolver

    HarnessMD/munder-difflin

    Resolve "yesterday" to a concrete ISO date range relative to your run time — yesterday. Returns inclusive civil dates plus exact UTC instants so you have…

    8.6k GitHub stars~290 tokensUpdated today
    Auto-check: notes
  • Md Fetch Summarize

    HarnessMD/munder-difflin

    Fetch a URL and return a concise markdown summary of its content.

    8.6k GitHub stars~259 tokensUpdated today
    Auto-check: notes

Questions about Munder Difflin Hive Sync

What does Munder Difflin Hive Sync do?

Runs the start-of-task routine for an agent working in a multi-agent hive: reads memory.md, processes new inbox messages and reminds the agent to record durable facts before ending. done/, acting on each message and moving the handled file into the done folder with mv. It reports back a summary of what it found in memory and any new inbox messages, noting anything assigned to it or relevant to the current session.

When should I use Munder Difflin Hive Sync?

Munder Difflin Hive Sync fits situations like: starting a new task and syncing with the multi-agent hive; checking an agent's inbox for new coordination messages; recording durable facts before ending a session so the next one has them.

How do I install Munder Difflin Hive Sync in Claude Code?

Run `npx skills add HarnessMD/munder-difflin --skill md-hive-sync -a claude-code`. Or copy the skill folder (resources/skills/md-hive-sync in HarnessMD/munder-difflin) into .claude/skills/md-hive-sync in your project. Claude Code loads it when a task matches its description.

How do I install Munder Difflin Hive Sync in Codex?

Run `npx skills add HarnessMD/munder-difflin --skill md-hive-sync -a codex`. Or copy the skill folder (resources/skills/md-hive-sync in HarnessMD/munder-difflin) into .agents/skills/md-hive-sync in your project. Codex loads it when a task matches its description.

Can I use Munder Difflin Hive Sync in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HarnessMD/munder-difflin --skill md-hive-sync -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/md-hive-sync, .gemini/skills/md-hive-sync, .github/skills/md-hive-sync and .opencode/skills/md-hive-sync in your project.

What does Munder Difflin Hive Sync need to run?

SKILL.md names no scripts, command-line tools or credentials: Munder Difflin Hive Sync is instructions for the agent only. Our summary lists: An AGENT_DIR environment variable pointing at the agent's hive directory. Its frontmatter pre-approves these tools: Read, Bash.

Does Munder Difflin Hive Sync access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Munder Difflin Hive Sync safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Munder Difflin Hive Sync use?

Munder Difflin Hive Sync is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Munder Difflin Hive Sync use?

About 331 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Munder Difflin Hive Sync?

Skills that share tags, products or a category with Munder Difflin Hive Sync: Harness Engineering (10xChengTu/harness-engineering, 102 stars), Agent Starters (mvschwarz/openrig, 6.2k stars), Durable Session State (ZaxbyHub/opencode-swarm, 493 stars) and MetaBot CLI (xvirobotics/metabot, 994 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Munder Difflin Hive Sync?

HarnessMD (a GitHub organization) maintains it in HarnessMD/munder-difflin, which has 8,603 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.

Source: HarnessMD/munder-difflin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.