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

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.

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
  1. Distinctive:

    When you outgrow the basics, these are the natural extensions:

    line 85
  2. Distinctive:

    Use them together and you have a full legal-ops workflow with no engineering involved.

    line 103

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

TabShows
Weekly viewCalendar this week, project to-dos, your priorities (saved across reloads), "Export digest" button
ChannelsSlack threads classified by Claude into 4 buckets, donut chart per month, top requester leaderboard
ProjectsProject tracker grouped by status, stale flag on rows untouched 30+ days
ComplianceIssues sorted by priority, highest-priority active one pinned
SpendSpend 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.

TypeWhat to findWhere to find it
Notion DB IDProject trackerOpen DB in Notion → copy URL → the 32-char hex before ?v=
Notion DB IDCompliance trackerSame as above
Notion DB IDSpend trackerSame as above
Notion data-source IDs (3)One per DB aboveAsk Claude to call notion-fetch on each DB; look for <data-source url="collection://...">
Slack channel IDsYour legal channels (1–4 of them)Slack → channel → settings → bottom of About tab
CalendarNoneUses 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_search mode for Notion, not workspace_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 · Nd pill. Tweak STALE_DAYS in 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:

  1. Two-way Notion sync — mark projects complete from the dashboard
  2. Response-time tracking — measure "ask to first human reply" per category
  3. Renewal radar — surface contracts renewing in 60/90 days
  4. Auto-emailed weekly digest — schedule the Export digest button
  5. 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 asks
  • legal-channel-report — deep monthly classified analysis
  • legal-weekly-report — leadership roll-up
  • legal-deadline-check — overdue + upcoming flags
  • legal-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.

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.