Skills for Real Engineers. Straight from my .agents directory.
latent-briefing
Agent skill frommuratcankoylan/Agent-Skills-for-Context-Engineering
This skill should be used when the user asks to \"share memory between agents\", \"KV cache compaction for multi-agent\", \"orchestrator worker context\", \"latent briefing\", \"reduce worker tokens\", \"cross-agent memory without summarization\", or discusses Attention Matching compaction, recursive language models with workers, or token explosion in hierarchical agents.
How to install latent-briefing
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering# or add only this skill to Claude Code: copy the folder
skills/latent-briefing/
# into
~/.claude/skills/latent-briefing/ (all projects)
.claude/skills/latent-briefing/ (one project)
1# Latent Briefing and KV Cache Memory Sharing23Hierarchical multi-agent systems often pay for the same context twice. The orchestrator accumulates a long reasoning trajectory, but each worker usually receives only a narrow text handoff such as a subtask prompt plus raw document slices. Passing the full trajectory fixes coverage but drives token cost up on every worker call. Summarization introduces latency and information loss. Retrieval helps with document access but does not preserve the orchestrator's evolving reasoning state.45Latent Briefing addresses this by sharing memory at the **representation level** rather than the text level. The core idea is to compact the orchestrator trajectory in the worker model's KV cache, keeping positions that are most relevant to the **current worker task**. The method builds on **Attention Matching (AM)** KV cache compaction and adapts it for inference-time multi-agent handoff with task-guided queries, a shared token mask across heads, and robust thresholding.67## When to Activate89Activate this skill when:1011- Designing orchestrator-worker or supervisor-specialist systems where workers need access to prior orchestrator state without replaying the full trajectory as text12- Evaluating alternatives to LLM summarization or RAG for cross-agent state transfer13- Implementing or studying **KV cache compaction** as a first-class inference primitive, not only prefix caching of identical prompts14…
Excerpt shown under the repository's MIT license.
More skills in Agent-Skills-for-Context-Engineering
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
