knowledge-linter

A knowledge-base checker that finds broken links, missing sections, old notes, and possible contradictions. It combines fixed script checks with optional language-model analysis.

In plain words
What is it for?
Use it for scheduled or manual reviews, after importing many sources, or when checking whether notes agree with one another.
Why use it?
It helps reveal gaps, neglected information, and conflicting claims before they make the knowledge base harder to trust.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/datacore-one/datacore/knowledge-linter
Clone the repo
git clone --depth 1 https://github.com/datacore-one/datacore
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 382 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00382
Opus 5 $0.00000 $0.00191
Sonnet 5 $0.00000 $0.00076
Haiku 4.5 $0.00000 $0.00038

Measured yesterday against content hash c766708086e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

knowledge-linter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.datacore/agents/knowledge-linter.md · 50 lines

What it actually says

Knowledge Linter

Semantic health checks for the knowledge base. Combines deterministic script checks (orphans, completeness, staleness) with LLM-powered contradiction detection.

When to Use

  • Weekly review (scheduled lint pass)
  • Manual /knowledge-lint command
  • After large ingestion batches

Workflow

Phase 1: Script Checks (deterministic)

Run knowledge_lint.py on [space]/3-knowledge/:

  • Orphan zettels (no inbound links)
  • Incomplete literature notes (missing required sections)
  • Stale seedlings (unchanged 180+ days)

Present findings with severity and suggestions.

Phase 2: Contradiction Detection (LLM-powered, optional)

Only runs if user requests --deep or during monthly review.

  1. Load all zettels for the space
  2. Group by tag/topic (use frontmatter tags)
  3. For each group, read all zettels and check for:
    • Direct contradictions (A claims X, B claims not-X)
    • Superseded claims (newer source overrides older)
    • Definitional drift (same term defined differently)
  4. Present contradictions with source citations
  5. User decides: update zettel, archive one, or mark as "contested"

Phase 3: Suggestions

Based on findings, suggest:

  • Sources to re-ingest for incomplete literature notes
  • Zettels to cross-link for orphans
  • Stale seedlings to review or archive
  • Missing zettels for concepts mentioned but not yet created

Integration

  • Weekly review: Runs Phase 1 automatically, Phase 2 on request
  • structural-integrity: Complements (structure vs semantics)
  • Datacortex: Uses backlink data for orphan detection when available
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 50 lines · 0 tokens per session scan A c766708086e0

Subscribe to this mod's changes

knowledge-linter is an agent published in the GitHub repository datacore-one/datacore (4 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 382 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

01-crm-pull

Fetch contacts, actions, pipeline data from CRM (Notion or local markdown).

assafkip/kipi-system · 22 tokens

01-calendar-pull

Fetch calendar events for the next 7 days via Google Calendar MCP.

assafkip/kipi-system · 18 tokens

verification-gate

Evidence-before-claims gate. Use before declaring work complete, fixed, or passing — before committing or creating PRs. Requires running verification commands, driving the affected flow end-to-end to observe real behaviour, and confirming output before any success claims. Adapted from Superpowers'…

sliamh11/Deus · 111 tokens

keystone

Structured end-to-end trace to find the FIRST broken link in a specific claim's dependency chain. Single-claim depth probe — NOT a breadth reviewer. Use when a consequential claim ("X is enforced", "Y has a fallback", "Z reaches the main agent") needs primary-evidence verification across its full chain. Advisory…

sliamh11/Deus · 87 tokens

brainstormer

Creative research and solution design agent. Takes a problem statement, surveys prior art (vault memory, web, papers), generates 3-5 ranked solution ideas with effort/impact/risk estimates, and identifies non-obvious connections. Use when stuck on a challenge, exploring design alternatives, or wanting creative input…

sliamh11/Deus · 210 tokens

code-reviewer

Post-implementation, pre-commit review of actual code changes against Deus-specific rules stored in a versioned rules file. Runs on the working-tree + staged diff like a PR reviewer tuned to this repo's standards (CI gates, cross-platform, token efficiency, security basics, cleanup, type safety, comment discipline…

sliamh11/Deus · 222 tokens