long-agent

Manage long-running agent sessions with progress tracking and context persistence.

24|6|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/johnlindquist/claude --skill long-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: long-agent
Source: https://github.com/johnlindquist/claude/tree/main/skills/long-agent
Command: npx skills add https://github.com/johnlindquist/claude --skill long-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-generativeai, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates context loss in extended AI sessions, providing progress tracking, milestone management, and clean handoff between sessions or agents working on the same extended task over multiple days.

Frequently Asked Questions about long-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain context across long-running AI agent sessions?

Long-running agent sessions preserve context by tracking progress and storing state across extended tasks. This Skill manages session initialization, checkpoint-based resumption, and context persistence so you can pause and resume work without losing information, even across multiple days.

Can I use AI sessions for multi-step projects that span days or weeks?

Yes. This Skill is designed for multi-day tasks and long-running projects. It enforces milestone tracking and functional requirements for session management, enabling you to handoff work between agents or resume from checkpoints without restarting context.

What's the best way to track progress in extended AI agent workflows?

Progress tracking in extended workflows uses milestone management and checkpoint-based resumption. This Skill maintains persistent state and context across hours of work, so you can monitor advancement and resume from known checkpoints when needed.

How do I prevent context loss when handing off long-running tasks between agents?

Clean handoffs between agents working on the same extended task require template-based session creation and persistent context storage. This Skill enforces the functional structure needed to preserve session state during handoffs and enable seamless resumption.

Does this work with Google Generative AI for extended sessions?

Yes. This Skill uses google-generativeai as its dependency and manages extended AI sessions with progress tracking, checkpoints, and context persistence, suitable for long-running workflows with Google's generative models.