Skip to content
Back to skills

Wiki Lint

ASecurity

Vault health check via the umbrella `skillwiki lint` subcommand. Read-only by default; rotation requires explicit user consent.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 29, 2026
securitygitsecurity

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add karlorz/llm-wiki --skill wiki-lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wiki Lint?

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

Security grade badge for Wiki Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karlorz-wiki-lint/badge)](https://www.skillsdirectory.com/skills/karlorz-wiki-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
---
name: wiki-lint
description: Vault health check via the umbrella `skillwiki lint` subcommand. Read-only by default; rotation requires explicit user consent.
---
# wiki-lint
## When This Skill Activates
- User asks for a vault health report, lint, or audit.
- Periodic maintenance.
## Pre-orientation reads
Standard four reads.
## Steps
0. Resolve vault: `skillwiki path` (record source for context).
- **CRITICAL**: Verify the correct vault when the user has multiple wiki instances (e.g., ~/wiki vs ~/wiki-fin). User may explicitly specify which vault to target — confirm before destructive operations.
1. For a whole-system health report, run `skillwiki health <vault> --out /tmp/skillwiki-health.json --no-fail`. Read the JSON envelope from stdout or the report file. Treat `skillwiki doctor` as setup/runtime diagnostics only, not a vault-content health report. HTTP MCP URL, pin lag, handshake, and frozen-leaf write-path belong to `skillwiki doctor` (pass `--check-mcp` for the live handshake). Do not use this skill for client/plugin fleet upgrades.
2. For lint-only maintenance, run `skillwiki lint <vault> --summary`. This returns bounded bucket counts, capped examples, and `details_command` hints without full item arrays. On a frozen leaf, if live HTTP MCP advertises `wiki_lint_summary`, call that tool instead of local CLI lint.
3. Drill into important buckets with `skillwiki lint <vault> --only <bucket>` when examples are insufficient for remediation.
4. Reason over findings; present grouped by severity with concrete suggested actions per kind. If the CLI was recently updated with new lint checks, re-running lint on the full vault may flag pre-existing pages that predate the new rule — treat these as legitimate findings, not false positives.
5. Treat `sensitive_content` as a security error. Drill down with `skillwiki lint <vault> --only sensitive_content --human`; never print the secret value. Raw findings are report/quarantine-only: `--fix` must not redact, rewrite, or recompute existing raw evidence. Maintained-page repairs may proceed only through their approved write workflow.
6. If `log_rotate_needed` is present and the user consents, run `skillwiki log-rotate <vault> --apply`. Otherwise leave alone.
7. **Post-migration verification**: If the user recently migrated **vault content** (e.g., moved entity/concept pages to another vault), re-run `skillwiki lint <vault> --summary` and verify that broken_wikilinks count decreased. Remaining broken links for migrated content indicate pages still referencing the moved files — these should be cleaned up (remove citations or migrate the referencing pages too). This step is content moves only — not HTTP MCP client/plugin upgrades (those use `skillwiki doctor --check-mcp`).
8. Append a `log.md` entry summarizing lint counts only when the user asked to record the maintenance result. Do not log routine `health` reports by default.
## Output standard v2 WARN buckets
These four buckets apply only to typed pages whose frontmatter has `output_standard: v2`. They are advisory WARN findings. They do not change the lint exit code, publish, health exit, or release CI on content.
- `ste_sentence_length`: prose sentences > 25 words; ordered-list items and list items under Steps/Procedure headings > 20 words.
- `ste_hedge_words`: whole-word hedges outside `## Uncertainty`, outside the `**Least certain:**` list, and outside code and blockquotes.
- `ste_diagram_uncertainty`: a Mermaid block with no `**Least certain:**` bullet list after it.
- `ste_comparison_visual`: a `type: comparison` page with neither a Markdown table nor a Mermaid block.
Drill with `skillwiki lint <vault> --only <bucket>`.
## Stop conditions
None — lint reports all findings even on per-page errors.
## Forbidden
- Auto-rotating logs.
- Auto-updating sha256 fields.
- Rewriting or redacting existing raw content/frontmatter, even for a sensitive-content finding.
- Modifying any page beyond a user-approved lint summary entry in `log.md`.
- Printing live credentials, access keys, tokens, passwords, cookies, bearer headers, private keys, or other authenticating secrets in findings or summaries.

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 security →

Comments

Loading comments…

Newsletter

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