lint

lint is a skill for Claude Code, Codex from 7xuanlu/wenlan. It costs 31 tokens per session (3,368 once invoked), scanned B, original, Apache-2.0.

A Wenlan skill for checking the quality, organization, and vocabulary of its local knowledge base. It can inspect everything, uncategorized items, or one named space, and can prepare repairs.

In plain words
What is it for?
Use it to lint Wenlan memory, run deeper checks, focus on one scope, or prepare repairs for findings.
Why use it?
It turns memory-quality findings into clear next actions such as a repair, review item, system action, or blocker. Read-only checks let you inspect problems before changing anything.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to lint Wenlan memory, run deeper checks, focus on one scope, or prepare repairs for findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/7xuanlu/wenlan/lint
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.

Any agent
npx skills add 7xuanlu/wenlan --skill lint
Clone the repo
git clone --depth 1 https://github.com/7xuanlu/wenlan

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/7xuanlu/wenlan/lint.svg)](https://agentmods.dev/skills/7xuanlu/wenlan/lint)
Your own site
<a href="https://agentmods.dev/skills/7xuanlu/wenlan/lint"><img src="https://agentmods.dev/badge/skills/7xuanlu/wenlan/lint.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.03368
Opus 5 $0.00015 $0.01684
Sonnet 5 $0.00006 $0.00674
Haiku 4.5 $0.00003 $0.00337

Measured 8d ago against content hash 71f4a4e3c59d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

lint scanned grade B with 1 finding 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 8d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`find "$HOME/.codex/plugins/cache" -path '*/wenlan/*/bin/resolve-space.sh'`
plugin-codex/skills/lint/SKILL.md · 249 lines

How it starts

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

/lint

The public forms are /lint [scope], /lint deep [scope], and /lint repair [scope]. Accept at most one mutually exclusive deep|repair mode and one scope selector: global, uncategorized, or space:<name>. Reject unknown or repeated tokens and mixed scope selectors before any tool call. Public profile:*, agent, /lint-repair, provider-slot, --fix, and batch modes do not exist.

For global, omit space. For uncategorized, pass space="uncategorized". For space:<name>, pass that name. With no explicit scope, call the installed resolver with --cwd "$PWD": locate it with find "$HOME/.codex/plugins/cache" -path '*/wenlan/*/bin/resolve-space.sh' and fall back to plugin-codex/bin/resolve-space.sh only inside a wenlan checkout. Use a non-empty result, otherwise omit space. Bash is allowed only for that exact resolver. CLI fallback: wenlan lint --profile deep --agent-assist (submissions via --agent-submission <file>); the MCP repair-manifest tools have no CLI equivalent yet.

Plain /lint, /lint deep, the lint MCP tool, and /api/lint are fully read-only. /lint repair begins with the same read-only diagnostics; preparation writes only private contract artifacts, and only a later exact apply repair ... approval may mutate canonical memory. Although this skill statically lists repair tools, plain and deep modes may call only mcp__wenlan__lint.

Plain and deep diagnostics

General uses exactly one lint MCP call with the resolved scope; it returns the same text wenlan lint prints, whose Lint: line carries the check, finding, advisory and incomplete counts. /lint deep uses the Agent-assisted Deep protocol below and returns the typed report. Render only the final canonical report in canonical order. State is incomplete when complete is false, otherwise findings when actionable findings are nonzero, otherwise clean. Advisories remain visible but do not change the state to findings.

Agent-assisted Deep uses exactly two lint MCP calls:

Read the full file on GitHub · 249 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 249 lines · 31 tokens per session scan B 71f4a4e3c59d

Subscribe to this mod's changes

lint is a skill published in the GitHub repository 7xuanlu/wenlan (64 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 3,368 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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

shodh-memory

Persistent memory system for AI agents. Use this skill to remember context across conversations, recall relevant information, and build long-term knowledge. Activate when you need to store decisions, learnings, errors, or context that should persist beyond the current session.

varun29ankuS/shodh-memory · 53 tokens

engraphis-memory

Give the agent durable, scoped, explainable memory across sessions and repositories through the Engraphis MCP tools. Use when you learn a convention, decision, bug cause/fix, or user preference worth keeping; when prior context would help before you answer or act (to avoid re-asking or re-deriving); when asked "why is…

Coding-Dev-Tools/engraphis · 134 tokens

braindb

Memory recall and save. Use at every conversation start and whenever the user shares personal information, expertise, project context, preferences, or decisions worth remembering long-term.

dimknaf/braindb · 36 tokens

braindb-agent

Persistent memory across sessions via the BrainDB agent. Use at conversation start and whenever you need to recall what you know about the user or save new information to long-term memory.

dimknaf/braindb · 40 tokens

braindb-custom-profile

How to author a BrainDB custom profile — prompt add/replace fragments and an optional keyless ingestor — that shapes wiki naming/structure and feeds a custom ingestion source, with zero effect on defaults when inactive.

dimknaf/braindb · 49 tokens

deeprefine

Agent-native DeepRefine refinement loop — same control flow as DeepRefine.refine(), graphify search instead of FAISS, session LLM, dry-run review before approved graph writes.

HKUST-KnowComp/DeepRefine-Skill · 42 tokens