matter-journal
Manages client matter journals — persistent case files that give Claude full context on every client and matter. Use this skill when the user says "new…
от bstevescherer★ 43 звезды на GitHub
Установить matter-journal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Matter Journal
You manage a system of per-matter journals — one markdown file per client matter that accumulates everything Claude learns about that matter over time. The journal is a living case file: a header identifying the matter and a chronological log of everything that happened.
The journal makes you a better collaborator on every legal task because you carry forward full context — strategy, client preferences, opposing counsel behavior, negotiation history, deadlines, impressions — across sessions. The richer the journal, the better you perform.
Architecture
Legal Matters/ ← the folder the attorney opened
├── CLAUDE.md ← standing instructions (written during setup)
├── matters.json ← index of all matters (auto-maintained)
├── Chen-Trademark-2026/
│ └── journal.md
├── Smith-BreachOfContract-2026/
│ └── journal.md
matters.json is the index. Each entry has: id, folder, client,
matter_name, matter_type, aliases, parties (role-tagged), status,
created, last_session. Aliases and parties enable fuzzy matching when
the attorney mentions a name.
First-Run Setup
If matters.json does not exist at the folder root, the system hasn't
been set up yet. This also triggers on "set up", "configure", "first time",
or any setup-related request.
- Explain briefly what you're about to create: "I'll create two files —
matters.jsonto track your matters, andCLAUDE.mdso I automatically load the right case file when you mention a client. Over time I'll build up context on every matter so you never have to re-explain anything." - Wait for approval. On confirmation:
- Read
references/claude-md-template.mdand write its contents toCLAUDE.mdat the folder root - Create
matters.jsoncontaining[]
- Read
- Confirm: "Done. Want to create your first matter?"
Keep this conversational and quick. The attorney should never leave the chat to set things up.
Create Matter
Triggered by "new matter", "new client", or any indication the attorney wants to open a new case file.
Do not run a structured interview. Extract what the attorney already said — client name, matter type, description, any parties mentioned. If the client name or matter type is genuinely missing, ask for just those in a single question.
Then ask one thing: "Do you have any existing files or notes on this? Drop them and I'll start the journal from there. Or if you have an existing folder, I can add the journal there."
Three paths:
- Attorney drops files → Read them, create journal with a first log entry summarizing what's in the files. This gives rich starting context.
- Attorney names an existing folder → Create
journal.mdinside that folder. Don't restructure their files. - Attorney says no / just proceed → Create a new folder named
[Client]-[ShortDescription]-[Year]/
To assign a matter ID: read matters.json, find the highest M-XXX
number, increment by one.
Create journal.md using the template in references/journal-template.md,
filling in all known fields. Add the new entry to matters.json with
appropriate aliases (client first name, last name, full name, any
business names mentioned) and role-tagged parties.
Confirm conversationally: "Chen trademark matter is set up (M-003). Anything else to add before we start?"
Load Matter
Triggered when the attorney mentions a client, matter, or party name — either explicitly ("I'm working on Chen") or in the course of asking for work ("Draft a letter to BigCo about the Chen trademark").
Matching: Check the client, matter_name, aliases, and
parties[].name fields in matters.json. Case-insensitive, partial
match is fine (e.g., "Chen" matches "Sarah Chen").
- Single match → Load the journal.md. Show the last log entry briefly: "Chen — last entry 3/17: Drafted C&D to BigCo. What are we doing?"
- Multiple matches → Disambiguate with matter IDs: "Two Smith matters: M-012 breach of contract, M-031 trademark. Which one?"
- No match → "No matter on file for [X]. Want to create one?"
When loading alongside another skill (e.g., the attorney asks you to draft something and you're also loading the journal for context): load silently. Don't show a status message or take over the conversation. Just use the journal as context for the work.
Long journals (20+ log entries): Load the header plus the last 10 entries. Mention: "This matter has [N] entries going back to [date]. Say 'full history' if you need more."
Logging
This is the heart of the system. There are three layers:
Auto-Logging (primary mechanism)
After completing any task related to a client matter during a session where a journal is loaded, silently append a timestamped entry to that journal:
### 2026-03-19
- Drafted cease and desist letter to BigCo re: "CHEN" mark, Class 25
No approval prompt. No announcement. Just write it. The attorney owns the f
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- reference/claude-md-template.md
- reference/journal-template.md
- reference/scheduled-tasks.md
- scripts/sync_index.py
- skill.yml
FAQ
Что делает скилл matter-journal?
Manages client matter journals — persistent case files that give Claude full context on every client and matter. Use this skill when the user says "new client", "new matter", "I'm working on [X]", "open the [X] matter", "update the journal", "log this", "what's the status of", "close the [X] matter", "set up", "configure", or mentions creating a new matter or asks about a client by name. Also use when the user asks "what am I working on", wants to review active matters, or dictates notes after a call or meeting. This is a context management skill — it creates, loads, and logs to journals. It does not draft documents, send emails, or perform legal analysis, but it provides the context that makes those tasks dramatically better.
Как установить скилл matter-journal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл matter-journal запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…