Agent skill

Security Fastapi

by IgorWarzocha in IgorWarzocha/Opencode-Workflows

Review FastAPI security audit patterns for dependencies and middleware.

No licenceAuto-check passedBackend & APIs

Install Security Fastapi

skills CLI
$ npx skills add IgorWarzocha/Opencode-Workflows --skill security-fastapi -a claude-code

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

GitHub CLI
$ gh skill install IgorWarzocha/Opencode-Workflows security-fastapi --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/IgorWarzocha/Opencode-Workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/security-reviewer/.opencode/skill/security-fastapi .claude/skills/security-fastapi && 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
security-fastapi
GitHub stars
122
Token cost
~893 tokens
SKILL.md length
155 words
Files
2 (incl. scripts)
Skills in repo
37
Repo updated
First seen
Licence
None found

At a glance

Review FastAPI security audit patterns for dependencies and middleware.

  • Auditing auth dependencies
  • SKILL.md covers Core Risks to Check, Quick Audit Commands, Hardening Checklist and Scripts
  • Runs Shell scripts from its folder; calls rg
  • CORS configuration

What it does

Security Fastapi is an agent skill from IgorWarzocha/Opencode-Workflows. Review FastAPI security audit patterns for dependencies and middleware. Use for auditing auth dependencies, CORS configuration, and TrustedHost middleware. Use proactively when reviewing FastAPI apps. Examples: - user: "Audit FastAPI route security" → check for Depends() and Security() usage - user: "Check FastAPI CORS setup" → verify origins when allowcredentials=True - user: "Review FastAPI middleware" → check TrustedHost and HTTPSRedirect config - user: "Secure FastAPI API keys" → move from query params to…

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/scan.sh`).

It sits in Backend & APIs, covering Backend development and Security review. It works with FastAPI. The repository describes itself as: An ever evolving repository of Opencode workflow examples that might enhance your experience with it. I only left the stuff that actually works. YMMV.

When your agent uses it

  • Auditing auth dependencies
  • CORS configuration
  • TrustedHost middleware

Example prompts

  • “Audit FastAPI route security”
  • “Check FastAPI CORS setup”
  • “Review FastAPI middleware”
  • “/security-fastapi”

Requirements

  • Python 3
  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 6444ec4. 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

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • rg

    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

Security Fastapi loads about 893 tokens when it runs. Until then it costs about 159 tokens; SKILL.md has 155 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

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

“Security audit patterns for FastAPI applications covering authentication dependencies, CORS configuration, and middleware security.”

— opening of SKILL.md by IgorWarzocha
name
security-fastapi

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in agents/security-reviewer/.opencode/skill/security-fastapi of IgorWarzocha/Opencode-Workflows.

  • SKILL.md
  • scripts/scan.sh

Open the folder on GitHubat commit 6444ec4

Compare with similar skills

Security Fastapi 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.

Security Fastapi compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Security Fastapi this skillIgorWarzocha/Opencode-Workflows122—~893Automated safety check: PassNone
Python Web App Security Auditaiskillstore/marketplace430—~1.2kAutomated safety check: NotesMIT
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Fastcrudbenavlabs/fastcrud1.6k—~5kAutomated safety check: PassMIT
FastapiOpen-TutorAi/open-tutor-ai-CE1082 repos~2.6kAutomated safety check: PassBSD-3-Clause
API Surface Reviewpolarsource/polar10k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Python Web App Security Audit

    aiskillstore/marketplace

    Run defensive pre-release security tests for Python web applications.

    430 GitHub stars~1.2k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Code Review Skill

    awesome-skills/code-review-skill

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes
  • 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 12 days ago
    Backend & APIsAuto-check passed
  • Fastapi

    Open-TutorAi/open-tutor-ai-CE

    FastAPI best practices and conventions. An agent skill from Open-TutorAi/open-tutor-ai-CE.

    108 GitHub starsUsed in 2 repos~2.6k tokens
    Backend & APIsAuto-check passed
  • API Surface Review

    polarsource/polar

    Review changes to Polar's API contract — Pydantic schemas, FastAPI endpoints, OpenAPI output and the generated SDKs.

    10k GitHub stars~1.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • FastAPI-Redis SDK Development

    redis/fastapi-redis-sdk

    Official

    Guides development on the fastapi-redis-sdk library itself - its connection lifecycle, dependency-injected caching, and async/sync bridging.

    404 GitHub stars~2.5k tokensUpdated 6 days ago
    Backend & APIsAuto-check: notes

More from IgorWarzocha/Opencode-Workflows

All 37 skills in this repo
  • Create Opencode Plugin

    IgorWarzocha/Opencode-Workflows

    Create OpenCode plugins using the @opencode-ai/plugin SDK. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~2.4k tokensUpdated 8 mo ago
    Auto-check passed
  • Plugin Installer

    IgorWarzocha/Opencode-Workflows

    Find, install, and configure OpenCode plugins from the catalog or community.

    122 GitHub stars~1.3k tokensUpdated 8 mo ago
    Auto-check passed
  • Skill Creator

    IgorWarzocha/Opencode-Workflows

    Guide for creating effective opencode skills. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~2.8k tokensUpdated 8 mo ago
    Auto-check passed
  • Security AI Keys

    IgorWarzocha/Opencode-Workflows

    Review AI API key leakage patterns and redaction strategies.

    122 GitHub stars~793 tokensUpdated 8 mo ago
    Auto-check: notes
  • Security Convex

    IgorWarzocha/Opencode-Workflows

    Review Convex security audit patterns for authentication and authorization.

    122 GitHub stars~3.1k tokensUpdated 8 mo ago
    Auto-check passed
  • Security Django

    IgorWarzocha/Opencode-Workflows

    Review Django security audit patterns for settings and middleware.

    122 GitHub stars~1.6k tokensUpdated 8 mo ago
    Auto-check: notes

Works with

Categories

Questions about Security Fastapi

What does Security Fastapi do?

Review FastAPI security audit patterns for dependencies and middleware. Security Fastapi is an agent skill from IgorWarzocha/Opencode-Workflows. Review FastAPI security audit patterns for dependencies and middleware.

When should I use Security Fastapi?

Security Fastapi fits situations like: auditing auth dependencies; CORS configuration; trustedHost middleware.

How do I install Security Fastapi in Claude Code?

Run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-fastapi -a claude-code`. Or copy the skill folder (agents/security-reviewer/.opencode/skill/security-fastapi in IgorWarzocha/Opencode-Workflows) into .claude/skills/security-fastapi in your project. Claude Code loads it when a task matches its description.

How do I install Security Fastapi in Codex?

Run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-fastapi -a codex`. Or copy the skill folder (agents/security-reviewer/.opencode/skill/security-fastapi in IgorWarzocha/Opencode-Workflows) into .agents/skills/security-fastapi in your project. Codex loads it when a task matches its description.

Can I use Security Fastapi 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 IgorWarzocha/Opencode-Workflows --skill security-fastapi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/security-fastapi, .gemini/skills/security-fastapi, .github/skills/security-fastapi and .opencode/skills/security-fastapi in your project.

What does Security Fastapi need to run?

Going by SKILL.md and its folder, Security Fastapi needs a shell for the scripts in its folder and the command-line tools its instructions call (rg). Our summary lists: Python 3; A Bash shell.

Does Security Fastapi 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 Security Fastapi 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Security Fastapi use?

No licence was found for Security Fastapi or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Security Fastapi use?

About 893 tokens (SKILL.md is roughly 3.6k 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 Security Fastapi?

Skills that share tags, products or a category with Security Fastapi: Python Web App Security Audit (aiskillstore/marketplace, 430 stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars), Fastcrud (benavlabs/fastcrud, 1.6k stars) and Fastapi (Open-TutorAi/open-tutor-ai-CE, 108 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Fastapi?

IgorWarzocha (a GitHub user) maintains it in IgorWarzocha/Opencode-Workflows, which has 122 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on February 4, 2026.

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