Agent-Skills-for-Context-Engineering
CLAUDE.md18k starsChanged 4 months agoMITView on GitHub
Agent Skills for Context Engineering is an open collection of Agent Skills teaching context engineering and harness engineering principles for production AI agent systems. Skills are platform-agnostic (Claude Code, Cursor, Codex/OpenAI Agent Skills, GitHub Copilot, any Open Plugins-conformant tool). v2.6.0 adds the self-managed-context skill (model-controlled live context editing: context as an editable file, self-editing harness invariants, edit-position cache cost, budget nudges, and steering or training context-editing strategy) on top of the long-horizon-prompting skill (v2.5.0), the self-improvement-loops skill (v2.4.0), and the…
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about muratcankoylan/Agent-Skills-for-Context-Engineering
- @dailygithubtrends.bsky.social“今日のGitHubトレンド muratcankoylan/Agent-Skills-for-Context-Engineering …”Bluesky · Feb 27, 2026 · 3 likes
- A Hacker News story“Agent-Skills-for-Context-Engineering”Hacker News · Dec 25, 2025 · 3 points
- A Hacker News story“Agent Skills for Context Engineering”Hacker News · Dec 22, 2025 · 3 points
- AAswordman/OperitSkillMarket“memory-systems”GitHub · Feb 20, 2026 · 2 reactions
- vercel-labs/skills“[Bug]: Only some skills discovered from repositories with nested skills/ directory structure”GitHub · Jan 21, 2026 · 2 reactions
The biggest 5 of 44 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 44
Talked about on GitHub, Bluesky and Hacker News (44 times).
On GitHub · 37
- Feb 20, 2026memory-systems — AAswordman/OperitSkillMarket2 reactions
- Jan 21, 2026[Bug]: Only some skills discovered from repositories with nested skills/ directory structure — vercel-labs/skills2 reactions · 6 comments
- Aug 2, 2026Add more skills from below repos https://github.com/nextlevelbuilder/ui-ux-pro-max-skill https://github.com/hardikpandya/stop-slop https://github.com/muratcankoylan/agent-skills-for-context-engineering — shivam-verma-philips-1/ai-team1 reaction
- Mar 22, 2026More context engineering — davidamitchell/Research1 reaction
- Dec 25, 2025Add skills: muratcankoylan/context-engineering collection — VoltAgent/awesome-agent-skills1 reaction
32 more on GitHub
- Oct 28, 2026docs(compound-packs): add ci-compound-pack for runner placement, efficient CI and check verdicts — systemfsoftware/systemfsoftware0 reactions · 1 comment
- Oct 9, 2026[Candidate] muratcankoylan/agent-skills-for-context-engineering/skills/context-fundamentals - context-fundamentals — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 9, 2026[Candidate] muratcankoylan/agent-skills-for-context-engineering/skills/context-degradation - context-degradation — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 9, 2026[Candidate] muratcankoylan/agent-skills-for-context-engineering/skills/context-compression - context-compression — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 4, 2026claude-code-plugins.github.muratcankoylan.agent-skills-for-context-engineering: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.muratcankoylan.agent-skills-for-context-engineering: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Skills: vendor the BADF-compatible subset of Agent-Skills-for-Context-Engineering at IMPLEMENTED (pinned, overlaid, not routed) — bstBizEra/badf0 reactions
- Sep 30, 2026agent-skills.github.muratcankoylan.agent-skills-for-context-engineering: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Jul 9, 2026[Collection]: muratcankoylan/agent-skills-for-context-engineering — shimoncohen/the-great-skill-dictionary0 reactions · 2 comments
- May 30, 2026feat(swarm): latent-briefing — KV cache compaction as orchestrator-to-worker context handoff — deftai/directive0 reactions
- Apr 25, 2026Audit candidate: muratcankoylan/Agent-Skills-for-Context-Engineering — xiaolai/nlpm0 reactions · 3 comments
- Mar 24, 2026Dynamic skill loading — install new tools at runtime without restarting — JeetVaidya1/jarvis0 reactions
- Mar 22, 2026Research: Applied context engineering — practical skills, workflows, and best practices for agent development — davidamitchell/Research0 reactions
- Mar 22, 2026research: 外部AI知見(Claude Skills / MCP / OSS)の分析と活用計画 — uminomae/creation-space0 reactions · 2 comments
- Mar 8, 2026Research: Context Engines for AI Agents — Market Analysis, Comparison & Context vs Memory — humanjack/ai-engineering0 reactions
- Feb 27, 2026Agent Skills for Context Engineering — MateuszNaKodach/SelfImprovement0 reactions
- Feb 26, 2026Research: Agent Skill Systems — Standards, Protocols & Frameworks for Extending AI Agents — humanjack/ai-engineering0 reactions
- Feb 25, 2026Analysis: Agent-Skills-for-Context-Engineering — Context Management Patterns for AI Agents — humanjack/ai-engineering0 reactions
- Feb 20, 2026tool-design — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026multi-agent-patterns — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026evaluation — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-optimization — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-fundamentals — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-degradation — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-compression — AAswordman/OperitSkillMarket0 reactions
- Jan 6, 2026New plugins: 11 skills from skills (low risk) — aiskillstore/marketplace0 reactions
- Jan 3, 2026Weekly Journal Sources - Week of 2026-01-06 — beijaflor/gen-ai-journal0 reactions · 1 comment
- Dec 27, 2025Multi cli integration — AutoMaker-Org/automaker0 reactions · 3 comments
- Dec 25, 2025Enhance skills with Agent-Skills repository patterns — jamditis/tools0 reactions
- Dec 24, 2025Agent-Skills-for-Context-Engineering — jonath92/Copilot-Training0 reactions
- Dec 22, 2025Integrate Tool Use Learning — m2ux/concept-rag0 reactions
- Dec 12, 2025dec 2025 jan 2026 — kimtth/azure-openai-llm-notes0 reactions
On Bluesky · 5
- Feb 27, 2026今日のGitHubトレンド muratcankoylan/Agent-Skills-for-Context-Engineering このリポジトリは、AIエージェントの性能を最大化するための「コンテキストエンジニアリング」に焦点を当てたスキル集です。… — @dailygithubtrends.bsky.social3 likes and reposts
- May 27, 2026https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering — @sigmanor.net1 likes and repost
- Feb 27, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 muratcankoylan / Agent-Skills-for-Context-Engineering ⭐ 12,191 (+836) 🗒 Python A comprehensive… — @github-trending.bsky.social1 likes and repost · 1 reply
- Feb 26, 2026github.com/muratcankoyl... — @pcl25387.bsky.social1 likes and repost
- Feb 25, 2026今日のGitHubトレンド muratcankoylan/Agent-Skills-for-Context-Engineering このリポジトリは、AIエージェントの性能を最大化するための「コンテキストエンジニアリング」に焦点を当てたスキル集です。… — @dailygithubtrends.bsky.social1 likes and repost
On Hacker News · 2
- Dec 25, 2025Agent-Skills-for-Context-Engineering3 points
- Dec 22, 2025Agent Skills for Context Engineering3 points · 3 comments
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- context-engineering-collectionSkill
- advanced-evaluationSkill
- bdi-mental-statesSkill
- context-compressionSkill
- context-degradationSkill
- context-fundamentalsSkill
- context-optimizationSkill
- evaluationSkill
- filesystem-contextSkill
- harness-engineeringSkill
- hosted-agentsSkill
- latent-briefingSkill
- long-horizon-promptingSkill
- memory-systemsSkill
- multi-agent-patternsSkill
- project-developmentSkill
- self-improvement-loopsSkill
- self-managed-contextSkill
- tool-designSkill
- skill-templateSkill
The file
We split this CLAUDE.md into the rules it gives an agent
12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
No top-level build system.
- Distinctive: line 89
When creating or editing skills:
- Very specific: line 92
YAML frontmatter is required: must include name and description fields
- Distinctive: line 95
Platform-agnostic: no vendor-locked examples or platform-specific tool names without abstraction
- Very specific: line 98
Explicit boundaries: every When to Activate section needs positive triggers plus a Do not activate block routing adjacent work to the right …
- Distinctive: line 100
Update root README.md: when adding new skills
- Very specific: line 101
Update marketplace/plugin manifests: when adding skills (.claude-plugin/marketplace.json, .plugin/plugin.json)
- Very specific: line 103
Update mechanisms and claims: add registry entries for reusable behavior changes and claim-* provenance for numeric, benchmark, volatile, …
- Distinctive: line 108
When working through the researcher operating system:
- Very specific: line 111
Advance state explicitly: use retrieve, evaluate, propose, novelty, validate-run, pr-ready, close subcommands.
- Very specific: line 119
All published skills are distributed as a single plugin (context-engineering) in the marketplace manifest.
- Distinctive: line 127
Skills reference each other: use plain text skill names (not links) in Integration sections to avoid cross-directory reference issues
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
Agent Skills for Context Engineering is an open collection of Agent Skills teaching context engineering and harness engineering principles for production AI agent systems. Skills are platform-agnostic (Claude Code, Cursor, Codex/OpenAI Agent Skills, GitHub Copilot, any Open Plugins-conformant tool). v2.6.0 adds the self-managed-context skill (model-controlled live context editing: context as an editable file, self-editing harness invariants, edit-position cache cost, budget nudges, and steering or training context-editing strategy) on top of the long-horizon-prompting skill (v2.5.0), the self-improvement-loops skill (v2.4.0), and the file-based researcher operating system with deterministic gates, cross-platform Agent Skills validation, and a continuous loop. Use the generated live inventory for current corpus counts.
Context engineering is the discipline of curating everything that enters a model's context window (system prompts, tool definitions, retrieved documents, message history, tool outputs) to maximize signal within limited attention budget.
Repository Structure
skills/- published skill directories, each containing aSKILL.mdwith YAML frontmatter (name,description) and optionalreferences/andscripts/subdirectoriesexamples/- complete demonstration projects; the generated inventory is the count authoritydocs/- Research materials and reference documentationresearcher/- File-based research-to-skill operating system: rubrics, mechanism registry, claim provenance, corpus index, run state machine, adversarial benchmarks, continuous loop, launchd service definitionstemplate/SKILL.md- Canonical skill template (use when creating new skills)SKILL.md(root) - Collection-level metadata and skill map.claude-plugin/marketplace.json- Claude Code marketplace manifest (single bundled plugin, v2.6.0).plugin/plugin.json- Open Plugins format manifest (v2.6.0)
Build & Test Commands
No top-level build system. Repo-level gates and per-project tooling below.
Top-level deterministic gates (run on every PR via CI)
python3 -m unittest researcher.scripts.tests.test_skill_frontmatter # parser and strict-YAML regression tests
python3 researcher/scripts/validate_governance.py --check # authority model and generated view
python3 researcher/scripts/build_inventory.py --check # corpus references and generated inventory
python3 researcher/scripts/validate_platform_compat.py --require-reference-validator # Agent Skills reference validator + Cursor/Claude/Codex install-layout simulation
python3 researcher/scripts/validate_repo.py --strict # corpus structure, manifests, rubric math, mechanism registry, claims, corpus index, activation cases, benchmark scenarios, run artifacts
python3 researcher/scripts/skill_health.py --strict --no-history # deterministic skill-body quality gate
python3 researcher/scripts/run_benchmarks.py # adversarial benchmark harness + repo + activation gates
python3 researcher/scripts/check_activation_cases.py # skill-boundary regression fixturesPer-run readiness (active runs only)
python3 researcher/scripts/validate_run.py --run-dir researcher/runs/<run-id>Continuous loop (manual or launchd)
python3 researcher/scripts/loop_discover.py
python3 researcher/scripts/loop_step.py --allow-fetch
python3 researcher/scripts/loop_daily.py
python3 researcher/scripts/loop_status.py
researcher/orchestration/launchd/install.sh # macOS daemon
researcher/orchestration/launchd/uninstall.shExample projects
examples/llm-as-judge-skills (TypeScript, Node >= 18)
cd examples/llm-as-judge-skills
npm install
npm run build # tsc
npm test # vitest (19 tests)
npm run lint # eslint
npm run format # prettier
npm run typecheck # tsc --noEmitexamples/interleaved-thinking (Python >= 3.10)
cd examples/interleaved-thinking
pip install -e ".[dev]"
pytest # pytest + pytest-asyncio
ruff check . # linting (100 char line length)examples/digital-brain-skill (Node.js)
cd examples/digital-brain-skill
npm run setup
npm run weekly-review
npm run content-ideas
npm run stale-contactsSkill Authoring Rules
When creating or editing skills:
- SKILL.md must stay under 500 lines: move detailed content to
references/directory - YAML frontmatter is required: must include
nameanddescriptionfields - Folder naming: lowercase with hyphens (e.g.,
context-fundamentals) - Write in third person: descriptions are injected into system prompts; inconsistent POV causes discovery issues
- Platform-agnostic: no vendor-locked examples or platform-specific tool names without abstraction
- Token-conscious: challenge each paragraph and assume an advanced audience
- Body standard: include
When to Activate,Core Concepts,Practical Guidance,Examples,Guidelines,Gotchas,Integration, andReferences - Explicit boundaries: every
When to Activatesection needs positive triggers plus aDo not activateblock routing adjacent work to the right skill - Include a Gotchas section: experience-derived failure modes are the highest-signal content in any skill
- Update root README.md when adding new skills
- Update marketplace/plugin manifests when adding skills (
.claude-plugin/marketplace.json,.plugin/plugin.json) - Update the corpus index (
researcher/corpus/index.json) to map the new skill to activation scenarios, mechanism IDs, and claim IDs - Update mechanisms and claims: add registry entries for reusable behavior changes and
claim-*provenance for numeric, benchmark, volatile, or vendor-performance claims - Run
validate_platform_compat.py --require-reference-validator,validate_repo.py --strict,skill_health.py --strict --no-history,check_activation_cases.py, andrun_benchmarks.pybefore committing skill changes
Researcher OS Rules
When working through the researcher operating system:
- Initialize runs via
research_loop.py init: it createsrun-state.json, queue entry, thread log, source evaluation scaffold, and mechanism proposal template - Advance state explicitly: use
retrieve,evaluate,propose,novelty,validate-run,pr-ready,closesubcommands; do not editrun-state.jsonby hand - Promote mechanisms only after run readiness:
research_loop.py promote-mechanismsrequires--reviewed-byand a passing run-readiness check - Add claim provenance to
researcher/claims/index.jsonlfor any numeric, benchmark, or volatile claim added to a skill - Never invoke paid LLMs from the continuous loop: HTTP retrieval is stdlib-only, judge adapters are explicitly out of scope until budget-gated
- Never commit runtime queue/report files:
.gitignorecoversresearcher/queue/*.jsonl,researcher/reports/{logs,snapshots,loop-events.jsonl,loop-failures.jsonl,status.md,parked-review.md}, andresearcher/runs/*/except the seed run
Plugin Architecture
All published skills are distributed as a single plugin (context-engineering) in the marketplace manifest. This avoids cache duplication: Claude Code caches each plugin's source directory separately, so multiple plugins pointing to source: "./" would each cache a full copy of the repo.
Progressive disclosure pattern: only skill names/descriptions load at startup; full content loads on activation.
Key Design Principles
- Context quality over quantity: attention scarcity and lost-in-middle behavior mean more context is not always better
- Sub-agents isolate context: they exist to manage attention budget, not simulate org roles
- Skills reference each other: use plain text skill names (not links) in Integration sections to avoid cross-directory reference issues
- Examples use Python pseudocode: conceptual demonstrations that work across environments, not production-ready implementations
- Deterministic first, model-judged second: structure, schema, rubric math, manifest sync, retrieval status, and registry shape must pass before any LLM judge is invoked
- Human-controlled merge: agents may prepare PRs and pass gates, but push and merge always require explicit human approval
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

