long-running-jobs SKILL.md skillA

long-running-jobs from shibing624/agentica is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shibing624/agentica/long-running-jobs@v1.0

Pins v1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shibing624/agentica
Path
agentica/skills/bundled/long-running-jobs/SKILL.md
Versions recorded
1
Latest version
v1.0, committed Oct 27, 2026
Size
1,565 bytes
Repository stars
359
License
Apache-2.0

Run work that outlives a session (hours of training, a server, a remote queue) with tmux/nohup/setsid and a background watcher that reports when it ends. Use before launching anything that must keep running after this session exits, or to track a job you did not start here.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Long-running jobs

`execute(background=True)` belongs to this session: it is stopped when the
session exits. A job that must outlive the session goes in `tmux` / `nohup` /
`setsid`, and from then on nothing reports its end: `/ps` does not list it and
no exit reaches you.

So launch it to leave a completion marker and, in the same step, start one
background watcher that turns the marker into a completion. Do not wait to be
asked. Polling is right here because there is no event to wait on; the watcher
only reads, and exits non-zero if the job vanished without a marker:

```
execute(command="tmux new-session -d -s train 'python train.py > train.log 2>&1; echo $? > train.exit'")
execute(command="while [ ! -f train.exit ]; do tmux has-session -t train 2>/dev/null || [ -f train.exit ] || { echo 'train gone, no exit file'; tail -20 train.log; exit 2; }; sleep 60; done; tail -20 train.log; exit $(cat train.exit)", background=True)
```

The same watcher fits any job you did not start here (a job queue, a remote
run): loop on whatever condition marks it done.

Tell the user the watcher dies with this session while the job keeps running.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add shibing624/agentica/long-running-jobs@sha256:295cd62d629f997a

The line at the top of this page pins the label v1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ljy5oa5ckc6crydd.svg)](https://markdownregistry.com/a/art_ljy5oa5ckc6crydd)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 27, 2026.

versioncommittedcommitsizeaudit
v1.0 latest2026-10-27 9fbd42d 1,565 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1565 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

shibing624/agentica · 359 stars · license Apache-2.0 · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ljy5oa5ckc6crydd
GET https://markdownregistry.com/api/v1/resolve?ref=shibing624/agentica/long-running-jobs
GET https://markdownregistry.com/api/v1/blob/295cd62d629f997adddcc5fa187f8e112f192b9572828d14b6075ece7e0baef7

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from shibing624/agentica

agentica SKILL.md skill
shibing624/agentica · agentica/skills/bundled/agentica/SKILL.md · How to answer questions about the agentica product you are running inside — CLI flags, config.yaml profiles, API keys…
v1.0 · audit A · 359 stars
cron SKILL.md skill
shibing624/agentica · agentica/skills/bundled/cron/SKILL.md · Schedule, list, pause, resume, edit, or run the user's agentica cron jobs with the cronjob tool. Use when asked to…
v1.0 · audit A · 359 stars
multi-agent SKILL.md skill
shibing624/agentica · agentica/skills/bundled/multi-agent/SKILL.md · Run work across more than one agent — the task subagent, the delegate tool, background commands, and the user's other…
v2.0 · audit A · 359 stars
worktree SKILL.md skill
shibing624/agentica · agentica/skills/bundled/worktree/SKILL.md · Isolate parallel work in a git worktree of the current repository (worktree tool: status / new / merge / remove). Use…
v2.1 · audit A · 359 stars
python-lib-analyzer SKILL.md skill
shibing624/agentica · examples/data/skills/python-lib-analyzer/SKILL.md · Analyze any Python library structure, explore modules, classes, and functions with signatures and documentation.
v1.0 · audit A · 359 stars
web-research SKILL.md skill
shibing624/agentica · examples/data/skills/web-research/SKILL.md · Use this skill for requests related to web research; it provides a structured approach to conducting comprehensive web…
git:20260206.d8f7d1a · audit A · 359 stars

Every file in shibing624/agentica

Browse by kind, by grade A, or by owner.