lawyer-memory-writing

lawyer-memory-writing is a skill for Claude Code, Codex from sii-research/Legal-world. It costs 38 tokens per session (840 once invoked), scanned A, original, no licence file.

Chinese-language guidance for updating a lawyer’s long-term case memory in a file named memory.yaml.

In plain words
What is it for?
Use it when applying field-level JSON operations to update those parts of a legal case record.
Why use it?
It helps preserve case information in a structured way when the case summary, evidence, legal analysis, or client profile changes.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when applying field-level JSON operations to update those parts of a legal case record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sii-research/legal-world/lawyer-memory-writing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sii-research/Legal-world --skill lawyer-memory-writing
Clone the repo
git clone --depth 1 https://github.com/sii-research/Legal-world

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lawyer-memory-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/sii-research/legal-world/lawyer-memory-writing/github.svg)](https://agentmods.dev/skills/sii-research/legal-world/lawyer-memory-writing)
Your own site
<a href="https://agentmods.dev/skills/sii-research/legal-world/lawyer-memory-writing"><img src="https://agentmods.dev/badge/skills/sii-research/legal-world/lawyer-memory-writing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lawyer-memory-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/sii-research/legal-world/lawyer-memory-writing"><img src="https://agentmods.dev/badge/skills/sii-research/legal-world/lawyer-memory-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 840 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00840
Opus 5 $0.00019 $0.00420
Sonnet 5 $0.00008 $0.00168
Haiku 4.5 $0.00004 $0.00084

Measured 12d ago against content hash fdd645b84d47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

lawyer-memory-writing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/legal-skillhub/public/legal/lawyer/memory/lawyer-memory-writing/SKILL.md · 98 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 98 lines · 38 tokens per session scan A fdd645b84d47

Subscribe to this mod's changes

lawyer-memory-writing is a skill published in the GitHub repository sii-research/Legal-world (22 stars, last pushed 2mo ago), with no licence file. It adds 38 tokens to every session and 840 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

lians

Use Lians financial-grade agent memory - store and recall facts with a bitemporal model so stale revisions never contaminate context. Use whenever an agent needs persistent memory in finance, healthcare, or legal work, or when a task asks "what did we know on/before ", needs an audit trail, or must erase a data…

Lians-ai/Lians · 73 tokens

lians-integrate

Wire Lians memory into an existing agent codebase, test-first and minimal-diff. Use when the user asks to add persistent/compliance memory to their agent, integrate Lians, or replace a vector store with bitemporal memory.

Lians-ai/Lians · 53 tokens

continuous-improvement-engine-scott-margetts

Capture, structure, and recycle lessons from active and closed legal matters. Three modes: in-flight capture (triggered by scope changes, risk events, status updates — highest value), mid-matter review (phase gates or quarterly), and matter close retrospective (full structured findings). Lessons are formatted for…

lawve-ai/awesome-legal-skills · 188 tokens

knowledge-audit

Knowledge base health audit. Scans knowledge docs, analyzes content composition, detects stale references, tiny/oversized files, three-criteria compliance, outputs health report and optimization suggestions.

Aimeerrhythm/enterprise-change-workflow · 40 tokens

memoria-de-caso-civel

Mantem o estado append-only de um caso civel — partes, vara/comarca, numero, fase processual, pedidos, prazos, atos praticados, providencias e cronologia. Use quando o operador retomar um caso, perguntar onde paramos, pedir o status, a cronologia ou os prazos, ou quando o civel-master precisar carregar/atualizar o…

sbroggioadv/civel-adv-os-marketplace · 95 tokens

memoria-de-caso-marca

Mantem o estado append-only de um caso marcario — marca, titular, classes, processos no INPI, prazos, andamento e pecas produzidas. Use quando o operador retomar um caso, perguntar "onde paramos", pedir o status de um pedido de marca, ou quando o marcas-master precisar carregar/atualizar o estado do caso. Tambem ao…

sbroggioadv/marca-inpi-adv-os-marketplace · 89 tokens