Logo: File Organization

File Organization

Communautéit
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.

Iwwersiicht

Editeursherifican
RepositoryAgent-FleetOps
Skill-Nummfile-organization
Stären
34
Forks
0
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    sherifican huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill File Organization an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/sherifican/Agent-FleetOps/tree/main/skills/file-organization
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert File Organization an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet File Organization automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass File Organization net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat File Organization op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. File Organization besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech File Organization an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/sherifican/Agent-FleetOps/tree/main/skills/file-organization an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen File Organization benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat File Organization benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir File Organization domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill File Organization gratis?

Jo. sherifican huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇