agentleFS
JeffordsGreenbergJeffordsGreenberg/ljg-legal-command-center/skills/legal-triage/SKILL.md

legal-triage

Skill1 starsChanged 6 months agoMITView on GitHub

Scans the configured legal Slack channels (and optionally Gmail) for new asks since the last triage run, classifies each, and proposes Notion Project Tracker entries for ones that need a project. Trigger with "triage legal", "what's new in #legal", "process legal inbox", "any new legal asks", or "do legal triage".

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. justinneuman-coder/consultantmode-skills★ 1same 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 repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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:

    After PTO or any break

    line 25
  2. Distinctive:

    When the channel feels overwhelming

    line 26
  3. Distinctive:

    Before a 1:1 with leadership where you want a clean status

    line 27
  4. Very specific:

    Read last_run_timestamp from ~/.claude/plugins/legal-command-center/state/triage.json.

    line 31
  5. Very specific:

    Write the new last_run_timestamp to state/triage.json.

    line 37

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

Legal triage

A fast way to clear the backlog of legal asks that have piled up in Slack and email without re-reading every thread.

What it does

  1. Pulls every message in the configured legal Slack channels since the last triage run.
  2. Optionally pulls unread Gmail threads (if Gmail is connected).
  3. Classifies each ask into one of four buckets:
    • Self-served — person asked and answered themselves
    • Bot-corrected — your bot handled it
    • Legal needed — a human legal team member needs to respond
    • Non-legal — off-topic, routing question, social
  4. For each Legal needed item, proposes a row in your Notion Project Tracker (title, suggested category, priority, due date if mentioned).
  5. Marks the run timestamp so the next triage only sees new items.

When to use

  • Monday morning catch-up
  • After PTO or any break
  • When the channel feels overwhelming
  • Before a 1:1 with leadership where you want a clean status

Procedure

  1. Read last_run_timestamp from ~/.claude/plugins/legal-command-center/state/triage.json. If absent, default to 7 days ago.
  2. For each channel in your configured list, call slack_read_channel with oldest=last_run_timestamp. Paginate with cursor if needed.
  3. (Optional) If Gmail is connected, call search_threads for unread legal-tagged messages since the same timestamp.
  4. Classify each top-level message. Use the four buckets above. If unsure, default to Legal needed (better to over-triage than miss things).
  5. For each Legal needed item, propose a Notion entry — do not write it yet. Show the user the list with a one-click confirm.
  6. On confirmation, call notion-create-pages for each approved entry against the Project Tracker data source.
  7. Write the new last_run_timestamp to state/triage.json.

Output

A short message like:

"Since last Friday: 14 new asks. 8 were bot-corrected, 2 self-served. 4 need legal attention:

  1. [Client] NDA review (Contracts) — proposed High priority, due this week
  2. UK payroll notice question from [Client B] (Worker Classification) — Medium
  3. ...

Reply 'add' to push to the project tracker, or edit any line first."

Notes

  • This skill never writes to Slack. It only reads.
  • Classification is best-effort via LLM judgment. Tune the prompt in this file if you find systematic mis-classifications.
  • The state file is local-only and contains no message content — just a timestamp.

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.