Agent skill

Python API Endpoint Creator

by c0x12c in c0x12c/ai-toolkit

Creates FastAPI endpoints with layered architecture (Router → Service → Repository).

No licenceAuto-check passedBackend & APIs

Install Python API Endpoint Creator

skills CLI
$ npx skills add c0x12c/ai-toolkit --skill python-api-endpoint-creator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install c0x12c/ai-toolkit python-api-endpoint-creator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/c0x12c/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/toolkit/skills/python-api-endpoint-creator .claude/skills/python-api-endpoint-creator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
python-api-endpoint-creator
GitHub stars
106
Token cost
~764 tokens
SKILL.md length
316 words
Files
2
Skills in repo
33
Repo updated
First seen
Licence
None found

At a glance

Creates FastAPI endpoints with layered architecture (Router → Service → Repository).

  • Works in 7 steps: Pydantic Schemas —… → SQLAlchemy Model — with SoftDeleteMixin… → Repository — async CRUD with soft delete… → …
  • Creating new API endpoints
  • SKILL.md covers When to Use, Process, Architecture and Hard Rules, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Python API Endpoint Creator is an agent skill from c0x12c/ai-toolkit. Creates FastAPI endpoints with layered architecture (Router → Service → Repository). Use when creating new API endpoints, CRUD operations, or scaffolding a new domain module in a FastAPI project.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `code-patterns.md`).

It sits in Backend & APIs, covering REST APIs, Backend development and Project scaffolding. It works with Python and FastAPI.

When your agent uses it

  • Creating new API endpoints
  • CRUD operations
  • Scaffolding a new domain module in a FastAPI project

Example prompts

  • “Use the python-api-endpoint-creator skill to create FastAPI endpoints with layered architecture (Router → Service → Repository)”
  • “/python-api-endpoint-creator”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Pydantic Schemas — Create/Update/Response in schemas.py
  2. SQLAlchemy Model — with SoftDeleteMixin in models.py
  3. Repository — async CRUD with soft delete in repository.py
  4. Service — business logic, HTTPException for errors in service.py
  5. Dependencies — get_db, get_service in dependencies.py
  6. Router — thin endpoints, Depends() for everything in router.py
  7. Tests — httpx AsyncClient tests in tests/

What it can do on your machine

Read from SKILL.md and the folder at commit 96b2c9d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Python API Endpoint Creator loads about 764 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 316 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~764

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 316 words (~764 tokens).

“Creates complete FastAPI endpoints following strict layered architecture patterns.”

— opening of SKILL.md by c0x12c
name
python-api-endpoint-creator

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in toolkit/skills/python-api-endpoint-creator of c0x12c/ai-toolkit.

  • SKILL.md
  • code-patterns.md

Open the folder on GitHubat commit 96b2c9d

Compare with similar skills

Python API Endpoint Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Python API Endpoint Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python API Endpoint Creator this skillc0x12c/ai-toolkit106—~764Automated safety check: PassNone
FastAPI Project Templateswshobson/agents40k11 repos~901Automated safety check: PassMIT
Fastcrudbenavlabs/fastcrud1.6k—~5kAutomated safety check: PassMIT
Starlettesimonw/research781—~8.6kAutomated safety check: NotesNone
Fastapi REST API Designopen-edge-platform/anomalib6.2k—~838Automated safety check: PassApache-2.0
FastAPI ExpertJeffallan/claude-skills12k—~1.8kAutomated safety check: PassMIT

Similar skills

  • Scaffolds FastAPI projects with a layered app layout, dependency injection through Depends, async handlers and database access, middleware and pytest setup.

    40k GitHub starsUsed in 11 repos~901 tokens
    Backend & APIsAuto-check passed
  • Fastcrud

    benavlabs/fastcrud

    A skill your agent uses when building or modifying CRUD endpoints with FastCRUD (the fastcrud PyPI package) in a FastAPI project — covers FastCRUD, crudrouter, EndpointCreator, FilterConfig…

    1.6k GitHub stars~5k tokensUpdated 13 days ago
    Backend & APIsAuto-check passed
  • Starlette

    simonw/research

    Build async web applications and APIs with Starlette 1.0, the lightweight ASGI framework for Python.

    781 GitHub stars~8.6k tokensUpdated 3 days ago
    Backend & APIsAuto-check: notes
  • Fastapi REST API Design

    open-edge-platform/anomalib

    Designs and reviews REST APIs for FastAPI services using consistent resource naming, HTTP semantics, validation, security, and error handling patterns.

    6.2k GitHub stars~838 tokensUpdated today
    Backend & APIsAuto-check passed
  • FastAPI Expert

    Jeffallan/claude-skills

    Builds async Python APIs with FastAPI and Pydantic V2, covering endpoints, JWT authentication, async SQLAlchemy, WebSockets and pytest checks against the OpenAPI docs.

    12k GitHub stars~1.8k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Senior Backend

    davila7/claude-code-templates

    Comprehensive backend development skill for building scalable backend systems using NodeJS, Express, Go, Python, Postgres, GraphQL, REST APIs.

    32k GitHub starsUsed in 1 repo~1.1k tokens
    Backend & APIsAuto-check: notes

More from c0x12c/ai-toolkit

All 33 skills in this repo
  • UI UX Pro Max

    c0x12c/ai-toolkit

    UI/UX design intelligence with searchable style, palette, typography, and chart databases.

    106 GitHub stars~2.1k tokensUpdated 3 mo ago
    Auto-check passed
  • API Endpoint Creator

    c0x12c/ai-toolkit

    Creates RPC-style endpoint following layered architecture (Controller → Manager → Repository).

    106 GitHub stars~3.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Backend API Design

    c0x12c/ai-toolkit

    Design RPC-style APIs with layered architecture (Controller → Manager → Repository).

    106 GitHub stars~814 tokensUpdated 3 mo ago
    Auto-check passed
  • CI CD Patterns

    c0x12c/ai-toolkit

    CI/CD pipeline patterns for GitHub Actions, PR automation, and deployment workflows.

    106 GitHub stars~833 tokensUpdated 3 mo ago
    Auto-check passed
  • Content Engine

    c0x12c/ai-toolkit

    Turn one idea into platform-native content for X, LinkedIn, TikTok, YouTube, newsletters.

    106 GitHub stars~986 tokensUpdated 3 mo ago
    Auto-check passed
  • Database Table Creator

    c0x12c/ai-toolkit

    Creates database table with full Kotlin synchronization (SQL migration → Table → Entity → Repository → Tests).

    106 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Categories

Questions about Python API Endpoint Creator

What does Python API Endpoint Creator do?

Creates FastAPI endpoints with layered architecture (Router → Service → Repository). Python API Endpoint Creator is an agent skill from c0x12c/ai-toolkit. Creates FastAPI endpoints with layered architecture (Router → Service → Repository).

When should I use Python API Endpoint Creator?

Python API Endpoint Creator fits situations like: creating new API endpoints; CRUD operations; scaffolding a new domain module in a FastAPI project.

How do I install Python API Endpoint Creator in Claude Code?

Run `npx skills add c0x12c/ai-toolkit --skill python-api-endpoint-creator -a claude-code`. Or copy the skill folder (toolkit/skills/python-api-endpoint-creator in c0x12c/ai-toolkit) into .claude/skills/python-api-endpoint-creator in your project. Claude Code loads it when a task matches its description.

How do I install Python API Endpoint Creator in Codex?

Run `npx skills add c0x12c/ai-toolkit --skill python-api-endpoint-creator -a codex`. Or copy the skill folder (toolkit/skills/python-api-endpoint-creator in c0x12c/ai-toolkit) into .agents/skills/python-api-endpoint-creator in your project. Codex loads it when a task matches its description.

Can I use Python API Endpoint Creator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add c0x12c/ai-toolkit --skill python-api-endpoint-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-api-endpoint-creator, .gemini/skills/python-api-endpoint-creator, .github/skills/python-api-endpoint-creator and .opencode/skills/python-api-endpoint-creator in your project.

What does Python API Endpoint Creator need to run?

SKILL.md names no scripts, command-line tools or credentials: Python API Endpoint Creator is instructions for the agent only. Our summary lists: Python 3.

Does Python API Endpoint Creator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Python API Endpoint Creator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Python API Endpoint Creator use?

No licence was found for Python API Endpoint Creator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Python API Endpoint Creator use?

About 764 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Python API Endpoint Creator?

Skills that share tags, products or a category with Python API Endpoint Creator: FastAPI Project Templates (wshobson/agents, 40k stars), Fastcrud (benavlabs/fastcrud, 1.6k stars), Starlette (simonw/research, 781 stars) and Fastapi REST API Design (open-edge-platform/anomalib, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python API Endpoint Creator?

c0x12c (a GitHub organization) maintains it in c0x12c/ai-toolkit, which has 106 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on June 18, 2026.

Source: c0x12c/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.