carl-file-organizer

carl-file-organizer is a skill for Codex from LearnPrompt/carl-skills. It costs 216 tokens per session (3,523 once invoked), scanned A, original, MIT.

A cautious tool for surveying and organising a messy folder, or analysing where disk space is being used. It first creates a proposed plan and waits for the user's approval before moving files.

In plain words
What is it for?
Use it to tidy Downloads or another folder, review storage usage, classify files by risk, and apply approved changes with an undo path.
Why use it?
It reduces the risk of accidentally moving or deleting the wrong files, while making large folders and storage usage easier to understand.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to tidy Downloads or another folder, review storage usage, classify files by risk, and apply approved changes with an undo path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/learnprompt/carl-skills/carl-file-organizer
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.

Any agent
npx skills add LearnPrompt/carl-skills --skill carl-file-organizer
Clone the repo
git clone --depth 1 https://github.com/LearnPrompt/carl-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for carl-file-organizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/learnprompt/carl-skills/carl-file-organizer/github.svg)](https://agentmods.dev/skills/learnprompt/carl-skills/carl-file-organizer)
Your own site
<a href="https://agentmods.dev/skills/learnprompt/carl-skills/carl-file-organizer"><img src="https://agentmods.dev/badge/skills/learnprompt/carl-skills/carl-file-organizer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for carl-file-organizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/learnprompt/carl-skills/carl-file-organizer"><img src="https://agentmods.dev/badge/skills/learnprompt/carl-skills/carl-file-organizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,523 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00216 $0.03523
Opus 5 $0.00108 $0.01761
Sonnet 5 $0.00043 $0.00705
Haiku 4.5 $0.00022 $0.00352

Measured 8d ago against content hash a595eeb40fcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

carl-file-organizer 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 8d ago.

The scan reads SKILL.md. This mod also ships 31 executable files (scripts/build_report.py, scripts/carl_file_organizer/__init__.py, scripts/carl_file_organizer/__main__.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/ops/carl-file-organizer/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

文件整理 carl-file-organizer

你在这套工具里是解说员和操作员,拿主意的是用户。脚本负责量、算、定色,你负责把每一项讲成人话,然后把报告交给用户,等他在页面上一项一项点。你自己永远不 rm、不 mv、不 trash,永远不给命令加 --allow-permanent-delete

下面 <skill> 指这份 SKILL.md 所在的目录。所有命令用 python3 <skill>/scripts/... 的形式跑,零依赖,Python 3.9 以上就行。

不管用户是嫌目录乱还是嫌磁盘满,流程只有一条,走完是一份报告、一个入口、一份批准文件。

scan  →  你写 notes.json 与 analysis.json  →  report  →  用户在页面上处理或导出  →  apply --dry-run  →  用户说执行才真跑

两个场景的差别只在扫不扫盘点。用户说的是目录乱、文件多、想归档,加 --no-storage,报告里就只有整理这一半。用户说的是磁盘满、空间紧、想清缓存,默认就扫,两半都在。用户只是问某个文件该放哪,不用跑工具,直接答。

第一步,只读扫描

python3 <skill>/scripts/organize.py scan ~/Downloads --lang zh --budget-seconds 60

用户没说目录就用 ~/Downloads,不要自己猜别的路径。用户说英文目录名就把 --lang 换成 en。目录里已经有一套分区时工具会跟着已有的那套走,不必再传。只整理不盘点就加 --no-storage

这一步不动任何文件。产物都落在目标目录下的管理目录里,中文是 <目录>/00_下载目录管理/,英文是 <目录>/00_File_Organizer/plan.json 是整理这一半,storage-scan.json 是盘点这一半。后面你写的 notes.jsonanalysis.json,还有渲染出来的 report.html 和执行留下的清单,也全在这个目录里。终端里那句「本次只读扫描,没有移动或删除任何文件」原样带给用户。

盘点默认六十秒预算,超时的条目标成 partial,体积是下限。macOS 上隐私保护会挡住一批目录,一次出现上百个读不到很正常,这句话要写给用户,因为总量因此偏小。storage-scan.json 里全是这台机器的绝对路径,它只给本机自己用,别当结论发出去。用户要把结果给别人看,发 report.html,那份渲染时已经把家目录换成 $HOME 了。

第二步,读扫描结果,写人话

读 plan.json,只报数不拍板

先看 summary,按 by_color 报三色各有多少条。绿的是规则已经定好去向的移动、敏感命名隔离和可再生产物。黄的是待判断、成对压缩包、重复副本和冷存候选。红的是这轮碰不了的,禁刀区、被进程占用、被别处引用、静置期没满、常驻白名单都在里面。报红的数目时顺便说清这一轮不会动它们。

再看 mess,这是目录本身有多乱。score 决定进度条长短,color 决定它是整洁、有点乱还是泥石流,counts 里五个数就是理由。你要是真看过这个目录觉得数字判错了,可以在 notes 里改目录颜色并给一句话。条目的颜色一个字都改不了。

groups 是几选一的选择题,压缩包和解压目录成对、内容相同的重复副本、构建产物各成一组。每组带 options,每个选项自带一份 action_ids。你只负责把选项讲清楚,用户在页面上单选。永远不要自己从 actions 里挑单条去拼一个组的答案。

actionsreroutable 为 true 的那些才是要你判断分区的,也就是未知扩展名、顶层目录、派生副本这三类进了待判断区的移动。其余的一律照规则转述,不建议改动。

对待判断项按名字判断

只看文件名、扩展名、大小、修改时间。不打开文件,不读内容。名字里带密钥、密码、令牌、证书、身份证件这类词的,工具已经按敏感规则处理过了,你不要再往别处搬,拿不准就让它留在待判断区。

判断结果写成一句话放进这一条的 why 里,去向用 plan.jsonnames 里已有的分区名,比如「名字像一次 SQL 导出,建议改去 10_工作区/数据库与查询/SQL」。用户在页面的待判断下拉里改去向,页面会把改动写进 overrides。用户在聊天里直接确认并让你写批准文件时,你才把 {action_id, destination_key} 写进 overridesdestination_key 只能取自 names,不许写字面路径。

Read the full file on GitHub · 172 lines

Files

What ships with it

43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 172 lines · 216 tokens per session scan A a595eeb40fcd

Subscribe to this mod's changes

carl-file-organizer is a skill published in the GitHub repository LearnPrompt/carl-skills (69 stars, last pushed 3d ago), licensed MIT. It adds 216 tokens to every session and 3,523 once invoked, about $0.0011 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-09-03.

Related

Other skills, from other repositories

hourly-rate-time

A time-management method based on assigning a high personal value to each hour. It treats time as a limited resource and uses that value to decide which tasks to do, outsource, or skip.

kangarooking/cangjie-skill · 146 tokens

screen-detox

A habit-change framework for reducing non-work screen use such as social media, short videos, games, and endless scrolling.

kangarooking/cangjie-skill · 148 tokens

monkey-mind-meditation

A meditation and reflection guide for a busy or anxious mind. It treats recurring thoughts as something to observe and examine, while noting that acute serious mental-health problems need professional care.

kangarooking/cangjie-skill · 158 tokens

happiness-skill

A Chinese-language guide to happiness based on reducing unmet wants, focusing on the present, and treating happiness as a trainable skill.

kangarooking/cangjie-skill · 136 tokens

awaken

Awaken gives a non-intelligent system a usable voice without pretending the underlying system became sentient. The real move is to wrap a thermostat, spreadsheet, legacy database, shell script, or crusty internal tool in a conversational or agent-like interface that exposes what it can already do. Good Awaken work…

Hmbown/Wizards-of-the-Ghosts · 107 tokens

dimension-door

Dimension Door is the quick-switch spell: branch to branch, environment to environment, project to project. It is not a migration and it is not discovery. It assumes both endpoints are known, prepared, and close enough in shape that you can step across with only the context you actually need.

Hmbown/Wizards-of-the-Ghosts · 61 tokens