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 kouroshez/coding-os --skill python-djangogit clone --depth 1 https://github.com/kouroshez/coding-osWrote 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/kouroshez/coding-os/python-django)<a href="https://agentmods.dev/skills/kouroshez/coding-os/python-django"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/python-django/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/kouroshez/coding-os/python-django"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/python-django.svg" alt="Reviewed on agentmods" width="80" 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.00083 | $0.03752 |
| Opus 5 | $0.00042 | $0.01876 |
| Sonnet 5 | $0.00017 | $0.00750 |
| Haiku 4.5 | $0.00008 | $0.00375 |
Grade A, and why
python-django 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 5d 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 — 451 lines — stays where its author put it; the contents beside it link to each section on GitHub.
REQUIRED BACKGROUND: This skill depends_on: [clean-code, backend-fundamentals]. Both are loaded transitively — clean-code gives universal code quality (fail-closed errors, typed exceptions, self-documenting code, edge cases, error path tests) and backend-fundamentals gives stack-agnostic backend patterns (services/selectors, idempotency, envelopes, N+1, migrations, auth). This skill adds ONLY Django/DRF-specific layering on top.
Pre-Code Checklist
Before writing any backend Python code, verify:
- Read
docs/engineering/backend-rules.md— the canonical backend policy - If touching models or schema: read
docs/prd/12a-commerce-schema.mdanddocs/prd/12b-content-and-system-schema.md - If touching API endpoints or error handling: read
docs/api-contracts/error-format.md - If touching auth, payments, file uploads, or permissions: read
docs/playbooks/security-review.md - If touching download infrastructure: read
docs/architecture/04c-download-security.md - Search the repo with Grep/Glob for existing code before creating any new file
1. Architecture: Services + Selectors
Views are thin dispatchers. All business logic lives in services (writes) and selectors (reads).
Layer Responsibilities
| Layer | Location | Responsibility | Never Does |
|---|---|---|---|
| View | apps/*/views/ |
Parse request, call service/selector, return response | ORM queries, business logic, mutations |
| Selector | apps/*/selectors/ |
Read-only ORM queries, filtering, aggregation | Write operations, side effects |
| Service | apps/*/services/ |
Business logic, validation, mutations, side effects | Direct HTTP response construction |
| Serializer | apps/*/serializers/ |
Request validation, response shaping | Business logic, ORM queries |
Correct Pattern
# apps/products/views/product_views.py
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import status
from apps.products.selectors import product_selectors
from apps.products.serializers import ProductDetailSerializer
class ProductDetailView(APIView):
"""Thin view — delegates to selector, serializes, returns."""
def get(self, request, slug: str) -> Response:
product = product_selectors.get_published_product(slug=slug)
serializer = ProductDetailSerializer(product)
return Response(serializer.data, status=status.HTTP_200_OK)
What ships with it
2 files 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.
- 5d ago First seen · 451 lines · 83 tokens per session scan A 1b78ed7aafbc
python-django is a skill published in the GitHub repository kouroshez/coding-os (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 3,752 once invoked, about $0.0004 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
cross-sdk-parity
Keep TypeScript and Python SDK behavior, generated client usage, public API naming, and docs examples aligned. Use when a change affects both SDKs, when generated client pins move, when comparing TS/Python behavior, or when a backend API contract changed. Do not use for single-language internal-only changes.
supabase-python
FastAPI with Supabase and SQLAlchemy/SQLModel.
backend-development
A general guide for building backend services, which are the server-side programs that handle data, business rules, and APIs. It switches between Python, Node.js, Go, and Java guidance based on the requested technology.
reddit-api
Reddit API with PRAW (Python) and Snoowrap (Node.js).
python-programming-expert
Expert-level skill for Python programming (Python 3.13/3.14+). Covers type safety, generic syntax (PEP 695), async/await TaskGroups, FastAPI 0.115+, Pydantic v2, uv package manager, Ruff, and pytest in English and Indonesian.
django
Django batteries-included Python framework. Covers models, views, templates, ORM, and admin. Use when building full-featured Python web applications. USE WHEN: user mentions "django", "django orm", "django admin", "django templates", asks about "python cms", "django rest framework", "drf", "django models", "django…