SuperAPI AI Directory

oc-status

General & other

View repository

Updated 10-15 20:29

About this skill

/oc-status

For weekly runs, set a recurring reminder to invoke /litigation-legal:oc-status。

  1. Load ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/matters/_log.yaml, filter by default rules (or flags).
  2. Load ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md → outside counsel communication style, signatory defaults, budget posture.
  3. Proceed with the following workflow.
  4. For each matter in scope: read matter.md + history.md, draft the per-matter email.
  5. Write markdown to ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/oc-status/[YYYY-MM-DD]/[slug].md。
  6. Write ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/oc-status/[YYYY-MM-DD]/_summary.md — what ran, what was skipped and why.

Outside Counsel Status

Purpose

Writing the same status request email to outside counsel for 5-15 matters each week is a mechanical cognitive burden. The content varies per matter (status, pending decisions, budget check). The audience is consistent (outside lead counsel). The tone is consistent (per firm outside counsel communication style). The skill drafts all emails; the lawyer reviews and sends.

Load Context

  • ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/matters/_log.yaml — filter and field source
  • ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/matters/[slug]/matter.md — matter context (current posture, open questions)
  • ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/matters/[slug]/history.md — recent events that inform what to ask
  • ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md → outside counsel communication style, signatory name/email, budget posture

Filter — Which Matters?

Default filter:

  • status != closed
  • outside_counsel.firm != null AND outside_counsel.lead != null
  • Meets one of: last update more than 10 days ago (may have new developments) or next_deadline within 21 days

Skip matters updated within the last 10 days (no need to nudge again) and matters where outside_counsel.email is empty (cannot send email; still generate markdown).

Flags:

  • --all → draft for all active matters, regardless of last update time
  • --slug=[代号] → draft for only one matter (ad hoc request)
  • --no-gmail → do not create email drafts

Per-Matter Email Draft

Each email uses the same skeleton; content varies per matter.

Subject: per firm convention (from ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md outside counsel communication style; fallback format:[案:[案件名称]] —— 案件进展询问)

Body skeleton:

[主办律师姓氏]律师,您好:

[一句话开场——自然,匹配事务所语调。]

关于[案件名称],向您确认以下事项:

1. **自[history.md 最后更新日期]以来的进展** —— 有哪些推进?待定事项是什么?近期是否有起诉/答辩、开庭、往来函件或通话?

2. **即将到来的节点** —— 日志中显示 [next_deadline + matter.md 中的任何日期节点]。请确认应对方案及我们是否需要补充任何日期。

3. **待决定事项** —— [从 matter.md 中提取需要外聘律师意见的待解决问题;如无,省略本项并重新编号]

4. **预算** —— [按月/季度/按需,取决于 `~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md` 预算姿态]。目前相对 [matter.md 中的预算授权] 的使用情况如何?是否有需要标注的偏差?

[如重要且相关:5. 具体要求 —— 如"请在[日期]前将起诉状/答辩状最新稿发我"——从 matter.md 待解决问题中提取。]

[署名——姓名、职务、联系方式。来自 `~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md` 外聘律师沟通的签署人默认设置。]

Adjust tone per ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md outside counsel communication style — some firms are "Dear Counsel" formal; others are first-name with bullet lists. Match.

Output

Markdown Drafts

Write to:~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/oc-status/[YYYY-MM-DD]/[slug].md

Each file is one email, formatted as follows:

[工作成果标头——根据插件配置 ## 输出——因角色不同;见 `## 使用者`]

# [案件名称] —— 外聘律师状态请求 —— [YYYY-MM-DD]

**收件人:** [日志中的 outside_counsel.email]([outside_counsel.lead],[outside_counsel.firm])
**发件人:** [签署人姓名/邮箱,来自 `~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md`]
**主题:** [主题行]

> 上述工作成果标头适用于本内部记录。下方发出的邮件正文发送给委托案件的外聘律师,邮件本身属于保密通信——请在发送邮件顶部标注保密标记,通常为"保密 · 受律师-客户特权保护 —— 律师工作成果",而非此内部工作成果标头。

---

[按骨架的正文]

Send Gate (closing note on each draft)

Append the following at the bottom of each markdown draft, below the body — delete before sending:

This is a status email draft for review by the lawyer before sending to outside counsel. Please check: whether it contains confidential content you do not intend to share outside the engagement circle, factual accuracy, tone, and budget posture. Do not send without review — even a routine weekly check may expose theories, strategy, or concessions the sender did not intend to put in writing.

Run Summary

After processing all matters, write ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/oc-status/[YYYY-MM-DD]/_summary.md:

# 外聘律师状态运行 —— [YYYY-MM-DD]

**处理案件数:** [N]
**草稿创建数:** [N]

## 已起草

| 案件 | 外聘主办律师 | 最后更新 | 纳入原因 |
|---|---|---|---|
| [代号] | [主办] | [日期] | [陈旧 / 即将到期节点 / --all / --slug] |

## 已跳过

| 案件 | 原因 |
|---|---|
| [代号] | 近期已更新(最后触及 [日期]) |
| [代号] | 日志中无外聘律师邮箱——请通过 `/matter-update [代号]` 更新 |

What This Skill Does Not Do

  • Send emails. Only generate drafts. The lawyer reviews and sends.
  • Generate content that does not exist. If matter.md The content is thin, so the email is short and asks broad status questions. This skill does not invent specific questions from nothing.
  • Rewrite history.md. Read for context; do not modify. (If new events emerge from outside counsel's reply, use /matter-update [slug] to record.)
  • Enforce the minimum template. If the firm's tone is "one sentence, first-name basis, done," the draft respects that style and skips the bullet-point structure. Match ~/.claude/plugins/config/claude-for-legal-zh/litigation-legal/CLAUDE.md。