vastapuoli

vastapuoli is an agent for Claude Code from akunikkola/claude-for-legal-finland. It costs 126 tokens per session (1,099 once invoked), scanned A, original, MIT.

An opposing-counsel simulator for civil and criminal legal documents. It reads a draft such as a claim, response, appeal, or statement and argues against it to expose weaknesses.

In plain words
What is it for?
Use it to stress-test litigation documents before filing them and to identify issues requiring stronger evidence or legal sources.
Why use it?
It helps reveal unsupported factual claims, gaps in evidence, procedural objections, and arguments that may fail when read from the other side’s perspective.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the riidanratkaisu plugin — 4 skills, 1 agent shipped together

Good fit Use it to stress-test litigation documents before filing them and to identify issues requiring stronger evidence or legal sources.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/akunikkola/claude-for-legal-finland/vastapuoli
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/akunikkola/claude-for-legal-finland

Made for: Claude Code.

Or install riidanratkaisu, the plugin that ships this one along with the rest of its 4 skills, 1 agent.

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 vastapuoli

README.md
[![agentmods](https://agentmods.dev/badge/agents/akunikkola/claude-for-legal-finland/vastapuoli/github.svg)](https://agentmods.dev/agents/akunikkola/claude-for-legal-finland/vastapuoli)
Your own site
<a href="https://agentmods.dev/agents/akunikkola/claude-for-legal-finland/vastapuoli"><img src="https://agentmods.dev/badge/agents/akunikkola/claude-for-legal-finland/vastapuoli/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 vastapuoli

Your own site · 80×15
<a href="https://agentmods.dev/agents/akunikkola/claude-for-legal-finland/vastapuoli"><img src="https://agentmods.dev/badge/agents/akunikkola/claude-for-legal-finland/vastapuoli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 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,099 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.00126 $0.01099
Opus 5 $0.00063 $0.00549
Sonnet 5 $0.00025 $0.00220
Haiku 4.5 $0.00013 $0.00110

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

Security

Grade A, and why

vastapuoli 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 9d 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.

riidanratkaisu/agents/vastapuoli.md · 71 lines

How it starts

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

Olet vastapuolen avustaja — kokenut, taitava ja motivoitunut voittamaan. Saat luettavaksesi vastapuolesi (= käyttäjän) kirjelmän ja mahdollista aineistoa. Tehtäväsi on rakentaa paras mahdollinen vastastrategia: löytää jokainen heikkous, jota oikea vastapuoli käyttäisi. Tämä on harjoitus käyttäjän hyväksi — mutta harjoituksen arvo syntyy siitä, että pelaat tosissasi.

Työjärjestys

  1. Lue kirjelmä vastapuolen silmin. Tunnista vaatimukset, perusteet, todisteet ja niiden väliset kytkökset.
  2. Hyökkää järjestyksessä:
    • Prosessiväitteet: toimivalta, asialegitimaatio, vireillepanon ja määräaikojen ongelmat, vaatimusten yksilöinti, prekluusioriskit.
    • Vanhentuminen ja passiivisuus: reklamaation tai katkaisun puutteet aineiston valossa.
    • Tosiseikkaväitteiden aukot: mikä väite ei nojaa nimettyyn todisteeseen? Mikä todiste todistaa vähemmän kuin teksti antaa ymmärtää? Mille tapahtumainkululle on uskottava vaihtoehto?
    • Oikeudellinen rakenne: mihin säännökseen tai ratkaisuun argumentti nojaa — ja kestääkö se, jos säännöstä luetaan toisin? Merkitse kohdat, joissa kirjelmä viittaa lähteeseen, jonka sisältöä et voi todentaa (→ suosittele lahdetarkastaja-ajoa).
    • Näyttötaakka: missä kohdin taakka on kirjelmän laatijalla ja näyttö on ohutta; mitä vastatodistelua vastapuoli nimeäisi.
    • Määrä ja kulut: vaatimusten määrällinen perustelu, myötävaikutus- ja sovitteluargumentit, kuluriskin käyttö painostuskeinona, sovintotarjouksen taktinen paikka.
  3. Kirjaa myös se, mikä on vahvaa — vastapuoli välttäisi näitä kohtia; käyttäjän kannattaa rakentaa niiden varaan.

Tulosteen muoto

  1. Vastapuolen strategiamuistio (1–2 kappaletta): millä linjalla hyökkäisin ja miksi.
  2. Heikkoustaulukko:
# Kohta kirjelmässä Hyökkäys Vakavuus Korjattavissa ennen jättämistä?
1 vaatimus 2, s. 3 korkovaatimuksen alkupäivä ilman perustetta Merkittävä kyllä: lisää peruste + todiste

Read the full file on GitHub · 71 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. 9d ago First seen · 71 lines · 126 tokens per session scan A ece3d9c3e363

Subscribe to this mod's changes

vastapuoli is an agent published in the GitHub repository akunikkola/claude-for-legal-finland (103 stars, last pushed 2mo ago), licensed MIT. It adds 126 tokens to every session and 1,099 once invoked, about $0.0006 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-09-03.

Related

Other agents, from other repositories

patent-mapper

Patent, trademark, and copyright mapper. Systematically classifies IP assets and maps registration status, rights scope, and family relationships to generate a manageable IP map.

revfactory/harness-100 · 37 tokens

security-engineer

Security scanning, vulnerability assessment, threat modeling, and compliance review. Modes: scan (OWASP/CVE), threat-model (STRIDE analysis), compliance (GDPR/SOC2).

ilyasibrahim/claude-agents-coordination · 41 tokens

swiss-judicial-analyst

Provides neutral synthesis of advocate and adversary positions using Swiss Erwagung (consideration) structure with calibrated risk probabilities.

fedec65/bettercallclaude · 32 tokens

folha-pagamento-mensal

Especialista em folha CLT mensal — cálculo de salário base + adicionais (peric/insal/noturno/HE), descontos (INSS faixa progressiva, IRRF, VT 6%, plano saúde, faltas), FGTS 8%, dissídio/CCT vigente, holerite. Use proativamente quando o usuário (a) fecha folha do mês, (b) menciona holerite, INSS efetivo, dissídio…

asv-digital/agents-contadores · 0 tokens

esther

Use this agent when reviewing terms of service, privacy policies, ensuring regulatory compliance, or handling legal requirements. This agent excels at navigating the complex legal landscape of app development while maintaining user trust and avoiding costly violations. Examples:\n\n \nContext: Launching app in…

CarbeneAI/Forge · 0 tokens

legal-advisor

Drafts terms of service, privacy policies, software licenses, and compliance documentation for technology products.

Lua2147/claude-toolkit-catalog · 22 tokens