ワンクリックで
tiered-memory
Three-tier agent memory model (hot/cold/wiki) for 20-55% context reduction per spawn
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Three-tier agent memory model (hot/cold/wiki) for 20-55% context reduction per spawn
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Guides authoring and reviewing CommunityToolkit Aspire.Hosting integration APIs. Classifies integration archetypes, then applies self-contained best practices for naming, resource shape, run/publish/deploy behavior, eventing, connection properties, security, endpoint semantics, polyglot exports, READMEs, and tests.
{what this skill teaches agents}
Team initialization flow (Phase 1 proposal + Phase 2 creation)
User-level AI agents that travel with you across projects
Capture Playwright screenshots and embed them in GitHub PR descriptions
Pre-release validation, npm publish procedures, and post-publish verification
| name | tiered-memory |
| description | Three-tier agent memory model (hot/cold/wiki) for 20-55% context reduction per spawn |
| domain | memory-management, performance |
| confidence | high |
| source | earned (production measurements in tamirdresher/tamresearch1, 34-74KB baseline payloads) |
Squad agents currently load their full context history on every spawn, resulting in 34–74KB payloads per agent (8,800–18,500 tokens). Measurement shows 82–96% of that context is "old noise" — information that is no longer relevant to the current task. The Tiered Agent Memory skill introduces a three-tier memory model that eliminates this bloat, achieving 20–55% context reduction per spawn in production.
--include-cold in spawn template or add ## Cold Memory section.--include-wiki or reference specific wiki doc paths in spawn template.| Situation | Hot | Cold | Wiki |
|---|---|---|---|
| New task, no prior context needed | ✅ | ❌ | ❌ |
| Resuming interrupted work | ✅ | ✅ | ❌ |
| Debugging a recurring issue | ✅ | ✅ | ❌ |
| Implementing against a spec/ADR | ✅ | ❌ | ✅ |
| Onboarding to unfamiliar subsystem | ✅ | ❌ | ✅ |
| Post-incident review | ✅ | ✅ | ✅ |
The default spawn prompt should include Hot tier only:
## Memory Context
### Hot (current session)
{hot_context}
Add --include-cold when the task needs history:
## Memory Context
### Hot (current session)
{hot_context}
### Cold (summarized history — load on demand)
See: .squad/memory/cold/{agent-name}.md
Add --include-wiki when the task needs domain knowledge:
## Memory Context
### Hot (current session)
{hot_context}
### Wiki (durable reference)
See: .squad/memory/wiki/{topic}.md
Baseline measurements from tamirdresher/tamresearch1 production runs (June 2025):
| Agent | Total Context | Old Noise % | Hot-Only Size | Savings |
|---|---|---|---|---|
| Picard (Lead) | 74KB / 18.5K tokens | 96% | ~3KB | 55% |
| Scribe | 52KB / 13K tokens | 91% | ~4KB | 48% |
| Data | 43KB / 10.7K tokens | 88% | ~3.5KB | 42% |
| Ralph | 38KB / 9.5K tokens | 85% | ~3KB | 38% |
| Worf | 34KB / 8.5K tokens | 82% | ~3KB | 20% |
Average savings: 20–55% per spawn with Hot-only loading. Cold + Wiki on-demand adds ~2–8KB when needed, still well below current baselines.
Scribe is the memory coordinator for this system. It automates tier promotion:
scribe:wiki-writeSee Scribe charter: .squad/agents/scribe/charter.md
.squad/memory/hot/{agent}.md)--include-cold / --include-wiki flags as needed.squad/memory/wiki/.squad/memory/cold/ with 30-day TTLUse this template when spawning any Squad agent. By default it loads Hot tier only. Add optional sections as needed.
{task_description}
{why_this_matters}
Paste current session context here (2–4KB max):
Current task: {task_description}
Active decisions: {decisions_this_session}
Last actions: {last_3_to_5_actions}
Blockers: {current_blockers_or_none}
Talking to: {current_interlocutor}
--include-cold)Load on demand. Do not inline unless specifically needed.
Summarized cross-session history is at:
.squad/memory/cold/{agent-name}.md
Include when:
To load cold memory, add this section and fetch the file before spawning:
## Cold Memory Summary
{contents_of_.squad/memory/cold/{agent-name}.md}
--include-wiki)Load on demand. Reference specific wiki docs by path.
Wiki entries are at: .squad/memory/wiki/
Include when:
To load wiki, add this section and reference the specific doc:
## Wiki Reference
{contents_of_.squad/memory/wiki/{topic}.md}
If blocked or uncertain:
skills/tiered-memory/SKILL.md for full tier referencedocs/tiered-memory-guide.md for wiring instructions