Framework for building AI agents that work effectively across multiple context windows on complex, long-running tasks. Use when building agents for multi-hour/multi-day projects, implementing persistent coding workflows, creating systems that need state management across sessions, or when an agent needs to make incremental progress on large codebases.
Install
npx skills add refly-ai/skill-to-workflow --skill long-running-agentnpx skills add refly-ai/skill-to-workflow --skill long-running-agent -a claude-code -gnpx skills add refly-ai/skill-to-workflow --skill long-running-agent -a codex -ggemini skills install https://github.com/refly-ai/skill-to-workflow.git --path skills-source/zijiebijiben/long-running-agentgh skill install refly-ai/skill-to-workflow long-running-agentgit clone --depth 1 https://github.com/refly-ai/skill-to-workflow /tmp/refly-ai__skill-to-workflow
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/refly-ai__skill-to-workflow/skills-source/zijiebijiben/long-running-agent ~/.claude/skills/long-running-agent # Claude Code
cp -R /tmp/refly-ai__skill-to-workflow/skills-source/zijiebijiben/long-running-agent ~/.agents/skills/long-running-agent # Codex, Cursor, Gemini CLI, Copilot, OpenCode