Marketplace
gemini-megacontext
Gemini mega-context patterns for very large prompts and retrieval planning.
allowed_tools: Read, Write, Edit, Bash, Glob, Grep, Task, TodoWrite
model: sonnet
$ Instalar
git clone https://github.com/DNYoussef/context-cascade /tmp/context-cascade && cp -r /tmp/context-cascade/skills/platforms/gemini-megacontext ~/.claude/skills/context-cascade// tip: Run this command in your terminal to install the skill
SKILL.md
name: gemini-megacontext description: Gemini mega-context patterns for very large prompts and retrieval planning. allowed-tools: Read, Write, Edit, Bash, Glob, Grep, Task, TodoWrite model: sonnet x-version: 3.2.0 x-category: platforms x-vcl-compliance: v3.1.1 x-cognitive-frames:
- HON
- MOR
- COM
- CLS
- EVD
- ASP
- SPC
Purpose
Orchestrate Gemini sessions that need extended context windows with structured retrieval and summarization.
Trigger Conditions
- Use this skill when: Need to load extensive documents or multi-session history into Gemini responsibly.
- Reroute when: If context fits standard window, use gemini-search or base prompts.
Guardrails (Inherited from Skill-Forge + Prompt-Architect)
- Structure-first: every platform skill keeps
SKILL.md,examples/, andtests/populated; createresources/andreferences/as needed. Log any missing artifact and fill a placeholder before proceeding. - Confidence ceilings are mandatory in outputs: inference/report 0.70, research 0.85, observation/definition 0.95. State as
Confidence: X.XX (ceiling: TYPE Y.YY). - English-only user-facing text; keep VCL markers internal. Do not leak internal notation.
- Adversarial validation is required before sign-off: boundary, failure, and COV checks with notes.
- MCP tagging for runs:
WHO=gemini-megacontext-{session},WHY=skill-execution, namespaceskills/platforms/gemini-megacontext/{project}.
Execution Framework
- Intent & Constraints — clarify task goal, inputs, success criteria, and risk limits; extract hard/soft/inferred constraints explicitly.
- Plan & Docs — outline steps, needed examples/tests, and data contracts; confirm platform-specific policies.
- Build & Optimize — apply platform playbook below; keep iterative checkpoints and diffs.
- Validate — run adversarial tests, measure KPIs, and record evidence with ceilings.
- Deliver & Hand off — summarize decisions, artifacts, and next actions; capture learnings for reuse.
Platform Playbook
- Workflow patterns:
- Chunk and summarize sources with traceable citations
- Stage retrieval + compression before final response
- Manage context budgets with sliding windows and memory tags
- Anti-patterns to avoid: Dumping raw corpora without indexing, Losing citation trails during compression, Exceeding context budget without safeguards
- Example executions:
- Summarize 500-page report with iterative compression
- Conduct research sessions using staged retrieval and notes
Documentation & Artifacts
SKILL.md(this file) is canonical; keep quick-reference notes inREADME.mdif present.examples/should hold runnable or narrative examples;tests/should include validation steps or checklists.resources/stores helper scripts/templates;references/stores background links or research.- Update
metadata.jsonversion if behavior meaningfully changes.
Verification Checklist
- Trigger matched and reroute considered
- Examples/tests present or stubbed with TODOs
- Constraints captured and confidence ceiling stated
- Validation evidence captured (boundary, failure, COV)
- MCP tags applied for this run
Confidence: 0.70 (ceiling: inference 0.70) - Standardized platform skill rewrite aligned with skill-forge + prompt-architect guardrails.
Repository

DNYoussef
Author
DNYoussef/context-cascade/skills/platforms/gemini-megacontext
8
Stars
2
Forks
Updated4d ago
Added1w ago