legal-dashboard
Skill1 starsChanged 6 months agoMITView on GitHub
Launches a live HTML dashboard for a legal team. Five tabs (Weekly view, Channels, Projects, Compliance, Spend) pulling fresh data from Notion, Slack, and Google Calendar. Trigger with "open legal dashboard", "show legal dashboard", "legal command center", "weekly view", or the slash command.
In this repository6 other files it gives its agents.
- legal-add-matterSkill
- legal-channel-reportSkill
- legal-deadline-checkSkill
- legal-triageSkill
- legal-weekly-reportSkill
- setup-legal-command-centerSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 85
When you outgrow the basics, these are the natural extensions:
- Distinctive: line 103
Use them together and you have a full legal-ops workflow with no engineering involved.
≈ “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
Legal dashboard
A ready-to-fork starting point for any legal team running on Notion + Slack + Google Calendar.
What you get
One single-page dashboard with five tabs:
| Tab | Shows |
| Weekly view | Calendar this week, project to-dos, your priorities (saved across reloads), "Export digest" button |
| Channels | Slack threads classified by Claude into 4 buckets, donut chart per month, top requester leaderboard |
| Projects | Project tracker grouped by status, stale flag on rows untouched 30+ days |
| Compliance | Issues sorted by priority, highest-priority active one pinned |
| Spend | Spend by type with multi-currency totals in USD, stale flag |
Plus a Debug tab that shows every connector call — useful when something looks wrong.
How to set it up
Step 1: Get your IDs ready. You'll need six identifiers from your own systems.
| Type | What to find | Where to find it |
| Notion DB ID | Project tracker | Open DB in Notion → copy URL → the 32-char hex before ?v= |
| Notion DB ID | Compliance tracker | Same as above |
| Notion DB ID | Spend tracker | Same as above |
| Notion data-source IDs (3) | One per DB above | Ask Claude to call notion-fetch on each DB; look for <data-source url="collection://..."> |
| Slack channel IDs | Your legal channels (1–4 of them) | Slack → channel → settings → bottom of About tab |
| Calendar | None | Uses primary calendar by default |
Step 2: Replace the placeholders in references/dashboard.html. Find the CONFIG block near the top of the file and swap in your IDs:
const CONFIG = {
matters: {
db_id: 'YOUR_PROJECT_TRACKER_DB_ID',
ds: 'collection://YOUR_PROJECT_DATA_SOURCE_UUID',
title_prop: 'Project', // your title column name
queries: ['contract', 'review', 'compliance'], // one per Notion Category
},
compliance: {
db_id: 'YOUR_COMPLIANCE_DB_ID',
ds: 'collection://YOUR_COMPLIANCE_DATA_SOURCE_UUID',
title_prop: 'Issue',
queries: ['compliance', 'classification', 'privacy'],
},
spend: {
db_id: 'YOUR_SPEND_DB_ID',
ds: 'collection://YOUR_SPEND_DATA_SOURCE_UUID',
title_prop: 'Item',
queries: ['vendor', 'counsel', 'subscription'],
},
channels: [
{ id: 'YOUR_SLACK_CHANNEL_ID', name: '#legal' },
// …add more channels if you have them
],
fx: { USD: 1.0, GBP: 1.27, EUR: 1.08, DKK: 0.144 }, // tune to current rates
};Step 3: Tell Claude to ship it. In Cowork, just say:
"Open the legal dashboard."
Behind the scenes Claude reads references/dashboard.html, calls mcp__cowork__create_artifact with your installed connector tool names, and the dashboard appears in your sidebar.
Step 4: Use it. Reload to refresh data. Click Edit in the Week priorities panel to set your focus. Click Export digest ↓ to download a Markdown summary for leadership.
Tips and gotchas
- Use
ai_searchmode for Notion, notworkspace_search. The latter returns almost nothing for most databases — we tested. - One query per Notion Category. The dashboard runs one search per category word, then dedupes. Add more queries if your DB grows past ~40 items.
- Bridge throttles fast. The dashboard retries automatically with exponential backoff. If you see "Cowork bridge not available", close and reopen the artifact rather than refreshing.
- Stale flag is 30 days. Anything untouched longer gets a yellow
Stale · Ndpill. TweakSTALE_DAYSin the HTML to change. - No writes. This dashboard only reads. Edits to status, priority, etc. happen in Notion (we link to each row).
Things to add next
When you outgrow the basics, these are the natural extensions:
- Two-way Notion sync — mark projects complete from the dashboard
- Response-time tracking — measure "ask to first human reply" per category
- Renewal radar — surface contracts renewing in 60/90 days
- Auto-emailed weekly digest — schedule the Export digest button
- Per-month classification chart — already in for #legal, mirror to other channels
Companion skills
This dashboard is the front door to a small plugin. The other skills in the plugin:
legal-triage— scans channels and email for new askslegal-channel-report— deep monthly classified analysislegal-weekly-report— leadership roll-uplegal-deadline-check— overdue + upcoming flagslegal-add-matter— one-step add to the tracker
Use them together and you have a full legal-ops workflow with no engineering involved.
Sharing
Drop this file into ~/.claude/plugins/<your-plugin-name>/skills/legal-dashboard/SKILL.md. Add references/dashboard.html next to it with your placeholders filled in. Share the folder with any legal team — nothing in this skill is proprietary.
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.

