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.
npx agentmods add skills/dannykkh/skill-olympus/python-backend-fastapinpx skills add Dannykkh/skill-olympus --skill python-backend-fastapigit clone --depth 1 https://github.com/Dannykkh/skill-olympusWrote 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/skills/dannykkh/skill-olympus/python-backend-fastapi)<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="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.00039 | $0.01646 |
| Opus 5 | $0.00019 | $0.00823 |
| Sonnet 5 | $0.00008 | $0.00329 |
| Haiku 4.5 | $0.00004 | $0.00165 |
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 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.
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.
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
코딩 규칙
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.
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 · 202 lines · 39 tokens per session scan A 89dfa04b4bcd
python-backend-fastapi is a skill published in the GitHub repository Dannykkh/skill-olympus (5 stars, last pushed 4d ago), licensed MIT. It adds 39 tokens to every session and 1,646 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
ai-ml-development
AI and machine learning development with PyTorch, TensorFlow, and LLM integration. Use when building ML models, training pipelines, fine-tuning LLMs, or implementing AI features.
python-sast
Python static analysis using bandit. Identifies injection, deserialization, unsafe exec/eval, weak crypto, and hardcoded credentials in Python code.
pytest-patterns
Pytest best practices including fixtures, parametrize, markers, and assertion patterns for Python test suites.
upgrade-claude-agent-sdk
Upgrade the claude-agent-sdk dependency, review SDK changes for integration impact, expose new features to users via Settings or New Task dialog, update documentation, and ship on a feature branch. This skill should be used when the user mentions upgrading, updating, or bumping the claude-agent-sdk, or when reviewing…
docker-py
Provides patterns for programmatic Docker container management using the Docker SDK for Python and aiodocker. USE WHEN the user asks to "manage Docker containers from Python", "create containers programmatically", "stream container logs", "execute commands in a running container", "build images with docker-py"…
pydantic-ai
Teaches PydanticAI agent development with tool decorators, RunContext dependency injection, streaming, and VercelAIAdapter. USE WHEN the user asks to "build a PydanticAI agent", "add tools to an agent", "stream responses with PydanticAI", "test a PydanticAI agent", "connect PydanticAI to Svelte", "configure model…