# Mega Context Manager

> >

- **Type:** Skill
- **Install:** `agentstack add skill-stijnman-grok-custom-skills-mega-context-manager`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Stijnman](https://agentstack.voostack.com/s/stijnman)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Stijnman](https://github.com/Stijnman)
- **Source:** https://github.com/Stijnman/grok-custom-skills/tree/main/.grok/skills/mega-context-manager

## Install

```sh
agentstack add skill-stijnman-grok-custom-skills-mega-context-manager
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Mega Context Manager

## When to Use

- User says **manage context** or task matches this capability
- User says **too much context** or task matches this capability
- User says **chunk document** or task matches this capability
- User says **context budget** or task matches this capability

## Workflow

1. Measure token estimate of inputs.
2. If over budget: chunk, summarize chunks, index.
3. Retrieve relevant chunks per subtask only.
4. Drop stale chunks after task completion.

## Integrations

- `semantic-memory-manager`
- `predictive-cache-manager`
- `persistent-memory-bridge`

## Error Handling

| Failure | Response |
|---------|----------|
| Retrieval miss | Expand query; include adjacent chunks. |

## Gotchas

- Summaries lose detail; keep raw chunks for citation.

## Example

**Input:** User request matching triggers above.
**Output:** Structured result per workflow with integrations invoked as needed.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Stijnman](https://github.com/Stijnman)
- **Source:** [Stijnman/grok-custom-skills](https://github.com/Stijnman/grok-custom-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-stijnman-grok-custom-skills-mega-context-manager
- Seller: https://agentstack.voostack.com/s/stijnman
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
