accessibility-patterns
WCAG 2.2 AA compliance, ARIA patterns, keyboard navigation, screen reader optimization
Progressive memory recall with 4 scope layers AND 3 depth layers. Scope: identity > project > room > deep. Depth: IDs only > summary > full. 10-50x token savings through fetch-on-confirmation pattern.
$ npx -y skills add vibeeval/vibecosystem --skill layered-recall --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/layered-recallContext preview
The summary Claude sees to decide when to auto-load this skill.
Progressive memory recall with 4 scope layers AND 3 depth layers. Scope: identity > project > room > deep. Depth: IDs only > summary > full. 10-50x token savings through fetch-on-confirmation pattern.
name: layered-recall description: "Progressive memory recall with 4 scope layers AND 3 depth layers. Scope: identity > project > room > deep. Depth: IDs only > summary > full. 10-50x token savings through fetch-on-confirmation pattern."
Progressive memory system with **two orthogonal dimensions** of lazy loading: 1. **Scope layers** - What is relevant (identity, project, domain, deep) 2. **Depth layers** - How much detail to fetch (IDs, summary, full)
Combined savings: 10-50x tokens vs eager loading.
Instead of loading full memory entries upfront, agents fetch in 3 depths:
Depth 1: IDs only (~10 tokens per match) Agent decides which are worth investigating Depth 2: Summary (~50 tokens per match) Room, type, preview (first 80 chars) Agent confirms relevance Depth 3: Full content (~500+ tokens per match) Only fetched for confirmed matches
**Example flow:**
1. Agent searches "auth refresh token" 2. Depth 1 returns 8 IDs: d-abc123, d-def456, ... 3. Agent requests Depth 2 for IDs 1-3 4. Sees room=authentication, type=decision, preview="Chose JWT..." 5. Agent confirms IDs 1,3 are relevant 6. Requests Depth 3 only for those 2 entries 7. Gets full content for ~1000 tokens instead of 4000+
Layer 1: Identity (always loaded, ~200 tokens) Who is the user? What are their preferences? Layer 2: Critical Facts (per-project, ~500 tokens) Hard constraints, active decisions, blockers Layer 3: Room Recall (on-demand, ~1-2K tokens) Relevant memories for current task domain Layer 4: Deep Search (when needed, ~2-5K tokens) Full semantic search across all memories
Loaded at every session start. Contains:
**Source:** `~/.claude/projects/*/memory/user_*.md`
Loaded when entering a project directory. Contains:
**Source:** `~/.claude/projects/*/memory/project_*.md` + `thoughts/CONTEXT.md`
Loaded when task domain is detected (auth, database, deploy, etc.). Contains:
**Source:** Memory palace rooms + `mature-instincts.json` filtered by domain
**Trigger:** Intent classifier detects domain (e.g., "fix the login bug" -> room: authentication)
Only loaded when explicitly needed or when Layers 1-3 don't have enough context. Contains:
**Source:** PostgreSQL vector search + palace cross-wing search
**Trigger:** Agent explicitly queries, or user asks "have we done this before?"
Session Start -> Load Layer 1 (identity) -> Detect project -> Load Layer 2 (facts) -> User sends prompt -> Classify intent/domain -> Load Layer 3 (room) -> If insufficient context -> Load Layer 4 (deep)
| Layer | Tokens | When | |-------|--------|------| | L1 | ~200 | Always | | L2 | ~500 | Per project | | L3 | ~1-2K | Per task domain | | L4 | ~2-5K | On demand | | **Total max** | **~8K** | Worst case |
vs. loading everything: ~30-50K tokens
**Savings: 4-6x token reduction**
Your AI software team. Built on Claude Code. vibecosystem turns Claude Code into a full AI software team — 138 specialized agents that plan, build, review, test, and learn from every mistake. No configuration needed — just install and code.
Repo: vibeeval/vibecosystem
WCAG 2.2 AA compliance, ARIA patterns, keyboard navigation, screen reader optimization
axe-core integration, WCAG 2.2 AA checklist, keyboard navigation testing, screen reader testing, and ARIA pattern validation.
Steam-style achievement system with XP, levels, streaks, and skill trees. Gamifies the development workflow. 25 achievements across 5 categories.
Framework for measuring and tracking agent response quality over time. Detects regressions before they reach production. Use when evaluating agent changes,…
Agent ve skill dosyalarinin yapisal dogrulamasi. Frontmatter kontrol, naming convention, zorunlu bolum kontrolu, tutarlilik denetimi. Yeni agent/skill…