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

setup-legal-command-center

Skill1 starsChanged 6 months agoMITView on GitHub

One-time guided setup for the Legal Command Center plugin. Walks the user through finding their Notion database URLs, Slack channels, and brand preferences, then writes the dashboard configuration automatically. Trigger with "set up the legal command center", "configure legal command center", "install legal command center", or on first run when the dashboard reports missing config.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After connecting a new Notion workspace or Slack workspace

    line 13
  2. Distinctive:

    When the dashboard reports "config missing" or shows zero data across the board

    line 14
  3. Very specific:

    Run the interview below in a conversational tone.

    line 18
  4. Distinctive:

    Check that the user has connected the required MCPs in Cowork → Settings → Connectors:

    line 22
  5. Distinctive:

    If any are missing, point them at Settings → Connectors and pause until they confirm.

    line 29
  6. Distinctive:

    Ask: "Paste the URL for your [project tracker] in Notion."

    line 35
  7. Very specific:

    Call notion-fetch with that ID and look for <data-source url="collection://..."> in the response.

    line 37
  8. Very specific:

    Ask: "What's the title column called in this database?" (default: Project for tracker, Issue for compliance, Item for spend).

    line 39
  9. Very specific:

    If the user doesn't have a database yet, offer to create one with notion-create-database using a sensible default schema (see "Default …

    line 41
  10. Very specific:

    Ask: "Which Slack channels do legal questions come through?

    line 45
  11. Distinctive:

    Ask: "Do you have brand colours you want the dashboard to use?

    line 52
  12. Distinctive:

    If the user's spend tracker has multiple currencies, ask: "What FX rates should we use to convert to USD?

    line 56
  13. Distinctive:

    If the user needs you to create a Notion database, use these schemas.

    line 68
  14. Distinctive:

    If the user wants to re-run setup later (e.g.

    line 103
  15. Distinctive:

    Keep the tone friendly. Lawyers are intelligent but rarely technical — explain each step in plain English, never use jargon like "UUID" or …

    line 104

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

Setup — Legal Command Center

A friendly, conversational setup flow. Lawyers should never need to touch HTML, JSON, or paths.

When to run

  • First time installing the plugin
  • After connecting a new Notion workspace or Slack workspace
  • When the dashboard reports "config missing" or shows zero data across the board

Procedure

Run the interview below in a conversational tone. Confirm each step before moving on. At the end, write skills/legal-dashboard/references/dashboard.html with all values filled in — do not leave placeholders.

Step 1 — Confirm connectors

Check that the user has connected the required MCPs in Cowork → Settings → Connectors:

  • Notion (required)
  • Slack (required)
  • Google Calendar (required)
  • Gmail (optional, only for legal-triage)

If any are missing, point them at Settings → Connectors and pause until they confirm.

Step 2 — Notion databases

For each of the three databases (Project Tracker, Compliance Issues Tracker, Legal Spend Tracker):

  1. Ask: "Paste the URL for your [project tracker] in Notion."
  2. Extract the database ID — the 32-char hex before ?v= in the URL.
  3. Call notion-fetch with that ID and look for <data-source url="collection://..."> in the response. Extract the data-source UUID.
  4. Confirm: "Found it: ⚖️ [DB title]. ✓"
  5. Ask: "What's the title column called in this database?" (default: Project for tracker, Issue for compliance, Item for spend). Save as title_prop.

If the user doesn't have a database yet, offer to create one with notion-create-database using a sensible default schema (see "Default schemas" below).

Step 3 — Slack channels

  1. Ask: "Which Slack channels do legal questions come through? Paste their names (e.g. #legal, #contracts) or links."
  2. For each, call slack_search_channels to resolve the channel ID.
  3. Confirm: "Adding #legal (C0XXXXX), #contracts (C0YYYYY). ✓"
  4. Designate one as the "primary" channel for classification.

Step 4 — Brand colours (optional)

Ask: "Do you have brand colours you want the dashboard to use? Paste up to three hex codes (primary, secondary, accent), or type 'default' for the indigo/coral palette."

Step 5 — FX rates (optional)

If the user's spend tracker has multiple currencies, ask: "What FX rates should we use to convert to USD? Defaults: GBP 1.27, EUR 1.08, DKK 0.144."

Step 6 — Write the config

Open skills/legal-dashboard/references/dashboard.html. Find the CONFIG = { ... } block at the top. Replace each placeholder with the values gathered above. Save.

Step 7 — Confirm + hand off

Say: "Setup complete. Type open legal dashboard to launch it, or run legal triage to scan for new asks."

Default schemas

If the user needs you to create a Notion database, use these schemas.

Legal Project Tracker

  • Project (title)
  • Status (select): Not started · In progress · Awaiting more information · Completed
  • Priority (select): High · Medium · Low
  • Category (select): Contracts · Compliance · Data & Privacy · Worker Classification · Tooling & Automation · Policy · Other
  • Owner (person)
  • Due date (date)
  • Notes (text)

Compliance Issues Tracker

  • Issue (title)
  • Status (select): Not started · In progress · Awaiting more information · Monitoring · Completed
  • Priority (select): High · Medium · Low
  • Category (select): Worker Classification · Data & Privacy · Annual Compliance · GDPR / Privacy / Data · Disputes · Other
  • Owner (person)
  • Notes (text)

Legal Spend Tracker

  • Item (title)
  • Type (select): Outside Counsel · Vendor · Litigation · Compliance Tool · Other
  • Status (select): Active · Invoiced · Paid · Disputed · Cancelled
  • Vendor / Firm (text)
  • Amount (number)
  • Currency (select): USD · GBP · EUR · DKK
  • Budget (number)
  • Invoice date (date)
  • Paid date (date)
  • Matter (text)
  • Notes (text)

Notes

  • This skill writes only to one file: skills/legal-dashboard/references/dashboard.html. It does not change anything in Notion or Slack.
  • If the user wants to re-run setup later (e.g. they added a new Slack channel), they can just say "re-configure legal command center" and the skill will detect the existing config and offer to amend it.
  • Keep the tone friendly. Lawyers are intelligent but rarely technical — explain each step in plain English, never use jargon like "UUID" or "data source" without translation.

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.