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 infohata/mind-vault --skill djangogit clone --depth 1 https://github.com/infohata/mind-vaultWrote 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/infohata/mind-vault/django)<a href="https://agentmods.dev/skills/infohata/mind-vault/django"><img src="https://agentmods.dev/badge/skills/infohata/mind-vault/django.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.00050 | $0.09398 |
| Opus 5 | $0.00025 | $0.04699 |
| Sonnet 5 | $0.00010 | $0.01880 |
| Haiku 4.5 | $0.00005 | $0.00940 |
Grade A, and why
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 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 — 636 lines — stays where its author put it; the contents beside it link to each section on GitHub.
django
Core Django backend patterns for project organisation, model abstractions, DRF conventions, ORM optimisation, middleware, and testing. Applies identically across single-tenant and multi-tenant projects; specialised concerns (Channels, Celery, multi-tenancy, i18n) live in references/.
Pairs with: django-frontend for HTMX / Alpine / Bulma template patterns. Load both on full-stack feature work (e.g. a view that returns an HTMX partial on HX-Request).
When to use
TRIGGER when: editing a Django project (manage.py, models.py, views.py, serializers.py, admin.py, migrations/); adding a DRF endpoint, viewset, or permission; touching BaseModel / mixins / middleware; running makemessages; debugging N+1 or query-count issues.
SKIP for: template-only work (use django-frontend); pure-frontend JS; non-Django Python projects (FastAPI / Flask / Starlette have different idioms); DevOps without code (use deployment).
Pattern
Project structure
Infrastructure at repo root, Django code under web/:
git_repo_root/
├── docker-compose.yml # Infrastructure
├── Dockerfile
├── nginx/
├── docs/
├── tools/
└── web/ # ← All Django code here
├── manage.py
├── requirements.txt
├── .env.example
├── project/ # settings.py, urls.py, asgi.py
├── core/ # BaseModel, mixins, permissions, middleware
├── auth/
├── api/
└── [feature]/
Why web/: clean separation of infra vs. app code. Docker's web service mounts web/ to /app in the container, keeping Django self-contained and infra isolated from the Python path.
Type hints and docstrings
Mandatory on all function signatures and classes. Explicit arg/return types (def process(data: dict) -> bool:) and a descriptive docstring per class / function / method.
BaseModel abstraction
Reduce duplication with an abstract base:
What ships with it
23 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.
- references/ASYNC_WEBSOCKET.md 17 KB
- references/BULK_ORM_BYPASSES_MODEL_LAYER.md 4.0 KB
- references/CELERY.md 15 KB
- references/CROSS_ENTITY_SESSION_FILTER.md 4.6 KB
- references/DEVELOPMENT_WORKFLOW.md 5.4 KB
- references/FILEFIELD_MIME_CAPTURE.md 3.1 KB
- references/FORM_INVALID_STATUS.md 6.1 KB
- references/I18N_WORKFLOW.md 25 KB
- references/I18N.md 16 KB
- references/IDEMPOTENT_SEED_COMMANDS.md 7.7 KB
- references/LOGGING.md 14 KB
- references/MANIFEST_STATIC_FILES_STORAGE.md 6.3 KB
- references/MODELFORM_POST_CLEAN_TRAP.md 9.9 KB
- references/MULTI_TENANT_ASYNC.md 10 KB
- references/MULTI_TENANT_CELERY.md 8.2 KB
- references/MULTI_TENANT.md 39 KB
- references/OPENROUTER_REASONING_API.md 5.2 KB
- references/PERMISSION_GATE_PROBE.md 9.3 KB
- references/RESOURCE_LIFECYCLE_DROP_VS_ENSURE.md 3.9 KB
- references/TENANT_SCOPED_FK_VALIDATION.md 7.3 KB
- references/TESTING.md 34 KB
- scripts/run_tests.sh 1.3 KB runs code
- VERSION 4 B
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 Changed 3a1995720d07
- 6d ago First seen · 636 lines · 50 tokens per session scan A 4b23d8b26884
django is a skill published in the GitHub repository infohata/mind-vault (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 50 tokens to every session and 9,398 once invoked, about $0.0003 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-08-31.
Other skills, from other repositories
django-patterns
Django architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps.
fastapi-patterns
FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
azure-mgmt-botservice-py
Azure Bot Service Management SDK for Python. Use for creating, managing, and configuring Azure Bot Service resources. Triggers: "azure-mgmt-botservice", "AzureBotService", "bot management", "conversational AI", "bot channels".
azure-messaging-webpubsubservice-py
Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns. Triggers: "azure-messaging-webpubsubservice", "WebPubSubServiceClient", "real-time", "WebSocket", "pub/sub".
fastapi-app
Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs. Use when the user wants to start, scaffold, or set up a new FastAPI service, a Python REST API, an async backend, or asks to "create a new fastapi app" or "new python backend". Handles JWT auth, layered…