Context Mode Output Sandbox
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
Agent skill
by muratcankoylan in muratcankoylan/Agent-Skills-for-Context-Engineering
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems.
$ npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install muratcankoylan/Agent-Skills-for-Context-Engineering context-engineering-collection --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "context-engineering-collection" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main into .claude/skills/context-engineering-collection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-engineering-collection", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install muratcankoylan/Agent-Skills-for-Context-Engineering context-engineering-collection --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "context-engineering-collection" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main into .agents/skills/context-engineering-collection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-engineering-collection", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install muratcankoylan/Agent-Skills-for-Context-Engineering context-engineering-collection --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "context-engineering-collection" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main into .cursor/skills/context-engineering-collection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-engineering-collection", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install muratcankoylan/Agent-Skills-for-Context-Engineering context-engineering-collection --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "context-engineering-collection" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main into .gemini/skills/context-engineering-collection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-engineering-collection", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install muratcankoylan/Agent-Skills-for-Context-Engineering context-engineering-collectionInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "context-engineering-collection" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main into .github/skills/context-engineering-collection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-engineering-collection", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install muratcankoylan/Agent-Skills-for-Context-Engineering context-engineering-collection --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "context-engineering-collection" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main into .opencode/skills/context-engineering-collection/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "context-engineering-collection", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
context-engineering-collectionA comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems.
Context Engineering Collection is an agent skill from muratcankoylan/Agent-Skills-for-Context-Engineering. A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems. Use when building, optimizing, evaluating, or debugging agent systems that require effective context management and reliable operating loops.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 594 other files, including assets (for example `.claude-plugin/marketplace.json`, `.github/PULL_REQUEST_TEMPLATE/constitution-amendment.md` and `.github/workflows/deploy-prompt-lab.yml`).
It sits in Agent Workflows, covering Context engineering. The repository describes itself as: A comprehensive collection of Agent Skills for context engineering, multi-agent architectures, and production agent systems. Use when building, optimizing, or debugging agent… The licence is MIT.
Read from SKILL.md and the folder at commit 58b55a8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context Engineering Collection loads about 2.8k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 1,209 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from muratcankoylan/Agent-Skills-for-Context-Engineering at commit 58b55a8, republished under its MIT licence (© muratcankoylan). 1,209 words, ~2,770 tokens.
.claude/skills/context-engineering-collection/SKILL.md (or your agent's skills folder). This skill also uses 588 other files; get the full folder from GitHub.This collection provides structured guidance for building production-grade AI agent systems through effective context engineering.
Activate these skills when:
Understanding Context Fundamentals Context is not just prompt text—it is the complete state available to the language model at inference time, including system instructions, tool definitions, retrieved documents, message history, and tool outputs. Effective context engineering means understanding what information truly matters for the task at hand and curating that information for maximum signal-to-noise ratio.
Recognizing Context Degradation Language models exhibit predictable degradation patterns as context grows: the "lost-in-middle" phenomenon where information in the center of context receives less attention; U-shaped attention curves that prioritize beginning and end; context poisoning when errors compound; and context distraction when irrelevant information overwhelms relevant content.
Multi-Agent Coordination Production multi-agent systems converge on three dominant patterns: supervisor/orchestrator architectures with centralized control, peer-to-peer swarm architectures for flexible handoffs, and hierarchical structures for complex task decomposition. The critical insight is that sub-agents exist primarily to isolate context rather than to simulate organizational roles.
Long-Horizon Prompting Long-running autonomous agents and parallel orchestrations succeed or fail on the launch prompt. Pseudo-formal task briefs specify success predicates, non-counting outcomes, persistence rules with audit-gated return conditions, effort floors, diversity policies for parallel portfolios, and contamination guards, applying the discipline of formal verification linguistically to problems with no machine-checkable success condition.
Memory System Design Memory architectures range from simple scratchpads to sophisticated temporal knowledge graphs. Vector RAG provides semantic retrieval but loses relationship information. Knowledge graphs preserve structure but require more engineering investment. The file-system-as-memory pattern enables just-in-time context loading without stuffing context windows.
Filesystem-Based Context
The filesystem provides a single interface for storing, retrieving, and updating effectively unlimited context. Key patterns include scratch pads for tool output offloading, plan persistence for long-horizon tasks, sub-agent communication via shared files, and dynamic skill loading. Agents use ls, glob, grep, and read_file for targeted context discovery, often outperforming semantic search for structural queries.
Hosted Agent Infrastructure Background coding agents run in remote sandboxed environments rather than on local machines. Key patterns include pre-built environment images refreshed on regular cadence, warm sandbox pools for instant session starts, filesystem snapshots for session persistence, and multiplayer support for collaborative agent sessions. Critical optimizations include allowing file reads before git sync completes (blocking only writes), predictive sandbox warming when users start typing, and self-spawning agents for parallel task execution.
Tool Design Principles Tools are contracts between deterministic systems and non-deterministic agents. Effective tool design follows the consolidation principle (prefer single comprehensive tools over multiple narrow ones), returns contextual information in errors, supports response format options for token efficiency, and uses clear namespacing.
Context Compression When agent sessions exhaust memory, compression becomes mandatory. The correct optimization target is tokens-per-task, not tokens-per-request. Structured summarization with explicit sections for files, decisions, and next steps preserves more useful information than aggressive compression. Artifact trail integrity remains the weakest dimension across all compression methods.
Context Optimization Techniques include compaction (summarizing context near limits), observation masking (replacing verbose tool outputs with references), prefix caching (reusing KV blocks across requests), and strategic context partitioning (splitting work across sub-agents with isolated contexts).
Self-Managed Context The model, not the harness, decides what stays in its live context: the editable region is exposed as a file the model rewrites with code tools and re-parsed each turn. The harness keeps the invariants (pinned system and task prefix, role folding, edit gate, receipts, deterministic budget readouts, rollback on overflow). Edit cost scales with the text after the edit under prefix caching, so edits are batched and placed with the tail in mind; strategy can be steered by instruction, evolved as a skill, or trained with a success-gated efficiency reward.
Latent Briefing (KV Memory Sharing) Orchestrator-worker systems can compound tokens when supervisors accumulate long trajectories but workers see only narrow text slices. Latent Briefing compacts the orchestrator trajectory in the worker model's KV cache using task-guided attention (Attention Matching-style compaction) so workers receive relevant latent state without full-text replay when the stack exposes worker KV state and the models are compatible.
Evaluation Frameworks Production agent evaluation requires deterministic checks and multi-dimensional rubrics covering factual accuracy, completeness, tool efficiency, and process quality. Use model judges only after structure, evidence, and rubric math are valid; route judge design, pairwise comparison, and bias mitigation to Advanced Evaluation.
Harness Engineering Reliable autonomous agents need explicit operating loops around the model: locked metrics, editable surfaces, durable logs, novelty checks, rollback rules, and human approval boundaries. Harnesses prevent agents from weakening the evaluator, losing state across compaction, or turning ambiguous goals into unreviewable changes.
Self-Improvement Loops When the harness itself becomes the optimization target, a different discipline applies: recursive self-improvement, meta-harness search, failure-driven bounded self-edits, evolutionary scaffold search, and context mechanism evolution. The controlling constraints are empirical two-split acceptance gates, filesystem experience archives with raw traces, runtime-enforced constraints outside every editable surface, and diversity preservation to prevent collapse.
Project Development Effective LLM project development begins with task-model fit analysis: validating through manual prototyping that a task is well-suited for LLM processing before building automation. Production pipelines follow staged, idempotent architectures (acquire, prepare, process, parse, render) with file system state management for debugging and caching. Structured output design with explicit format specifications enables reliable parsing. Start with minimal architecture and add complexity only when proven necessary.
BDI Mental States Belief-desire-intention modeling provides a formal way to translate structured external context into agent mental states. Use it for rational agency, explainability, and systems that need auditable links between beliefs, goals, and chosen actions.
The collection is organized around four core themes. First, context fundamentals establish what context is, how attention mechanisms work, and why context quality matters more than quantity. Second, architectural patterns cover the structures and coordination mechanisms that enable effective agent systems. Third, operational excellence addresses optimization, evaluation, and harness reliability. Fourth, development methodology and cognitive architecture cover project execution and formal mental-state modeling.
Each skill can be used independently or in combination. Start with fundamentals to establish context management mental models. Branch into architectural patterns based on your system requirements. Reference operational skills when optimizing production systems.
The skills are platform-agnostic and work with Claude Code, Cursor, or any agent framework that supports custom instructions or skill-like constructs.
This collection integrates with itself—skills reference each other and build on shared concepts. The fundamentals skill provides context for all other skills. Architectural skills (multi-agent, memory, tools) can be combined for complex systems. Operational skills (optimization, evaluation) apply to any system built using the foundational and architectural skills.
Internal skills in this collection:
External resources on context engineering:
Created: 2025-12-20 Last Updated: 2026-10-01 Author: Agent Skills for Context Engineering Contributors Version: 2.6.0
© muratcankoylan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 588 other files (assets) in the repository root of muratcankoylan/Agent-Skills-for-Context-Engineering.
Open the folder on GitHubat commit 58b55a8
Context Engineering Collection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Context Engineering Collection this skillmuratcankoylan/Agent-Skills-for-Context-Engineering | 18k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence | |
| Memori Long-Term MemoryMemoriLabs/Memori | 17k | — | ~2k | Automated safety check: Notes | Custom licence | |
| Picoclaw Skill Creatorsipeed/picoclaw | 30k | — | ~4.4k | Automated safety check: Pass | MIT | |
| ccc Semantic Code Searchcocoindex-io/cocoindex-code | 2.7k | — | ~938 | Automated safety check: Pass | Apache-2.0 | |
| Context Mode for Antigravity CLImksglu/context-mode | 26k | — | ~850 | Automated safety check: Pass | Custom licence |
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
MemoriLabs/Memori
Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.
sipeed/picoclaw
Guidance for creating, updating and reviewing Picoclaw skills, from the SKILL.md structure to organizing bundled scripts, references and assets.
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
mksglu/context-mode
Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.
alexgreensh/token-optimizer
Audit a Claude Code or Codex setup for context-window waste, then fix it and measure the savings.
Categories
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems. Context Engineering Collection is an agent skill from muratcankoylan/Agent-Skills-for-Context-Engineering. A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems.
Context Engineering Collection fits situations like: debugging agent systems that require effective context management and reliable operating loops; tasks that involve Context engineering.
Run `npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a claude-code`. Or copy the skill folder (the muratcankoylan/Agent-Skills-for-Context-Engineering repository) into .claude/skills/context-engineering-collection in your project. Claude Code loads it when a task matches its description.
Run `npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a codex`. Or copy the skill folder (the muratcankoylan/Agent-Skills-for-Context-Engineering repository) into .agents/skills/context-engineering-collection in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-engineering-collection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-engineering-collection, .gemini/skills/context-engineering-collection, .github/skills/context-engineering-collection and .opencode/skills/context-engineering-collection in your project.
SKILL.md names no scripts, command-line tools or credentials: Context Engineering Collection is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Context Engineering Collection is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Context Engineering Collection: Context Mode Output Sandbox (mksglu/context-mode, 26k stars), Memori Long-Term Memory (MemoriLabs/Memori, 17k stars), Picoclaw Skill Creator (sipeed/picoclaw, 30k stars) and ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
muratcankoylan (a GitHub user) maintains it in muratcankoylan/Agent-Skills-for-Context-Engineering, which has 18,084 GitHub stars. The repository was last updated on October 1, 2026.
Source: muratcankoylan/Agent-Skills-for-Context-Engineering on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.