Port claude-for-legal plugin collection to Opencode skills format. Changes: - 140 skills ported to opencode-for-legal/skills/ (namespaced naming) - 14 agents converted to Opencode subagent format - 5 managed-agent cookbooks flattened to single agents - 19 MCP servers converted to opencode.json format - 11 practice-profile templates ported (CLAUDE.md → PROFILE.md) - Remote skill catalog (index.json) for Opencode URL discovery - Setup wizard skill for first-time configuration License compliance: - Original source preserved in upstream/ per Apache 2.0 §4(b) - NOTICE.md documents derivative work and upstream attribution - LICENSE copied into port directory - README rewritten with port disclaimer and trademark notice Platform updates: - Removed all Claude Code/Cowork product-specific references - Config paths updated to ~/.config/opencode/opencode-for-legal/ - Command syntax: /plugin:skill → opencode auto-loading - Agent frontmatter converted (tools: → mode: subagent)
2.1 KiB
opencode-for-legal
A port of claude-for-legal skills and agents to Opencode format.
License
This port is distributed under the Apache License 2.0, consistent with the upstream claude-for-legal project.
Upstream Source
This is a derivative work of:
claude-for-legal https://github.com/anthropics/claude-for-legal Copyright 2025 Anthropic PBC Licensed under Apache License 2.0
The original source files are preserved in the parent repository:
../commercial-legal/ (original plugin) ../corporate-legal/ ../employment-legal/ ../ip-legal/ ../law-student/ ../legal-clinic/ ../litigation-legal/ ../privacy-legal/ ../product-legal/ ../regulatory-legal/ ../ai-governance-legal/ ../managed-agent-cookbooks/ ../LICENSE (Apache 2.0 license text)
What This Port Changes
The original skill content (workflow instructions, output templates, guardrails) is preserved. The following adaptations were made for Opencode compatibility:
- Skill frontmatter — namespaced as
{plugin}-{skill}; removed Claude Code-specific fields (argument-hint,user-invocable) - Agent definitions — converted from Claude Code format
(
tools:array) to Opencode format (mode: subagent,model:) - MCP configuration — converted from per-plugin
.mcp.jsonto a singleopencode.jsonwithmcpkey - File references —
CLAUDE.mdrenamed toPROFILE.md; config paths updated to~/.config/opencode/opencode-for-legal/ - Platform references — Claude Code / Claude Cowork product references replaced with Opencode equivalents
- Cookbooks — three-tier CMA subagent architecture (YAML manifests) flattened to single Opencode agent definitions
Trademark Notice
"Claude" and "Claude Code" are trademarks of Anthropic. This port is not affiliated with, endorsed by, or maintained by Anthropic.
Modifications
All modifications made by this port are documented in git history. The README.md has been rewritten for Opencode. No original skill workflow content has been altered beyond platform-specific path and product-name updates.