lint

lint is a skill for Claude Code, Codex from xcota/pos. It costs 14 tokens per session (1,903 once invoked), scanned A, original, MIT.

A wiki health checker that scans a knowledge base for broken links, unused pages, outdated entries, contradictions, and changes in source content.

In plain words
What is it for?
Use it for regular wiki checks, especially after adding a large amount of content. You can run a full scan or check only unused pages, stale entries, contradictions, or source changes.
Why use it?
It helps find information that has become hidden, stale, inconsistent, or disconnected before the wiki becomes harder to trust and maintain.

Skill for Claude CodeCodex

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 skills/xcota/pos/lint
Any agent
npx skills add xcota/pos --skill lint
Clone the repo
git clone --depth 1 https://github.com/xcota/pos

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lint

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcota/pos/lint.svg)](https://agentmods.dev/skills/xcota/pos/lint)
Your own site
<a href="https://agentmods.dev/skills/xcota/pos/lint"><img src="https://agentmods.dev/badge/skills/xcota/pos/lint.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,903 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.00014 $0.01903
Opus 5 $0.00007 $0.00951
Sonnet 5 $0.00003 $0.00381
Haiku 4.5 $0.00001 $0.00190

Measured 4d ago against content hash 120043c5a4f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lint 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 4d ago.

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.

.claude/skills/lint/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/lint — Wiki Health Check

LLM-wiki pattern: a periodic lint prevents entropy. Run weekly or after major ingest sessions.

Usage

/lint — full scan /lint orphans — just the floating-nodes check /lint stale — just stale entities /lint contradictions — just contradictions /lint drift — source drift check (content_hash validation)

Checks

1. Floating Nodes

A floating node is an entity with zero incoming links — invisible in the graph. Target: 0.

python3 -c "
import os, re
workspace=os.getcwd()
kg=os.path.join(workspace, 'knowledge')
# Directories to skip when scanning for links. Add any non-knowledge or build dirs here.
EXCLUDE = {'memory','archive','backups','agents','skills','content','data','node_modules','.venv','inbox'}
aliases = {}
for root,dirs,files in os.walk(kg):
    for f in files:
        if f.endswith('.md') and f not in ('AGENTS.md','INDEX.md'):
            name = f.replace('.md','')
            aliases[name] = name
            with open(os.path.join(root,f)) as fh:
                content = fh.read()
            if content.startswith('---'):
                try:
                    fm = content[3:content.index('---',3)]
                    m = re.search(r'aliases:\s*\[([^\]]+)\]', fm)
                    if m:
                        for a in m.group(1).split(','):
                            aliases[a.strip().strip('\"').strip(\"'\")] = name
                except: pass

entities = set(aliases.values())
incoming = {}
for root,dirs,files in os.walk(workspace):
    dirs[:] = [d for d in dirs if not d.startswith('.') and d not in EXCLUDE]
    for f in files:
        if not f.endswith('.md'): continue
        try:
            with open(os.path.join(root,f)) as fh:
                for link in re.findall(r'\[\[([^\]|]+)', fh.read()):
                    target = link.strip().split('/')[-1]
                    resolved = aliases.get(target, target)
                    incoming.setdefault(resolved, set()).add(f)
        except: pass

floating = sorted([n for n in entities if n not in incoming])
print(f'Floating: {len(floating)}')
for n in floating: print(f'  {n}')
"

Read the full file on GitHub · 199 lines

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. 4d ago First seen · 199 lines · 14 tokens per session scan A 120043c5a4f0

Subscribe to this mod's changes

lint is a skill published in the GitHub repository xcota/pos (43 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 1,903 once invoked, about $0.0001 per session on Opus 5. 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-30.

Related

Other skills, from other repositories

ori-memory

Persistent agent memory with learning retrieval. Knowledge graph on markdown files — capture insights, decisions, research, and learnings during work, then retrieve them weeks or months later. Use when knowledge is too valuable to lose but too much to inject into every prompt.

aayoawoyemi/Ori-Mnemos · 54 tokens

rtg-knowledge-graph-mcp

Operate the Vellis RTG Knowledge Graph MCP server for agent-driven graph work. Use when an agent has RTG MCP tools such as rtgvalidategraph, rtgapplylivegraphchanges, rtgstageknowledgechanges, rtgapplymigrationcutover, rtgexecutequery, snapshots, or ledger replay, especially for schema evolution, validation recovery…

volantlabs/vellis · 87 tokens

documentation-sync

Keep human documentation synchronized with canonical SysML v2 models, generated component and application views, implementation realizations, repository tooling, skills, and workflow rules. Use after model, code, generated-view, README, AGENTS, skill, command, or public behavior changes.

volantlabs/vellis · 57 tokens

python-component-implementation

Implement, review, or revise Python realizations of components from accepted textual SysML v2 contracts and generated views. Use when creating or aligning Python protocols, component classes, reference implementations, implementation bindings, or black-box contract tests.

volantlabs/vellis · 51 tokens

sysml-reference

Ground textual SysML v2 and KerML authoring, review, language-semantics decisions, construct selection, and official-validator diagnosis in the repository's checksum-pinned specification corpus. Use for questions or changes involving parts, references, features, actions, bindings, successions, flows, ports…

volantlabs/vellis · 92 tokens

model-hygiene-review

Audit accepted SysML v2 component or application models against implementations, protocols, consumers, tests, generated evidence, predecessor contracts, and git history before proposing remediation. Use for periodic model hygiene, suspected model/implementation drift, migration-loss reviews, verification-closure…

volantlabs/vellis · 72 tokens