filesystem-context
This skill should be used when agent work needs file-backed context: durable scratchpads, tool-output offloading, just-in-time discovery, cross-agent handoff files, filesystem memory, or cleanup policies for context stored outside the prompt.
npx skills add guanyang/open-agent-hub --skill filesystem-context --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 Do not activate this skill for adjacent work owned by other skills: - Semantic cross-session memory, entity tracking, or temporal knowledge graphs: `memory-systems`. - Conversation summarization, compaction, or du
- When to Activate
- Core Concepts
- Detailed Topics
- The Static vs Dynamic Context Trade-off
- Pattern 1: Filesystem as Scratch Pad
- Pattern 2: Plan Persistence
- Pattern 3: Sub-Agent Communication via Filesystem
- Pattern 4: Dynamic Skill Loading
- Pattern 5: Terminal and Log Persistence
- Pattern 6: Learning Through Self-Modification
- Filesystem Search Techniques
- Practical Guidance
- When to Use Filesystem Context
- File Organization
What does the filesystem-context skill do?
This skill should be used when agent work needs file-backed context: durable scratchpads, tool-output offloading, just-in-time discovery, cross-agent handoff files, filesystem memory, or cleanup policies for context stored outside the prompt.
How do I install it?
Run `npx skills add guanyang/open-agent-hub --skill filesystem-context --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From guanyang/open-agent-hub, a repository with 940 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
