New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Filesystem-backed overflow storage for agent context, with on-demand loading instead of static prompt inclusion.

skills.sh installs
404
GitHub stars
18.4K
last updated
May 26, 2026
View on GitHub

What it does

  • Covers six patterns: scratch-pad offloading, plan persistence, sub-agent handoff files, dynamic skill loading, terminal log persistence, and self-modifying preference files
  • Diagnoses context failures as missing, under-retrieved, over-retrieved, or buried context, each with a matching file-based remedy
  • Enforces dynamic discovery over static inclusion, keeping critical safety and correctness rules in the prompt when a model may fail to trigger loads
  • Designed for long-running agent tasks that exceed the context window or need to share state across sub-agents

Install

$ npx -y skills add muratcankoylan/agent-skills-for-context-engineering --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/muratcankoylan/agent-skills-for-context-engineering
Categories
Memory & Context, Agent Workflow & Planning
License
MIT
First seen
Jun 11, 2026

More from muratcankoylan/agent-skills-for-context-engineering

All 17

Similar to Filesystem Context

More Memory & Context