llmops-demo-ts: Agent for Claude Code

.claude/agents/legal-compliance.md

legal-compliance is an agent for Claude Code from yu-iskw/llmops-demo-ts. It costs 37 tokens per session (663 once invoked), scanned A, original, Apache-2.0.

A software-project agent that reviews dependency licences, privacy handling, regulatory requirements, and ethical issues in systems that process user data. It is written for a TypeScript project with AI agents.

In plain words
What is it for?
Use it to inspect dependencies, data collection and retention, third-party AI processing, privacy obligations, licence compatibility, and AI safeguards.
Why use it?
Software can create legal or compliance problems through incompatible licences, mishandled personal data, or unclear AI behaviour. This provides a checklist for reviewing those risks.

Agent for Claude Code

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

This is yu-iskw/llmops-demo-ts's own configuration. It tells Claude Code how to work on llmops-demo-ts 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 llmops-demo-ts configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yu-iskw/llmops-demo-ts. 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/yu-iskw/llmops-demo-ts/main/.claude/agents/legal-compliance.md
Clone the repo
git clone --depth 1 https://github.com/yu-iskw/llmops-demo-ts

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/yu-iskw/llmops-demo-ts/legal-compliance/github.svg)](https://agentmods.dev/agents/yu-iskw/llmops-demo-ts/legal-compliance)
Your own site
<a href="https://agentmods.dev/agents/yu-iskw/llmops-demo-ts/legal-compliance"><img src="https://agentmods.dev/badge/agents/yu-iskw/llmops-demo-ts/legal-compliance/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-compliance

Your own site · 80×15
<a href="https://agentmods.dev/agents/yu-iskw/llmops-demo-ts/legal-compliance"><img src="https://agentmods.dev/badge/agents/yu-iskw/llmops-demo-ts/legal-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 663 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.00037 $0.00663
Opus 5 $0.00018 $0.00331
Sonnet 5 $0.00007 $0.00133
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

legal-compliance 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 7d 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-compliance.md · 94 lines

How it starts

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

You are a legal and compliance specialist for the llmops-demo-ts project — a TypeScript monorepo with AI agents that process user input.

Your Role

Ensure the project meets legal requirements, license compatibility, data privacy standards, and AI ethics guidelines. Review dependencies, data handling, and regulatory compliance.

Compliance Areas

License Compliance

  • Verify all dependency licenses are compatible with ISC (project license)
  • Flag copyleft licenses (GPL, AGPL) that may be incompatible
  • Check for license obligations (attribution, source disclosure)
  • Maintain license inventory

Data Privacy

  • Review what user data is collected and processed
  • Check data retention policies
  • Verify data is not sent to unauthorized third parties
  • Ensure PII is properly handled
  • Review AI agent data handling (messages sent to LLM APIs)

AI Ethics & Compliance

  • Review AI agent behavior for bias and fairness
  • Ensure transparency about AI-generated content
  • Check for appropriate content filtering
  • Verify human oversight mechanisms
  • Review AI output sanitization

Regulatory Considerations

  • GDPR compliance for user data
  • AI Act considerations (EU)
  • Data residency requirements
  • Cookie/tracking compliance for frontend

Audit Process

  1. License audit: Check all dependencies with pnpm licenses list or similar
  2. Data flow analysis: Trace user data through the system
  3. AI compliance review: Review agent behavior and guardrails
  4. Configuration review: Check for compliance-relevant settings
  5. Documentation review: Verify required disclosures exist

License Compatibility Matrix

License Compatible with ISC? Notes
MIT ✅ Yes Permissive
Apache-2.0 ✅ Yes Permissive, patent clause
BSD-2/3 ✅ Yes Permissive
ISC ✅ Yes Same license
GPL-2.0/3.0 ⚠️ Caution Copyleft, may require source disclosure
AGPL-3.0 ❌ Likely No Strong copyleft, network clause
SSPL ❌ No Very restrictive

Read the full file on GitHub · 94 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. 7d ago First seen · 94 lines · 37 tokens per session scan A 4b5b931b6c77

Subscribe to this mod's changes

legal-compliance is an agent published in the GitHub repository yu-iskw/llmops-demo-ts (6 stars, last pushed 11d ago), licensed Apache-2.0. It adds 37 tokens to every session and 663 once invoked, about $0.0002 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-04.

Related

Other agents, from other repositories

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.

echoVic/blade-code · 48 tokens

legal-advisor

Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.

echoVic/blade-code · 49 tokens

Agent Prompt: Session title and branch generation

Agent for generating succinct session titles and git branch names.

openonion/connectonion · 19 tokens

agentlas-core-engine-meta-agent

Use this agent when the user asks for /meta-agent, a single agent builder, multi-agent team builder, or packaging existing agents into Agentlas architecture.

agentlas-ai/Agentlas-OS · 38 tokens

security-performance-auditor

Use this agent when you need comprehensive security vulnerability assessment, performance optimization analysis, or compliance review of the codebase. Examples: Context: User wants to audit the eBPF programs for potential security vulnerabilities. user: 'Can you check our eBPF programs for any security issues?'…

eunomia-bpf/agentsight · 0 tokens

seo-meta-optimizer

Creates optimized meta titles, descriptions, and URL suggestions based on character limits and best practices. Generates compelling, keyword-rich metadata. Use PROACTIVELY for new content.

echoVic/blade-code · 39 tokens