# Memory Budgeting

> Define residency and memory budgets so content, streaming, and runtime systems fit target platforms.

- **Type:** Skill
- **Install:** `agentstack add skill-mrcalderon3d-everything-game-dev-code-memory-budgeting`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MRCalderon3D](https://agentstack.voostack.com/s/mrcalderon3d)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MRCalderon3D](https://github.com/MRCalderon3D)
- **Source:** https://github.com/MRCalderon3D/everything-game-dev-code/tree/main/skills/engineering-common/memory-budgeting

## Install

```sh
agentstack add skill-mrcalderon3d-everything-game-dev-code-memory-budgeting
```

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

## About

# Memory Budgeting

## Purpose
Define residency and memory budgets so content, streaming, and runtime systems fit target platforms.

## Use When
- the project has constrained hardware targets
- memory spikes cause instability
- large content sets are growing

## Inputs
- target platforms
- asset classes
- streaming model
- system residency assumptions

## Process
1. budget memory by asset and system class
2. define who owns loading and unloading decisions
3. measure peak and steady-state memory in representative flows
4. flag accidental hard references or pinned content
5. connect fixes to content and architecture owners

## Outputs
- memory budget sheet
- residency rules
- peak-memory review notes
- ownership map

## Quality Bar
- makes ownership, state flow, and failure behavior explicit
- improves maintainability without over-abstracting
- supports testing, debugging, and safe iteration

## Common Failure Modes
- coupling systems through hidden globals or timing assumptions
- writing logic that is hard to test or debug
- optimizing the wrong layer before measuring

## Related Agents
- performance-reviewer
- technical-artist
- build-engineer

## Related Commands
- memory-budget
- verify
- release-check

## Notes
- Keep this skill aligned with the relevant rules layer and current project documentation.
- If engine-specific constraints materially change the workflow, hand off to the matching engine skill or engine-specific reviewer.

## Source & license

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

- **Author:** [MRCalderon3D](https://github.com/MRCalderon3D)
- **Source:** [MRCalderon3D/everything-game-dev-code](https://github.com/MRCalderon3D/everything-game-dev-code)
- **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-mrcalderon3d-everything-game-dev-code-memory-budgeting
- Seller: https://agentstack.voostack.com/s/mrcalderon3d
- 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%.
