CLAUDE.md · muratcankoylan/Agent-Skills-for-Context-Engineering
CLAUDE.md from muratcankoylan/Agent-Skills-for-Context-Engineering: 131 lines covering Project Overview, Repository Structure, Build & Test Commands, Skill…
Template by muratcankoylan
Chalk Labs
Need help deploying CLAUDE.md · muratcankoylan/Agent-Skills-for-Context-Engineering?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/muratcankoylan/Agent-Skills-for-Context-Engineering/main/CLAUDE.md -o CLAUDE.md
Read it and adapt it to your project before use.
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: prompt-engineering
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A CLAUDE.md file: project memory Claude Code loads at the start of every session.
- For
- Claude Code
- Length
- 131 lines
- File
CLAUDE.md
Sections
- Project Overview
- Repository Structure
- Build & Test Commands
- Skill Authoring Rules
- Researcher OS Rules
- Plugin Architecture
- Key Design Principles
First lines (shown under the repo's MIT license)
# 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](researcher/generated/corpus-summary.md) 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 a `SKILL.md` with YAML frontmatter (`name`, `description`) and optional `references/` and `scripts/` subdirectories
- `examples/` - complete demonstration projects; the generated inventory is the count authority
- `docs/` - Research materials and reference documentation
- `researcher/` - File-based research-to-skill operating system: rubrics, mechanism registry, claim provenance, corpus index, run state machine, adversarial benchmarks, continuous loop, launchd service definitions
- `template/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 fixtures
```
### Per-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.sh
```
### Example 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 --noEmit
```
#### examples/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-contacts
```
## Skill Authoring Rules
When creating or editing skills:
1. **SKILL.md must stay under 500 lines**: move detailed content to `references/` directory
2. **YAML frontmatter is required**: must include `name` and `description` fields
3. **Folder naming**: lowercase with hyphens (e.g., `context-fundamentals`)
4. **Write in third person**: descriptions are injected into system prompts; inconsistent POV causes discovery issues
5. **Platform-agnostic**: no vendor-locked examples or platform-specific tool names without abstraction
6. **Token-conscious**: challenge each paragraph and assume an advanced audience
7. **Body standard**: include `When to Activate`, `Core Concepts`, `Practical Guidance`, `Examples`, `Guidelines`, `Gotchas`, `Integration`, and `References`
8. **Explicit boundaries**: every `When to Activate` section needs positive triggers plus a `Do not activate` block routing adjacent work to the right skill
9. **Include a Gotchas section**: experience-derived failure modes are the highest-signal content in any skill
10. **Update root README.md** when adding new skills
11. **Update marketplace/plugin manifests** when adding skills (`.claude-plugin/marketplace.json`, `.plugin/plugin.json`)
12. **Update the corpus index** (`researcher/corpus/index.json`) to map the new skill to activation scenarios, mechanism IDs, and claim IDs
13. **Update mechanisms and claims**: add registry entries for reusable behavior changes and `claim-*` provenance for numeric, benchmark, volatile, or vendor-performance claims
14. **Run `validate_platform_compat.py --require-reference-validator`, `validate_repo.py --strict`, `skill_health.py --strict --no-history`, `check_activation_cases.py`, and `run_benchmarks.py`** before committing skill changes
## Researcher OS Rules
When working through the researcher operating system:
1. **Initialize runs via `research_loop.py init`**: it creates `run-state.json`, queue entry, thread log, source evaluation scaffold, and mechanism proposal template
2. **Advance state explicitly**: use `retrieve`, `evaluate`, `propose`, `novelty`, `validate-run`, `pr-ready`, `close` subcommands; do not edit `run-state.json` by hand
3. **Promote mechanisms only after run readiness**: `research_loop.py promote-mechanisms` requires `--reviewed-by` and a passing run-readiness check
4. **Add claim provenance** to `researcher/claims/index.jsonl` for any numeric, benchmark, or volatile claim added to a skill
5. **Never invoke paid LLMs from the continuous loop**: HTTP retrieval is stdlib-only, judge adapters are explicitly out of scope until budget-gated
6. **Never commit runtime queue/report files**: `.gitignore` covers `researcher/queue/*.jsonl`, `researcher/reports/{logs,snapshots,loop-events.jsonl,loop-failures.jsonl,status.md,parked-review.md}`, and `researcher/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 approvalSignals
- Stars
- 18,201
- Forks
- 1,505
- Open issues
- 16
- Last commit (this folder)
- Oct 1, 2026 (1 month 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
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.858score
context-engineering-collection
muratcankoylan
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems.
SkillAFreshness: A★ 18.2KClaude Code +9 - 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
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
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
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get CLAUDE.md · muratcankoylan/Agent-Skills-for-Context-Engineering running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
CLAUDE.md · muratcankoylan/Agent-Skills-for-Context-Engineering. Agent Mart. https://agentmart.dev/templates/muratcankoylan-agent-skills-for-context-engineering-claude-md (last updated 2026-10-24)