Download

skill · Languages & Frameworks

Memory Safety Patterns

by wshobson

Implement memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code, managing resources, or preventing memory bugs.

Calyban is a free desktop app. It checks Memory Safety Patterns for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install Memory Safety Patterns manually

Prefer the terminal? This does the same thing as Calyban's install.

Claude Code

git clone --depth 1 https://github.com/wshobson/agents.git calyban-tmp-memory-safety-patterns
mkdir -p ~/.claude/skills
cp -r calyban-tmp-memory-safety-patterns/plugins/systems-programming/skills/memory-safety-patterns ~/.claude/skills/memory-safety-patterns
rm -rf calyban-tmp-memory-safety-patterns

Codex

git clone --depth 1 https://github.com/wshobson/agents.git calyban-tmp-memory-safety-patterns
mkdir -p ~/.codex/skills
cp -r calyban-tmp-memory-safety-patterns/plugins/systems-programming/skills/memory-safety-patterns ~/.codex/skills/memory-safety-patterns
rm -rf calyban-tmp-memory-safety-patterns

Start a new Claude Code, Codex & more session afterwards so it picks up the change.

Similar skills

All skills →

Guides

Listed in the public Calyban catalog. Memory Safety Patterns is made by wshobson, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.