File Organization logo

File Organization

Community
sherifican
file-organization

Use WHENEVER creating, saving, or generating a new file (task output, research artifact, report, chart, log, dataset, brief, dispatch) inside a shared agent/human workspace. Decides the correct sub-folder + naming so files are organized for fast AI grep AND human browsing — never dumped loose at a directory root. Also governs how tooling must glob so the structure can deepen without breaking.

Overview

Publishersherifican
RepositoryAgent-FleetOps
Skill namefile-organization
Stars
34
Forks
0
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by sherifican on GitHub. Read the source before you install it.

Installation

Install the File Organization AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/sherifican/Agent-FleetOps/tree/main/skills/file-organization
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sherifican/Agent-FleetOps.git /tmp/Agent-FleetOps
mkdir -p .claude/skills
cp -r /tmp/Agent-FleetOps/skills/file-organization .claude/skills/file-organization
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable File Organization in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads File Organization on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so File Organization is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

File Organization — where every new file goes

Loose files at a directory root are forbidden. Every file you create lands in a typed sub-folder with a clear name. The structure serves two consumers at once:

  • AI grep: PREDICTABLE locations (a FINAL_* report is always under research/finals/) → an agent greps the right place first try.
  • Human browse: clear names, shallow trees, related things together → a person finds a thread by eye.

If both pull in different directions, keep the location predictable (AI) and the name descriptive (human). Never sacrifice predictability for cleverness.

Decision procedure (before writing any file)

  1. Read the map first. Check the nearest AGENTS.md (or equivalent context-map doc) and any INDEX.md for the directory's structure. Place into an existing folder if one fits.
  2. Classify by pipeline stage / type, then drop it in the matching folder (example scheme below).
  3. Name it descriptively: STAGE_<slug>_<who-or-model>_<YYYY-MM-DD>.ext where it helps grep (e.g. RESULT_quant-test_<model>_2026-06-28.md). Keep the stage prefix — it's critical for routing.
  4. If no folder fits, create a new typed sub-folder (don't invent a one-off at root) and update the map (AGENTS.md + INDEX.md) so the new category is discoverable. Updating the map is part of creating the category, not optional.
  5. Heavy/cruft/superseded (multi-MB logs, big zips, *.bak, raw machine dumps) → off the live tree to an archive location outside it, never left at a root.

Example routing scheme (stage-based — adapt to your pipeline)

This is one working scheme for a research-workspace tree; treat it as a template, not a mandate.

New fileFolder
RESULT_* / FIX_* (dispatch results)research/results/
outgoing dispatch briefs (BRIEF_*, DISPATCH_*, per-model dispatches)research/dispatches/
RECONCILED_*research/reconciled/
FINAL_* (finalized reports)research/finals/
AUDIT_*research/audits/
VERIFY_*research/verify/
transcript*research/transcripts/
SWEEP_* (experiment sweeps)research/sweeps/
specs/plans/notes .md/.txt (no stage prefix)research/notes/
*.html / *.svg (visual reports, cards)reports/
*.json datadata/
*.log run logslogs/
STAY AT ROOT (live anchors — never move): AGENTS.md, INDEX.md, and any live ledger/digest files that other tooling addresses by fixed path(root)
KEEP AS-IS: already-organized working dirs and repos(don't reshuffle)

A second tree used for human↔agent coordination can route by kind instead of stage — e.g. coordination/ for handoffs/instructions/requests, research-briefs/ for briefs, setup-docs/ for setup documentation — with the same rule that loose files at the root are forbidden and designated anchor files stay.

Exception classes — the ONLY files allowed loose at a root

The no-loose-files rule has exactly three exception classes, and each must stay checkable:

  1. Tool-required anchors — files a tool, contract, or ecosystem addresses at a fixed root path (pyproject.toml, package.json, LICENSE, README.md, VCS dotfiles). This class is the ECOSYSTEM's list, not any one repository's root listing. A repository that has its own fixed-path contract file DECLARES it, with a reason, in guard/org_anchors.txt — and each declaration is checked, so the extension point cannot quietly become a blanket allow-list.
  2. Runnable entry points named in the README — a root script is legitimate only while the README names it; discoverability is the licence, and a root entry point the README never mentions is a stray whatever it does. "Named" means a whole token on a line that is not a prohibition: a substring test licenses any file whose name is a suffix of a name the README does use (leg_contract.py riding on check_leg_contract.py), and it reads "never commit scratch_dump.log" as an endorsement — which turns the README into an allow-list inverter.
  3. Directories — their internal organization is governed by the rules above, not the root rule.

Everything else at a root is a stray. Arm: guard/org_lint.py goes red on a stray root file (gate: guard/tests/test_org_lint.py); run it in CI so an exception class cannot widen silently.

TOOLING RULE (so the structure can deepen without breaking)

Any script that READS artifacts by pattern must use a recursive glob — glob.glob(f"{BASE}/**/FINAL_*.md", recursive=True), not {BASE}/FINAL_*.md. This is what lets files live in sub-folders (or deeper, later) without breaking readers. (Learned during a reorg: several reader scripts had to be patched exactly this way.) When you MOVE files, run a path-chain audit: grep tooling for hardcoded old paths; fix any specific-file ref; verify generated HTML asset links still resolve.

Propagation

Agents that can't auto-retrieve skills (e.g. small local models dispatched as sub-tasks) need the relevant routing rows PREPENDED into their task brief when the task produces files.

Frequently asked questions

What does the File Organization AI skill do?

Use WHENEVER creating, saving, or generating a new file (task output, research artifact, report, chart, log, dataset, brief, dispatch) inside a shared agent/human workspace. Decides the correct sub-folder + naming so files are organized for fast AI grep AND human browsing — never dumped loose at a directory root. Also governs how tooling must glob so the structure can deepen without breaking.

Why use File Organization on TypingMind?

Because you install it once and use it with any model. File Organization is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install File Organization in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/sherifican/Agent-FleetOps/tree/main/skills/file-organization. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use File Organization?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with File Organization?

As many as you like. As long as a model supports skills, you can use File Organization with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the File Organization AI skill free?

Yes. It is published on GitHub by sherifican under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇