Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add TheBeardedBearSAS/claude-craft/plugin install claude-craftWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/async-check)<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/async-check"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/async-check.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00006 | $0.03470 |
| Opus 5 | $0.00003 | $0.01735 |
| Sonnet 5 | $0.00001 | $0.00694 |
| Haiku 4.5 | $0.00001 | $0.00347 |
Grade A, and why
async-check scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
response = requests.get("https://api.example.com") # BLOCKING! Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
'subprocess.run', How it starts
The opening of the file, as written. The whole thing — 558 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vérification Patterns Async Python
Tu es un expert Python asyncio. Tu dois vérifier l'utilisation correcte des patterns async/await, identifier les anti-patterns et les problèmes de concurrence.
Arguments
$ARGUMENTS
Arguments :
- (Optionnel) Chemin vers un module spécifique
Exemple : /python:async-check app/services/
MISSION
Étape 1 : Analyser le Code Async
# Rechercher les fonctions async
grep -rn "async def" app/ --include="*.py"
# Rechercher les await
grep -rn "await " app/ --include="*.py"
# Rechercher asyncio.run (potentiel problème)
grep -rn "asyncio.run" app/ --include="*.py"
# Rechercher les .result() sur futures (blocking)
grep -rn "\.result()" app/ --include="*.py"
Étape 2 : Anti-Patterns Courants
1. Blocking dans Async
# ❌ MAUVAIS - Bloque l'event loop
async def get_data():
response = requests.get("https://api.example.com") # BLOCKING!
return response.json()
# ✅ BON - Non-bloquant
async def get_data():
async with httpx.AsyncClient() as client:
response = await client.get("https://api.example.com")
return response.json()
2. Sync Sleep dans Async
# ❌ MAUVAIS - Bloque l'event loop
async def slow_task():
time.sleep(5) # BLOCKING!
return "done"
# ✅ BON - Non-bloquant
async def slow_task():
await asyncio.sleep(5)
return "done"
3. Await dans une Boucle (N+1)
# ❌ MAUVAIS - Séquentiel, lent
async def fetch_all_users(user_ids: list[int]) -> list[User]:
users = []
for user_id in user_ids:
user = await fetch_user(user_id) # N requêtes séquentielles
users.append(user)
return users
# ✅ BON - Concurrent
async def fetch_all_users(user_ids: list[int]) -> list[User]:
tasks = [fetch_user(user_id) for user_id in user_ids]
users = await asyncio.gather(*tasks)
return list(users)
# ✅ ENCORE MIEUX - Avec limite de concurrence
async def fetch_all_users(user_ids: list[int], max_concurrent: int = 10) -> list[User]:
semaphore = asyncio.Semaphore(max_concurrent)
async def fetch_with_limit(user_id: int) -> User:
async with semaphore:
return await fetch_user(user_id)
tasks = [fetch_with_limit(user_id) for user_id in user_ids]
users = await asyncio.gather(*tasks)
return list(users)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 558 lines · 6 tokens per session scan A 74e6b921dcb5
async-check is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 3d ago), licensed MIT. It adds 6 tokens to every session and 3,470 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
cpp-build
Fix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes.
rust:tauri:click
Send a mouse click to specific coordinates in a Tauri application window.
mypy
uv run mypy .
lint
코드 린트를 실행합니다.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.