Maintains auditable activity and decision records with source provenance, actions, reasons, and uncertainty tracking. Useful for legal or compliance logging workflows.
Ships in legal-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Keep an auditable record of observed work and stated decisions, not a transcript of private internal thoughts. Generated explanations are recorded reasons, not proof of the model's internal process. This skill does not capture every host event automatically or create tamper-resistant storage.
For an existing saved/logged matter, continue its record. When the user requests logging or a saved matter, use the authorised matter directory; otherwise keep a proportionate record in chat under the firm's matter-file rules. Do not create persistent sensitive logs for an unrelated quick question.
Use activity-log.jsonl for structured entries and decision-log.md for a readable decision index where file tools are available. Each entry includes:
Distinguish observed tool events, user statements and model-reported summaries. Do not manufacture event timestamps, tool calls, lawyer participation, approvals or searches. Mark reconstructed entries retrospective and give event time as unknown when unavailable.
Append corrections and superseding decisions; do not silently replace earlier entries. A logging failure must be reported, not treated as a successful write. Review coverage against available actions and disclose gaps; never claim completeness beyond observable host data.
Use document references and minimal necessary excerpts. Never log passwords, tokens or unnecessary sensitive data. Follow matter scope, access and retention instructions; an append-only working convention does not prevent authorised deletion, redact retained copies or supply access control. Do not call the record legally privileged or immutable merely because it is labelled so.
Provide the record location, decisions and unresolved issues, corrections and known coverage gaps. If file tools are unavailable, deliver an exportable record in chat and say it has not been saved. See the shared language and logging protocol.
When Node.js 18+ and local file tools are available, use scripts/append-log.mjs to append structured entries to the authorised matter directory. Read an entry JSON file on stdin:
node <skill-directory>/scripts/append-log.mjs <authorised-matter-directory> < entry.json
Required fields: matter_id, actor, event_type, summary, provenance (observed, user_statement or model_reported), retrospective (boolean), references (array) and uncertainties (array). Decisions also require recorded_reasons. Optional fields: event_time (ISO timestamp with timezone, or null), alternatives, related_event_ids, output_refs, next_step and status. The helper supplies a unique event_id and actual recorded_at; unknown event time remains null. Use related IDs to identify corrections/supersession.
The helper preserves earlier lines, prevents cross-matter appends and fails on a writer lock or damaged log. Report failures. A crash can leave a lock: establish that no writer is running before removing a stale lock. Do not repair damaged records silently. The helper does not capture tools automatically, validate the truth of reasons, enforce retention, redact secrets or generate the readable index; apply the protocol above. Update decision-log.md with linked event IDs after successful appends.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/legal-ai-skills:activity-decision-loggerfrom legal-ai-skills
npx claudepluginhub rohasnagpal/legal-ai-skills --plugin legal-ai-skills470 skills in this plugin
/administrative-action-challenge-analystAnalyses whether a government, regulator or public body's decision, order, notice or failure to act can be challenged — source and limits of the power, jurisdiction, procedural fairness and the right to be heard, reasons, irrelevant considerations, bad faith, irrationality, proportionality, legitimate expectation, delay, alternative remedies, standing and the remedies a court can grant — and recommends the route. Use when a user asks "can we challenge this government order", "was this licence cancellation lawful", "the authority didn't hear us before deciding", or "what are the judicial review grounds here". Fires in any jurisdiction once the public law framework is identified./adr-brief-drafterDrafts the brief a party submits to a mediator or conciliator ahead of a session — position, facts, interests, chronology, evidence, negotiation history, and settlement obstacles — adapted to whichever process actually applies (mediation or conciliation are not treated as identical) and, within that, to whether the brief is confidential to the neutral or will be shared with the other party. Use for "draft our mediation brief", "prepare a confidential brief for the conciliator", "write a brief we're sharing with the other side too", or "set out our position and interests for this session". Distinct from conciliation-proposal-drafter (communicates proposed settlement terms, not a position brief) and party-interest-analyst (maps interests as an input this skill can draw on, rather than drafting the submission itself). Fires for any written submission to a mediator or conciliator ahead of a session.Other plugins' skills for the same job