matter-close
O que ela faz
Esta skill encerra um caso jurídico e registra o resultado no registro de casos. É para advogados internos que precisam que o resultado final fique registrado para decisões de risco futuras.
Quando usar
- ✓Quando um caso foi resolvido por acordo, arquivado ou terminou em sentença.
- ✓Quando um caso foi retirado ou consolidado em outro caso.
- ✓Quando você precisa registrar o custo final e as lições de um caso.
Link da skill
https://github.com/anthropics/claude-for-legal/blob/main/litigation-legal/skills/matter-close/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Encerre a disputa com a Acme. Ela foi resolvida por acordo semana passada, e quero registrar as lições.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill confirma o caso e o seu status atual, e depois registra o tipo de resultado, a data, a exposição final e as lições. Marca o caso como encerrado no registro e acrescenta uma entrada final no histórico. O caso sai dos relatórios ativos, mas o seu registro é mantido.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
/matter-close
- Follow the workflow and reference below.
- Confirm slug and current status.
- Capture outcome: resolution type (settled, dismissed, judgment for/against, withdrawn, consolidated), date, final exposure/cost, lessons.
- Update
_log.yaml:status: closed, addclosed: YYYY-MM-DDandoutcome:fields. - Append final entry to
~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md. - Matter stays in
_log.yamland~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/— not deleted./portfolio-statusfilters it from active rollups.
Matter Close
Purpose
Matters end. The outcome is the single most valuable data point the portfolio generates — it calibrates the risk framework for future matters. Closing a matter captures the outcome structurally so the record is useful, not just archived.
Load context
~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml— find the row~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/matter.md— reference (intake context)~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/[slug]/history.md— append target
Conflicts gate — unbypassable. Before closing, check _log.yaml for the matter slug. If the matter is not in _log.yaml, refuse and route:
"I don't see [matter slug] in the matter log. Nothing to close — either the slug is wrong or the matter was never intaken through
/litigation-legal:matter-intake. Check the slug first; if it genuinely was never intaken, there's no row to update and no file structure to close."
Input
Slug (required).
The close
1. Resolution type
settled— with counterparty, dollar amount, structural termsdismissed— with or without prejudice, by what mechanismjudgment-for-us— at what stage, appeal exposurejudgment-against-us— at what stage, appeal status, exposure crystallizedwithdrawn— by counterparty, circumstancesconsolidated— merged into another matter (provide slug of parent)other— with explanation
2. Resolution date
The date the matter actually ended (settlement executed, order issued, dismissal filed).
3. Final exposure
- Actual cost to company (settlement amount + fees + injunctive/structural cost)
- vs. initial exposure range at intake (did we call it?)
- Reserve accuracy (if reserved): booked vs. actual
4. Lessons
Two or three sentences. What did we get right? What did we misjudge? Anything the intake should have flagged earlier?
This is the part future counsel will reread. Be honest. "Misjudged likelihood — plaintiff firm was more aggressive than expected" is worth more than "resolved favorably."
5. Seed doc prompt
Settlement agreement, final order, dismissal — path if available. Not required.
Writing
Before closing the matter (the consequential act — the matter is archived and active tracking ends): Read ## Who's using this in ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md. If the Role is Non-lawyer:
Closing a matter has legal consequences — it ends active tracking, may affect any associated legal hold (run
/legal-hold --releaseseparately if appropriate), and establishes the final record the company relies on. Have you reviewed this with an attorney? If yes, proceed. If no, here's a brief to bring to them:[Generate a 1-page summary: the matter, resolution type and terms, final exposure vs. initial, reserve accuracy, related matters or appeals still live, what could go wrong with premature closure, what to ask the attorney.]
If you need to find a licensed attorney, solicitor, barrister, or other authorised legal professional in your jurisdiction: your professional regulator's referral service is the fastest starting point (state bar in the US, SRA/Bar Standards Board in England & Wales, Law Society in Scotland/NI/Ireland/Canada/Australia, or your jurisdiction's equivalent).
Do not write the close fields or append the close entry without an explicit yes.
Update ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml
status: closed
closed: [YYYY-MM-DD]
outcome: [resolution-type]
final_cost: [dollar amount]
last_updated: [today] # close is the last touch; record it
Retain all existing fields. Do not delete the row.
Append final entry to `~/.claude/plugins/config/claude-for-legal/litigation-legal/matt
Perguntas frequentes
O caso é apagado?
Não. O caso permanece no registro e na sua pasta, e só fica de fora dos resumos ativos.
Quais resultados podem ser registrados?
Acordo, arquivamento, sentença favorável ou desfavorável, retirada ou consolidação.
E se o caso não estiver no registro?
A skill se recusa a encerrá-lo e diz para acrescentá-lo ao registro antes.
Detalhes
Descrição original do autor
Close a matter — capture outcome, final exposure, and lessons, then archive it out of the active portfolio without deleting the record. Use when the user wants to close a matter, says "[matter] is done", or needs to record a settlement, dismissal, judgment, withdrawal, or consolidation outcome.
Popularidade
- Estrelas no GitHub
- 9,9 mil
- Posição no ranking
- #12156
- Licença
- Apache-2.0
- Atualizada em
- 29/10/2026
Comentários
- …
Mais skills deste repositório
ai-inventory
9,9 milAjuda seu agente a manter um inventário de ferramentas de IA sob o EU AI Act, registrando o papel, a faixa de risco e a base de classificação de cada sistema.
aia-generation
9,9 milAjuda seu agente a escrever uma avaliação de impacto de IA para um caso de uso, cobrindo riscos, classificação regulatória, aderência à política e condições recomendadas.
cold-start-interview
9,9 milAjuda seu agente a aprender como funciona sua prática de governança de IA, com uma entrevista de configuração e um perfil criado a partir dos seus documentos de política.
customize
9,9 milAjuda seu agente a mudar uma parte do seu perfil de governança de IA, como postura de risco, contatos ou posições de política, sem uma configuração completa.
Skills parecidas
knowledge-capture
394 milEnsina seu agente a salvar decisões, preferências e fatos importantes no seu Knowledge vault como notas curtas, com a indicação da fonte.
knowledge-claim-consolidation
394 milAjuda seu agente a organizar um Knowledge vault unindo afirmações duplicadas, movendo-as para as páginas de assunto certas e aposentando as desatualizadas.
knowledge-correct
394 milPermite que seu agente corrija ou retire uma afirmação ou página específica do Knowledge vault quando você pedir, mantendo um registro do que mudou.