Agent skill · Workflow & Productivity

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.

guanyanggithub.com/guanyangGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add guanyang/open-agent-hub --skill filesystem-context --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 16 KB
Bundled scripts: yes
Path: skills/filesystem-context/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 940
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. When to Activate
  2. Core Concepts
  3. Detailed Topics
  4. The Static vs Dynamic Context Trade-off
  5. Pattern 1: Filesystem as Scratch Pad
  6. Pattern 2: Plan Persistence
  7. Pattern 3: Sub-Agent Communication via Filesystem
  8. Pattern 4: Dynamic Skill Loading
  9. Pattern 5: Terminal and Log Persistence
  10. Pattern 6: Learning Through Self-Modification
  11. Filesystem Search Techniques
  12. Practical Guidance
  13. When to Use Filesystem Context
  14. File Organization
Ships with 2 files
  • references/implementation-patterns.md
  • scripts/filesystem_context.py
More from open-agent-hub
All skills →
About this skill
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.

Keep going