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.
In this repository6 other files it gives its agents.
- legal-add-matterSkill
- legal-channel-reportSkill
- legal-dashboardSkill
- legal-deadline-checkSkill
- legal-triageSkill
- legal-weekly-reportSkill
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
- Distinctive: line 13
After connecting a new Notion workspace or Slack workspace
- Distinctive: line 14
When the dashboard reports "config missing" or shows zero data across the board
- Very specific: line 18
Run the interview below in a conversational tone.
- Distinctive: line 22
Check that the user has connected the required MCPs in Cowork → Settings → Connectors:
- Distinctive: line 29
If any are missing, point them at Settings → Connectors and pause until they confirm.
- Distinctive: line 35
Ask: "Paste the URL for your [project tracker] in Notion."
- Very specific: line 37
Call notion-fetch with that ID and look for <data-source url="collection://..."> in the response.
- Very specific: line 39
Ask: "What's the title column called in this database?" (default: Project for tracker, Issue for compliance, Item for spend).
- Very specific: line 41
If the user doesn't have a database yet, offer to create one with notion-create-database using a sensible default schema (see "Default …
- Very specific: line 45
Ask: "Which Slack channels do legal questions come through?
- Distinctive: line 52
Ask: "Do you have brand colours you want the dashboard to use?
- Distinctive: line 56
If the user's spend tracker has multiple currencies, ask: "What FX rates should we use to convert to USD?
- Distinctive: line 68
If the user needs you to create a Notion database, use these schemas.
- Distinctive: line 103
If the user wants to re-run setup later (e.g.
- Distinctive: line 104
Keep the tone friendly. Lawyers are intelligent but rarely technical — explain each step in plain English, never use jargon like "UUID" or …
≈ “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.
Files
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):
- Ask: "Paste the URL for your [project tracker] in Notion."
- Extract the database ID — the 32-char hex before
?v=in the URL. - Call
notion-fetchwith that ID and look for<data-source url="collection://...">in the response. Extract the data-source UUID. - Confirm: "Found it: ⚖️ [DB title]. ✓"
- Ask: "What's the title column called in this database?" (default:
Projectfor tracker,Issuefor compliance,Itemfor spend). Save astitle_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
- Ask: "Which Slack channels do legal questions come through? Paste their names (e.g.
#legal, #contracts) or links." - For each, call
slack_search_channelsto resolve the channel ID. - Confirm: "Adding #legal (C0XXXXX), #contracts (C0YYYYY). ✓"
- 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 · CompletedPriority(select): High · Medium · LowCategory(select): Contracts · Compliance · Data & Privacy · Worker Classification · Tooling & Automation · Policy · OtherOwner(person)Due date(date)Notes(text)
Compliance Issues Tracker
Issue(title)Status(select): Not started · In progress · Awaiting more information · Monitoring · CompletedPriority(select): High · Medium · LowCategory(select): Worker Classification · Data & Privacy · Annual Compliance · GDPR / Privacy / Data · Disputes · OtherOwner(person)Notes(text)
Legal Spend Tracker
Item(title)Type(select): Outside Counsel · Vendor · Litigation · Compliance Tool · OtherStatus(select): Active · Invoiced · Paid · Disputed · CancelledVendor / Firm(text)Amount(number)Currency(select): USD · GBP · EUR · DKKBudget(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.
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
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.

