Official agent skill

Portfolio Status

by anthropics in anthropics/claude-for-legal

Roll up the portfolio from log.yaml — risk distribution, upcoming deadlines, stale matters, materiality totals, stage distribution, and flagged anomalies.

OfficialApache-2.0Auto-check passed

Install Portfolio Status

skills CLI
$ npx skills add anthropics/claude-for-legal --skill portfolio-status -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install anthropics/claude-for-legal portfolio-status --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .claude/skills && cp -r skills-src/litigation-legal/skills/portfolio-status .claude/skills/portfolio-status && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
portfolio-status
GitHub stars
9.6k
Used in
2 other repos
Token cost
~1.3k tokens
SKILL.md length
416 words
Files
1
Skills in repo
147
Repo updated
First seen
Licence
Apache-2.0

At a glance

Roll up the portfolio from log.yaml — risk distribution, upcoming deadlines, stale matters, materiality totals, stage distribution, and flagged anomalies.

  • Works in 5 steps: Load… → Follow the workflow and reference below. → Parse… → …
  • The user asks where do we stand
  • SKILL.md covers Purpose, Load context, Flags & filters and The rollup, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Portfolio Status is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. Roll up the portfolio from log.yaml — risk distribution, upcoming deadlines, stale matters, materiality totals, stage distribution, and flagged anomalies. Use when the user asks "where do we stand", "how many open matters", or wants a portfolio rollup or status across all active matters.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A suite of plugins for legal workflows. The licence is Apache-2.0.

When your agent uses it

  • The user asks where do we stand
  • How many open matters
  • Wants a portfolio rollup
  • Status across all active matters

Example prompts

  • “where do we stand”
  • “how many open matters”
  • “/portfolio-status”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Load ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md → risk calibration (defines how to read the risk: field).
  2. Follow the workflow and reference below.
  3. Parse ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml. Filter closed matters by default (include with --all).
  4. Produce rollup: risk distribution, deadlines in next 14/30/60 days, matters with no update in >30 days, materiality totals, stage…
  5. Flag anomalies — everything marked critical, overdue next_deadline, matters without outside counsel assigned where risk is medium or high.

What it can do on your machine

Read from SKILL.md and the folder at commit 4a6c651. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Portfolio Status loads about 1.3k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 416 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from anthropics/claude-for-legal at commit 4a6c651, republished under its Apache-2.0 licence (© anthropics). 416 words, ~1,341 tokens.

Download SKILL.mdSave it as .claude/skills/portfolio-status/SKILL.md (or your agent's skills folder).
name
portfolio-status
description
Roll up the portfolio from _log.yaml — risk distribution, upcoming deadlines, stale matters, materiality totals, stage distribution, and flagged anomalies. Use when the user asks "where do we stand", "how many open matters", or wants a portfolio rollup or status across all active matters.
argument-hint
[--all | --risk=high | --stale]

/portfolio-status

  1. Load ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md → risk calibration (defines how to read the risk: field).
  2. Follow the workflow and reference below.
  3. Parse ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml. Filter closed matters by default (include with --all).
  4. Produce rollup: risk distribution, deadlines in next 14/30/60 days, matters with no update in >30 days, materiality totals, stage distribution.
  5. Flag anomalies — everything marked critical, overdue next_deadline, matters without outside counsel assigned where risk is medium or high.

Portfolio Status

Purpose

One read that answers: what do I own right now, what needs attention, and what's slipping? Output is scannable — designed for a counsel who has three minutes before their next call.

Load context

  • ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml — source of truth
  • ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md — risk calibration (to interpret risk/materiality fields correctly)

Flags & filters

Default: active matters only (exclude status: closed).

Flags:

  • --all — include closed
  • --risk=high (or critical / medium / low) — filter by risk band
  • --stale — only matters with last_updated > 30 days
  • --type=employment — filter by matter type
  • --owner=[name] — filter by business/HR/comms owner

The rollup

markdown
[WORK-PRODUCT HEADER — per plugin config ## Outputs — differs by role; see `## Who's using this`]

# Portfolio Status — [today]

**Active matters:** [N]
**Closed (ytd):** [N] *(shown only with --all)*

---

## By risk

| Risk | Count | Matters |
|---|---|---|
| Critical | [N] | [slugs] |
| High | [N] | [slugs] |
| Medium | [N] | [count only — expand with `--risk=medium`] |
| Low | [N] | [count only] |

## Upcoming deadlines

| Within | Matters |
|---|---|
| 14 days | [slug — deadline — brief] |
| 15–30 days | [...] |
| 31–60 days | [...] |

*Overdue `next_deadline` flagged separately below.*

## Materiality

| Category | Count | Total exposure (midpoint) |
|---|---|---|
| Reserved | [N] | [$X] |
| Disclosed | [N] | [$X] |
| Monitored | [N] | — |
| None | [N] | — |

## By stage

[table: pleadings / discovery / dispositive motions / trial prep / settlement / appeal]

---

## ⚠️ Anomalies & flags

- **Overdue deadlines:** [list slugs where next_deadline has passed]
- **Stale (>30d no update):** [list]
- **Conflicts unresolved:** [list slugs with `conflicts.status in [pending, not-run]`]
- **Conflicts bypassed (override active):** [list slugs where `conflicts.override.by` is populated — permanent flag until manually cleared]
- **High/critical risk without outside counsel:** [list]
- **Reserved without last_updated in >60d:** [list] — reserve recalibration likely overdue
- **Hold not issued on active litigation:** [list]
- **Missing fields:** [slug → field]

---

## Closing advice

[One or two sentences on what to look at first, if anything stands out. Not boilerplate — only if something truly stands out.]

Anomaly rules

These are the checks that make the skill useful rather than decorative:

  1. Overdue deadline: next_deadline < today and status != closed
  2. Stale: last_updated < today - 30d and status != closed
  3. Conflicts unresolved: conflicts.status in [pending, not-run] and status != closed 3b. Conflicts override active: conflicts.override.by != null (never auto-clears)
  4. High-risk uncovered: risk in [high, critical] and outside_counsel.firm == null
  5. Stale reserve: materiality == reserved and last_updated < today - 60d
  6. Hold gap: status in [threatened, active, discovery, trial, appeal] and legal_hold.issued == false — preservation duty attaches at reasonable anticipation, so threatened matters are in scope.
  7. Missing fields: any required field null — risk, materiality, status, opened, conflicts.status
Show full SKILL.md (152 more words)Show less

Close with the next-steps decision tree

End with the next-steps decision tree per CLAUDE.md ## Outputs. Customize the options to what this skill just produced — the five default branches (draft the X, escalate, get more facts, watch and wait, something else) are a starting point, not a lock-in. The tree is the output; the lawyer picks.

If the portfolio has more than ~10 matters, or any time the user asks: offer the dashboard (see CLAUDE.md ## Outputs → Dashboard offer for data-heavy outputs). Shape the offer for this output — counts by risk tier, a timeline of upcoming deadlines, and a sortable matter ledger with status, conflicts check, and last-touched date.

What this skill does not do

  • Make decisions. It surfaces what needs attention; the user decides priority.
  • Pretend precision it doesn't have. Exposure midpoints are rough and should be labeled so.
  • Replace a real MMS. This is a working-memory rollup, not a system of record.

© anthropics, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in litigation-legal/skills/portfolio-status of anthropics/claude-for-legal.

Open the folder on GitHubat commit 4a6c651

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in anthropics/claude-for-legal, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Portfolio Status next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Portfolio Status compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Portfolio Status this skillanthropics/claude-for-legal9.6k2 repos~1.3kAutomated safety check: PassApache-2.0
Portfolio Risk Metricswshobson/agents40k12 repos~502Automated safety check: PassMIT
Trader Portfolioruvnet/ruflo74k—~475Automated safety check: NotesMIT
Trader Riskruvnet/ruflo74k—~358Automated safety check: NotesMIT
Growth Logaffaan-m/ECC277k1 repos~1.7kAutomated safety check: PassMIT
Distributed Triagepytorch/pytorch104k—~2.8kAutomated safety check: PassCustom licence

Similar skills

  • Portfolio Risk Metrics

    wshobson/agents

    Covers portfolio risk measurement with VaR, CVaR, Sharpe, Sortino and drawdown, plus guidance on limits, stress tests and tail risk.

    40k GitHub starsUsed in 12 repos~502 tokens
    Business, Finance & HRAuto-check passed
  • Trader Portfolio

    ruvnet/ruflo

    Optimize portfolio allocation using npx neural-trader mean-variance engine with risk constraints and rebalancing plan

    74k GitHub stars~475 tokensUpdated yesterday
    Auto-check: notes
  • Trader Risk

    ruvnet/ruflo

    Assess portfolio risk using npx neural-trader — VaR, CVaR, Sharpe, position sizing, circuit breaker status

    74k GitHub stars~358 tokensUpdated yesterday
    Auto-check: notes
  • Growth Log

    affaan-m/ECC

    Write growth log entries that extract reusable patterns from completed work — root cause, transferable rule, and a recognizable signal — instead of diary-style event narration, with a 4-8 sentence…

    277k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Distributed Triage

    pytorch/pytorch

    Sub-triages issues in the oncall:distributed queue by assigning distributed module labels, routing to sub-oncalls, and marking triaged.

    104k GitHub stars~2.8k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Clickhouse Logs Queries

    supabase/supabase

    Official

    Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).

    111k GitHub stars~2.4k tokensUpdated yesterday
    DatabasesAuto-check passed

More from anthropics/claude-for-legal

All 147 skills in this repo
  • Legal Clinic Client Intake

    anthropics/claude-for-legal

    Official

    Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.

    9.6k GitHub starsUsed in 3 repos~3.2k tokens
    Auto-check passed
  • Supervisor Review Queue

    anthropics/claude-for-legal

    Official

    Holds student work in a queue for a legal clinic professor to approve, edit-then-approve or return before anything reaches clients or courts.

    9.6k GitHub starsUsed in 3 repos~1.1k tokens
    Auto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Auto-check passed
  • Product Launch Legal Review

    anthropics/claude-for-legal

    Official

    Runs a category-by-category legal review of a product launch from a PRD or tracker ticket, calibrated to your team's framework, and writes a review memo in house format.

    9.6k GitHub starsUsed in 2 repos~5k tokens
    Auto-check passed
  • Legal Skills Registry Browser

    anthropics/claude-for-legal

    Official

    Searches watched registries for community legal skills, shows matches with descriptions and offers the full SKILL.md before anything is installed.

    9.6k GitHub starsUsed in 2 repos~620 tokens
    Auto-check passed
  • Contract Renewal Tracker

    anthropics/claude-for-legal

    Official

    Shows which contracts renew soon and when notice must be sent by, working from a maintained renewal register, and warns about missed cancellation windows.

    9.6k GitHub starsUsed in 2 repos~3.1k tokens
    Auto-check passed

Questions about Portfolio Status

What does Portfolio Status do?

Roll up the portfolio from log.yaml — risk distribution, upcoming deadlines, stale matters, materiality totals, stage distribution, and flagged anomalies. Portfolio Status is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization.yaml — risk distribution, upcoming deadlines, stale matters, materiality totals, stage distribution, and flagged anomalies.

When should I use Portfolio Status?

Portfolio Status fits situations like: the user asks where do we stand; how many open matters; wants a portfolio rollup; status across all active matters.

How do I install Portfolio Status in Claude Code?

Run `npx skills add anthropics/claude-for-legal --skill portfolio-status -a claude-code`. Or copy the skill folder (litigation-legal/skills/portfolio-status in anthropics/claude-for-legal) into .claude/skills/portfolio-status in your project. Claude Code loads it when a task matches its description.

How do I install Portfolio Status in Codex?

Run `npx skills add anthropics/claude-for-legal --skill portfolio-status -a codex`. Or copy the skill folder (litigation-legal/skills/portfolio-status in anthropics/claude-for-legal) into .agents/skills/portfolio-status in your project. Codex loads it when a task matches its description.

Can I use Portfolio Status in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anthropics/claude-for-legal --skill portfolio-status -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/portfolio-status, .gemini/skills/portfolio-status, .github/skills/portfolio-status and .opencode/skills/portfolio-status in your project.

What does Portfolio Status need to run?

SKILL.md names no scripts, command-line tools or credentials: Portfolio Status is instructions for the agent only.

Does Portfolio Status access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Portfolio Status safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Portfolio Status use?

Portfolio Status is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Portfolio Status use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Portfolio Status?

Skills that share tags, products or a category with Portfolio Status: Portfolio Risk Metrics (wshobson/agents, 40k stars), Trader Portfolio (ruvnet/ruflo, 74k stars), Trader Risk (ruvnet/ruflo, 74k stars) and Growth Log (affaan-m/ECC, 277k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Portfolio Status?

anthropics (a GitHub organization, an official publisher) maintains it in anthropics/claude-for-legal, which has 9,633 GitHub stars. The repository holds 147 skills in this directory. The repository was last updated on September 29, 2026.

Source: anthropics/claude-for-legal on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.