endurance

Manage long-running agent processes with external state files and auto-prompting workflows.

Updated Aug 25, 2018
One-click install
npx skills add https://github.com/metabench/jsgui3-server --skill endurance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: endurance
Source: https://github.com/metabench/jsgui3-server/tree/main/docs/agi/skills/endurance
Command: npx skills add https://github.com/metabench/jsgui3-server --skill endurance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of executing autonomous agents for extremely long-running, complex tasks that would otherwise exhaust standard context windows, leading to performance degradation and increased costs.

Core Features & Use Cases

  • Context Engineering: Optimizes context window usage by prioritizing quality over quantity and employing summarization techniques.
  • State Externalization: Manages agent memory and state in external files (e.g., WORKING_NOTES.md, STATE.json) rather than solely relying on chat history.
  • Auto-Prompting Workflows: Breaks down large tasks into a chain of distinct, auto-generated prompts, enabling stable and intelligent execution over extended periods.
  • Use Case: A multi-day code refactoring task where the agent needs to maintain context and progress across numerous stages without losing track of previous decisions or incurring excessive token costs.

Quick Start

Use the endurance skill to manage a long-running agent process by externalizing its state and auto-prompting the next steps.

Frequently Asked Questions about endurance

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

FAQPage Schema
How do I prevent context rot and instruction drift in long-running autonomous agent workflows?

To prevent context rot in long-running autonomous agent workflows, you can use context engineering and state externalization techniques, storing memory in external files like WORKING_NOTES.md and STATE.json to maintain stability without exhausting context windows.

What is the best way to manage agent memory and state for multi-day code refactoring tasks?

The best way to manage agent memory for multi-day code refactoring tasks is externalizing state into files rather than relying on chat history, ensuring the agent maintains progress and previous decisions without incurring excessive token costs over extended periods.

How do I break down large autonomous tasks into stable auto-prompting workflows?

Break down large autonomous tasks into stable auto-prompting workflows by chaining distinct, auto-generated prompts that process sequential stages, enabling intelligent execution over extended periods while dynamically loading skills to maintain stability.

Why does my autonomous agent lose track of previous decisions during extended sessions?

Your autonomous agent loses track of previous decisions during extended sessions due to context window exhaustion and instruction drift, which can be solved by externalizing memory to files and employing summarization techniques to optimize context usage.

Can I optimize context window usage to reduce token costs for long-running agents?

You can optimize context window usage to reduce token costs by implementing context engineering that prioritizes quality over quantity, using summarization techniques and state externalization to manage agent intelligence efficiently.

When should I externalize agent state to external files instead of using chat history?

You should externalize agent state to external files instead of using chat history when executing extremely long-running, complex tasks that would otherwise exhaust standard context windows, leading to performance degradation and increased costs.