Conventions for running an agent loop unattended for hours or days. Keeps state in files, makes each round try a different approach, detects stalls by counting results, separates orchestrator from workers, and runs a heartbeat watchdog that restarts the loop if it dies.
Based on Deli_AutoResearch.
A set of conventions for running an agent loop unattended for hours or days. There's no code here — just a skill that tells the agent how to keep its state in files, try a different approach when it gets stuck, and recover when the loop dies.
Leave an agent running on its own long enough and it tends to fail in one of three ways:
None of these are about the model being weak. They happen because nobody wired up the plumbing to keep the loop honest and alive. That plumbing is what this skill describes.
One skill — deli-autoresearch. It covers:
progress.json, findings.jsonl, directions_tried.json, and so on)In Claude Code, add this repo as a plugin marketplace, then install the plugin:
/plugin marketplace add nanawanzii/deli-autoresearch-skill-protocol
/plugin install deli-autoresearch@deli-autoresearch
Or, if you'd rather skip the plugin system, drop the skill file straight into your project:
skills/deli-autoresearch/SKILL.md
Invoke the skill when starting an unattended long-horizon task:
/skill deli-autoresearch
Then set up a task directory, write task_spec.md, start the orchestrator loop, and start a separate heartbeat watchdog alongside it. See skills/deli-autoresearch/SKILL.md for the full prompts, file formats, stall thresholds, and pivot rules.
{task}/
state/
task_spec.md # goal, scope, success criteria, stop conditions
progress.json # iteration counter + stale_count
findings.jsonl # append-only evidence
directions_tried.json # enforce direction diversity
iteration_log.jsonl
logs/
work.jsonl
orchestrator.jsonl
heartbeat.jsonl
The orchestrator reads these files, picks a direction that's structurally different from what's been tried, launches a fresh worker, verifies the output, and updates state. An independent heartbeat watchdog restarts stalled loops without touching worker findings.
SKILL.md is a short entry point — the trigger conditions, the behavioral contract, a startup checklist, and a map of subfiles. Templates and references sit alongside so an agent only loads what its role needs, keeping context small.
skills/deli-autoresearch/
SKILL.md # entry point + behavioral contract + startup checklist
templates/
orchestrator.md # scheduler role: per-callback checklist + prompt
worker.md # execution role: requirements + prompt
heartbeat.md # watchdog role: allowed/forbidden actions + prompt
references/
state-schema.md # directory layout, JSON/JSONL formats, log record shape
stall-and-pivot.md # stall thresholds, structural vs tactical pivots
patterns.md # subagent patterns, validation, escalation, common mistakes
Load-when-needed: an orchestrator reads orchestrator.md + stall-and-pivot.md; a worker reads worker.md + state-schema.md; the heartbeat reads heartbeat.md only. patterns.md comes in at validation and escalation moments.
MIT
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub ziwangprincex/deli-autoresearch-skill-protocol --plugin deli-autoresearchRadio + Spotify + podcasts + Apple Music for Claude Code. Auto-stops when your session ends.
Ultra-compressed communication mode. Cuts 65% of output tokens (measured) while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.