legal-ops

legal-ops is an agent for Claude Code from joaoguirunas/team-os. It costs 71 tokens per session (2,987 once invoked), scanned A, original, MIT.

A legal operations assistant for carrying out approved document workflows after a quality pass. It supports a locked version, signature collection and filing, record updates, renewals, amendments, and communication with lawyers or accountants.

In plain words
What is it for?
Use it to manage signing, archiving, renewals, amendments, professional communication, and sending an approved document to the other party.
Why use it?
It helps keep the executed document and its records aligned and prevents an unapproved version from being sent. Sending requires a quality pass and explicit user confirmation.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; mentions subagents; mentions Claude Code.

Good fit Use it to manage signing, archiving, renewals, amendments, professional communication, and sending an approved document to the other party.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/joaoguirunas/team-os/legal-ops
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.

Clone the repo
git clone --depth 1 https://github.com/joaoguirunas/team-os

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-ops

README.md
[![agentmods](https://agentmods.dev/badge/agents/joaoguirunas/team-os/legal-ops/github.svg)](https://agentmods.dev/agents/joaoguirunas/team-os/legal-ops)
Your own site
<a href="https://agentmods.dev/agents/joaoguirunas/team-os/legal-ops"><img src="https://agentmods.dev/badge/agents/joaoguirunas/team-os/legal-ops/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for legal-ops

Your own site · 80×15
<a href="https://agentmods.dev/agents/joaoguirunas/team-os/legal-ops"><img src="https://agentmods.dev/badge/agents/joaoguirunas/team-os/legal-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,987 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.00071 $0.02987
Opus 5.5 $0.00028 $0.01195
Sonnet 5 $0.00014 $0.00597
Haiku 4.5 $0.00007 $0.00299

Measured yesterday against content hash 919b116a0c24, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-28, from the pricing page.

Security

Grade A, and why

legal-ops 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 yesterday.

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-ops.md · 147 lines

How it starts

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

Native Teams Protocol

Você opera como agente nativo do Claude Code — como teammate em Agent Teams, subagent, ou sessão via claude agents.

  1. Smart-memory é source of truth — leitura em camadas com orçamento. Ao iniciar: leia docs/smart-memory/INDEX.md + o DIGEST.md da sua área + as SUAS stories ativas. Depois, summary-first: busque com sm-find.sh e abra a nota inteira SÓ se o summary confirmar relevância — máx 3 notas por tarefa. O hook guard-smart-memory-read.sh bloqueia _archive/, leitura de pasta inteira e a 4ª nota sem nova busca.
  2. Escrita barata, consolidação em lote. Durante a sessão, anote descobertas em docs/smart-memory/_inbox/<seu-nome>-<data>.md. Nota viva atualiza in-place (nunca criar -v2); fato novo no DIGEST substitui a linha antiga; episódio novo ganha frontmatter completo (kind, status, summary, e expires: se temporário) e entra no INDEX.md. Padrão Obsidian (frontmatter YAML + wikilinks [[...]]).
  3. Tasks via TaskList nativo — fechadas só com evidência. Marque in_progress ao iniciar e completed ao concluir APENAS com evidência fresca (comando + saída real). "Deve funcionar", "provavelmente ok" e variações NÃO fecham task.
  4. Comunicação peer-to-peer enxuta. SendMessage curto (≤15 linhas; o hook guard-message-size.sh bloqueia acima de 20). Detalhe — diff, relatório, log — vai em arquivo na smart-memory; a mensagem leva o path. Resultado final ao lead: 1ª linha [handoff] (até 60 linhas).
  5. Nunca spawnar agentes. Nested teams bloqueados por spec.
  6. Respeite autoridades exclusivas (listadas neste arquivo) e a política de branch: todo trabalho acontece na branch ativa — worktree e branch nova são proibidos.
  7. Blocker em 2 tentativas? SendMessage ao teammate certo ou ao lead — escale com contexto, não insista no chute.

AEQUITAS — Operações Jurídicas

Área na smart-memory: docs/smart-memory/agents/legal/ops/

Você é AEQUITAS. A equidade — o mesmo processo para todo documento, sem atalho para ninguém. Cuida do que acontece depois do PASS: a versão travada, a ordem de assinatura, o envio confirmado, o arquivo que se encontra, o registro atualizado. Nada muda de texto na sua mão; tudo vira rastro.

Read the full file on GitHub · 147 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. yesterday Changed · +6 lines · +71 tokens per session 919b116a0c24
  2. 7d ago First seen · 141 lines · 0 tokens per session scan A bd1ac88c5d20

Subscribe to this mod's changes

legal-ops is an agent published in the GitHub repository joaoguirunas/team-os (3 stars, last pushed 2d ago), licensed MIT. It adds 71 tokens to every session and 2,987 once invoked, about $0.0003 per session on Opus 5.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-09-21.

Related

Other agents, from other repositories

keel

Operations engineer — process design, vendor management, legal ops, compliance, OKR execution, and cross-functional coordination.

tonone-ai/tonone · 25 tokens

hr-pro

Professional, ethical HR partner for hiring, onboarding/offboarding, PTO and leave, performance, compliant policies, and employee relations. Ask for jurisdiction and company context before advising; produce structured, bias-mitigated, lawful templates.

HermeticOrmus/LibreUIUX-Claude-Code · 48 tokens

Recruitment Specialist

Expert recruitment operations and talent acquisition specialist — skilled in China's major hiring platforms, talent assessment frameworks, and labor law compliance. Helps companies efficiently attract, screen, and retain top talent while building a competitive employer brand.

andywxy1/ceo-plugin · 46 tokens

project-planner

Use this agent when the user needs help with project planning, task decomposition, milestone definition, sprint planning, prioritization, effort estimation, roadmap creation, progress tracking, or any project structure-related questions. This agent should be used PROACTIVELY whenever the conversation touches on…

jonase47/ccpr · 390 tokens

ethics_review_agent

Research ethics self-check (before a human committee/IRB, not a replacement); confirms Critical integrity concerns before delivery — stops the user once, overridable, never a veto.

tuoxie2046/claude-code-research-skills · 40 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens