lint

A read-only repository check for the conventions defined by abcd, including its folder layout, guidance files, decisions, documentation, privacy checks, and project identity.

In plain words
What is it for?
Use it to review repository conformance and group problems by errors, warnings, and checks that do not apply.
Why use it?
It shows where the repository does not meet those conventions without changing any files.

Command

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 commands/intentdriven/abcd/lint
Clone the repo
git clone --depth 1 https://github.com/intentdriven/abcd
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 695 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.00056 $0.00695
Opus 5 $0.00028 $0.00347
Sonnet 5 $0.00011 $0.00139
Haiku 4.5 $0.00006 $0.00069

Measured yesterday against content hash fab981fbdbfe, 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 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.

commands/lint.md · 53 lines

What it actually says

/abcd:lint repo-conformance check

Run the abcd binary's read-only conformance lint for the current repo and present the result. This command performs zero writes — it reports gaps, it never fixes them (remediation stays with /abcd:prepare-this-repo).

Run:

"${CLAUDE_PLUGIN_ROOT}/abcd" lint --json

Then summarise the JSON for the user. Its shape is { "findings": [ … ], "skipped": [ … ] }:

  • findings — each has a stable ruleId, a severity (error or warn), a file, a line on content-scanning findings only (docs-currency, privacy-hygiene, identity-positioning — path-presence findings omit the key entirely), a message, and a fix. Group them by severity: report error findings first (these fail conformance), then warn findings (advisory). For each, give the file (with :line when present), the message, and the fix.
  • skipped — rule ids that did not apply to this repo (e.g. docs-currency when there is no docs/). Mention them as "not applicable", not as failures.

State the outcome plainly: if there are no findings the repo conforms; otherwise lead with how many errors and warnings there are. The process exit code is the Conftest tri-state — 0 clean, 1 warnings only, 2 any error — so abcd lint can also gate a repo's CI.

A privacy-hygiene finding on a deliberately illustrative line can be waived by adding abcd-lint:allow on that line (the earlier abcd-audit:allow spelling is honoured too). No other rule honours that marker: a docs-currency finding takes the docs-lint engine's own <!-- docs-lint: allow --> escape, and the remaining rules have no line waiver — resolve what they report.

Binary resolution. Run "${CLAUDE_PLUGIN_ROOT}/abcd" — a plugin install provisions the binary into the plugin root, so this is the rung that fires for a plugin user. If that path does not exist, try abcd on PATH; if that fails too, you are in a source checkout of this repo, where — and only there — go run ./cmd/abcd works, the published payload carrying no cmd/. To put a binary on PATH, run ahoy install through whichever rung just resolved: "${CLAUDE_PLUGIN_ROOT}/abcd" ahoy install, abcd ahoy install, or go run ./cmd/abcd ahoy install in a source checkout.

User input: $ARGUMENTS

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 · 53 lines · 56 tokens per session scan A fab981fbdbfe

Subscribe to this mod's changes

lint is a command published in the GitHub repository intentdriven/abcd (3 stars, last pushed 2d ago), licensed MIT. It adds 56 tokens to every session and 695 once invoked, about $0.0003 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-31.

Related

Other commands, from other repositories