codexkit-legal-memo-writer

codexkit-legal-memo-writer is a skill for Codex from hoavdc/CodexKit. It costs 72 tokens per session (795 once invoked), scanned A, original, MIT.

A legal-analysis writing guide that structures internal opinions and compliance assessments using IRAC: Issue, Rule, Analysis, and Conclusion.

In plain words
What is it for?
Use it for internal legal opinions, regulatory compliance reviews, and advice about proposed business actions. It is not for contracts, court filings, or situations requiring immediate advice from a licensed lawyer.
Why use it?
It turns a complex legal question and supporting facts into a clear document for decision-makers. It also makes assumptions, risks, and relevant rules easier to review.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it for internal legal opinions, regulatory compliance reviews, and advice about proposed business actions. It is not for contracts, court filings, or situations requiring immediate advice from a licensed lawyer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoavdc/codexkit/codexkit-legal-memo-writer
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 hoavdc/CodexKit --skill codexkit-legal-memo-writer
Clone the repo
git clone --depth 1 https://github.com/hoavdc/CodexKit

Made for: 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 codexkit-legal-memo-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoavdc/codexkit/codexkit-legal-memo-writer.svg)](https://agentmods.dev/skills/hoavdc/codexkit/codexkit-legal-memo-writer)
Your own site
<a href="https://agentmods.dev/skills/hoavdc/codexkit/codexkit-legal-memo-writer"><img src="https://agentmods.dev/badge/skills/hoavdc/codexkit/codexkit-legal-memo-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 795 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 original 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.00072 $0.00795
Opus 5 $0.00036 $0.00398
Sonnet 5 $0.00014 $0.00159
Haiku 4.5 $0.00007 $0.00080

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

Security

Grade A, and why

codexkit-legal-memo-writer 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 8d 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.

skills/codexkit-legal-memo-writer/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Produce clear, structured legal analyses using the IRAC framework — turning complex legal questions into actionable recommendations for business decision-makers.

When to use

  • documenting legal opinions on business questions
  • advising on regulatory compliance issues
  • preparing memos for the legal team or management review
  • analyzing the legal implications of a proposed business action

When not to use

  • drafting contracts (use contract-drafter)
  • litigation pleadings or court filings
  • matters requiring immediate licensed attorney involvement

Inputs

  • the legal question or issue to analyze
  • relevant facts and background context
  • applicable jurisdiction(s)
  • relevant laws, regulations, or internal policies
  • specific concerns or risk areas to address
  • audience (legal team, C-suite, board)

Procedure

  1. Define the Issue — state the legal question in one clear sentence.
  2. Identify the Rule — cite applicable statutes, regulations, case law, or internal policies.
  3. Apply the Analysis — reason through how the rule applies to the specific facts:
    • Identify supporting facts and counterarguments
    • Consider analogous precedents
    • Assess risk probability and severity
  4. State the Conclusion — provide a clear answer or recommendation:
    • Risk-tiered: Low / Medium / High / Critical
    • Include conditions or caveats
  5. Write recommendations — specific actions the business should take.
  6. Format for audience — executive summary first, detailed analysis below.

Output

  • executive summary (3–5 sentences with conclusion and risk level)
  • detailed IRAC analysis per issue
  • risk assessment matrix (issue × probability × impact)
  • recommended actions with timeline
  • caveats and limitations of the analysis

Definition of done

  • issue is stated in one clear sentence
  • applicable rules/laws are cited
  • analysis applies rules to specific facts (not generic)
  • conclusion includes a risk tier and specific recommendation
  • executive summary is present for non-lawyer audiences

Read the full file on GitHub · 97 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 97 lines · 72 tokens per session scan A fbaa082e088e

Subscribe to this mod's changes

codexkit-legal-memo-writer is a skill published in the GitHub repository hoavdc/CodexKit (21 stars, last pushed 3mo ago), licensed MIT. It adds 72 tokens to every session and 795 once invoked, about $0.0004 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

architecting-security

A security-architecture guide for modeling threats and designing identity, access, privacy, and compliance controls. It covers approaches such as STRIDE, zero trust, single sign-on, multi-factor authentication, and GDPR-related privacy work.

telagod/code-abyss · 104 tokens

security-compliance

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.

sangrokjung/claude-forge · 56 tokens

bionic-safety-net

Unified survival infrastructure: health, finance, legal safety, circuit breakers, and structural protection against all ruin classes. The last line of defense.

winstonkoh87/Athena-Public · 34 tokens

knowledge_base

Manage the user's personal knowledge base — knowledge graph, documents, and wiki vault.

siddsachar/row-bot · 19 tokens

reducing-aigc-detection

A rewriting workflow for lowering the likelihood that academic writing is labelled as AI-generated by detection services, while keeping formatting and footnotes.

telagod/code-abyss · 62 tokens

defending-applications

Application security defense knowledge for builders. Covers Web/API/GraphQL hardening (XSS/SQLi/SSRF/IDOR/BOLA/Mass Assignment/deserialization/upload/path traversal), authentication/authorization (OAuth 2.0/OIDC/JWT/Session/Cookie/SAML/SSO), and LLM application security (prompt injection, jailbreak, RAG poisoning…

telagod/code-abyss · 152 tokens