Agent skill

Python Async

by athola in athola/claude-night-market

Async Python patterns via asyncio and aiohttp for I/O-bound concurrency.

MITAuto-check passedDevelopment

Install Python Async

skills CLI
$ npx skills add athola/claude-night-market --skill python-async -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install athola/claude-night-market python-async --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/parseltongue/skills/python-async .claude/skills/python-async && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
python-async
GitHub stars
342
Token cost
~690 tokens
SKILL.md length
204 words
Files
8
Skills in repo
160
Repo updated
First seen
Licence
MIT

At a glance

Async Python patterns via asyncio and aiohttp for I/O-bound concurrency.

  • Adding async APIs
  • SKILL.md covers Quick Start, When To Use, When NOT To Use and Modules, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Handling concurrent I/O

What it does

Python Async is an agent skill from athola/claude-night-market. Async Python patterns via asyncio and aiohttp for I/O-bound concurrency. Use when adding async APIs, handling concurrent I/O, or debugging async code.

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files (for example `modules/advanced-patterns.md`, `modules/basic-patterns.md` and `modules/concurrency-control.md`).

It sits in Development, covering Async programming. It works with Python and pytest. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Adding async APIs
  • Handling concurrent I/O
  • Debugging async code

Example prompts

  • “/python-async”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Python Async loads about 690 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 204 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~690

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 204 words, ~690 tokens.

Download SKILL.mdSave it as .claude/skills/python-async/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
python-async
description
Async Python patterns via asyncio and aiohttp for I/O-bound concurrency. Use when adding async APIs, handling concurrent I/O, or debugging async code.
globs
**/*.py
alwaysApply
false
category
async
tags
python, async, asyncio, concurrency, await, coroutines
usage_patterns
async-api-development, concurrent-io, websocket-servers, background-tasks
complexity
intermediate
model_hint
standard
estimated_tokens
400
progressive_loading
true
modules
modules/basic-patterns.md, modules/concurrency-control.md, modules/error-handling-timeouts.md, modules/advanced-patterns.md, modules/testing-async.md…

Async Python Patterns

asyncio and async/await patterns for Python applications.

Quick Start

python
import asyncio

async def main():
    print("Hello")
    await asyncio.sleep(1)
    print("World")

asyncio.run(main())

When To Use

  • Building async web APIs (FastAPI, aiohttp)
  • Implementing concurrent I/O operations
  • Creating web scrapers with concurrent requests
  • Developing real-time applications (WebSockets)
  • Processing multiple independent tasks simultaneously
  • Building microservices with async communication

When NOT To Use

  • CPU-bound optimization - use python-performance instead
  • Testing async code - use python-testing async module

Modules

This skill uses progressive loading. Content is organized into focused modules:

  • See modules/basic-patterns.md - Core async/await, gather(), and task management
  • See modules/concurrency-control.md - Semaphores and locks for rate limiting
  • See modules/error-handling-timeouts.md - Error handling, timeouts, and cancellation
  • See modules/advanced-patterns.md - Context managers, iterators, producer-consumer
  • See modules/testing-async.md - Testing with pytest-asyncio
  • See modules/real-world-applications.md - Web scraping and database operations
  • See modules/pitfalls-best-practices.md - Common mistakes and best practices

Load specific modules based on your needs, or reference all for detailed guidance.

Exit Criteria

  • Async patterns applied correctly
  • No blocking operations in async code
  • Proper error handling implemented
  • Rate limiting configured where needed
  • Tests pass with pytest-asyncio

Troubleshooting

Common Issues

RuntimeError: no current event loop Use asyncio.run() as the entry point. Avoid get_event_loop() in Python 3.10+.

Blocking call in async context Move sync I/O to asyncio.to_thread() or loop.run_in_executor().

Tests hang indefinitely Ensure pytest-asyncio is installed and test functions are decorated with @pytest.mark.asyncio.

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files in plugins/parseltongue/skills/python-async of athola/claude-night-market.

  • SKILL.md
  • modules/advanced-patterns.md
  • modules/basic-patterns.md
  • modules/concurrency-control.md
  • modules/error-handling-timeouts.md
  • modules/pitfalls-best-practices.md
  • modules/real-world-applications.md
  • modules/testing-async.md

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Python Async next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Python Async compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Async this skillathola/claude-night-market342—~690Automated safety check: PassMIT
ContributingGoogleCloudPlatform/race-condition234—~930Automated safety check: PassCustom licence
Python ProJeffallan/claude-skills12k—~1.6kAutomated safety check: PassMIT
FastAPI Project Templateswshobson/agents40k11 repos~901Automated safety check: PassMIT
Mastering Python SkillSpillwaveSolutions/agent-brain120—~1.4kAutomated safety check: NotesMIT
Modern Pythonmycelium-io/mycelium119—~752Automated safety check: PassCustom licence

Similar skills

  • Contributing

    GoogleCloudPlatform/race-condition

    Guides the developer workflow for contributing to Race Condition.

    234 GitHub stars~930 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Python Pro

    Jeffallan/claude-skills

    Writes type-annotated Python 3.11+ with async patterns, dataclasses and pytest suites, validated with mypy in strict mode, black and ruff.

    12k GitHub stars~1.6k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Scaffolds FastAPI projects with a layered app layout, dependency injection through Depends, async handlers and database access, middleware and pytest setup.

    40k GitHub starsUsed in 11 repos~901 tokens
    Backend & APIsAuto-check passed
  • Mastering Python Skill

    SpillwaveSolutions/agent-brain

    Modern Python coaching covering language foundations through advanced production patterns.

    120 GitHub stars~1.4k tokensUpdated 17 days ago
    DevelopmentAuto-check: notes
  • Modern Python

    mycelium-io/mycelium

    Modern Python tooling practices for the mycelium project. An agent skill from mycelium-io/mycelium.

    119 GitHub stars~752 tokensUpdated today
    DevelopmentAuto-check passed
  • Flowfile Debugging Playbook

    Edwardvaneechoud/Flowfile

    Symptom-to-cause triage playbook for Flowfile (core/worker/kernel/frontend/AI) — covers "no such table" DB cascades (two distinct causes), import-time Alembic migration corruption, silent…

    370 GitHub stars~6.3k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from athola/claude-night-market

All 160 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    342 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    342 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    342 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    342 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    342 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    342 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Python Async

What does Python Async do?

Async Python patterns via asyncio and aiohttp for I/O-bound concurrency. Python Async is an agent skill from athola/claude-night-market. Async Python patterns via asyncio and aiohttp for I/O-bound concurrency.

When should I use Python Async?

Python Async fits situations like: adding async APIs; handling concurrent I/O; debugging async code.

How do I install Python Async in Claude Code?

Run `npx skills add athola/claude-night-market --skill python-async -a claude-code`. Or copy the skill folder (plugins/parseltongue/skills/python-async in athola/claude-night-market) into .claude/skills/python-async in your project. Claude Code loads it when a task matches its description.

How do I install Python Async in Codex?

Run `npx skills add athola/claude-night-market --skill python-async -a codex`. Or copy the skill folder (plugins/parseltongue/skills/python-async in athola/claude-night-market) into .agents/skills/python-async in your project. Codex loads it when a task matches its description.

Can I use Python Async in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill python-async -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-async, .gemini/skills/python-async, .github/skills/python-async and .opencode/skills/python-async in your project.

What does Python Async need to run?

SKILL.md names no scripts, command-line tools or credentials: Python Async is instructions for the agent only. Our summary lists: Python 3.

Does Python Async access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Python Async safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Python Async use?

Python Async is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Python Async use?

About 690 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Python Async?

Skills that share tags, products or a category with Python Async: Contributing (GoogleCloudPlatform/race-condition, 234 stars), Python Pro (Jeffallan/claude-skills, 12k stars), FastAPI Project Templates (wshobson/agents, 40k stars) and Mastering Python Skill (SpillwaveSolutions/agent-brain, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Async?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 342 GitHub stars. The repository holds 160 skills in this directory. The repository was last updated on October 6, 2026.

Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.