long-running-tasks
Skill1 starsChanged 5 months agoMITView on GitHub
Manage long-running commands and multi-step work in Codex. Use when a task may exceed normal turn time, needs a dev server, watcher, training run, crawl, benchmark, or repeated polling.
In this repository42 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-hookSkill
- new-ruleSkill
- new-skillSkill
- publishSkill
- agent-config-adapterSkill
- agent-update-watcherSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- claude-desktop-sessionsSkill
- code-verifierSkill
- doc-writingSkill
- end-of-turn-markerSkill
- figma-authoring-constraintsSkill
- figma-design-fetchSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- code-verifierSkill
- linux-freeze-triageSkill
- long-running-tasksSkill
- preview-templateSkill
- privacy-redactSkill
- research-criticSkill
- agent-harness-generalSkill
- system-cleanupSkill
- verify-templateSkill
- verify-visualSkill
- init-codex-configSkill
- memory-flywheelSkill
- preview-templateSkill
- privacy-redactSkill
- prompt-librarySkill
- research-criticSkill
- system-cleanupSkill
- task-orchestratorSkill
- feature-audit-templateSkill
- workflow-fix-templateSkill
- task-relationship-analysisSkill
- tui-installerSkill
- verify-templateSkill
- verify-visualSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read ../general/long-running-tasks/SKILL.md for the original policy, then use these Codex mappings:
- Distinctive: line 24
Stop or clean up sessions that are no longer needed before final response.
- Distinctive: line 25
If a task is too large for one run, leave a concrete continuation state: current command, session id, last observed output, and next check.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
long-running-tasks
Read ../general/long-running-tasks/SKILL.md for the original policy, then use
these Codex mappings:
- Claude background Bash -> Codex background
exec_commandsession. - Claude Monitor -> periodic
write_stdinpolling or explicit status command. - Claude subagent -> Codex subagent only if available and useful; otherwise use a focused plan and background terminal.
- Claude "ask before long run" -> Codex approval when the run needs network, writes outside the workspace, high cost, or destructive side effects.
Workflow:
- Estimate duration and side effects.
- For commands expected to run longer than a normal tool call, start them in a background session and keep the session id.
- Poll at reasonable intervals. Do not spam the transcript with full logs.
- Stop or clean up sessions that are no longer needed before final response.
- If a task is too large for one run, leave a concrete continuation state: current command, session id, last observed output, and next check.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

