file-organize
Use when a folder of files has to be organized — a delivery of documents to sort before a DPM run, a heap with no structure, 'where should these go', 'file…
Skill by agentchieflou
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agentchieflou-file-organize
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/file-organize
What's inside
- Skill name
file-organize- Description
- Use when a folder of files has to be organized — a delivery of documents to sort before a DPM run, a heap with no structure, 'where should these go', 'file these by loan number'. Plans the arrangement and writes it down; never copies or moves anything itself.
- License
- MIT
- Instructions
- 73 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Organizing a folder of files
You plan. A person applies. That split is the whole skill: `ad-sort plan` writes a plan and touches nothing else, and
`ad-sort apply` is the command whoever owns the heap runs after reading it. Do not run `apply`.
Prereq: a **rule set**, and it is an input like a DPM field list — supplied or agreed by whoever owns the folder. No
rule set and no agreement on one → `friction-log` type `missing-info`. STOP. Guessing where somebody's documents go is
how a loan packet ends up under the wrong borrower.
1. `ad-state set phase=planning` (skill `state-update`). Look at the real names first. `ad-sort plan` on any heap lists every file, so run it once with a starter rule set to
see what is actually in there:
```
ad-sort rules --write .agent/in/<name>-rules.json
ad-sort plan --heap <folder> --rules .agent/in/<name>-rules.json
```
2. Edit the rule set against those names and propose it to the requester. One rule is `match` (a `glob` on the name, a
`regex`, or both), `into` (the folder), and an optional `rename`. Named groups in the regex become placeholders, so
`(?P<loan>\d{8})` lets `into` be `loans/{loan}`. Also available: `{stem}`, `{ext}`, `{original}`, `{year}`,
`{month}`, `{day}`. **First matching rule wins** — the order in the file is the precedence.
3. Re-plan and read `meta`. The counts are the whole picture:
- `file` — a rule claimed it and the destination is free. Only these are ever copied.
- `unmatched` — no rule claims that name. Not a failure. It is the list to take back to the requester; do not invent
a rule to make the number zero.
- `collision` — two files want one destination, or something is already there. **Never resolve this by adding a
suffix.** Which of two documents is the real one is not yours to decide; report them.
- `skipped` — a directory, a partial download, a link leading out of the folder, or a file over the size cap, each
with its reason.
4. Exit codes: `0` something would be filed, `1` the folder is real but no rule claimed anything in it (say so — a heap
nobody has written rules for looks exactly like a tidy one), `2` refused, and `meta.refused` names which refusal.
5. The plan is `.agent/out/<heap>-sort-plan.json` and the page to read is `.agent/out/<heap>-sort-plan.md`. Cite those
paths. Never restate the rows in chat.
6. Hand the apply line to the person, do not run it:
```
ad-sort apply --plan .agent/out/<heap>-sort-plan.json --dry-run
ad-sort apply --plan .agent/out/<heap>-sort-plan.json
```
It copies and never moves, so the folder they showed you is still there afterwards. It refuses a plan whose folder
has changed since — if they come back with `heap_changed`, re-plan, do not tell them to force it.
7. **Never plan a DPM run root as the destination, and never as the heap.** The run root is read-only and fingerprinted;
`ad-dpm` fails if anything under it changed. Sort the delivery *before* it becomes a run, or sort a copy.
8. `state-update`: artifacts. Hand off → `dpm-consumer-integration` when the sorted folder is what a run will read,
else `router`.
## The DPM remediation structure (RDSD-22488)
A delivery of retrieved documents does **not** use a rule set — the structure is prescribed and the fields come from
retrieval's own JSONL, one per source system. Use these instead:
```
ad-sort probe --at <the volume the structure lives on>
ad-sort dpm-plan --heap <downloads> --root <M:/.../DPMRemediationDOCS> --ticket RDSD-nnnnn --catalog LSS=<lss.jsonl> [--catalog IMZ=<imz.jsonl>] [--loans <population>]
```
* Verdicts here are `file`, `already_filed` (this loan's manifest has it — retrieval is never repeated),
`missing_from_disk` (**a retrieval gap, report it as one**), `collision`, and `unclassified` (a file no catalogue
names, so nothing knows its loan or its type).
* `--loans` is what makes "which loans returned nothing" answerable. Without it the report says it cannot say, and you
must repeat that rather than reporting zero.
* `IsTiff` documents are filed as they are and **queued** for PDF conversion. They are not converted. Never describe
them as converted.
* `IsCanView` false is counted per loan for the administrative report. Those documents are still filed — they are
evidence that a retrieval happened.
* **LIS has no field map.** `ad-sort dpm-plan --catalog LIS=…` refuses. Get a sample record to whoever maintains
`agentdata/sorting/catalog.py`; do not map it yourself from a filename.
* The apply line is still a person's, and views are hardlinks where the volume allows: `ad-sort probe` answers that
before anyone commits to a storage budget.
§ The rule-set shape, the DPM structure and every refusal: `docs/sorting.md`.From agentchieflou/this-next-please, MIT.
More from agentchieflou/this-next-please
- 0.592score
data-adapter
agentchieflou
How to read and produce data in this workspace.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
jira-changelog
agentchieflou
Use for field history, sprint reports, committed vs completed points, "when did X change", or anything current Jira values cannot answer.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
confluence-publish
agentchieflou
Use to write findings, runbooks, or work documentation to Confluence.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
hive-query
agentchieflou
Use for read-only SQL against Hive (HiveServer2), Impala or Spark SQL (the Spark Thrift Server) on Hadoop.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-change
agentchieflou
Use for a change to this repository's own code that no domain skill covers: fix a bug, patch a loader, add a flag, refactor a function, make it do X.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
friction-log
agentchieflou
Use the moment you second-guess yourself, repeat a tool call, hit ambiguous acceptance criteria, or get two failures in a row.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
dax-studio-export
agentchieflou
Use to evaluate a DAX query against a deployed model or a running Desktop and get results as TOON, or to export a .vpax model-metrics file.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
bitbucket-pr
agentchieflou
Use when code or model changes are ready for review — to branch, commit, push, and open a Bitbucket pull request with ad-git pr.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
code-router
agentchieflou
Domain sub-router for work on a repository's own code: map it, cover it, change it, make it faster, prove nothing broke, tidy the worktree.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
dpm-router
agentchieflou
Domain sub-router for document pipelines: DPM run handoff, field extraction, Content Understanding analyzers, organizing a folder of documents.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
jira-comment
agentchieflou
Use to post a comment on a Jira issue without moving it — a finding, a question for the reporter, a status note, the path of an artifact.
SkillAFreshness: A★ 1Claude Code +9 - 0.579score
jira-router
agentchieflou
Domain sub-router for Jira work: triage a key, create a ticket, field history and sprint replay, move an issue.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 61
- Last commit (this folder)
- Oct 3, 2026 (26 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from agentchieflou
- 0.592score
data-adapter
agentchieflou
How to read and produce data in this workspace.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
jira-changelog
agentchieflou
Use for field history, sprint reports, committed vs completed points, "when did X change", or anything current Jira values cannot answer.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
confluence-publish
agentchieflou
Use to write findings, runbooks, or work documentation to Confluence.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-change
agentchieflou
Use for a change to this repository's own code that no domain skill covers: fix a bug, patch a loader, add a flag, refactor a function, make it do X.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
friction-log
agentchieflou
Use the moment you second-guess yourself, repeat a tool call, hit ambiguous acceptance criteria, or get two failures in a row.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
hive-query
agentchieflou
Use for read-only SQL against Hive (HiveServer2), Impala or Spark SQL (the Spark Thrift Server) on Hadoop.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
file-organize skill. Agent Mart. https://agentmart.dev/skills/agentchieflou-file-organize (last updated 2026-10-24)