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 bestdeejay-design/agent-skills --skill long-running-agent-workflowgit clone --depth 1 https://github.com/bestdeejay-design/agent-skillsWrote 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/bestdeejay-design/agent-skills/long-running-agent-workflow)<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/long-running-agent-workflow"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/long-running-agent-workflow/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/bestdeejay-design/agent-skills/long-running-agent-workflow"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/long-running-agent-workflow.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.00124 | $0.01630 |
| Opus 5 | $0.00062 | $0.00815 |
| Sonnet 5 | $0.00025 | $0.00326 |
| Haiku 4.5 | $0.00012 | $0.00163 |
Grade A, and why
long-running-agent-workflow 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 10d 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 — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Long-Running Agent (LRA) Workflow
Load this skill when you are about to work on a large project that will span multiple sessions / context windows and you need continuity, atomic handoffs, and recovery from broken states.
The skill gives you a tiny CLI (scripts/lra_cli.py) that maintains a .lra/
directory: a machine-readable feature-list.json (atomic features with
acceptance criteria and status) and a human/agent-readable progress.txt
(session log). The protocol turns "one big vague task" into a sequence of
small, fully-tested, check-pointed features.
Overview — the problem
AI agents working across many context windows hit three failure modes:
- Context amnesia — each new session has no memory of prior work.
- One-shot tendency — trying to do too much at once, leaving half-done features.
- Incomplete features — work spans sessions with no clear acceptance gate, so "done" is never verified.
LRA fixes this with: structured init, one atomic feature per session, an
explicit test gate before done, and a checkpoint after every feature so the
next session can recover.
When to use
- Long, multi-session projects (hours/days, many context windows).
- Any task where you might lose context between runs.
- Triggers:
lra,checkpoint,feature list,long running,продолжи работу над проектом,долгая сессия,план фич,статус проекта.
If the task is small and finishes in one session, you do not need this skill — just do the work.
Prerequisites
- A git repository (so checkpoints can be committed and recovered).
- Python 3 on
PATH(the CLI is pure stdlib, no dependencies). - Run the CLI from the project root (it creates/reads
.lra/there).
Instructions
Phase 1 — Init
python3 scripts/lra_cli.py init "Short project description"
Creates .lra/feature-list.json ({"project": ..., "features": [], "created": <date>})
and .lra/progress.txt with a header. Refuses (exit 1) if .lra/ already
exists, so you never clobber an in-progress project.
What ships with it
3 files 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.
- 10d ago First seen · 165 lines · 124 tokens per session scan A 4ac1d4f0380f
long-running-agent-workflow is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed 3d ago), licensed MIT. It adds 124 tokens to every session and 1,630 once invoked, about $0.0006 per session on Opus 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-08-31.
Other skills, from other repositories
workflow
Use when a task is too large for turn-by-turn orchestration and should run through the big-task workflow lane: system-wide changes, large migrations, repo-wide audits, high-confidence verification, or tasks explicitly asking to run a workflow. Claude Code uses native dynamic workflows; Codex, OpenCode, and Grok use…
skill-compiler
Automatic solved-to-skill compiler — detects novel task completions and autonomously drafts new SKILL.md files. Stolen from Hermes Agent's learning loop (NousResearch, 2026-05-11).
context-compactor
9-section context compression with analysis scratchpad. Adapted from Claude Code's /compact system (2026-03-31).
daemon-loop
Autonomous recurring agent tasks — converts workflows into persistent background daemons that run on intervals. Stolen from Boris Cherny's Claude Code /loop pattern (2026-03-31).
trade-journal-analyzer
Unified post-trade analytics: journal pattern extraction + drawdown classification. Absorbs: drawdown-classifier.
Deep Research Loop
Multi-step web research, compilation, and synthesis workflow. Scrapes multiple sources, cross-references claims, and produces a structured research brief.