portfolio-status
它能做什么
这项技能把所有在办的法律案件汇总为一份报告。适合需要快速了解整个案件组合的企业内部法律顾问。
适用场景
- ✓当有人询问你有多少未结案件以及目前的状况时。
- ✓当你想查看各案件中即将到来的期限时。
- ✓当你想找出最近没有更新的案件时。
技能链接
https://github.com/anthropics/claude-for-legal/blob/main/litigation-legal/skills/portfolio-status/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们的诉讼案件组合目前情况如何?请显示即将到来的期限和任何过时的案件。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能会读取你的案件日志,并生成汇总报告,包括风险等级、未来 14、30 和 60 天内的期限、过时的案件、重大性总计以及各阶段的数量。它会标记异常情况,例如逾期期限,或没有外部律师的高风险案件。除非你要求,否则已结案的案件不会计入。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
/portfolio-status
- Load
~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md→ risk calibration (defines how to read therisk:field). - Follow the workflow and reference below.
- Parse
~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml. Filter closed matters by default (include with--all). - Produce rollup: risk distribution, deadlines in next 14/30/60 days, matters with no update in >30 days, materiality totals, stage distribution.
- 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(orcritical/medium/low) — filter by risk band--stale— only matters withlast_updated> 30 days--type=employment— filter by matter type--owner=[name]— filter by business/HR/comms owner
The rollup
[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:
- Overdue deadline:
next_deadline < todayandstatus != closed - Stale:
last_updated < today - 30dandstatus != closed - Conflicts unresolved:
conflicts.status in [pending, not-run]andstatus != closed3b. Conflicts override active:conflicts.override.by != null(never auto-clears) - High-risk uncovered:
risk in [high, critical]andoutside_counsel.firm == null - Stale reserve:
materiality == reservedandlast_updated < today - 60d - Hold gap:
status in [threatened, active, discovery, trial, appeal]andlegal_hold.issued == false— preservation duty attaches at reasonable anticipation, sothreatenedmatters are in scope. - Missing fields: any required field null —
risk,materiality,status,opened,conflicts.status
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
常见问题
我可以筛选报告吗?
可以。你可以按风险等级、过时案件或案件类型进行筛选,如果需要,也可以包括已结案的案件。
什么算是过时的案件?
最后一次更新距今超过 30 天的案件。
这份报告是给谁看的?
它是一份便于快速浏览的报告,忙碌的法律顾问几分钟就能读完。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 9.9k
- 排名
- #12161
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/29
评论
- …
同一仓库的更多技能
ai-inventory
9.9k帮你的智能体按系统维护一份符合欧盟 AI 法案的 AI 工具清单,记录每个系统的角色、风险等级和分类依据。
aia-generation
9.9k帮你的智能体为某个应用场景撰写 AI 影响评估,涵盖风险、监管分类、政策契合度和建议的附加条件。
cold-start-interview
9.9k帮你的智能体通过设置访谈并根据你的政策文件建立实践档案,从而了解你的 AI 治理实践如何运作。
customize
9.9k帮你的智能体修改 AI 治理实践档案中的某一部分,例如风险态度、联系人或政策立场,无需完整重新设置。