Skip to content
Back to skills

Memory Coordinator

ASecurity

Use when an org role acts as memory coordinator and must manage shared state across agents: namespaces, consistency levels, provenance, dedupe and expiry. Coordination of multi-agent state, versus agent-memory-systems, which covers persistent semantic memory design.

  • 21 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsrustgogitsecurity

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add monoes/monomind --skill memory-coordinator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Coordinator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Coordinator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monoes-memory-coordinator/badge)](https://www.skillsdirectory.com/skills/monoes-memory-coordinator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-coordinator
description: "Use when an org role acts as memory coordinator and must manage shared state across agents: namespaces, consistency levels, provenance, dedupe and expiry. Coordination of multi-agent state, versus agent-memory-systems, which covers persistent semantic memory design."
tags: ["engineering","coordination","agents","architecture"]
tools: ["monograph_query","monograph_context","monograph_impact"]
license: Apache-2.0
source: https://github.com/monoes/monomind
---
# Memory Coordinator — Best Practices

## Focus
Manages shared memory/state across multiple agents — deciding what's stored where, keeping it consistent, and making sure agents read fresh, correctly-scoped information instead of stale or conflicting state.

## Best practices
- Use a hybrid architecture: private per-agent memory for working state, shared memory for facts other agents need — a single global store becomes a bottleneck and a single point of failure.
- Choose consistency level per operation: strong consistency for critical writes (e.g. task ownership, locks), eventual consistency for informational updates (e.g. progress notes).
- Scope access deliberately — not every agent needs read/write to every namespace; unscoped shared memory is both a coordination hazard and a security surface.
- Timestamp and attribute every write (who, when, what changed) so conflicting or stale updates can be traced and resolved.
- Prefer append-only/event-sourced logs for shared state over read-modify-write — it avoids lost-update races and gives free provenance.
- Deduplicate before writing: check whether a fact already exists in a comparable form before adding a near-duplicate entry.
- Expire or version stale entries explicitly rather than letting old and new facts coexist silently in search results.
- Make writes idempotent where possible so retries after a coordination failure don't create duplicate or conflicting state.

## Common pitfalls
- One shared global store used for everything, becoming a bottleneck and a single point of contention under concurrent writes.
- Agents reading stale cached state and acting on it, producing contradictory or duplicated work (the single largest class of multi-agent coordination failure).
- No provenance on stored facts — impossible to tell which agent wrote what or trust conflicting entries.
- Treating memory as infinite — no pruning/expiration policy, so retrieval quality degrades as noise accumulates.
- Using strong consistency everywhere "to be safe," which kills throughput; or eventual consistency everywhere, which reintroduces the races it was meant to avoid.

## Tools & techniques
- Event sourcing / append-only logs for shared state, with materialized views for fast reads.
- Namespace-scoped storage (per-task, per-agent, global) with explicit read/write permissions per namespace.
- Gossip-style propagation for eventually-consistent facts across many agents without a central bottleneck.
- Conflict resolution strategies (last-write-wins with timestamps, vector clocks, or explicit merge functions) chosen per data type.
- Periodic consolidation/summarization passes to compress accumulated memory and surface durable patterns over transient noise.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…