python-resource-management

python resource management

wshobson ↓ 8.3k
Claude Code
View source ↗

What it does

  • Managing database connections and connection pools
  • Working with file handles and I/O
  • Implementing custom context managers
  • Building streaming responses with state
  • Handling nested resource cleanup
  • Creating async context managers

Requirements & configuration

  • 1. Always use context managers - For any resource that needs cleanup

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

python resource management

Source

Repository: https://github.com/wshobson/agents

python-resource-management FAQ

What does the python-resource-management skill do?

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. Managing database connections and connection pools Working with file handles and I/O

What does python-resource-management require?

1. Always use context managers - For any resource that needs cleanup

How do I install python-resource-management?

Run: npx -y skills add https://github.com/wshobson/agents --skill python-resource-management --agent claude-code — the source lives at github.com/wshobson/agents.

Maintain python-resource-management?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

python-resource-management on getagentictools
[![python-resource-management on getagentictools](https://getagentictools.com/badge/skills/wshobson-agents-python-resource-management.svg)](https://getagentictools.com/skills/wshobson-agents-python-resource-management?ref=badge)
npx agentictools info skills/wshobson-agents-python-resource-management

The second line is the CLI lookup for this page — handy in READMEs and docs.