filesystem-context

Offload oversized tool outputs and persistent context to the filesystem.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/freedomdp/LightRAG-Management --skill filesystem-context-freedomdp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: filesystem-context
Source: https://github.com/freedomdp/LightRAG-Management/tree/main/.agents/skills/filesystem-context
Command: npx skills add https://github.com/freedomdp/LightRAG-Management --skill filesystem-context-freedomdp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Managing growing agent context is hard when context windows limit tokens and memory must persist across sessions.

Core Features & Use Cases

  • Offload large tool outputs to a filesystem scratch pad and retrieve compact references.
  • Persist long-horizon plans and agent memory across context refreshes.
  • Coordinate sub-agent workspaces via a shared, isolated filesystem.

Quick Start

Run the filesystem-context demo to offload a large tool output and load a saved plan from disk.

Frequently Asked Questions about filesystem-context

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

FAQPage Schema
How do I prevent agent context token overflow during long-running workflows?

To prevent agent context token overflow, you can offload oversized tool outputs and persistent context to a filesystem scratch pad, retrieving compact references instead of keeping the full data in memory.

What is the best way to persist long-horizon plans and agent memory across context refreshes?

The best way to persist long-horizon plans and agent memory across context refreshes is by storing them in a dedicated filesystem context, ensuring durable context survives session interruptions.

How do I share memory and coordinate workspaces among sub-agents?

To share memory and coordinate workspaces among sub-agents, use a shared, isolated filesystem to store scratch pads, plans, and findings, allowing multiple sub-agents to access durable context.

When should I offload large tool outputs to a filesystem scratch pad?

You should offload large tool outputs to a filesystem scratch pad when your multi-turn agent workflows exceed the context window size and require retrieving compact references to manage token limits.

Does filesystem context management require specific directory structures?

Filesystem context management requires optional directories such as scripts, references, and assets to support dynamic skill loading and store scratch, plans, and findings for durable context.