context-engineering-collection
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems.
Skill by muratcankoylan
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/muratcankoylan-context-engineering-collection
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building, agent-orchestration, prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/context-engineering-collection
What's inside
- Skill name
context-engineering-collection- Description
- 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.
- License
- MIT
- Instructions
- 129 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: "context-engineering-collection" does not match folder "Agent-Skills-for-Context-Engineering"
Files (200)
- marketplace.json · .claude-plugin/
- .cursorindexingignore
- constitution-amendment.md · .github/PULL_REQUEST_TEMPLATE/
- deploy-prompt-lab.yml · .github/workflows/
- validate.yml · .github/workflows/
- .gitignore
- plugin.json · .plugin/
- AGENTS.md
- CHANGELOG.md
- CLAUDE.md
- CONTRIBUTING.md
- LICENSE
- README.md
- SKILL.md
- corpus-hardening-metrics-v2-3.svg · assets/release/v2.3.0/
- researcher-os-pipeline-v2-3.svg · assets/release/v2.3.0/
- router-leaderboard-2026-05-19.svg · assets/release/v2.3.0/
- skill-routing-gains-v2-3.svg · assets/release/v2.3.0/
- agentskills.md · docs/
- blogs.md · docs/
- claude_research.md · docs/
- compression.md · docs/
- 0001-machine-testable-constitution.md · docs/decisions/
- 0002-derived-corpus-inventory.md · docs/decisions/
- 0003-allowlisted-public-projections.md · docs/decisions/
- 0004-runtime-neutral-artifact-contracts.md · docs/decisions/
- README.md · docs/decisions/
- gemini_research.md · docs/
- hncapsule.md · docs/
- netflix_context.md · docs/
- skills-improvement-analysis.md · docs/
- SPEC-000-program-constitution.md · docs/specs/
- SPEC-001-repository-reconciliation.md · docs/specs/
- SPEC-002-public-private-boundary.md · docs/specs/
- SPEC-003-schema-registry.md · docs/specs/
- vercel_tool.md · docs/
- .gitignore · examples/llm-as-judge-skills/
- .prettierrc · examples/llm-as-judge-skills/
- CONTRIBUTING.md · examples/llm-as-judge-skills/
- LICENSE · examples/llm-as-judge-skills/
- README.md · examples/llm-as-judge-skills/
- evaluator-agent.md · examples/llm-as-judge-skills/agents/evaluator-agent/
- index.md · examples/llm-as-judge-skills/agents/
- orchestrator-agent.md · examples/llm-as-judge-skills/agents/orchestrator-agent/
- research-agent.md · examples/llm-as-judge-skills/agents/research-agent/
- env.example · examples/llm-as-judge-skills/
- eslint.config.js · examples/llm-as-judge-skills/
- basic-evaluation.ts · examples/llm-as-judge-skills/examples/
- full-evaluation-workflow.ts · examples/llm-as-judge-skills/examples/
- generate-rubric.ts · examples/llm-as-judge-skills/examples/
- pairwise-comparison.ts · examples/llm-as-judge-skills/examples/
- package.json · examples/llm-as-judge-skills/
- orchestrator-prompt.md · examples/llm-as-judge-skills/prompts/agent-system/
- direct-scoring-prompt.md · examples/llm-as-judge-skills/prompts/evaluation/
- pairwise-comparison-prompt.md · examples/llm-as-judge-skills/prompts/evaluation/
- index.md · examples/llm-as-judge-skills/prompts/
- research-synthesis-prompt.md · examples/llm-as-judge-skills/prompts/research/
- context-fundamentals.md · examples/llm-as-judge-skills/skills/context-fundamentals/
- index.md · examples/llm-as-judge-skills/skills/
- llm-evaluator.md · examples/llm-as-judge-skills/skills/llm-evaluator/
- …and 140 more
SKILL.md (first lines)
# Agent Skills for Context Engineering This collection provides structured guidance for building production-grade AI agent systems through effective context engineering. ## When to Activate Activate these skills when: - Building new agent systems from scratch - Optimizing existing agent performance - Debugging context-related failures - Designing multi-agent architectures - Creating or evaluating tools for agents - Implementing memory and persistence layers - Designing autonomous research or evaluation harnesses ## Skill Map ### Foundational Context Engineering **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. ### Architectural Patterns **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. In orchestrated runs, each worker returns an output contract with named checks, and only evidenced violations block the return. **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. ### Operational Excellence **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. ### Development Methodology **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. ### Cognitive Architecture **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. ## Core Concepts 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. ## Practical Guidance 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. ## Integration 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. ## References Internal skills in this collection: - [context-fundamentals](skills/context-fundamentals/SKILL.md) - [context-degradation](skills/context-degradation/SKILL.md) - [context-compression](skills/context-compression/SKILL.md) - [multi-agent-patterns](skills/multi-agent-patterns/SKILL.md) - [long-horizon-prompting](skills/long-horizon-prompting/SKILL.md) - [memory-systems](skills/memory-systems/SKILL.md) - [tool-design](skills/tool-design/SKILL.md) - [filesystem-context](skills/filesystem-context/SKILL.md) - [hosted-agents](skills/hosted-agents/SKILL.md) - [context-optimization](skills/context-optimization/SKILL.md) - [self-managed-context](skills/self-managed-context/SKILL.md) - [latent-briefing](skills/latent-briefing/SKILL.md) - [evaluation](skills/evaluation/SKILL.md) - [advanced-evaluation](skills/advanced-evaluation/SKILL.md) - [harness-engineering](skills/harness-engineering/SKILL.md) - [self-improvement-loops](skills/self-improvement-loops/SKILL.md) - [project-development](skills/project-development/SKILL.md) - [bdi-mental-states](skills/bdi-mental-states/SKILL.md) External resources on context engineering: - Research on attention mechanisms and context window limitations - Production experience from leading AI labs on agent system design - Framework documentation for LangGraph, AutoGen, and CrewAI
From muratcankoylan/Agent-Skills-for-Context-Engineering, MIT.
More from muratcankoylan/Agent-Skills-for-Context-Engineering
- 0.865score
context-optimization
muratcankoylan
This skill should be used for improving context efficiency: context budgeting, observation masking, prefix or KV-cache strategy, partitioning, token-cost…
SkillAFreshness: A★ 18.2KClaude Code +9 - 0.821score
CLAUDE.md · muratcankoylan/Agent-Skills-for-Context-Engineering
muratcankoylan
CLAUDE.md from muratcankoylan/Agent-Skills-for-Context-Engineering: 131 lines covering Project Overview, Repository Structure, Build & Test Commands, Skill…
TemplateAFreshness: A★ 18.2KClaude Code - 0.818score
AGENTS.md · muratcankoylan/Agent-Skills-for-Context-Engineering
muratcankoylan
AGENTS.md from muratcankoylan/Agent-Skills-for-Context-Engineering: 47 lines covering Learned User Preferences, Learned Workspace Facts, Repository Operating…
TemplateAFreshness: A★ 18.2KCodex +5 - 0.765score
context-fundamentals
muratcankoylan
This skill should be used to explain or reason about the foundational concepts of context engineering: what context is, the anatomy of a context window, how…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.761score
book-sft-pipeline
muratcankoylan
This skill should be used for book-to-SFT pipelines: ePub extraction, literary segmentation, author-voice dataset construction, style-transfer training, LoRA…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.761score
advanced-evaluation
muratcankoylan
This skill should be used for advanced LLM evaluation: LLM-as-judge systems, direct scoring, pairwise comparison, rubric calibration, evaluator bias…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.761score
evaluation
muratcankoylan
This skill should be used when building agent evaluation systems: deterministic checks, regression suites, multi-dimensional rubrics, quality gates…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.761score
context-degradation
muratcankoylan
This skill should be used for diagnosing and mitigating context degradation: lost-in-middle failures, context poisoning, context clash, context confusion…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.751score
reasoning-trace-optimizer
muratcankoylan
Debug and optimize AI agents by analyzing reasoning traces, context degradation, tool confusion, instruction drift, repeated task failures, and performance…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.730score
self-improvement-loops
muratcankoylan
This skill should be used when the harness, scaffold, workflow, or optimizer itself is the optimization target: recursive self-improvement (RSI) loops…
SkillAFreshness: A★ 18.2KClaude Code +9 - 0.730score
long-horizon-prompting
muratcankoylan
This skill should be used when writing, enhancing, or evaluating the launch prompt for a long-running autonomous agent or a parallel multi-agent orchestration…
SkillAFreshness: A★ 18.2KClaude Code +9 - 0.730score
self-managed-context
muratcankoylan
This skill should be used when a model gets read-write control over its own live context window instead of a harness-scheduled compaction policy: the context…
SkillAFreshness: A★ 18.2KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 18,201
- Forks
- 1,505
- Open issues
- 16
- Last commit
- Oct 12, 2026 (15 days ago)
- Last release
- May 22, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.312score
context-engineering-collection
pretty998
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems.
SkillBFreshness: BClaude Code +9 - 0.285score
context-engineering-collection
percymcn
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems.
SkillCFreshness: CClaude Code +9
More from muratcankoylan
- 0.865score
context-optimization
muratcankoylan
This skill should be used for improving context efficiency: context budgeting, observation masking, prefix or KV-cache strategy, partitioning, token-cost…
SkillAFreshness: A★ 18.2KClaude Code +9 - 0.821score
CLAUDE.md · muratcankoylan/Agent-Skills-for-Context-Engineering
muratcankoylan
CLAUDE.md from muratcankoylan/Agent-Skills-for-Context-Engineering: 131 lines covering Project Overview, Repository Structure, Build & Test Commands, Skill…
TemplateAFreshness: A★ 18.2KClaude Code - 0.818score
AGENTS.md · muratcankoylan/Agent-Skills-for-Context-Engineering
muratcankoylan
AGENTS.md from muratcankoylan/Agent-Skills-for-Context-Engineering: 47 lines covering Learned User Preferences, Learned Workspace Facts, Repository Operating…
TemplateAFreshness: A★ 18.2KCodex +5 - 0.765score
context-fundamentals
muratcankoylan
This skill should be used to explain or reason about the foundational concepts of context engineering: what context is, the anatomy of a context window, how…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.761score
book-sft-pipeline
muratcankoylan
This skill should be used for book-to-SFT pipelines: ePub extraction, literary segmentation, author-voice dataset construction, style-transfer training, LoRA…
SkillCFreshness: C★ 18.2KClaude Code +9 - 0.761score
advanced-evaluation
muratcankoylan
This skill should be used for advanced LLM evaluation: LLM-as-judge systems, direct scoring, pairwise comparison, rubric calibration, evaluator bias…
SkillCFreshness: C★ 18.2KClaude Code +9
Cite this page
context-engineering-collection skill. Agent Mart. https://agentmart.dev/skills/muratcankoylan-context-engineering-collection (last updated 2026-10-24)