कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

queue-task

moodykong द्वारा

Coding Agents & IDEs
596clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Durable queue-task helper for resumable, idempotent batch jobs in task-father task folders.

विवरण

यह स्किल क्या करती है

Manages durable, resumable batch job queues using append-only JSONL state files. Tracks progress, failures, and locks to prevent concurrent runs across sessions. Works within task-father task folder conventions.

Unlike in-memory job queues, all state persists to disk so jobs survive crashes and can be resumed without reprocessing completed items.

इसे कब इस्तेमाल करें

  • Resuming a large data import after an interrupted run
  • Processing thousands of records in small batches without data loss
  • Preventing duplicate processing with idempotency keys
  • Scheduling recurring batch jobs with cron expressions
  • Inspecting batch progress and clearing stale locks mid-job

उदाहरण वर्कफ़्लो

इनपुट

User asks: set up a resumable batch job to process 500 records with a batch size of 20

एजेंट
  1. 1

    Creates config.env with BATCH_SIZE=20, WORKSPACE_DIR, TASKS_DIR, and other required keys

  2. 2

    Runs python3 scripts/queue_task.py init <slug> to create queue.jsonl, progress.json, and related state files

  3. 3

    Verifies setup with python3 scripts/queue_task.py status <slug>

  4. 4

    Generates worker template via python3 scripts/queue_task.py print-supervisor-template

आउटपुट

Queue initialized and ready; worker template printed for the user to fill in batch processing logic

इंस्टॉलेशन

clawhub install moodykong/queue-task

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक