filesystem-context

Offload tool outputs and context to the filesystem for persistent agent workflows.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/marinvch/ai-os --skill filesystem-context-marinvch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: filesystem-context
Source: https://github.com/marinvch/ai-os/tree/main/.agents/skills/context-engineering-collection/skills/filesystem-context
Command: npx skills add https://github.com/marinvch/ai-os --skill filesystem-context-marinvch

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Offloads excessive agent context, tool outputs, and intermediate results to the filesystem to prevent token bloating and preserve memory across long agent sessions.

Core Features & Use Cases

  • Dynamic context offloading: store outputs and scratch data in a durable filesystem layer to keep context windows lean.
  • Shared memory and scratch pads: enable cross-agent information sharing without heavy message passing.
  • Plan and output persistence: persist plans and tool outputs so tasks survive context-refresh cycles and restarts.

Quick Start

Use the filesystem as the persistent layer that addresses all four: write once, store durably, retrieve selectively.

Frequently Asked Questions about filesystem-context

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

FAQPage Schema
How do I offload large tool outputs to the filesystem to prevent agent token bloating?

Offload large tool outputs to the filesystem to prevent agent token bloating by using a durable storage layer for intermediate results. This approach keeps context windows lean while preserving data for on-demand retrieval.

What is the best way to persist agent plans across context window refresh cycles?

Persist agent plans across context window refresh cycles by implementing plan persistence within a filesystem scratch pad. This ensures your multi-turn workflows survive restarts without losing intermediate task progress.

Can I share memory across multiple agents without heavy message passing?

Share memory across multiple agents without heavy message passing by utilizing a shared filesystem context layer. Cross-agent information sharing is achieved by writing and retrieving scratch data durably from this common storage.

How does on-demand loading of scripts and references work for scalable agents?

On-demand loading of scripts and references works by storing these assets in the filesystem and retrieving them selectively only when needed. This mechanism reduces baseline context usage and supports scalable agent workflows.

When do I need a scratch pad manager for multi-turn agent workflows?

You need a scratch pad manager for multi-turn agent workflows when your tasks require persistent intermediate storage and cross-session memory. It manages dynamic context offloading to keep context windows from overflowing.

Does this approach to context management require external dependencies?

This approach to context management requires no external dependencies, operating entirely through filesystem scripts and references. It leverages your existing durable storage layer to handle tool outputs and plan persistence.