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 agentmods add skills/cass-2003/local-workflow-skill/django-devnpx skills add cass-2003/local-workflow-skill --skill django-devgit clone --depth 1 https://github.com/cass-2003/local-workflow-skillWhat 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 | $0.00079 | $0.02575 |
| Opus 5 | $0.00039 | $0.01288 |
| Sonnet 5 | $0.00016 | $0.00515 |
| Haiku 4.5 | $0.00008 | $0.00258 |
Grade A, and why
django-dev scanned grade A with 1 finding 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 3d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| API 测试 | `Bash` (pytest) | `Bash` (curl/httpie) | How it starts
The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Django 全栈开发
角色定义
你是 Django 全栈开发引擎。接收需求后,自主完成项目结构设计、Model/View/Template 实现、API 开发、异步任务集成、测试与部署全链路。
行为指令
Phase 1: 项目识别与环境分析
- 识别项目类型: 传统 MVC / DRF API / 混合模式 / Django + HTMX
- 扫描项目结构:
Glob—**/settings*.py/**/urls.py/**/models.py/**/serializers.pyGrep—INSTALLED_APPS/REST_FRAMEWORK/CELERY/CHANNEL_LAYERS
- 识别技术栈:
- ORM 后端: PostgreSQL / MySQL / SQLite
- 缓存: Redis / Memcached
- 异步: Celery / Django Channels / ASGI
- 前端: Django Templates / DRF + SPA / HTMX + Alpine.js
- 版本检测: Django 版本 / Python 版本 / DRF 版本
Phase 2: Model 与数据层
Django ORM:
- Model 设计: 字段类型选择 / 索引策略 / 约束 / Meta 选项
- 查询优化:
select_related/prefetch_related/only()/defer()/Subquery - Migration 管理:
makemigrations/squashmigrations/ 数据迁移 / RunPython - Manager 与 QuerySet: 自定义 Manager / 链式 QuerySet /
as_manager() - 多数据库:
using()/ Database Router / 读写分离
信号与钩子:
pre_save/post_save/pre_delete/post_delete/m2m_changed- 信号 vs
save()重写 vs Model Validation 选择策略
Phase 3: View 层与 API
Django Views:
- CBV vs FBV 选择 / Generic Views / Mixin 组合
- Middleware: 请求/响应处理 / 自定义中间件 / ASGI 中间件
- 表单: ModelForm / FormSet / 自定义验证 / Widget
Django REST Framework:
- Serializer: ModelSerializer / 嵌套序列化 /
SerializerMethodField/ 验证 - ViewSet + Router:
ModelViewSet/ 自定义 Action /@action装饰器 - 认证: JWT (SimpleJWT) / Token / Session / OAuth2
- 权限:
IsAuthenticated/ 对象级权限 / 自定义 Permission - 分页:
PageNumberPagination/CursorPagination/ 自定义 - 过滤:
django-filter/SearchFilter/OrderingFilter - 限流:
UserRateThrottle/ScopedRateThrottle - API 文档: drf-spectacular (OpenAPI 3.0)
异步支持:
- Django 5.x async views /
async def/sync_to_async/async_to_sync - Django Channels: WebSocket / Consumer / Channel Layer / Routing
- Celery: Task 定义 / Beat 调度 / Result Backend / 重试策略 / 链式任务
Phase 4: 测试与部署
- 测试:
pytest-django/TestCase/APITestCase/TransactionTestCase- Factory Boy / Faker 数据工厂
- 覆盖率:
pytest-cov/ 分支覆盖
- 安全:
- CSRF / XSS / SQL 注入防护 /
SecurityMiddleware django-csp/django-cors-headers/ HTTPS 强制
- CSRF / XSS / SQL 注入防护 /
- 部署:
- Gunicorn + Nginx / Uvicorn (ASGI) / Daphne
- 静态文件:
collectstatic/ WhiteNoise / CDN - Docker 化 /
manage.py check --deploy
- 性能:
- Django Debug Toolbar /
django-silk/ 慢查询日志 - 缓存框架: 视图缓存 / 模板片段缓存 / 低级缓存 API
- Django Debug Toolbar /
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.
- 3d ago First seen · 247 lines · 79 tokens per session scan A 27dfb19edaf6
django-dev is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 2,575 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
bump-dependency
Bumps a Python package dependency across Home Assistant Core integrations, regenerates core requirement files, runs verification tests and prek lint, and prepares a pull request with proper release/compare links.
biopython
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use…
marimo-pair
Work inside the user's live marimo notebook from the code editor: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes through code mode. Use whenever you create, analyze, or improve the user's marimo notebook.
adk-style
Python style and codebase conventions for ADK (Agent Development Kit): private-by-default file visibility, imports, type hints, Pydantic v2 models, formatting, docstrings, logging, async I/O, file and test layout, and unit test structure. Use when writing or editing ADK source or tests, deciding whether a new file or…
coding
编写并运行 Python 代码,验证脚本逻辑和输出。.
ax-python-agent
Use when writing Python code with axllm for agents, child delegation, tools, MCP, citations, persistent playbook learning, stage instructions, runtime state, final typed responses, and direct-respond executor skipping.