Skip to content
Back to skills

Lint

ASecurity

Health-check the Monkey Brain wiki — a mechanical scan (broken links, orphans, frontmatter, index drift, strays), then reasoning over the flagged pages, fixes applied. Use for "lint the brain", "lint the wiki", or after a large ingest.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 24, 2026
ai-agentsnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add NeamulMorshed/The-Monkey-Brain --skill lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neamulmorshed-lint/badge)](https://www.skillsdirectory.com/skills/neamulmorshed-lint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Health-check the Monkey Brain wiki — a mechanical scan (broken links, orphans, frontmatter, index drift, strays), then reasoning over the flagged pages, fixes applied. Use for "lint the brain", "lint the wiki", or after a large ingest.
argument-hint: "[scope]"
effort: high
---

# /brain:lint — test the wiki

The test step of the knowledge SDLC (instance manual §4.3). The mechanical scan below ran
before you read this — its report is already in context (zero model tokens spent scanning):

!`node "${CLAUDE_SKILL_DIR}/scripts/lint.js"`

## Steps

1. **Fix what the scan found** (mechanical layer):
   - *Broken `[[links]]`* — fix the slug if it's a typo; create a stub page if the target
     deserves to exist; leave it only if it's a deliberate TODO marker (say so).
   - *Orphans* — wire each into the graph with a real inbound link (index or a hub page),
     or justify deleting the page.
   - *Frontmatter gaps* — complete `type:` / `updated:` per manual §3.
   - *Index drift* — correct `source_count` / `page_count` / `updated` and any missing
     index entries.
   - *Clippings backlog* — offer `/brain:ingest clippings`.
   - *Stray root files* — 0-byte strays are Obsidian artifacts; delete them.
2. **Reason over what a script can't see** — over the flagged pages and the named scope only
   (never the whole wiki; the scan above already covered it):
   - **Contradictions** between pages → reconcile or flag inline
     (`> ⚠️ Contradiction: …`) and set `status:` accordingly.
   - **Stale claims** a newer source likely supersedes → update, forward-link, mark
     `stale`/`superseded`.
   - **Missing pages** — concepts referenced often without a page of their own → create
     stubs with provenance.
   - **Missing cross-references** — related pages that don't link → add reciprocal links.
   - **Gaps worth new sources** — suggest questions/sources to the curator (lint is where
     the brain asks to grow).
3. **Log + commit:** append `## [YYYY-MM-DD] lint | <scope> — <n> fixes` to
   `wiki/log.md`, then offer a commit `lint: <scope> — <n> fixes`.

**Done when:** every scan finding is fixed or explicitly justified, reasoning findings are
reconciled or flagged, and the log entry + commit round it off.

Files in this skill

  • SKILL.md2.2 KB
  • scripts/lint.js6.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.