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 skills add darellchua2/opencode-config-template --skill python-backend-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote 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/darellchua2/opencode-config-template/python-backend-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/python-backend-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/python-backend-skill/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.
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/python-backend-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/python-backend-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 6 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 142 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 187 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Rogue Agent · line 464 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Data Exfiltration · line 744 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 748 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 752 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00034 | $0.01001 |
| Opus 5.5 | $0.00014 | $0.00400 |
| Sonnet 5.5 | $0.00007 | $0.00200 |
| Haiku 4.5 | $0.00003 | $0.00100 |
Grade A, and why
python-backend-skill 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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
Scaffold Python backends: framework choice (FastAPI/Django/Flask), project layout, pyproject.toml standard, env-based config (pydantic-settings), DI, SQLAlchemy session discipline, migration gotchas, SSE durability, OpenCode LSP wiring.
When to use me
New/restructured Python backend; production patterns for FastAPI/Django/Flask; detached-instance or SSE bugs.
Related: python-pytest-creator-skill (tests) · python-ruff-linter-skill (lint) · database-migration-skill (full migration workflows — this file keeps only gotchas) · nextjs-standard-setup-skill (JS equivalent).
House standards
pyproject.toml (FastAPI baseline): requires-python = ">=3.12"; deps fastapi>=0.110.0, uvicorn[standard]>=0.27.0, sqlalchemy[asyncio]>=2.0.0, asyncpg>=0.29.0, pydantic-settings>=2.1.0, alembic>=1.13.0; dev extras pytest>=8, pytest-asyncio>=0.23, pytest-cov, httpx, ruff>=0.2, mypy>=1.8. Ruff: target-version py312, line-length 120, select E,F,I,N,UP,B,SIM,C4; pytest asyncio_mode = "auto"; mypy strict = true + pydantic.mypy plugin.
OpenCode LSP (project-level): root opencode.json with "lsp": {"pyright": {}} — ambient cross-module type diagnostics during edits (pyright in dev deps, >=1.1.350); ruff/mypy remain the CI gate, pyright is the ambient feed. Project-level only for code repos; check into git.
Hard rules (each was a production incident):
- Detached ORM across sessions — never fetch in one session and commit in another; one session per read-modify-write (
async with session.begin()). Mocks mask this bug. - Pydantic on JSONB — never assign a
BaseModelto a JSONB column;model_dump()first (a miss here took out all 47 node registrations). - Alembic
bulk_insert+ asyncpg JSONB — pass native dicts, neverjson.dumps()strings. asyncio.Queueas sole SSE event store — events vanish on reconnect/multi-worker; DB (or Redis) is the store, queue is delivery, replay viaLast-Event-ID.
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.
- 2mo ago Changed · -924 lines 13e5c5627a14
- 3mo ago First seen · 972 lines · 34 tokens per session scan A 9eb43aa93f77
python-backend-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,001 once invoked, about $0.0001 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.
python-backend-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| python-backend-skilldarellchua2/opencode-config-template | Skill | 6 | 2mo ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| fastapi-patternsaffaan-m/ECC | Skill | 317k | 4d ago | MIT | A | 35 | Claude Code, Kiro |
| stripe-projectse2b-dev/E2B | Skill | 15k | yesterday | Apache-2.0 | A | 51 | Claude Code, Codex |
| azure-mgmt-botservice-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 59 | Claude Code |
| azure-messaging-webpubsubservice-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 64 | Claude Code |
| azure-appconfiguration-pybenjaminasterA/antigravity-awesome-skills | Skill | 528 | yesterday | MIT | A | 0 | Claude Code, Codex |
| azure-messaging-webpubsubservice-pybenjaminasterA/antigravity-awesome-skills | Skill | 528 | yesterday | MIT | A | 0 | Claude Code, Codex |