-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
agent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-skillsSkills documentation and patternsSkills documentation and patternsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact
Description
Context
Vercel research (Jan 2026) demonstrates that compressed passive context in AGENTS.md achieves 100% pass rate vs 79% for skills. Key finding: 40KB → 8KB (80% reduction) with 100% pass rate maintained.
Research: .agents/analysis/vercel-passive-context-vs-skills-research.md
Memory: passive-context-vs-skills-vercel-research
Recommendations
High Priority
-
Compress CRITICAL-CONTEXT.md: Apply pipe-delimited format to reduce token usage
- Current: Table-based format
- Target: Pipe-delimited index format
- Expected reduction: ~60-80%
-
Document Skill vs Passive Decision Framework
- Add section to SKILL-QUICK-REF.md
- Criteria: Knowledge → passive context, Actions → skills
-
Optimize memory-index format
- Convert from table to compressed pipe-delimited
- Maintain discoverability
Medium Priority
-
Build eval suite for protocol compliance
- Target behaviors outside model training data
- Behavior-based assertions (not implementation details)
- Session protocol compliance verification
-
Skill pruning analysis
- Identify knowledge-heavy skills → convert to passive context
- Keep action-heavy skills
Low Priority
- Automatic context compression tool
- Utility to compress markdown docs to minimal tokens
- Apply to @imported files
Compression Format Example
[Session Protocol]
|Phase 1 (BLOCKING): Serena init (activate + initial_instructions)
|Phase 2: Read HANDOFF.md (read-only dashboard)
|Phase 3: Create session log (.agents/sessions/YYYY-MM-DD-session-NN.json)
|Phase 4: Read usage-mandatory memory
|Phase 5: Verify branch (git branch --show-current)
Acceptance Criteria
- CRITICAL-CONTEXT.md compressed with pipe-delimited format
- Token reduction measured (before/after)
- Pass rate validation (protocol compliance tests pass)
- Decision framework documented in SKILL-QUICK-REF.md
- memory-index converted to compressed format
References
- Vercel blog: https://vercel.com/blog/agents-md-outperforms-skills-in-our-agent-evals
- Forgetful memories: IDs 495-502
- Related: claude-md-anthropic-best-practices, memory-token-efficiency
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent-memoryContext persistence agentContext persistence agentagent-qaTesting and verification agentTesting and verification agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-skillsSkills documentation and patternsSkills documentation and patternsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact