cfn-memory-management SKILL.md skillA

cfn-memory-management from masharratt/claude-flow-novice is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add masharratt/claude-flow-novice/cfn-memory-management@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
masharratt/claude-flow-novice
Path
.claude/cfn-extras/skills/cfn-memory-persistence/lib/management/SKILL.md
Versions recorded
1
Latest version
v1.0.0, committed Sep 23, 2026
Size
7,624 bytes
Repository stars
14
License
none declared

Prevent and detect memory leaks in Claude CLI operations through proactive monitoring, limits, and profiling. Use when managing memory limits for long-running agents, detecting memory leaks, profiling heap usage, or implementing recovery procedures.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CFN Memory Management Skill

**Purpose:** Prevent and detect memory leaks in Claude CLI operations through proactive monitoring, limits, and profiling.

## Overview

This skill implements memory leak prevention strategies based on real-world memory spike analysis. It provides automated memory monitoring, profiling, and safe defaults to prevent Claude CLI from exhausting system memory.

## Features

- **Automatic Memory Limits**: Configurable memory caps with safe defaults
- **Heap Profiling**: Built-in profiling for memory allocation analysis
- **Real-time Monitoring**: Live memory usage tracking with alerts
- **Crash Detection**: Automatic detection of memory exhaustion events
- **Profile Analysis**: Tools to analyze heap profiles and identify leaks

## Configuration

### Default Memory Limits
```bash
# Safe default (reduced from 16GB)
export NODE_OPTIONS="--max-old-space-size=8192"

# For production environments
export CLAUDE_MEMORY_LIMIT="8GB"
export CLAUDE_MEMORY_PROFILE_DIR="/tmp/claude-memory-profiles"
```

### Environment Variables
- `CLAUDE_MEMORY_LIMIT`: Memory limit in MB (default: 8192)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add masharratt/claude-flow-novice/cfn-memory-management@sha256:f6f40ad947a58292

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gs3rpjgipcbyoevf.svg)](https://markdownregistry.com/a/art_gs3rpjgipcbyoevf)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 23, 2026.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-23 8d71dd0 7,624 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7624 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

masharratt/claude-flow-novice · 14 stars · license none declared · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gs3rpjgipcbyoevf
GET https://markdownregistry.com/api/v1/resolve?ref=masharratt/claude-flow-novice/cfn-memory-management
GET https://markdownregistry.com/api/v1/blob/f6f40ad947a58292db23ae49ca26f11e17b5f77120e6bf822d95466ca1315eb6

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from masharratt/claude-flow-novice

cfn-docker-redis-coordination SKILL.md skill
masharratt/claude-flow-novice · .archive/cfn-redis-coordination-legacy/skills/cfn-docker-redis-coordination/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
cfn-redis-data-extraction SKILL.md skill
masharratt/claude-flow-novice · .archive/cfn-redis-coordination-legacy/skills/cfn-redis-data-extraction/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
CLAUDE.md@.claude CLAUDE.md file
masharratt/claude-flow-novice · .claude/CLAUDE.md
git:20260514.30ec3ed · audit A · 14 stars
CLAUDE.md@.claude/agents/cfn-dev-team CLAUDE.md file
masharratt/claude-flow-novice · .claude/agents/cfn-dev-team/CLAUDE.md · Practical guide to creating, customizing, and maintaining AI agents in the Claude Flow Novice system
git:20260704.90d2574 · audit A · 14 stars
cfn-agent-swap SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/advanced-features/cfn-agent-swap/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
cfn-context-pruner SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/advanced-features/cfn-context-pruner/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
cfn-event-bus SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/advanced-features/cfn-event-bus/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
cfn-fleet-manager SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/advanced-features/cfn-fleet-manager/SKILL.md
git:20260323.178cb00 · audit C · 14 stars
cfn-improvement-recommender SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/analytics/cfn-improvement-recommender/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
cfn-memory-monitoring SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/analytics/cfn-memory-monitoring/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
cfn-pattern-extraction SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/analytics/cfn-pattern-extraction/SKILL.md
git:20260725.c9691fc · audit C · 14 stars
cfn-retrospective-report SKILL.md skill
masharratt/claude-flow-novice · .claude/cfn-extras/skills/analytics/cfn-retrospective-report/SKILL.md
git:20260725.c9691fc · audit C · 14 stars

Every file in masharratt/claude-flow-novice

Browse by kind, by grade A, or by owner.