agentleFS
thales8461thales8461/mapa-skills/skills/fila/SKILL.md

fila

Skill1 starsChanged 22 days agoMITView on GitHub

Use when the user sends /fila before pasting the prompt of a task from the project map (mapa HTML), so the session waits until every task it depends on is marked done before running it.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. rafacardias/curriculos-ai★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run nothing from the prompt (worktree, file reads, code) before step 3 releases it.

    line 16
  2. Very specific:

    Write: add fila: '<dd/mm hh:mm>' right after the task's feita: false,.

    line 28
  3. Very specific:

    Remove: delete only the fila: '...', of the task.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/fila: wait for the map dependencies, then run the task

The user opens one session per task, picks model and effort, sends /fila and pastes the prompt of a map task. Many sessions can wait at the same time. Each one starts only when every task in its depende list is feita: true in the map.

Reply in the user's language. Helper: node <mapa skill folder>/scripts/mapa.mjs (below: mapa.mjs). The mapa skill folder is the sibling of this one (../mapa). It finds the map through .claude/mapa.json or MAPA_FILE (see the mapa skill).

Step 1: receive the prompt

  • /fila with no text: reply only "Queue on. Paste the task prompt." (in the user's language) and wait. The next message is the prompt.
  • /fila <prompt>: go to step 2 with that text.

Run nothing from the prompt (worktree, file reads, code) before step 3 releases it.

Step 2: identify the task

  1. Save the pasted prompt, unchanged, to fila-prompt.txt in the session scratchpad (or a temp folder).
  2. Run mapa.mjs identify "<file>".
  3. Read the output:
    • NOT IDENTIFIED or AMBIGUOUS: ask the user which task it is, with the quoted ids as options. Do not guess.
    • WARNING: ... already marked as done: ask whether to run it anyway.
    • PROMPT: with an ia other than claude: say the prompt was written for another AI and ask whether to go on.

Queue mark in the map

While waiting, the task carries fila: 'dd/mm hh:mm' (when it entered the queue). The map shows "Queued · waits for ...".

  • Write: add fila: '<dd/mm hh:mm>' right after the task's feita: false,. Replace an old value if there is one.
  • Remove: delete only the fila: '...', of the task.
  • Both: re-read the lines right before the edit and touch only this field. Do not change atualizado.

Step 3: release or wait

  • READY: say "Task X released (dependencies done)." and run the prompt. Remove a leftover fila first.
  • WAIT: <ids>: write the fila mark, say "Task X queued, waiting for <ids>. I check the map every 15 min." and start in the background (run_in_background: true), with the ids:

    until node <mapa skill folder>/scripts/mapa.mjs check <ids>; do s=$?; [ $s -eq 2 ] && exit 2; sleep 900; done

    End the turn with one short line. Do nothing else while waiting; the notification arrives when the loop ends, at no token cost.

Step 4: when the loop ends

  • Exit 0: run check once more to confirm. Confirmed: remove fila, say "Dependencies done. Starting task X." and run the saved prompt from the start. If the project uses worktrees, create it now from an updated origin/main (git fetch first) so it includes the merged dependency.
  • Exit 2 (map error): show the ERROR: line and ask the user. Do not run the task. Remove fila if the map still opens.
  • A user message during the wait: answer it and keep the loop running, unless the user asks to stop (TaskStop). When stopping, remove fila.

When the task ends

The prompt usually says to mark the task feita: true after the merge. That mark is what releases the other queued sessions. Re-read before the edit, touch only feita (remove trabalhando, pr, fila) and atualizado. Mark only after the merge.

Limits

  • Works only while the session stays open (editor open, computer on, not sleeping). A dead session leaves fila behind; the date in the badge shows it is old, and the next /fila of the same task overwrites it.
  • A dependency no longer in the map counts as done.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.