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
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 -yInstalls 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 8Similar to Filesystem Context
More Memory & Contextplanning-with-filesSkillguanyang/open-agent-hub556 installsPlan-file workflow for multi-step AI agent tasks, with optional gated session-history lookup.
MemorixMCP serveravids2956 starsLocal-first project memory with search, git-derived facts, and a bounded task context tool.
context-compressionSkillguanyang/open-agent-hub388 installsStructured context compression for long agent sessions, optimizing total tokens per task rather than per request.
proactive-agentSkillhalthelobster/proactive-agent15.4K installsAgent architecture that anticipates needs, survives context loss, and self-improves through a write-ahead log.