Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

django-q2

Skill by hashgraph-online

Guides an AI assistant through adding, scheduling, configuring, testing and debugging Django Q2 background tasks. It covers qcluster workers and the Redis and ORM broker options in Django projects.

  • Score 71
  • 1.6k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install django-q2

Built from the published package, never by AI.

git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins /tmp/awesome-codex-plugins && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-codex-plugins/plugins/LVTD-LLC/skills/skills/django-q2 ~/.claude/skills/django-q2

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install django-q2 in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives an AI assistant a working guide to Django Q2, a background task library for Django. It explains how web code enqueues tasks with async_task or creates Schedule rows, how the broker holds queued work until a qcluster process reserves it, and how workers run importable Python functions and save results or failures. The skill includes checks for the Q_CLUSTER settings, the worker command, and the INSTALLED_APPS entry.

The guidance covers task design, scheduling, broker choice, testing and debugging. It recommends idempotent tasks, passing primary keys instead of model instances, and seeding named schedules with get_or_create. It describes Redis and ORM broker setups, sync-mode tests, and a debugging checklist. It is intended for developers working on Django projects that use django-q2.

Written from the project's SKILL.md and checked against it.

What it can do

  • Configuration checksReviews INSTALLED_APPS, Q_CLUSTER, the broker and the project's worker command.
  • Adding tasksGuides writing importable task functions and enqueueing them with async_task.
  • Scheduling workExplains seeding named, idempotent schedules and controlling catch-up after downtime.
  • Redis broker setupShows a Q_CLUSTER configuration using a Redis URL and notes its delivery limits.
  • ORM broker setupLists the steps to switch the broker to the Django database and tune polling.
  • Testing tasksCovers calling tasks directly, sync mode and bounded waits for worker integration tests.
  • Debugging checklistLists common causes of worker, migration, broker and duplicate schedule problems.

What you need

  • A Django project with django-q2 installed
  • Redis, if using the Redis broker
  • croniter, only for cron schedules
  • Codex, Claude Code, or another Agent Skills-compatible client

Try asking

  • Add a Django Q2 background task that sends a welcome email
  • Set up a daily scheduled job with Django Q2 using get_or_create
  • Switch my Django Q2 cluster from Redis to the ORM broker

Good to know

  • The default Redis broker does not support delivery receipts, so an in-flight task can be lost if a worker host dies.
  • Redis does not give exactly-once execution, so tasks should be idempotent.
  • The ORM broker is suited to low-throughput or Redis-free deployments.
  • Schedules only run while a qcluster process is running.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/LVTD-LLC/skills/skills/django-q2/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to django-q2

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

django-q2: common questions

Does Django Q2 guarantee a task runs exactly once?

No. The source says Redis does not give exactly-once execution guarantees and receipt-based brokers can re-run work, so tasks should be idempotent.

When should I use the ORM broker instead of Redis?

The source recommends the ORM broker for low-throughput deployments, local simplicity, or environments where Redis is unavailable.

Do scheduled jobs run without a qcluster process?

No. Schedules are database rows and do nothing unless qcluster is running.

How do I install django-q2?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is django-q2 free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is django-q2 safe to use?

It scores 71 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to django-q2?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

django-q2 Install

Add to stack

Loading.