Skip to content
guanyang avatar

Filesystem Context

Filesystem-backed context patterns for offloading tool output, persisting plans, and sharing state across agents.

CCM score
53 of 100
skills.sh installs
611
GitHub stars
1K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scratch-pad offloading, plan persistence, sub-agent file handoffs, dynamic skill loading, terminal logs, and self-modifying preference files
  • Includes Python handlers for tool-output redirection and preference storage, plus YAML plan and workspace directory layouts
  • Enforces dynamic discovery over static inclusion, with per-agent directory isolation to prevent write conflicts between sub-agents
  • Designed for long-running agent tasks that exceed the context window or need state to persist across sessions

Install

$ npx -y skills add guanyang/open-agent-hub --skill filesystem-context -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Filesystem-Based Context Engineering

Use the filesystem as the primary overflow layer for agent context because context windows are limited while tasks often require more information than fits in a single window. Files let agents store, retrieve, and update an effectively unlimited amount of context through a single interface.

Prefer dynamic context discovery -- pulling relevant context on demand -- over static inclusion, because static context consumes tokens regardless of relevance and crowds out space for task-specific information.

When to Activate

Activate this skill when:

  • Tool outputs are bloating the context window
  • Agents need to persist state across long trajectories
  • Sub-agents must share information without direct message passing
  • Tasks require more context than fits in the window
  • Building agents that learn and update their own instructions
  • Implementing scratch pads for intermediate results
  • Terminal outputs or logs need to be accessible to agents

Details

Repository
github.com/guanyang/open-agent-hub
Categories
Memory & Context, Agent Workflow & Planning, AI Agents & LLM Apps
First seen
Jun 3, 2026

More from guanyang/open-agent-hub

All 8

Similar to Filesystem Context

More Memory & Context