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
About the project

CORAL is infrastructure for autonomous coding agents that run experiments on a codebase, have their work graded, share knowledge, and evolve solutions across repeated attempts. It is used for autoresearch workflows with agents such as Claude Code, OpenCode, Codex, Cursor Agent, and Kiro. The catalogue entries provide skills, agents, instructions, a plugin, and a hook for operating these workflows.

Human-Agent-Society/CORAL · 1,155 stars · on GitHub · coral.compounding-intelligence.ai

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.5 $0.00013 $0.00642
Sonnet 5.5 $0.00006 $0.00321
Haiku 4.5 $0.00003 $0.00160

Measured 3mo ago against content hash 1dd674206f5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (1,155 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 32 tokens to every session and 1,604 once invoked, about $0.0001 per session on Opus 5.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

organize-files compared with skills from other repositories

organize-files next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
organize-filesHuman-Agent-Society/CORALSkill1.2k1mo agoApache-2.0A32Claude Code, Codex
batchQwenLM/qwen-codeSkill31ktodayApache-2.0A102Claude Code
batch-apiQwenLM/qwen-codeSkill31ktodayApache-2.0A51Claude Code
loopQwenLM/qwen-codeSkill31ktodayApache-2.0A66Claude Code
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
gmailHmbown/CodewhaleSkill41k1mo agoMITA23Claude Code, Codex
google-calendarHmbown/CodewhaleSkill41k1mo agoMITA26Claude Code, Codex