Download

skill · Languages & Frameworks

Python Resource Management

by wshobson

Python resource management with context managers, cleanup patterns, and streaming. Use when managing connections, file handles, implementing cleanup logic, or building streaming responses with accumulated state.

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

Install Python Resource Management 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-python-resource-management
mkdir -p ~/.claude/skills
cp -r calyban-tmp-python-resource-management/plugins/python-development/skills/python-resource-management ~/.claude/skills/python-resource-management
rm -rf calyban-tmp-python-resource-management

Codex

git clone --depth 1 https://github.com/wshobson/agents.git calyban-tmp-python-resource-management
mkdir -p ~/.codex/skills
cp -r calyban-tmp-python-resource-management/plugins/python-development/skills/python-resource-management ~/.codex/skills/python-resource-management
rm -rf calyban-tmp-python-resource-management

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. Python Resource Management is made by wshobson, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.