FastAPI · pluginagentmarketplace — Claude Code skill: what it does, how to install
A FastAPI skill for your coding agent: routes, Pydantic models, async handlers, auth and tests. Useful when you are building a Python API.
LicenseRef-Proprietary 181 installs ★ 7 updated 2026-01-05
npx skills add pluginagentmarketplace/custom-plugin-python --skill fastapi -a claude-codeWhat FastAPI does
The skill walks an agent through FastAPI app layout: route decorators, path and query parameters, request bodies, response models. A Pydantic section covers validation of incoming payloads, serialisation of responses, custom validators and settings.
Async gets its own block: endpoint handlers, background tasks, database calls, concurrent requests. Security material includes OAuth2, JWT, API-key auth, dependency injection and CORS setup. Advanced topics: WebSockets, uploads, streaming responses, middleware, testing.
Python fundamentals, async/await and HTTP basics are needed before any of it pays off. Skip that groundwork and the concurrency sections read as vocabulary — the skill teaches patterns, not the language. Its config switches on logging and a request_latency metric, with exponential backoff on retries.
What it helps with
- scaffold an endpoint with Pydantic request and response models
- wire OAuth2 and JWT into an existing API
- stream a large file back to the client
- run a background task from an async handler
- write tests for a FastAPI app
Example prompts for the agent
- Add a FastAPI endpoint
/items/{item_id}with a Pydantic response model. - Set up JWT auth with the OAuth2 password flow in this API.
- Write a test for the async upload handler.
How to install FastAPI
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill fastapi -a claude-code2Manually: put the files in place
~/.claude/skills/fastapi/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fastapi/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill fastapi -a codex2Manually: put the files in place
.agents/skills/fastapi/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill fastapi -a cursor2Manually: put the files in place
.cursor/skills/fastapi/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-python skills/fastapi2Manually: put the files in place
.github/skills/fastapi/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill fastapi -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-python --path skills/fastapiManually: put the files in place
.devin/skills/fastapi/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-python --skill fastapi -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about FastAPI
How do I install the FastAPI skill in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-python --skill fastapi -a claude-code. The skill file lands at ~/.claude/skills/fastapi/SKILL.md.
What does the FastAPI skill do?
It gives the agent patterns for routes, Pydantic validation, async handlers, authentication and tests, so the generated API code follows them.
What should I know before installing it?
Python fundamentals, async/await and HTTP concepts. The skill covers FastAPI techniques, not the basics of the language.
Similar skills
All skills for Backend and APIs →FastAPI by other authors comes first.