benchflow-ai / cancel-async-tasks
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/cancel-async-tasks && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/2939" && unzip -o skill.zip -d .claude/skills/cancel-async-tasks && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/cancel-async-tasks/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Guidance for implementing proper asyncio task cancellation with signal handling in Python. This skill applies when implementing concurrent task runners that need graceful shutdown, handling KeyboardInterrupt/SIGINT in asyncio contexts, or managing task cleanup when using semaphores for concurrency limiting. Use when tasks involve asyncio.gather, CancelledError handling, or cleanup of tasks that haven't started execution.