Skip to content
Documentation
Command

/lint

Report drift between FILETREE.md and current repo, read-only. Prompts to run /filetree:update on drift.

From plugin
filetree
1634 skills4 commands1 hook
> /plugin marketplace add nekocode/filetree-skill
> /plugin install filetree@filetree

Command definition

lint.md
description: Report drift between FILETREE.md and current repo, read-only. Prompts to run /filetree:update on drift.
allowed-tools: Bash(python3:*)

Run the drift check and present results to the user:

python3 "${CLAUDE_PLUGIN_ROOT}/skills/filetree/scripts/filetree.py" lint

The script outputs JSON and exits 1 if there is any drift, 0 if clean.

Format the JSON for the user, grouped by category (added / changed / removed / renamed) with counts. If `stats.need_llm > 0` or there are any `removed` / `renamed` entries, remind the user to run `/filetree:update` to sync.

Do not call any LLM. Do not modify any files. Do not load the filetree SKILL.md — lint is pure script invocation, no shared rules apply here.

Do not echo the raw JSON back to the user verbatim. A summary of counts plus the drift paths (truncated if many) is enough; users can re-run the script if they want full output.

@nekocode
Ships withfiletree

A Claude Code plugin that maintains FILETREE.md — a one-line description per file with content hashes for staleness detection. Lets the LLM grasp repo layout in a few hundred tokens before touching code.

Stars on GitHub

Momentum

stars in total
163
Star history of nekocode/filetree-skill on GitHub, a chart by star-history.com

Other commands on filetree.

init

init

Command

Generate FILETREE.md from scratch. Confirms overwrite if it already exists. --self-only keeps every artifact out of git.

@nekocode@nekocodeInstall Command
uninstall

uninstall

Command

Uninstall filetree from this repo — un-wires CLAUDE.md/AGENTS.md, removes generated artifacts (confirmed per item), tears down…

@nekocode@nekocodeInstall Command
update

update

Command

Sync FILETREE.md with current repository state — handles added / changed / removed / renamed.

@nekocode@nekocodeInstall Command

More commands from other plugins.