python-backend-fastapi

python-backend-fastapi is a skill for Claude Code, Codex from Dannykkh/skill-olympus. It costs 39 tokens per session (1,646 once invoked), scanned A, original, MIT.

A reference guide for building web backends with FastAPI, a Python framework for creating APIs and server applications.

In plain words
What is it for?
Use it when creating or reviewing Python files, FastAPI endpoints, Pydantic schemas, database models, or asynchronous functions.
Why use it?
It gives developers consistent guidance for organizing backend code, separating responsibilities, and defining data models. This makes large or mixed-purpose files easier to maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating or reviewing Python files, FastAPI endpoints, Pydantic schemas, database models, or asynchronous functions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dannykkh/skill-olympus/python-backend-fastapi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dannykkh/skill-olympus --skill python-backend-fastapi
Clone the repo
git clone --depth 1 https://github.com/Dannykkh/skill-olympus

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for python-backend-fastapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/dannykkh/skill-olympus/python-backend-fastapi/github.svg)](https://agentmods.dev/skills/dannykkh/skill-olympus/python-backend-fastapi)
Your own site
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/python-backend-fastapi"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/python-backend-fastapi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for python-backend-fastapi

Your own site · 80×15
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/python-backend-fastapi"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/python-backend-fastapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01646
Opus 5.5 $0.00016 $0.00658
Sonnet 5.5 $0.00008 $0.00329
Haiku 4.5 $0.00004 $0.00165

Measured 2mo ago against content hash 89dfa04b4bcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python-backend-fastapi scanned grade A with 0 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/python-backend-fastapi/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Python Backend Development Guide (FastAPI)

Python FastAPI 백엔드 개발을 위한 종합 가이드.

적용 시점

다음 작업 시 이 가이드를 참조:

  • Python 파일 생성/수정
  • FastAPI 엔드포인트 작성
  • Pydantic 스키마 정의
  • 데이터베이스 모델 설계
  • 비동기 함수 작성

핵심 원칙

1. 파일/모듈 책임 분리 ⚠️ CRITICAL

  • 하드 제한 줄 수가 아니라 기능/책임 단위로 모듈을 나눈다
  • 한 파일이 여러 유스케이스, 계층, 엔티티 책임을 섞으면 분리한다
  • 대형 파일은 자동 실패가 아니라 분리 검토 신호로만 사용한다

2. 함수 크기 제한

  • 최대 50줄
  • 권장 20줄 이하
  • 하나의 함수는 하나의 작업만

3. 모듈화 & 재사용성

  • 공통 로직은 utils/ 또는 core/로 분리
  • 비즈니스 로직은 서비스 레이어에
  • 데이터 접근은 리포지토리 패턴

프로젝트 구조

backend/
├── app/
│   ├── __init__.py
│   ├── main.py                 # FastAPI 앱 초기화 (< 100줄)
│   ├── api/                    # API 엔드포인트
│   │   ├── __init__.py
│   │   ├── deps.py            # 의존성 주입
│   │   └── v1/
│   │       ├── __init__.py
│   │       ├── auth.py        # 인증 API (< 300줄)
│   │       ├── users.py       # 사용자 API (< 300줄)
│   │       └── forms.py       # 폼 빌더 API (< 400줄)
│   ├── core/                   # 핵심 설정 및 보안
│   │   ├── config.py          # 환경 설정 (< 200줄)
│   │   ├── security.py        # JWT, 암호화 (< 300줄)
│   │   └── database.py        # DB 연결 (< 100줄)
│   ├── models/                 # SQLAlchemy 모델
│   │   ├── user.py            # User 모델만 (< 150줄)
│   │   └── form.py            # Form 모델만 (< 200줄)
│   ├── schemas/                # Pydantic 스키마
│   │   ├── user.py            # User 스키마 (< 150줄)
│   │   └── form.py            # Form 스키마 (< 200줄)
│   ├── services/               # 비즈니스 로직
│   │   ├── auth_service.py    # 인증 로직 (< 300줄)
│   │   └── user_service.py    # 사용자 관리 (< 400줄)
│   ├── repositories/           # 데이터 접근 레이어
│   │   ├── base.py            # BaseRepository (< 200줄)
│   │   └── user_repository.py # User CRUD (< 250줄)
│   └── utils/                  # 유틸리티
│       ├── validators.py      # 검증 함수 (< 200줄)
│       └── file_handler.py    # 파일 처리 (< 300줄)
├── tests/
│   ├── conftest.py
│   └── test_users.py
├── alembic/                    # DB 마이그레이션
├── requirements.txt
└── .env.example

코딩 규칙

Read the full file on GitHub · 202 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 2mo ago First seen · 202 lines · 39 tokens per session scan A 89dfa04b4bcd

Subscribe to this mod's changes

python-backend-fastapi is a skill published in the GitHub repository Dannykkh/skill-olympus (9 stars, last pushed 6d ago), licensed MIT. It adds 39 tokens to every session and 1,646 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

python-backend-fastapi compared with skills from other repositories

python-backend-fastapi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-backend-fastapiDannykkh/skill-olympusSkill96d agoMITA39Claude Code, Codex
supabase-pythonalinaqi/maggySkill7123d agoMITA15Claude Code
fastapiericrisco/rsc-harnessSkill6825d agoMITA94Claude Code, Codex
djangoericrisco/rsc-harnessSkill6825d agoMITA84Claude Code, Codex
cloudflare-workers-multi-langsecondsky/claude-skillsSkill2578d agoMITA45Claude Code
reddit-apialinaqi/maggySkill7123d agoMITB20Claude Code
beautifulsoup-parsingMindrally/skillsSkill3221mo agoApache-2.0A32Claude Code