Skip to main content
A Claude Code skill that scaffolds AsyncBase into an existing project. Claude detects your stack (Node / Python / PHP / Go + framework), installs the SDK, wires env vars, generates idiomatic send + consume code, and verifies with a probe.
Best paired with the MCP server. The skill calls get_docs before writing code so the generated output matches the current API.

Install — Claude Code (CLI)

mkdir -p ~/.claude/skills/asyncbase
curl -L https://api.asyncbase.dev/skill/asyncbase.tar \
  | tar -xC ~/.claude/skills/asyncbase
Or clone from GitHub:
git clone --depth 1 https://github.com/asyncbase-dev/asyncbase-claude-skill /tmp/ab
cp -r /tmp/ab ~/.claude/skills/asyncbase

Install — Claude.ai (project skill)

1

Open your Claude.ai project

Settings → Skills / Files
2

Upload the skill folder

Upload packages/claude-skill/asyncbase/ (SKILL.md + references/).
3

Start chatting

The skill auto-activates when relevant.

Use

Say this in Claude Code / Cursor / Claude.ai:
“Add AsyncBase to this project — I need a queue for sending emails async.”
Claude reads SKILL.md, detects your stack, and:
  1. Fetches canonical docs via get_docs (if MCP is set up).
  2. Installs the SDK with your package manager.
  3. Creates a send helper.
  4. Creates a consumer appropriate for your framework:
    • NestJS — Injectable with OnApplicationBootstrap
    • FastAPI — lifespan-managed async task
    • Laravel — Artisan command
    • Next.js / plain Node — separate consumer.ts
    • Go — goroutine + context cancel
  5. Adds ASYNCBASE_KEY to .env.local / .env + .env.example.
  6. Runs a probe to verify connectivity.
  7. Prints the exact command to start the consumer.

What’s in the skill

~/.claude/skills/asyncbase/
├── SKILL.md                     # YAML frontmatter + step-by-step playbook
└── references/
    ├── node-send.ts
    ├── node-consumer.ts
    ├── nestjs-consumer.ts
    ├── python-send.py
    ├── fastapi-consumer.py
    ├── php-send.php
    ├── laravel-consumer.php
    ├── go-send.go
    └── go-consumer.go

Troubleshooting

SymptomFix
Skill doesn’t activateCheck SKILL.md has name: asyncbase in frontmatter.
Claude skips get_docsInstall the MCP server too.
Wrong stack detectedTell Claude explicitly: “Use the asyncbase skill for the FastAPI stack.”
Generated imports staleEnsure MCP is installed so the skill fetches current docs.