long-task-callback

long-task-callback is a skill for Claude Code, Codex from lz59970062/long-task-wakeup. It costs 116 tokens per session (2,126 once invoked), scanned A, original, MIT.

A task service for running long commands or child AI agents outside the current session and receiving a callback when they finish.

In plain words
What is it for?
It is for model training, benchmarks, builds, test suites, deployments, data jobs, and delegated work that may take more than a short turn.
Why use it?
It prevents long work from blocking the conversation and replaces unreliable waiting or repeated status checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit It is for model training, benchmarks, builds, test suites, deployments, data jobs, and delegated work that may take more than a short turn.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lz59970062/long-task-wakeup/dsh_skill
Install

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.

Any agent
npx skills add lz59970062/long-task-wakeup --skill dsh_skill
Clone the repo
git clone --depth 1 https://github.com/lz59970062/long-task-wakeup

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for long-task-callback

README.md
[![agentmods](https://agentmods.dev/badge/skills/lz59970062/long-task-wakeup/dsh_skill/github.svg)](https://agentmods.dev/skills/lz59970062/long-task-wakeup/dsh_skill)
Your own site
<a href="https://agentmods.dev/skills/lz59970062/long-task-wakeup/dsh_skill"><img src="https://agentmods.dev/badge/skills/lz59970062/long-task-wakeup/dsh_skill/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.

agentmods 80×15 button for long-task-callback

Your own site · 80×15
<a href="https://agentmods.dev/skills/lz59970062/long-task-wakeup/dsh_skill"><img src="https://agentmods.dev/badge/skills/lz59970062/long-task-wakeup/dsh_skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.02126
Opus 5.5 $0.00046 $0.00850
Sonnet 5.5 $0.00023 $0.00425
Haiku 4.5 $0.00012 $0.00213

Measured 16d ago against content hash ed54e7848887, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

long-task-callback 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 16d 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.

src/long_task_callback/dsh_skill/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Long Task Callback (ltc) for DeepSeek Harness

LTC hands a long command to an independent OS task owner (launchd on macOS, systemd on Linux, Task Scheduler on Windows) and queues a callback when it exits. In DeepSeek Harness you receive that callback in this live session by starting ltc wait as a DSH background job: DSH notifies the conversation when a background job finishes, and ltc wait exits as soon as the callback is ready.

The full reference (all flags, platforms, recovery and goals) is in REFERENCE.md. Read it only when you need details beyond this page. It is shared with other agents; where it differs from this page about callback delivery, this page applies to DeepSeek Harness.

When to use it

  • Reliably done within 60 seconds → run it in the foreground once. No LTC.
  • About a minute or longer, uncertain duration, or might need a second check → ltc run from the start.
  • Never keep a job alive by polling it with sleep/tail, and never start a long job with a plain foreground Bash call: it blocks the conversation and dies with the turn.

The workflow

  1. Submit (foreground; returns in a second or two):

    ltc run --cwd "$PWD" --task "train model" -- python train.py --config configs/exp.yaml
    

    stderr prints the task id, backend, log path, and a ready-made line: ltc: DeepSeek Harness live callback: run as a background job (run_in_background: true): .../ltc wait --queue-dir ... --task <id>

  2. Wait — run exactly that ltc wait ... --task <id> command with the Bash tool's run_in_background: true (the bash tool's run_in_background argument). Do not run it in the foreground (it blocks until the job ends), and do not poll its output. Then tell the user what is running and end your turn, or carry on with other work. Start it right after the submission; the queue keeps the callback until a waiter appears.

  3. Wake up — DSH notifies this conversation when the background job finishes. Read that job's output with the job_output tool (use the job id from the notification). It contains:

Read the full file on GitHub · 142 lines

Changes

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.

  1. 16d ago First seen · 142 lines · 116 tokens per session scan A ed54e7848887

Subscribe to this mod's changes

long-task-callback is a skill published in the GitHub repository lz59970062/long-task-wakeup (193 stars, last pushed 28d ago), licensed MIT. It adds 116 tokens to every session and 2,126 once invoked, about $0.0005 per session on Opus 5.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-11-15.

Related

long-task-callback compared with skills from other repositories

long-task-callback next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
long-task-callbacklz59970062/long-task-wakeupSkill19328d agoMITA116Claude Code, Codex
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code