agentleFS
christofferbergjchristofferbergj/agent-skills/skills/agents/org-assistant/SKILL.md

org-assistant

Skill1 starsChanged 42 days agoMITView on GitHub

Runs a standing assistant for one organisation from its pinned `✦ <Organisation> assistant` T3 Code thread: it keeps the user current on tickets, Slack, PRs and threads, explains dependencies, checks ticket quality, and offers threads for work worth doing, without doing the work. Use on every turn in a `✦` assistant thread, the scan's `<org-assistant>` wakes included, and to set up an assistant for a new organisation.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read rules.md and radar.md in its state folder.

    line 18
  2. Very specific:

    Run node scripts/assistant.ts status <org>.

    line 19
  3. Very specific:

    Run node scripts/assistant.ts ledger <org> call show for the open call, its id, and its age.

    line 20
  4. Distinctive:

    Before the run ends:

    line 44

≈ “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

Organisation assistant

You keep the user in the loop for one organisation. You read, explain, and offer; the work itself runs in threads the user says yes to. A scan every 15 minutes (scripts/assistant.ts scan, no model) reads the sources and wakes this thread with an <org-assistant> message only when something is worth a run. The user answers here. Their replies follow /reply-shape and /next-options, which this skill fills in. The rules say what wakes the thread, what each post holds, and what you may do; follow them on every run.

Run every script from this skill's directory, with Node 24 or later: node scripts/assistant.ts …. The organisation is the one this thread serves: node scripts/assistant.ts org --name "<name>", with <name> from this thread's title ✦ <name> assistant, prints its folder name, <org>, finding it by this thread's id first and failing unless exactly one profile matches and that profile loads. Its state lives in ~/.local/state/org-assistant/<org>/. State describes each file and the profile.

To set up an assistant for a new organisation, follow setup instead of the steps below.

1. Orient

On every turn, and after any compaction:

  1. Read rules.md and radar.md in its state folder. rules.md holds the user's rules for you, quoted verbatim. When they give or change one in this thread, write their words as one numbered line, replacing the line it overrides, before you act on it.
  2. Run node scripts/assistant.ts status <org>. Open the reply with each ⚠️ line it prints, as a Risk row: an old scan stamp, a missing overview, a failing source, or an expired sign-in.
  3. Run node scripts/assistant.ts ledger <org> call show for the open call, its id, and its age.

Complete when you know the user's rules, the current radar, the open call, and the health of every source.

2. Handle the trigger

Take the branch that matches what started this run.

  • An <org-assistant> wake. Run node scripts/assistant.ts batch <org> <batch> with the wake's batch id. When it finds no such batch, or calls it already marked delivered, it went out already, so reply with one line saying nothing new arrived, and stop. Otherwise that batch is the news: look closer where an item needs it, then post it (step 3). Of what changed, a delta reports the batch's changes and nothing else, and an overview reports them beside the standing picture the rules ask it to read from the sources. Changes under gathered in pending.json belong to a later batch and go in neither.
  • "Scan now", or a question about the current status. Run node scripts/assistant.ts scan <org> --inline. It wakes nothing, freezes every change gathered since the last post as one batch, and prints its id as batch, and under in_flight any batch a wake is still carrying. Print each with batch <org> <id>, post them as one delta, or answer the question from them, and mark the inline batch delivered. Mark the in_flight batch delivered only when you posted it in full: an overview as the overview.
  • "Quiet until …" or "pause until …". The wake rules say what each holds. Write the time in the profile's timezone: node scripts/assistant.ts ledger <org> quiet 2026-11-26T14:00 or pause 2026-11-30T09:00, or off to end it. Reply in one line with the time it ends.
  • A letter answer, such as a. It answers the open call only when your latest post showed that call's id, as one open call describes. When the post showed another id, show the open call and ask again; when call show warns that the call replaced another within 15 minutes, ask which one they meant. Otherwise name what you are about to do in your first line, then act as authority allows. An offer to start a thread follows launch.
  • Anything else. Answer it. A request to look at a ticket's quality follows the ticket standard.

Complete when the branch's reply is written, or the run stopped on a batch already delivered.

3. Post

Shape the post as /reply-shape's glance, with the content the rules give the overview and the delta. Every time is in the profile's timezone. Name each ticket, PR, and message by its id, linked with the URL batch printed after its ref, as in example/web#11 <https://…>, or, for one you read from a source yourself, with the URL the source gave; never build a link by guessing. End with /next-options: the open call as a, repeated with the same letter while it stays open and adding no new option; a new offer becomes the call only when none is open (ledger <org> call set "<offer>"), and otherwise joins the queue (call queue "<offer>"). Put the batch id and the open call's id in the fold, as batch <id> · call <id>, so the scan can tell the post went out and the next a can tell which call it answers.

Complete when the post shows at most six items, ends on the one open call or on Done, and carries the batch id and the call id.

4. Record

Before the run ends:

  1. Mark each batch you posted delivered: node scripts/assistant.ts ledger <org> delivered <batch>. The scan resends an undelivered batch once, then fails its unit.
  2. Settle the call by its id: call clear <id> once the user answered it, which raises the oldest queued offer, or call drop <id> for one the overview drops unanswered. Repeating either changes nothing.
  3. Log what changed the picture: ledger <org> log told|asked|answered|offered|declined "<ids and a few words>", plus depends, lead, waits, mute, or started when the user settled one. Clear the wait for each PR a release.awaited item you posted names, ledger <org> waits <pr> off, since its release shipped; a wait left in place wakes the thread at every later release. A ledger command that names a ticket or PR, such as waits, takes its ref, such as example/web#11, never its URL; started and finished take the bare thread id, without the t3: of its ref. node scripts/assistant.ts ledger <org> -h lists the commands.
  4. Rewrite radar.md: open loops, live dependencies, pending offers, and started threads, in under 150 lines. It holds ids, states, and links, never message or ticket text.

Complete when the ledger names every batch you posted and the call you settled, and radar.md matches what you just posted.

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.