folder-audit
БесплатноБез исполняемых скриптовНе проверенWalk a directory tree and audit whether each folder's children belong at the right level of abstraction. Produces a structured JSON audit plus a nested…
от peteromallet★ 99 звёзд на GitHubОб этом скилле
folder-audit
What it does
The folder-audit pipeline inspects a target directory, builds a tree of
folders up to a configurable depth, and asks an LLM auditor to classify every
immediate child as fit, misplaced, duplicate, naming_mismatch, etc.
It emits two artifacts in the plan directory:
audit.json— machine-readable audit with summary and per-folder entriesaudit.md— human-readable nested annotated tree
Running it
The pipeline is built around the native Arnold AgentStep. The audit stage
injects a worker callable that dispatches to Codex by default. A local profile
is provided at profiles/standard.toml.
Default mode (Codex worker)
python -m arnold run folder-audit \
--inputs target_dir=/path/to/repo,max_depth=2,chunk_size=5,max_workers=3 \
--plan-dir /tmp/folder-audit-plan
The default profile resolves the audit stage to codex. If you want to use a
different model, override the profile:
python -m arnold run folder-audit \
--inputs target_dir=/path/to/repo,max_depth=2,chunk_size=5,max_workers=3 \
--profile @folder-audit:standard \
--plan-dir /tmp/folder-audit-plan
Using pre-generated subagent results
For faster iteration or when you want to supply audits from another agent
harness, pass an agent_results JSON file:
python -m arnold run folder-audit \
--inputs target_dir=/path/to/repo,agent_results=/tmp/agent_results.json \
--plan-dir /tmp/folder-audit-plan
The agent_results file must be a JSON object with a top-level folders
array. The pipeline will compute a summary and reconcile the entries with the
real filesystem tree when rendering audit.md.
Inputs
| Key | Default | Description |
|---|---|---|
target_dir |
required | Directory to audit |
max_depth |
8 |
How many levels deep to walk |
chunk_size |
5 |
Folders per Codex call |
max_workers |
3 |
Parallel Codex calls per level |
agent_results |
none | Path to external audit JSON |
Taxonomy
fit— belongs here and at this leveltoo_granular— should live one level deeperwrong_level_of_abstraction— belongs at a higher or lower levelmixed_concerns— contains unrelated things that should splitmisplaced— belongs under a sibling folderorphaned— doesn't obviously belong anywherenaming_mismatch— name doesn't match actual contentsoverpacked— too many concerns crammed into one folderunderpacked— folder adds no value, should collapse upwardduplicate— redundant with another itemunclear— cannot determine
Worker injection
AuditStep subclasses Arnold's AgentStep. The worker is supplied at pipeline
construction time:
from arnold.pipelines.folder_audit import build_pipeline
pipeline = build_pipeline(worker=my_worker)
If no worker is supplied, build_pipeline() uses a default worker that calls
codex exec. In tests, pass a fake worker to avoid network calls.
Testing
python -m pytest tests/pipelines/test_folder_audit.py -v
Установить folder-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл folder-audit?
Walk a directory tree and audit whether each folder's children belong at the right level of abstraction. Produces a structured JSON audit plus a nested Markdown annotated tree.
Как установить скилл folder-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл folder-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic