Skip to content
Back to skills

Budget Memory

ASecurity

Track flash and RAM (image, static, worst-case stack/heap) against the part's limits. Reach for this on any memory or footprint question.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agents

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add mcorbett51090/RavenClaude --skill budget-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Budget Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Budget Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-budget-memory/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-budget-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: budget-memory
description: "Track flash and RAM (image, static, worst-case stack/heap) against the part's limits. Reach for this on any memory or footprint question."
---

# Skill: Budget memory

Running out of RAM in the field is a brick, not a warning — budget memory like money (§3 #3).

## Step 1 — Measure the regions
Image size (flash), static RAM, worst-case stack and heap.

## Step 2 — Compare to the part
Flash and RAM used vs available per region via `embedded_iot_calc.py memory-budget` (§3 #3).

## Step 3 — Require headroom
Leave margin for stack peaks and OTA dual-bank; no-headroom is over-budget (§3 #3 #5).

## Step 4 — Flag fragmentation risk
Treat heap fragmentation and stack overflow as design defects (§3 #3 #4).

## Output
A flash/RAM budget per region vs the part's limits, with headroom % and an over-budget flag.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…