tiered-memory
Skill1.5k starsChanged 5 months agoMITView on GitHub
Three-tier agent memory model (hot/cold/wiki) for context reduction per spawn
8 other projects use a version of this, 5 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- github/squadword for word, first seen Nov 8, 2026
- weininghui/skillstheir own version, first seen Oct 30, 2026
- microsoft/github-vteam-industry-demosedited, first seen Oct 25, 2026
- kubefleet-dev/kubefleetedited, first seen Oct 8, 2026
- shali10/awesome-agent-skillstheir own version, first seen Sep 1, 2026
- microsoft/fsi-banking-payments-dispute-resolution-acceleratoredited, first seen Aug 14, 2026
Who's talking about microsoft/waza
- @matsuu.bsky.social“Go実装なんだな。”Bluesky · May 10, 2026 · 4 likes
- postfinance/devcontainer-features“Create a feature that installs waza (https://github.com/microsoft/waza)”GitHub · Aug 14, 2026 · 1 reactions
- @awakecoding.com“The tessl command-line tool uses server-side evals for the agent skills, so you don't have to figure out …”Bluesky · May 15, 2026 · 1 likes
- Azure/azure-sdk-tools“[Discussion][Benchmark] Benchmark framework selection”GitHub · Mar 30, 2026 · 1 reactions
- neilli-sable/dotfiles“Update dependency github:microsoft/waza to v0.40.0”GitHub · Nov 8, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub and Bluesky (50 times).
On GitHub · 48
- Aug 14, 2026Create a feature that installs waza (https://github.com/microsoft/waza) — postfinance/devcontainer-features1 reaction
- Mar 30, 2026[Discussion][Benchmark] Benchmark framework selection — Azure/azure-sdk-toolssays it tested it1 reaction · 5 comments
- Nov 8, 2026Update dependency github:microsoft/waza to v0.40.0 — neilli-sable/dotfiles0 reactions
- Nov 6, 2026自作 skill に評価(evals)と静的チェックを用意する — oddgai/dotfiles0 reactions
- Nov 2, 2026build(waza): bump pinned waza to 0.39.1 — akunzai/agent-skills0 reactions
43 more on GitHub
- Oct 13, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.9 — y-miyazaki/config0 reactions
- Oct 12, 2026build(waza): bump pinned waza to 0.38.10 — akunzai/agent-skills0 reactions
- Oct 9, 2026Update dependency github:microsoft/waza to v0.38.9 — neilli-sable/dotfiles0 reactions
- Oct 8, 2026[Candidate] microsoft/waza/examples/code-explainer - code-explainer — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] microsoft/waza/.copilot/skills/error-recovery - error-recovery — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] microsoft/waza/.copilot/skills/agent-collaboration - agent-collaboration — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.8 — y-miyazaki/config0 reactions
- Oct 5, 2026chore(deps): bump waza to 0.38.9 — akunzai/agent-skills0 reactions · 1 comment
- Oct 4, 2026Clean up the Google Sheet so the graph gets real topics (Category values, duplicates, empty tabs) — Amitro123/knowledgeBase-Agent0 reactions · 3 comments
- Oct 3, 2026Update dependency github:microsoft/waza to v0.38.8 — neilli-sable/dotfiles0 reactions
- Oct 3, 2026chore: update dependency github:microsoft/waza to latest — daaa1k/skills0 reactions · 3 comments
- Sep 3, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.7 — y-miyazaki/config0 reactions
- Aug 23, 2026Update dependency github:microsoft/waza to v0.38.7 — neilli-sable/dotfiles0 reactions
- Aug 22, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.6 — y-miyazaki/config0 reactions
- Aug 19, 2026Update dependency github:microsoft/waza to v0.38.6 — neilli-sable/dotfiles0 reactions
- Aug 17, 2026spec: replace API paired evaluation with Waza (Copilot-native) — akunzai/agent-skills0 reactions
- Aug 14, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.5 — y-miyazaki/config0 reactions
- Aug 12, 2026Update dependency github:microsoft/waza to v0.38.5 — neilli-sable/dotfiles0 reactions
- Aug 3, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.4 — y-miyazaki/config0 reactions
- Jul 24, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.3 — y-miyazaki/config0 reactions
- Jul 15, 2026Review and improve Waza User Guide documentation — microsoft/vscode-chat-customizations-evaluation0 reactions · 1 comment
- Jul 15, 2026feat(battle-testing-a-skill): add 7 adversarial dimensions missing vs superpowers/waza/academic threat models — tvna/gitapexsays it tested it0 reactions
- Jul 13, 2026feat(evals): add waza eval suites for all skills lacking coverage — tvna/gitapex0 reactions
- Jul 13, 2026ci: add waza check as a non-blocking skill report — tvna/gitapex0 reactions
- Jul 8, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.0 — y-miyazaki/config0 reactions
- Jul 4, 2026skill周り整備 umbrella — happy663/dotfiles0 reactions
- Jun 25, 2026renovate(mise): Update dependency github:microsoft/waza to v0.37.0 — y-miyazaki/config0 reactions
- Jun 3, 2026ci(portable-pr-policy): cache prek, waza, and uv artifacts to speed up the all-files run — tvna/claude-md0 reactions · 1 comment
- Jun 3, 2026ci(portable-pr-policy): prek "against all files" step is slow (~110s cold) -- cache hook envs and waza — tvna/claude-md0 reactions
- Jun 1, 2026Waza user guide: Content feedback — microsoft/vscode-chat-customizations-evaluation0 reactions
- May 31, 2026waza example: — KazuCocoa/specialist-role-cards0 reactions
- May 23, 2026[FEATURE]: Improving the skills for kelp migration and development — BenSchr/kelp-core0 reactions
- May 10, 2026feat(evals): introduce microsoft/waza for skill quality evaluation — iwasa-kosui/kamae-ts0 reactions
- Apr 8, 2026feat(ci): waza-based skill quality checks (Phase 1) — PRD #812 — github/squad0 reactions · 6 comments
- Apr 6, 2026PRD: Skill Security Scanning — Markdown-Aware Scanner for Agent-Executable Instructions — github/squad0 reactions · 3 comments
- Apr 6, 2026feat: Adopt waza ComplianceChecker for skill security scanning — github/squad0 reactions · 1 comment
- Apr 4, 2026PRD: Waza-Based PR Quality Checks for Squad Skills — github/squad0 reactions · 3 comments
- Apr 4, 2026PRD: Waza-Based PR Quality Checks for Squad Skills — diberry/squad0 reactions · 1 comment
- Mar 29, 2026Clean up Copilot CLI session-state after eval runs — ronniegeraghty/hyoka0 reactions · 3 comments
- Mar 27, 2026apr may 2026 — kimtth/azure-openai-llm-notes0 reactions
- Mar 25, 2026Bootstrap azure-net-skills-scenarios for .NET SDK skills measurement using waza — JonathanCrd/azure-net-skills-scenarios0 reactions
- Mar 22, 2026feat: add Waza evaluation suite for skill quality validation — ahmadabdalla/azure-cost-calculator0 reactions · 2 comments
- Mar 5, 2026Skill quality validation against sensei/waza best practices — haileyvictory/azure-building-blocks0 reactions
On Bluesky · 2
- May 10, 2026Go実装なんだな。 — @matsuu.bsky.social4 likes and reposts
- May 15, 2026The tessl command-line tool uses server-side evals for the agent skills, so you don't have to figure out how to do it yourself. I didn't… — @awakecoding.com1 likes and repost
Other versions8 projects use a version of this.
Word for word · 1
- github/squad★ 3.4k100% same
Edited · 5
- github/gh-aw★ 5.6k95% same
- Azure/fleet★ 22798% same
- kubefleet-dev/kubefleet★ 16498% same
- microsoft/github-vteam-industry-demos★ 298% same
- microsoft/fsi-banking-payments-dispute-resolution-accelerator★ 098% same
Wrote their own version · 2
- shali10/awesome-agent-skills★ 1same name
- weininghui/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .squad/copilot-instructions.mdCopilot instructions
- .squad-templates/copilot-instructions.mdCopilot instructions
- .squad/templates/copilot-instructions.mdCopilot instructions
- squad-commandsSkill
- code-explainerSkill
- evidence-judgeSkill
- agent-collaborationSkill
- azd-publishSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-squad-communicationSkill
- cross-squadSkill
- error-recoverySkill
- git-workflowSkill
- iterative-retrievalSkill
- reflectSkill
- reviewer-protocolSkill
- secret-handlingSkill
- session-recoverySkill
- squad-conventionsSkill
- squad-helpSkill
- squadSkill
- squad-version-checkSkill
- test-disciplineSkill
- code-explainerSkill
- waza-interactiveSkill
- wazaSkill
- {skill-name}Skill
- squad-conventionsSkill
- {skill-name}Skill
- {skill-name}Skill
- squad-conventionsSkill
- waza-runnerSkill
The file
We split this skill into the rules it gives an agent
6 rules. 4 are common, 0 are distinctive, and 2 are very specific to this project.
4
Common
Most of the 7 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 22
Size target: keep small (~2–4KB typical)
- Common: line 23
Load policy: Always loaded. Every spawn includes hot memory by default.
- Very specific: line 70
Add --include-cold when the task needs history:
- Very specific: line 81
Add --include-wiki when the task needs domain knowledge:
- Common: line 129
Use this template when spawning any Squad agent.
- Common: line 207
If blocked or uncertain:
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: Tiered Agent Memory
Status (v0.10.0): This skill describes a design proposal, not a shipped runtime. Skill files install via
squad init/upgrade, but the underlying tier scaffolding (.squad/memory/hot/,cold/,wiki/), Scribe promotion logic, and spawn-template tier-aware reads are tracked in bradygaster/squad#1264. Until those land, agents continue to load fullhistory.md+decisions.mdon every spawn.
Overview
Squad agents today load their full context history on every spawn, which grows unboundedly across sessions. The Tiered Agent Memory model proposes a three-tier separation so agents only load the bytes that are actually relevant to the current task, with older context kept available on demand.
Memory Tiers
🔥 Hot Tier — Current Session Context
- Size target: keep small (~2–4KB typical)
- Load policy: Always loaded. Every spawn includes hot memory by default.
- Contents: Current task description, active decisions made this session, immediate blockers, last 3–5 actions taken, who you are talking to right now.
- Lifetime: Current session only. Discarded after session ends (Scribe promotes relevant parts to Cold).
- Purpose: Provide immediate task context without any latency or load decision.
❄️ Cold Tier — Summarized Cross-Session History
- Size target: larger summary, not full transcript (~8–12KB typical)
- Load policy: Load on demand. Include only when the task explicitly needs history.
- Contents: Summarized past sessions (compressed by Scribe), cross-session decisions, recurring patterns, unresolved issues from prior work.
- Lifetime: Rolling window (default proposal: 30 days). Eligible entries are then promoted to Wiki.
- Purpose: Answer "what have we tried before?" and "what was decided?" without replaying full transcripts.
- How to include: Pass
--include-coldin spawn template or add## Cold Memorysection.
📚 Wiki Tier — Durable Structured Knowledge
- Size target: variable, structured reference docs
- Load policy: Async write, selective read. Load only when task requires domain knowledge.
- Contents: Architecture decisions (ADRs), agent charters, routing rules, stable conventions, external API contracts, known platform constraints.
- Lifetime: Permanent until explicitly deprecated.
- Purpose: Authoritative reference. Not history — structured facts.
- How to include: Pass
--include-wikior reference specific wiki doc paths in spawn template.
When to Load Each Tier
| 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 | ✅ | ✅ | ✅ |
Spawn Template Pattern
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}.mdAdd --include-wiki when the task needs domain knowledge:
## Memory Context
### Hot (current session)
{hot_context}
### Wiki (durable reference)
See: .squad/memory/wiki/{topic}.mdIntegration with Scribe Agent (design — not yet implemented)
Scribe is the proposed memory coordinator for this system. Once the runtime lands, Scribe will:
- End of session: Compress Hot → Cold summary (target: ~10% of session verbosity)
- Aged cold entries: Promote Cold → Wiki for decisions/facts that aged into stable knowledge
- On-demand wiki writes: Any agent can request Scribe to write a wiki entry mid-session
Until then, see the Scribe charter for current behavior: .squad/agents/scribe/charter.md
Implementation Checklist (tracked in #1264)
- Scribe writes Hot context file at session start (
.squad/memory/hot/{agent}.md) - Scribe compresses and writes Cold summary at session end
- Spawn templates default to Hot-only
- Coordinators add
--include-cold/--include-wikiflags as needed - Wiki entries stored in
.squad/memory/wiki/ - Cold entries stored in
.squad/memory/cold/with rolling TTL
References
- Tracking issue: bradygaster/squad#1264 — installation gap + runtime status
- Original design spike: bradygaster/squad#686 — tiered memory implementation plan
- Related: bradygaster/squad#600 — context payload growth
Spawn Template
Spawn Template: Agent with Tiered Memory
Use this template when spawning any Squad agent. By default it loads Hot tier only. Add optional sections as needed.
Task
{task_description}
WHY
{why_this_matters}
Success Criteria
- {criterion_1}
- {criterion_2}
Memory Context
🔥 Hot (always included)
Paste current session context here (~2–4KB target):
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}❄️ Cold (include when task needs history — add --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:
- Resuming interrupted work
- Debugging a recurring issue
- "What have we tried before?"
To load cold memory, add this section and fetch the file before spawning:
## Cold Memory Summary
{contents_of_.squad/memory/cold/{agent-name}.md}📚 Wiki (include when task needs domain knowledge — add --include-wiki)
Load on demand. Reference specific wiki docs by path.
Wiki entries are at: .squad/memory/wiki/
Include when:
- Implementing against an ADR or spec
- Onboarding to unfamiliar subsystem
- Need stable conventions or API contracts
To load wiki, add this section and reference the specific doc:
## Wiki Reference
{contents_of_.squad/memory/wiki/{topic}.md}Escalation
If blocked or uncertain:
- Architecture questions → current architecture owner from
routing.md - Security concerns → current security owner from
routing.md - Infrastructure/deployment → current delivery owner from
routing.md - Memory/history questions → current memory owner from
routing.md
Notes
- Hot tier is always included; keep it focused
- Cold adds a summary; only include when history is relevant
- Wiki adds variable size; only include specific relevant docs
- Runtime backing is tracked in bradygaster/squad#1264 — until those changes land, this skill is design-only and agents continue to load full history.md + decisions.md on every spawn
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

