init
Generate FILETREE.md from scratch. Confirms overwrite if it already exists. --self-only keeps every artifact out of git.
Report drift between FILETREE.md and current repo, read-only. Prompts to run /filetree:update on drift.
> /plugin marketplace add nekocode/filetree-skill > /plugin install filetree@filetree
How it fires
How this command gets triggered: by you, by Claude, or both.
/lintContext preview
What this command does when you run it.
Report drift between FILETREE.md and current repo, read-only. Prompts to run /filetree:update on drift.
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" lintThe 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.
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.
Generate FILETREE.md from scratch. Confirms overwrite if it already exists. --self-only keeps every artifact out of git.
Uninstall filetree from this repo — un-wires CLAUDE.md/AGENTS.md, removes generated artifacts (confirmed per item), tears down…
Sync FILETREE.md with current repository state — handles added / changed / removed / renamed.