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 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/skill)<a href="https://agentmods.dev/skills/lz59970062/long-task-wakeup/skill"><img src="https://agentmods.dev/badge/skills/lz59970062/long-task-wakeup/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/skill"><img src="https://agentmods.dev/badge/skills/lz59970062/long-task-wakeup/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.00079 | $0.08709 |
| Opus 5.5 | $0.00032 | $0.03484 |
| Sonnet 5.5 | $0.00016 | $0.01742 |
| Haiku 4.5 | $0.00008 | $0.00871 |
Grade A, and why
long-task-callback 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 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
status = subprocess.call(["python", "train.py", "--config", "configs/exp.yaml"]) This is a copy
95% identical to long-task-callback — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 744 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Long Task Callback
Rule
Use an explicit callback when requested or when a command may outlive the current Codex or Claude Code turn.
There are three public workflows:
ltc run -- <command>submits a new long-running task. The daemon launches it through an independent task owner (systemd on Linux, launchd on macOS, Task Scheduler on Windows; screen fallback on Linux/macOS).ltc agent codex|claude|pi -- <prompt>submits a fresh child agent through the same durable lifecycle. Codex/Claude are available since0.6.5; Pi is a child worker and callback parent in the current preview.ltc done ...queues a completion callback for work already owned by screen, tmux, Slurm, another scheduler, or an existing script.
Daemon handoff is unconditional and requires no opt-in flag. Never add --via-daemon to newly
written commands; old scripts may still pass it as a hidden no-op compatibility flag. Do not
invent another public launch flag or a direct-mode flag. Do not use a direct recursive
codex exec resume or claude -p --resume call from an agent tool sandbox. Do not let callback
behavior change the task's original exit code unless the user explicitly requests --strict.
Registered task templates
ltc template register NAME --file /path/to/template.yaml installs a user template,
copies its system-prompt dependencies, and creates a short ltc-NAME discovery skill.
The YAML's worker and description describe the capability; CLI options can supply
or override them. ltc template list --json shows the registered capabilities.
The generated entrypoint binds the installed template file so another workspace's
LTC_TEMPLATE_DIR cannot select a different same-named template. Keep Agent profile
settings and the current parent's callback binding.
Read the matching entrypoint and pass actual task scope, target paths and evidence
constraints. Check readiness with ltc doctor --operation agent --agent-worker WORKER
and validate submission with --dry-run when needed. Routine local edits need not be
delegated. On completion, inspect the real result and edits, ACK and continue.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 744 lines · 79 tokens per session scan A c6cc89edea77
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 79 tokens to every session and 8,709 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 95% identical to long-task-callback, differing in 15 lines, and is treated as a copy.
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 | 79 | 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 |