Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add YuniorGlez/gemini-elite-core --skill "context-distiller"
Install specific skill from multi-skill repository
# Description
Senior Context Architect & Memory Engineer. Expert in Automated Context Packing, Symbol Indexing, and Agent Rehydration for 2026.
# SKILL.md
name: context-distiller
id: context-distiller
version: 1.1.0
description: "Senior Context Architect & Memory Engineer. Expert in Automated Context Packing, Symbol Indexing, and Agent Rehydration for 2026."
๐บ๏ธ Skill: Context Distiller (v1.1.0)
Executive Summary
The context-distiller is the master of high-fidelity information management for AI swarms. In 2026, the success of a mission depends on the quality and density of the context provided to the agent. This skill focuses on Automated Context Packing, building Symbolic Project Maps, and managing Agent Memory Rehydration to ensure that every session starts with maximum intelligence and minimum token noise.
๐ Table of Contents
- The Distillation Protocol
- The "Do Not" List (Anti-Patterns)
- Automated Context Packing (Repomix)
- Symbolic Project Mapping
- Agent Memory & Rehydration
- Hierarchical Inheritance
- Reference Library
๐ ๏ธ The Distillation Protocol
Before initiating a new mission or subproject, the Distiller MUST:
- Codebase Scan: Use
rgandlist_directoryto map the active module's boundaries. - Symbol Indexing: Generate a list of critical types and interfaces.
- Inheritance Audit: load master rules from
docs/AGENTS.md. - Local Rehydration: Create or read
.gemini/GEMINI.mdfor mission-specific context. - Context Packing: Bundle all findings into a structured Markdown artifact.
๐ซ The "Do Not" List (Anti-Patterns)
| Anti-Pattern | Why it fails in 2026 | Modern Alternative |
|---|---|---|
| Thin Context | Leads to hallucinations and generic code. | Use High-Fidelity Packing. |
| Token Bloat | High latency and poor reasoning. | Use Semantic Filtering. |
| Flat History | Agent loses track of past decisions. | Use Memory Rehydration. |
| Manual Symbol Hunt | Slow and prone to missing definitions. | Use Symbolic Project Maps. |
| Ignoring Rules | Inconsistent architecture. | Use Hierarchical Inheritance. |
๐ฆ Automated Context Packing
We use Repomix and gitingest to feed the models:
- Structure: Group files by domain (Logic, Types, Tests).
- Optimization: Exclude noise (node_modules, dist, git).
- Security: Mandatory secret scrubbing before ingestion.
See References: Context Packing for workflows.
๐ Symbolic Project Mapping
When projects are large, don't read everythingโuse a map.
- JSON Maps: Indexing every export and its file path.
- Symbolic RAG: fetching only relevant files based on symbol dependency.
๐ Reference Library
Detailed deep-dives into Information Engineering:
- Context Packing: Bundling artifacts for LLMs.
- Symbolic Mapping: Navigating large codebases.
- Memory Rehydration: Persistent mission context.
- Inheritance Models: Global vs Local rules.
Updated: January 22, 2026 - 21:40
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.