ktncodes/ideaverse-os/cortex-lint
Claude Code and agent skill by ktncodes/ideaverse-os
- community
Checking that the SKILL.md file is still in the repository.
Audit cortex articles in 10-cortex/ for decay, missing required fields, broken Sources prefixes, and short TL;DR sections. Read-only by default. Invoke with /cortex-lint to surface issues without mutating any file.
Install
npx vskill@latest install ktncodes/ideaverse-os/cortex-lintSKILL.md
cortex-lint
A health check across 10-cortex/ that flags articles that have decayed, are missing required frontmatter, or violate the cortex article standard. Read-only -- it diagnoses, never edits. To fix issues, hand the report to /cortex-compile or edit the article directly.
Path resolution
Read 00-agentic-OS/paths.json for vaultRoot. All paths below are relative to it.
Scope
With topic argument: lint articles under 10-cortex/<topic>/.
Without topic argument: lint every article under 10-cortex/ except _index.md.
If 10-cortex/ is empty or missing, report: "No cortex articles to lint." and exit.
Step 1: Collect articles
For each markdown file under the lint scope (excluding _index.md files):
- Parse YAML frontmatter.
- Read the body.
If frontmatter parse fails, record the article as a parse-error finding and skip the rest of its checks.
Step 2: Run check rules
Run each rule against every article. Each rule produces zero or more findings.
Rule A: stale -- verified_at over 90 days old
- If
verified_atis missing: recordmissing-verified-at. - If
verified_atparses to a date older than 90 days from today: recordstale-verified-atwith the age in days.
Rule B: low confidence
- If
confidence: low: recordlow-confidence(informational; not a failure on its own, but surfaces articles that should either be promoted or removed).
Rule C: missing required frontmatter fields
Required: title, description, topic, created, last_compiled, verified_at, confidence, staleness_signal, sources.
For each missing field, record missing-field:<field-name>.
Rule D: TL;DR missing or out-of-range
- If the body has no
## TL;DRheading: recordmissing-tldr. - If the TL;DR section word count is under 30 or over 150: record
tldr-out-of-rangewith the word count. (Target is 50-100, with a buffer.)
Rule E: Sources missing or untyped
- If the body has no
## Sourcesheading: recordmissing-sources. - If the Sources section has no list items: record
empty-sources. - For each Sources list item that does NOT start with one of the 5 typed-edge prefixes (
supports::,contradicts::,extends::,mentions::,inspired-by::): recorduntyped-sourcewith the item text.
Rule F: Connections missing
- If the body has no
## Connectionsheading: recordmissing-connections. - If the Connections section has no
[[...]]wikilinks: recordempty-connections.
Rule G: staleness_signal trigger (best-effort)
staleness_signal is free-form text. Run a best-effort match: if the signal mentions a model name, API version, or product that the LLM knows has changed since verified_at, record staleness-signal-triggered with the matched phrase.
This rule is intentionally fuzzy. The LLM uses its own world knowledge to flag plausible decay; the user makes the final call.
Step 3: Group and rank findings
Group findings by article. Within each article, order findings by severity:
| Severity | Findings | |
|---|---|---|
| error | parse-error, missing-tldr, missing-sources, empty-sources, missing-field:title, missing-field:topic | |
| warn | missing-field:* (for any other field), untyped-source, tldr-out-of-range, missing-connections, empty-connections | |
| info | low-confidence, stale-verified-at, staleness-signal-triggered, missing-verified-at |
Articles with at least one error sort first. Within a severity bucket, articles with more findings sort first.
Step 4: Report
Write the report to stdout. Do NOT write a file -- the report is for the human to read in the chat.
If there are zero findings, report:
What this skill does NOT do
- Does not edit any article. Linting is diagnostic only.
- Does not auto-fix typed-edge prefixes. The rewrite is a
/cortex-compilejob. - Does not update
verified_atfor you. That's a manual decision -- bumping the date is a claim that you re-checked the source. - Does not crawl
40-raw/. It only inspects10-cortex/articles. - Does not write a report file. Output is chat-only so the user can scan and act.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/bundled-skills/cortex-lint/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ktncodes/ideaverse-os/cortex-lint)