Filesystem Context
技能 已验证 活跃This skill should be used when the user asks to "offload context to files", "implement dynamic context discovery", "use filesystem for agent memory", "reduce context window bloat", or mentions file-based context management, tool output persistence, agent scratch pads, or just-in-time context loading.
To enable agents to manage and utilize context effectively by leveraging the filesystem for persistent storage, dynamic loading, and efficient information retrieval, thereby overcoming context window limitations.
功能
- Offload large tool outputs to files
- Persist agent plans and state
- Manage agent workspaces via filesystem
- Dynamically load skills from files
- Combine filesystem search with semantic search
使用场景
- Reducing context window bloat by offloading large outputs
- Implementing agent scratch pads for intermediate results
- Enabling sub-agents to share information via file workspaces
- Persisting agent plans across long-horizon tasks
非目标
- Replacing prompt engineering entirely
- Handling context that fits comfortably within the window
- Adding measurable latency for critical tasks
- Managing context for agents without filesystem tool capabilities
工作流
- Determine if tool output exceeds token threshold
- Offload large outputs to a designated scratch directory
- Return a compact reference (path, summary) to context
- Persist agent plans and state to structured files
- Use agent workspaces for inter-agent communication
- Dynamically load skill definitions from files as needed
实践
- Context Management
- Agent Memory
- Persistence
- Tool Design
先决条件
- Python 3.7+
- Basic filesystem access
安装
请先添加 Marketplace
/plugin marketplace add muratcankoylan/Agent-Skills-for-Context-Engineering/plugin install Agent-Skills-for-Context-Engineering@context-engineering-marketplace质量评分
已验证类似扩展
Claude Memory Kit
98Persistent memory for Claude Code agents with an agent-audit-ritual architecture. User only talks; agent captures, audits, proposes promotions, and writes. Four layers — daily logs, hot cache (MEMORY.md), role-based reference skills (Anthropic-native, user-invocable: false), canonical rules. /close-day runs the audit ritual at end of day. Multi-project isolation via projects/<name>/. Zero external dependencies.
Context Mode
100从 GitHub 更新 context-mode 并修复 hooks/settings。 拉取最新代码,构建,安装,更新 npm 全局包,配置 hooks。 触发器:/context-mode:ctx-upgrade
Ctx Doctor
100运行 context-mode 诊断。检查运行时、钩子、FTS5、 插件注册、npm 和 marketplace 版本。 触发器:/context-mode:ctx-doctor
Memory Management
100Persist SEO/GEO campaign context across Claude sessions with automatic hot-list, active work, and archive tiers. 项目记忆/跨会话
Horizon Track
100Track long-horizon objectives across multiple sessions with milestone checkpoints, progress persistence, and drift detection
Embedding Strategies
100Select and optimize embedding models for semantic search and RAG applications. Use when choosing embedding models, implementing chunking strategies, or optimizing embedding quality for specific domains.