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.
npx skills add hoavdc/CodexKit --skill codexkit-legal-memo-writergit clone --depth 1 https://github.com/hoavdc/CodexKitWrote 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.
[](https://agentmods.dev/skills/hoavdc/codexkit/codexkit-legal-memo-writer)<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>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.
| Model | Per session | Once 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 |
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.
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.
Legal Memo Writer
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
- Define the Issue — state the legal question in one clear sentence.
- Identify the Rule — cite applicable statutes, regulations, case law, or internal policies.
- 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
- State the Conclusion — provide a clear answer or recommendation:
- Risk-tiered: Low / Medium / High / Critical
- Include conditions or caveats
- Write recommendations — specific actions the business should take.
- 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
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.
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.
- 8d ago First seen · 97 lines · 72 tokens per session scan A fbaa082e088e
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.
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.
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.
bionic-safety-net
Unified survival infrastructure: health, finance, legal safety, circuit breakers, and structural protection against all ruin classes. The last line of defense.
knowledge_base
Manage the user's personal knowledge base — knowledge graph, documents, and wiki vault.
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.
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…