skills/meta-context-engineering-global/SKILL.md
Review, prune, or rewrite global rules files such as global AGENTS.md or ~/.claude/CLAUDE.md. Use when deciding whether durable behavior rules belong in the global context layer across tasks, projects, and sessions; when diagnosing repeated collaboration friction; or when producing directly applicable global-rule edits. Exclude project-local AGENTS.md/CLAUDE.md setup, skill routing fixes, task context packing, and tooling enforcement. Formerly named context-engineering-global.
npx skillsauth add plimeor/agent-skills meta-context-engineering-globalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Maintain the user's global rules file as a small, durable context layer for behavior that should apply across tasks, projects, and sessions.
A good result:
global, project, skill, tooling, task context, or reject.This skill covers global rules files only, such as ~/.claude/CLAUDE.md, global AGENTS.md, or equivalent files.
It does not cover repo-local AGENTS.md / CLAUDE.md, new-project context setup, current-task context packing, session compaction, skill routing fixes, or tooling enforcement. Route those to meta-context-engineering-project or a more specific skill.
When the user explicitly asks to update, modify, or optimize a global rules file, treat that as authorization to edit the requested file. Do not extend that authorization to installation sync, manifests, lockfiles, commits, remote services, project-local files, or other global state.
Treat must, always, never, and only as reserved for true invariants: safety, exact output contracts, irreversible side effects, and required fields. Preserve artifact intent, length, structure, and boundary unless the user asks for a broader rewrite.
For collaboration friction, classify the root cause before proposing global text: global rule, project context, skill protocol, tooling, task evidence, or model capability boundary.
For a proposed rule, read the current global rules file, classify each candidate, then provide replacement text and insertion location only for candidates that belong globally.
For an existing global file review, audit each rule as keep, shorten, delete, or migrate. Provide a rewritten file only when the user asked for a rewrite.
For extraction from files, conversation history, or research, collect only the requested context, extract global candidates, and classify them before proposing edits.
Read the directly relevant artifact first: the target global rules file, candidate rule text, or user-provided friction evidence.
Fetch current external prompt guidance only when:
Useful references when needed:
https://developers.openai.com/api/docs/guides/prompt-guidance?model=gpt-5.5https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practiceshttps://code.claude.com/docs/en/best-practicesStop retrieval once the core classification and proposed text are supported. Do not search again for phrasing, examples, or nonessential background.
For each candidate rule, ask:
Prefer rules that define outcomes, constraints, evidence behavior, final output shape, or stopping conditions. Reject rules that are project-local, temporary, tool-enforceable, redundant, or primarily a specialized workflow that belongs in a skill.
For read-only review, state which files or sources were read.
After edits, run the smallest relevant checks:
name: still matches its parent directory.If validation cannot run, say why and name the next best check.
Default output:
Omit empty sections. For review requests, lead with findings. For rewrite requests, include directly applicable text.
Stop when the requested classification, edit text, evidence status, and non-global routing are clear.
Do not continue pruning, syncing, committing, installing, or improving adjacent skills just because they look related. Ask one narrow question only when missing information would change the target file, authorization boundary, or classification result.
development
Set up, resume, or repair a compact active execution workbench for long-horizon, multi-session or checkpointed work. Use when a task needs durable handoff, unattended iteration, human gates, auditable evidence, or active-vs-archive routing that keeps a current packet separate from stale historical context. Do not use for one-session tasks, ordinary plans/reviews/audits, one-session bug fixes, direct code edits, or simple docs cleanup; complete those directly.
tools
Decide whether and how to use authorized sub-agents, then coordinate delegated work while preserving the main agent's context. Use when the user asks for orchestration, parallel agents, delegation, background workers, context isolation, or when another skill needs delegated research, review, implementation, or verification. Owns host-policy checks, delegation packets, non-overlap, report verification, and stop rules. Do not use to bypass tool policy, infer user authorization, or add coordination overhead to simple single-threaded tasks.
development
Use before finalizing a non-trivial answer, recommendation, review, or decision to reconsider it and raise its quality, especially when shallow reasoning, context inertia, false framing, overconfidence, unfit analogy transfer, or an obvious-but-missed defect could distort the result. Trigger especially before applying external evidence, familiar frameworks, or comparisons to the user's specific request, and when the user asks to reconsider, double-check, take a second look, or sanity-check an answer.
tools
Route durable rules and context to the right layer — task, project, skill, tooling, hooks, MCP, or global. Use for global rules files (~/.claude/CLAUDE.md, global AGENTS.md), repo-local AGENTS.md/CLAUDE.md, task context packs, hook placement (Codex/Claude Code settings.json), collaboration friction diagnosis, and rule-placement decisions.