src/llm_context/lc_resources/skills/lc-curate-context/SKILL.md
Create optimized llm-context rules for specific tasks by analyzing codebase content and generating minimal file selection patterns
npx skillsauth add cyberchitta/llm-context.py lc-curate-contextInstall 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.
Create rules that define the minimal sufficient context for a task.
The job is not to gather a lot of relevant code. The job is to produce the smallest full-file and excerpted-file set that is still enough to complete the task.
full-files.excerpted-files.lc-preview.Full files and Excerpted files lists.Start narrow unless you have a good reason not to.
Use lc/flt-no-files when:
Use flt-repo-base or lc/flt-base when:
If lc-preview shows many unexpected full files, your baseline is too broad.
Full files
Excerpted files
Move a file from excerpted to full only when the exact body matters.
lc-previewlc-preview is the main verification step.
Read it in this order:
SummaryFull filesExcerpted filesAsk:
Full files?Full files?Excerpted files instead of Full files?Do not trust a rule until the exact file lists look right.
lc-previewTask: change preview formatting so it lists all selected full and excerpted files.
This is a narrow task. Start from lc/flt-no-files.
---
description: Improve lc-preview verification output
compose:
filters: [lc/flt-no-files]
excerpters: [lc/exc-base]
also-include:
full-files:
- "/src/llm_context/context_preview.py"
- "/src/llm_context/cli.py"
- "/src/llm_context/commands.py"
- "/src/llm_context/lc_resources/templates/lc/preview.j2"
excerpted-files:
- "/src/llm_context/context_generator.py"
- "/src/llm_context/context_spec.py"
- "/src/llm_context/file_selector.py"
- "/src/llm_context/rule.py"
---
Make lc-preview show exact full and excerpted file membership for rule verification.
Why this shape:
What to look for in lc-preview:
Full filesExcerpted filesTask: improve primitive rule composition and the skill docs that teach it.
This task is broader, but still needs discipline. Start from a repo filter only if it already excludes enough noise.
---
description: Improve primitive rules and skill guidance
compose:
filters: [flt-repo-base, flt-no-excerpters]
excerpters: [lc/exc-base]
also-include:
full-files:
- "/src/llm_context/lc_resources/skills/lc-curate-context/*.md"
- "/src/llm_context/lc_resources/rules/lc/*.md"
- "/.llm-context/rules/*.md"
- "/src/llm_context/rule.py"
- "/src/llm_context/rule_parser.py"
excerpted-files:
- "/src/llm_context/context_spec.py"
- "/src/llm_context/file_selector.py"
- "/src/llm_context/commands.py"
---
Improve the primitive rule vocabulary and the skill instructions that teach agents how to compose and verify task rules.
What to look for in lc-preview:
Full filesIf preview expands too far, drop the repo baseline and switch to lc/flt-no-files.
| Step | CLI | MCP |
|------|-----|-----|
| Explore | lc-outlines | lc_outlines |
| Validate | lc-preview <rule> | lc_preview |
| Get context | lc-context <rule> | lc_outlines + lc_missing |
| Check drift | lc-changed | lc_changed |
| Fetch exact files | lc-missing -f '[paths]' -t <ts> | lc_missing |
In rule patterns, paths start with /, relative to project root.
- "/src/llm_context/rule.py"
- "/tests/test_outliner.py"
Preview and generated context show namespaced paths like /{project-name}/src/....
tmp-prm-<name>.md: temporary task ruleprm-<name>.md: reusable prompt ruleflt-<name>.md: reusable filter primitiveThis skill is young — actively log friction whenever something is awkward, surprising, ambiguous, missing, or led you down the wrong path. Don't filter; patterns only emerge from honest individual observations.
Where to log (try in order):
llm-context.py checkout (sibling repo, editable install, or anywhere else on disk) — append to <llm-context.py-repo>/field-notes.md. That's the lowest-friction path to the maintainer, since the entry lands directly in the upstream working tree.
../llm-context.py, ~/GitHub/llm-context.py, ~/src/llm-context.py. If the user has mentioned the checkout elsewhere in the conversation, use that path.field-notes.md doesn't exist yet, create it with the header below..llm-context/SKILL-FEEDBACK.md in the current project (created on first entry, git-ignored by default). The user can copy entries upstream later.Entry format (newest at the top):
YYYY-MM-DD, absolute (resolve "today"/"Tuesday" before writing).Skill.md / PATTERNS.md / SYNTAX.md / EXAMPLES.md / TROUBLESHOOTING.md / upstream code / still-unsure. still-unsure is a valid answer.First-time header to drop at the top of a new feedback file (either <llm-context.py-repo>/field-notes.md or .llm-context/SKILL-FEEDBACK.md):
# llm-context skill feedback (uncommitted)
Informal log of friction with the `lc-curate-context` skill — anything
awkward, buggy, missing, or surprising. Newest at the top.
Log first; decide later whether the observation generalizes.
PATTERNS.md for reusable shapesEXAMPLES.md for worked examplesSYNTAX.md for rule syntaxTROUBLESHOOTING.md for failure casesdevelopment
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.