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 lz59970062/long-task-wakeup --skill claude_skillgit clone --depth 1 https://github.com/lz59970062/long-task-wakeupWrote 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/lz59970062/long-task-wakeup/claude_skill)<a href="https://agentmods.dev/skills/lz59970062/long-task-wakeup/claude_skill"><img src="https://agentmods.dev/badge/skills/lz59970062/long-task-wakeup/claude_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.
<a href="https://agentmods.dev/skills/lz59970062/long-task-wakeup/claude_skill"><img src="https://agentmods.dev/badge/skills/lz59970062/long-task-wakeup/claude_skill.svg" alt="Reviewed on agentmods" width="80" 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.00113 | $0.01717 |
| Opus 5.5 | $0.00045 | $0.00687 |
| Sonnet 5.5 | $0.00023 | $0.00343 |
| Haiku 4.5 | $0.00011 | $0.00172 |
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.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Long Task Callback for Claude Code
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 Claude Code you receive that
callback in this live session by running ltc wait as a background Bash command: Claude Code
wakes you when a background command exits, 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 Claude Code.
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 runfrom the start. - Never keep a job alive by polling it with
sleep/tail, and never leave a long job owned by arun_in_backgroundBash shell: it dies with the session and is not recovered.
The workflow
-
Submit (foreground; returns in a second or two):
ltc run --cwd "$PWD" --task "train model" -- python train.py --config configs/exp.yamlstderr prints the task id, backend, log path, and a ready-made line:
ltc: Claude Code live callback: run in the background (run_in_background): .../ltc wait --queue-dir ... --task <id>If it instead says the callback
arrives through the ltc channel, this session was started withltc claude: skip step 2. The callback is pushed into this session as a<channel source="ltc">event; handle it as in step 3. -
Wait — run exactly that
ltc wait ... --task <id>command with the Bash tool'srun_in_background: true. 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. -
Wake up — when the job finishes, the background command exits and prints a callback:
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.
- 16d ago First seen · 125 lines · 113 tokens per session scan A 974c100ebc3b
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 113 tokens to every session and 1,717 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.
long-task-callback compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| long-task-callbacklz59970062/long-task-wakeup | Skill | 193 | 28d ago | MIT | A | 113 | Claude Code, Codex |
| gke-compute-classesgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 83 | Claude Code, Codex |
| cloud-operator-admin-setupgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 115 | Claude Code, Codex |
| gke-reliabilitygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| gke-workload-securitygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 171 | Claude Code, Codex |
| nemo-automodel-launcher-configNVIDIA/skills | Skill | 4.3k | today | Apache-2.0 | A | 30 | Claude Code |
| azure-mgmt-botservice-dotnetmicrosoft/skills | Skill | 3.3k | today | MIT | A | 78 | Claude Code |