md-hive-sync

Reads memory files and processes inbox messages for hive agent coordination.

1|Updated Aug 23, 2026
One-click install
npx skills add https://github.com/foxmaster77/12BOT --skill md-hive-sync-foxmaster77
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: md-hive-sync
Source: https://github.com/foxmaster77/12BOT/tree/main/munder-difflin-main/munder-difflin-main/resources/skills/md-hive-sync
Command: npx skills add https://github.com/foxmaster77/12BOT --skill md-hive-sync-foxmaster77

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agents working in a multi-agent hive lose context between sessions and miss coordination messages from other agents. This Skill runs the mandatory start-of-task protocol so every session begins with full awareness of prior memory and pending inbox messages. ## Core Features & Use Cases - Memory Loading: Reads $AGENT_DIR/memory.md to restore durable facts and decisions from prior sessions. - Inbox Processing: Lists and reads all unhandled messages in $AGENT_DIR/inbox/, acts on each one, and moves handled files into inbox/.done/. - Session Reporting: Summarizes memory contents and new messages, flagging assigned tasks relevant to the current session. - Use Case: At the start of a new task in a Munder Difflin hive, ask the agent to sync with the hive so it recalls prior decisions, picks up messages from teammate agents, and records outcomes back to memory before finishing. ## Quick Start Ask the agent to sync with the hive and check the inbox before starting the current task.

Frequently Asked Questions about md-hive-sync

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

FAQPage Schema
How do I sync an agent with the hive at the start of a task?▼

Invoke the hive sync by asking to sync with the hive or check the inbox. The agent reads memory.md, processes every unhandled file in inbox/, moves handled messages to inbox/.done/, and reports a summary of findings.

How does hive inbox message processing work?▼

The agent lists all files in $AGENT_DIR/inbox/ that are not in the .done/ subdirectory, reads and acts on each message, then moves the handled file into inbox/.done/ using mv. This prevents reprocessing of completed messages.

What happens if AGENT_DIR is not set?▼

The skill instructs the agent to run echo $AGENT_DIR to locate the agent directory under the hive root when the variable is unset. Without a valid AGENT_DIR, memory and inbox paths cannot be resolved.

Does hive sync write anything back after a task?▼

Yes. Before ending the conversation, the agent is reminded to append durable facts, decisions, and outcomes to $AGENT_DIR/memory.md so future sessions retain the context.

What tools does hive sync require?▼

The skill declares allowed-tools of Read and Bash. Read loads memory and inbox files, while Bash handles listing directories and moving processed messages into the .done/ folder.