context-loader
Skill0 starsChanged 4 months agoMITView on GitHub
Discovers and loads only the project context needed for the current task. Use before planning, implementation, review, or debugging to avoid token waste and missing architecture. Emits CONTEXT_PACK. Never makes architectural decisions or loads the entire repo by default.
- Reads credentials
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Ibrahim-3d/conductor-orchestrator-superpowerstheir own version, first seen Oct 8, 2026
- Ibrahim-3d/orchestrator-supaconductortheir own version, first seen Sep 27, 2026
- DeL-TaiseiOzaki/claude-code-orchestratheir own version, first seen Sep 10, 2026
- trailofbits/overtly-malicious-skillstheir own version, first seen May 4, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Ibrahim-3d/conductor-orchestrator-superpowers★ 381same name
- Ibrahim-3d/orchestrator-supaconductor★ 378same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 199same name
- trailofbits/overtly-malicious-skills★ 44same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- adr-enforcerSkill
- ai-eval-harnessSkill
- api-contract-guardianSkill
- change-impact-analyzerSkill
- code-reviewerSkill
- defect-analystSkill
- delivery-plannerSkill
- engineering-mentorSkill
- engineering-osSkill
- feature-implementerSkill
- guardrails-configuratorSkill
- incident-commanderSkill
- loop-engineerSkill
- migration-surgeonSkill
- model-routerSkill
- observability-designerSkill
- performance-auditorSkill
- postmortem-writerSkill
- pr-generatorSkill
- quality-gateSkill
- refactoring-advisorSkill
- requirements-grillSkill
- security-auditorSkill
- spec-validatorSkill
- tdd-executorSkill
- test-strategy-designerSkill
- threat-modelerSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Prefer ADRs, interfaces, and entrypoints over trivia.
- Distinctive: line 45
Never invent missing context.
- Distinctive: line 46
Stop early when Blocked/Incomplete for risky work.
- Distinctive: line 114
Never dump the whole repository.
- Distinctive: line 115
Never resolve architecture conflicts by picking a side silently.
- Distinctive: line 116
Never invent ADRs, APIs, or business rules.
- Very specific: line 117
Never load secrets from .env into the pack.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Build a minimal, sufficient CONTEXT_PACK so downstream skills decide with real project knowledge—not guesses.
When to Use / When NOT to Use
Use when: starting any non-trivial engineering task; user mentions “load context”, “what’s the architecture”, or engineering-os begins a path.
Do not use when: user already provided a Complete CONTEXT_PACK; or the task is a pure wording edit with zero code impact.
Preconditions
- A concrete task or question exists.
- Repo (or relevant paths) are accessible.
Inputs / Outputs
Inputs: task statement, optional hints (paths, ticket).
Outputs: CONTEXT_PACK
Upstream / Downstream
Upstream: engineering-os, model-router (optional).
Downstream: nearly all skills; especially spec-validator, adr-enforcer, delivery-planner, feature-implementer, defect-analyst.
Core Principles
- Sufficiency over completeness.
- Authoritative sources beat stale docs when they conflict—and conflicts must be reported.
- Token budget is a hard constraint.
- Prefer ADRs, interfaces, and entrypoints over trivia.
- Never invent missing context.
- Stop early when Blocked/Incomplete for risky work.
- Emit a portable artifact others can consume.
Process
Lite vs full
| Task risk | Mode |
| Typo, comment, tiny chore | lite: target files + nearest README only |
| Feature / bug / review | full discovery |
Full discovery
- Source priority (load in order, stop when sufficient):
- Task-named paths / ticket links
- Engineering guardrails (
docs/ENGINEERING_GUARDRAILS.md, thenAGENTS.md/.cursor/rules/summaries) - ADRs / architecture docs (
docs/adr/,adr/,ARCHITECTURE.md) - Package/workspace manifests
- Entry points and public APIs for touched areas
- Existing tests for those areas
- README / CONTRIBUTING for commands only
- Dependency discovery — only immediate neighbors of touched modules.
- Conflict detection — code vs docs vs ADR; list explicitly.
- Budget — default caps: ≤25 files or ~40k tokens of loaded content (whichever first). Summarize beyond that; cite paths instead of pasting.
- Completeness gate — Complete / MostlyComplete / Incomplete / Blocked.
Evidence Requirements
List every path actually read. Do not claim to have read files you skipped.
Stop Conditions / Failure Modes
| Condition | Action |
| Critical ADR/docs conflict for the task | Blocked |
| Cannot find any relevant code for named feature | Incomplete + questions |
| Budget exceeded before sufficiency | Summarize + MostlyComplete with gaps |
| No ADRs exist | Note NoADRs; do not invent architecture |
| No guardrails file on non-trivial work | Note NoGuardrails; suggest guardrails-configurator |
Severity + Confidence
N/A for most runs. Conflicts that could cause wrong implementation → treat as High risk in CONTEXT_PACK.
Output Contract
## CONTEXT_PACK
Completeness: Complete | MostlyComplete | Incomplete | Blocked
Summary: ...
Sources: [paths]
ADR IDs: ...
Conflicts: ...
Budget: files=N tokens≈M (caps ...)
Commands discovered: test/lint/build if found
Gaps / questions: ...
Decision: Proceed | ProceedWithConditions | Revise | BlockHandoffs
- adr-enforcer — on conflicts or NoADRs needing bootstrap
- spec-validator — if requirements unclear
- engineering-os — return pack and continue path
Never
- Never dump the whole repository.
- Never resolve architecture conflicts by picking a side silently.
- Never invent ADRs, APIs, or business rules.
- Never load secrets from
.envinto the pack; cite path only if needed and redact values.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

