organize-files

organize-files is a skill for Claude Code, Codex from Human-Agent-Society/CORAL. It costs 32 tokens per session (1,604 once invoked), scanned A, original, Apache-2.0.

A process for cleaning up a shared research-notes directory. It reorganizes files, finds duplicates, fixes names and links, and updates the index.

In plain words
What is it for?
Use it when research or experiment folders become crowded, files are duplicated, naming is inconsistent, or known notes are difficult to locate.
Why use it?
It makes scattered or repetitive notes easier to find and reduces confusion about which file contains the useful information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when research or experiment folders become crowded, files are duplicated, naming is inconsistent, or known notes are difficult to locate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/human-agent-society/coral/organize-files
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 Human-Agent-Society/CORAL --skill organize-files
Clone the repo
git clone --depth 1 https://github.com/Human-Agent-Society/CORAL

Made for: Claude Code, 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 organize-files

README.md
[![agentmods](https://agentmods.dev/badge/skills/human-agent-society/coral/organize-files/github.svg)](https://agentmods.dev/skills/human-agent-society/coral/organize-files)
Your own site
<a href="https://agentmods.dev/skills/human-agent-society/coral/organize-files"><img src="https://agentmods.dev/badge/skills/human-agent-society/coral/organize-files/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 organize-files

Your own site · 80×15
<a href="https://agentmods.dev/skills/human-agent-society/coral/organize-files"><img src="https://agentmods.dev/badge/skills/human-agent-society/coral/organize-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,604 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.00032 $0.01604
Opus 5 $0.00016 $0.00802
Sonnet 5 $0.00006 $0.00321
Haiku 4.5 $0.00003 $0.00160

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

Security

Grade A, and why

organize-files 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 11d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/audit.sh, scripts/find_duplicates.py, scripts/generate_index.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.

coral/template/skills/organize-files/SKILL.md · 145 lines

How it starts

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

Organize Files

Restructure the shared notes directory so every agent can find what they need quickly.

For a complete before/after walkthrough on a realistic messy notes/ tree — including the dedup pass, naming fixes, subdirectory creation, link repair, and audit-log entry — see references/worked-example.md. Read it once before your first reorganization; it makes the abstract steps below concrete.

For recovery procedures and judgment calls (move script aborted partway, false-positive duplicates, files that look misplaced in _synthesis/, contradicting _open-questions.md, races between agents…), see references/edge-cases.md.

When to Use

  • Too many flat files in research/ or experiments/
  • Duplicate or near-duplicate notes
  • Inconsistent naming (spaces, uppercase, agent IDs in filenames)
  • After a deep-research or consolidate phase that created many files
  • You can't find a note you know exists

Notes Directory Structure

notes/
├── index.md          ← table of contents (research + experiments only)
├── raw/              ← immutable sources (DON'T touch)
├── research/         ← deep-research findings (organize within)
│   ├── <topic>/      ← group by topic or theme
│   └── ...
├── experiments/      ← eval reflections and results (organize within)
│   ├── <approach>/   ← group by approach or technique
│   └── ...
├── _synthesis/       ← consolidate owns this (DON'T touch)
├── _connections.md   ← consolidate owns this
├── _open-questions.md
└── _organization-log.md  ← append-only log of what you changed

Process

1. Audit

Get the current state:

bash .coral/public/skills/organize-files/scripts/audit.sh

Or manually: ls -R {shared_dir}/notes/ and count files per directory.

Also check for content-level issues:

  • Contradictions — do any notes claim opposite things? Update or flag them in _open-questions.md.
  • Stale info — research notes that experiments have disproven. Update with actual results.
  • Orphan pages — notes not listed in index.md. Add them.
  • Missing cross-references — related notes that don't link to each other.
  • Gaps — techniques mentioned but never researched, or researched but never tried.

Read the full file on GitHub · 145 lines

Files

What ships with it

8 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. 11d ago First seen · 145 lines · 32 tokens per session scan A 1dd674206f5a

Subscribe to this mod's changes

organize-files is a skill published in the GitHub repository Human-Agent-Society/CORAL (972 stars, last pushed 3d ago), licensed Apache-2.0. It adds 32 tokens to every session and 1,604 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

batch

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use /batch followed by operation and file pattern.

QwenLM/qwen-code · 37 tokens

loop

Create a loop that runs a prompt now and follows up either on a fixed schedule or through self-paced wakeups. Usage - /loop check the build, /loop 5m check the build, /loop check the PR every 30m. /loop list to show jobs, /loop clear to cancel all.

QwenLM/qwen-code · 66 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

general

Handle everyday conversation, answer questions, manage files, take notes, run scripts, and maintain persistent memory across sessions. Use when the user asks a general question, requests file operations, wants to brainstorm ideas, needs to-do tracking, asks you to remember something, or requests skill search and…

0xranx/golembot · 61 tokens

message-push

Send proactive messages to IM groups or individual users via the gateway Send API. Use when the user says to send, post, notify, forward, or tell someone a message on Feishu, Slack, Telegram, Discord, DingTalk, or WeCom.

0xranx/golembot · 55 tokens

task-manager

Creates and manages scheduled tasks, cron jobs, recurring reminders, and timers via the Task HTTP API. Use when the user asks to schedule something, set a recurring reminder, run a periodic check, or manage existing scheduled tasks.

0xranx/golembot · 48 tokens