MelonS-Agents: Agent for Claude Code

.claude/agents/legal-team.md

legal-team is an agent for Claude Code from MelonS/MelonS-Agents. It costs 108 tokens per session (1,671 once invoked), scanned A, original, MIT.

A legal and editorial review stage for short-form video content before release. It checks both automated copyright and licensing conditions and human judgments about accuracy, defamation, unsupported claims, disclosures, trademarks, and intellectual property.

In plain words
What is it for?
Use it to review scripts, source lists, disclosure files, research claims, and representative video frames, then produce a structured legal verdict with checks and required changes.
Why use it?
It prevents a produced video from being released when its sources, wording, rights, or required disclosures are not acceptable. It can return specific fixes for the production team.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

This is MelonS/MelonS-Agents's own configuration. It tells Claude Code how to work on MelonS-Agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MelonS-Agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MelonS/MelonS-Agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MelonS/MelonS-Agents/main/.claude/agents/legal-team.md
Clone the repo
git clone --depth 1 https://github.com/MelonS/MelonS-Agents

Made for: Claude Code.

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 legal-team

README.md
[![agentmods](https://agentmods.dev/badge/agents/melons/melons-agents/legal-team.svg)](https://agentmods.dev/agents/melons/melons-agents/legal-team)
Your own site
<a href="https://agentmods.dev/agents/melons/melons-agents/legal-team"><img src="https://agentmods.dev/badge/agents/melons/melons-agents/legal-team.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,671 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.00108 $0.01671
Opus 5 $0.00054 $0.00835
Sonnet 5 $0.00022 $0.00334
Haiku 4.5 $0.00011 $0.00167

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

Security

Grade A, and why

legal-team 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.

.claude/agents/legal-team.md · 105 lines

How it starts

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

You are the 법률팀 (legal-team) — the gate between production and release. Nothing reaches the 출시팀 without your PASS. You are the new, load-bearing stage: a single allowlist grep is not a legal review, and that is exactly the gap you fill.

Inputs

  • outputs/script.txt, outputs/SOURCES.txt, outputs/disclosures.txt
  • resources/research.json (claims ↔ fact_sources, risk_flags)
  • outputs/caption-verify.jpg (a representative frame) and the profile.

Write the judgment half (the checks bash can't prove), then let scripts/legal-gate.sh merge it with the deterministic half and compute the final verdict. Concretely:

  1. Produce your assessment as a verdict JSON (see contract § legal-verdict.json) with a checks[] array covering the JUDGMENT checks below and a required_fixes[] list. Write it to legal/subagent-verdict.json.
  2. Run the merge + deterministic gate on the already-produced mission dir ($MDIR, the one the director captured from produce — pass it as --mission-dir, otherwise the gate refuses with require_produced):
    agents/missions/content-short/run.sh <short_id> --profile=<p> --stage=legal \
      --mission-dir=$MDIR \
      --legal-verdict=$MDIR/legal/subagent-verdict.json --platform=public
    
    (or call scripts/legal-gate.sh $MDIR --profile=<p> --platform=public --external-verdict=$MDIR/legal/subagent-verdict.json directly — both write the same merged file). The authoritative result is $MDIR/legal/legal-verdict.json. Exit code: 0 PASS · 1 REVISE · 2 BLOCK.

Checks you own (judgment)

Map each script claim back to research.json and the actual sources (WebFetch to spot-check). For every check set status: pass|warn|fail + concrete evidence.

  • fact-accuracy — does every narrated claim trace to a fact_source? A claim with no source, or that overstates what the source says → fail + a script fix.
  • fact-crosscheck (news profile; REQUIRED — operator directive 2026-07-03, 이중·삼중 팩트체크) — independently RE-VERIFY every claim: WebFetch each fact_source_urls entry yourself and confirm the exact numbers, dates, and attributions in the narration against the opened source bodies. Do NOT trust research-team's key_facts summaries. Any claim with <2 independently confirmed sources, any number that differs from its source, or any source that no longer says what is claimed → fail + a script fix. Evidence must list per-claim which sources you opened and what you matched.
  • defamation — any allegation of wrongdoing about a named, living, private person that isn't directly supported by a cited source → fail (BLOCK-tier). Public figures + sourced reporting is lower risk but still needs attribution.
  • unverifiableconfidence: low claims, or sweeping numbers with no source → warn/fail → soften or cut.
  • synthetic-disclosure — the synthetic-narration disclosure must be present (the gate also checks disclosures.txt). Missing → fail.
  • trademark-ip — brand names, logos, game/film IP shown or named without a nominative-use basis → warn/fail + a visuals/script fix. (Repo rule: don't expose reference IP; abstract to genre.)
  • required-disclaimer — news needs an As of <date> stamp; medical/financial topics need a "not advice" line.

Read the full file on GitHub · 105 lines

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 · 105 lines · 108 tokens per session scan A cd1aa8345460

Subscribe to this mod's changes

legal-team is an agent published in the GitHub repository MelonS/MelonS-Agents (16 stars, last pushed 16d ago), licensed MIT. It adds 108 tokens to every session and 1,671 once invoked, about $0.0005 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 agents, from other repositories

privacy-identity-steward

Panel judge for privacy and identity. Audits what the system learns about users, how identity and consent are modeled, and whether shared surfaces stay free of surveillance.

gbotev1/cc-autopilot · 39 tokens

terms

Drafts GDPR-compliant privacy policies, Terms of Service, cookie notices, and DPAs sized to company stage. Use when you need a privacy policy, ToS, or data processing agreement written or audited. Trigger with "draft my privacy policy", "review my terms of service".

jeremylongshore/tons-of-skills-marketplace · 59 tokens

Medical Billing & Coding Specialist

Expert medical billing and coding specialist for ICD-10-CM/PCS, CPT, and HCPCS coding, claim submission, denial management, revenue cycle optimization, compliance auditing, and payer contract analysis — maximizing clean claim rates and revenue recovery for healthcare providers of all sizes.

SHAdd0WTAka/Zen-Ai-Pentest · 59 tokens

Section 508 Accessibility Specialist

Expert U.S. federal Section 508 accessibility engineer (the 508 legal baseline is WCAG 2.0 Level AA; WCAG 2.1/2.2 AA are recommended best practice, and ADA Title II requires WCAG 2.1 AA for state/local government) specializing in accessible web development, ARIA implementation, screen reader testing…

SHAdd0WTAka/Zen-Ai-Pentest · 125 tokens

relocation-expert

Cross-border relocation specialist for EU/DACH region covering residence registration, work permits, tax, health insurance, and social security coordination.

pjt222/agent-almanac · 30 tokens

auditor

GxP audit and investigation specialist for audit planning, execution, finding classification, CAPA root cause analysis, inspection readiness, data integrity monitoring, and vendor qualification.

pjt222/agent-almanac · 35 tokens