LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

python-resource-management - Python Resource Management

Manage Python resources deterministically using context managers, cleanup patterns, and streaming.

Tags

Updated: 2026-09-23

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Manage database connections and pools
  • Handle file handles and IO
  • Implement custom context managers
  • Create async context managers
  • Build streaming responses with state
  • Suppress specific exceptions in cleanup
  • Track streaming metrics and timing

Inputs

  • Database DSN
  • File path
  • Streaming response object

Outputs

  • Released resources and closed handles
  • Accumulated stream content
  • Stream performance metrics

Requirements

  • Python runtime
  • Contextlib module

Source

  • Spec: SKILL.md
python
resource-management
context-manager
async
streaming
Manage database connections and pools
Handle file handles and IO
Implement custom context managers
Create async context managers
Database DSN
File path
Streaming response object
Released resources and closed handles
Accumulated stream content
Stream performance metrics