agentsclimarketplace

Ctx ignore

Skill arniesaha/ctxops/skills/ctx-ignore

Agent skills (open standard) for the bookends of the agent loop: context assembly, decision review, and work-shaping outputs. Works with Claude Code and any Agent Skills harness. Ships its own adoption and value measurement.

Install
npx -y skills add arniesaha/ctxops --skill ctx-ignore

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

WHEN an agent keeps reading noise (node_modules, lockfiles, build output, generated code, fixtures) or a repo needs ignore files for AI tools. Triggers: 'generate a claudeignore', 'keep the agent out of X', 'my agent wastes context on generated files', 'set up ignore files', new repo onboarding. OUTPUT: a ranked noise report, an annotated .contextignore as source of truth, and tool-specific ignore files (.claudeignore, .cursorignore, .copilotignore, .windsurfignore). PAIR BEFORE: ctx-pack (exclude noise before assembling context). NOT FOR: choosing what to load for one task (use ctx-pack), .gitignore hygiene alone.

SKILL.md

2.4 KB, as published. Nobody here has run it

ctx-ignore

Decide what an agent should never read, once, instead of paying for the noise on every request. The other half of context assembly is context exclusion.

Workflow

  1. Walk the repo tree, respecting .gitignore. Note file sizes.
  2. Categorize noise candidates against patterns.md in this skill's directory (dependencies, lockfiles, build output, generated code, binaries, test artifacts, IDE/OS noise). Red entries always exclude; yellow entries (test files, migrations) need user confirmation.
  3. Score each remaining candidate by context cost versus usefulness: large and mechanically produced ranks highest.
  4. Show a ranked report with a one-line reason per entry. Get confirmation before writing anything.
  5. Write .contextignore as the annotated source of truth (grouped, commented, dated header), then derive the tool-specific files the user wants: .claudeignore, .cursorignore, .copilotignore, .windsurfignore.
  6. If existing ignore files are present, merge additions under a marked section. Never clobber hand-written entries.

Output Shape

  • Ranked noise report: path, size, category, one-line reason
  • .contextignore (source of truth)
  • Tool-specific ignore files derived from it
  • Skipped-on-purpose list: things that looked like noise but stay readable, with reasons

Rules

  • Never exclude source, docs, or config that shapes runtime behavior, even when large.
  • Lockfiles are noise for reading but load-bearing for reproducibility: exclude from agent context, never delete.
  • When unsure whether a directory is generated, check for a generator config or header comment before excluding it.
  • Report first, write second. No silent writes.
  • Keep entries as directory or glob patterns, not hundreds of individual files.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.