korean-law-mcp-clean: Command for Claude Code

.claude/commands/deploy.md

deploy is a command for Claude Code from episodic-rush/korean-law-mcp-clean. It costs 0 tokens per session (527 once invoked), scanned A, a copy of deploy, MIT.

Um procedimento de publicação para o servidor de direito coreano e seu host integrado, o serviço que reúne cinco servidores MCP em uma aplicação.

In plain words
What is it for?
Serve para conferir alterações, publicar uma nova versão do pacote, atualizar a versão usada pelo host integrado, fazer o deploy e verificar a saúde dos cinco serviços.
Why use it?
Evita substituir acidentalmente o serviço integrado por uma versão que contenha apenas o servidor jurídico e interrompa os demais serviços.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is episodic-rush/korean-law-mcp-clean's own configuration. It tells Claude Code how to work on korean-law-mcp-clean 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 korean-law-mcp-clean configures →

Part of the korean-law plugin — 1 command, 1 MCP server shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to episodic-rush/korean-law-mcp-clean. 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/episodic-rush/korean-law-mcp-clean/main/.claude/commands/deploy.md
Clone the repo
git clone --depth 1 https://github.com/episodic-rush/korean-law-mcp-clean

Made for: Claude Code.

Or install korean-law, the plugin that ships this one along with the rest of its 1 command, 1 MCP server.

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 deploy

README.md
[![agentmods](https://agentmods.dev/badge/commands/episodic-rush/korean-law-mcp-clean/deploy/github.svg)](https://agentmods.dev/commands/episodic-rush/korean-law-mcp-clean/deploy)
Your own site
<a href="https://agentmods.dev/commands/episodic-rush/korean-law-mcp-clean/deploy"><img src="https://agentmods.dev/badge/commands/episodic-rush/korean-law-mcp-clean/deploy/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 deploy

Your own site · 80×15
<a href="https://agentmods.dev/commands/episodic-rush/korean-law-mcp-clean/deploy"><img src="https://agentmods.dev/badge/commands/episodic-rush/korean-law-mcp-clean/deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod 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.00000 $0.00527
Opus 5 $0.00000 $0.00264
Sonnet 5 $0.00000 $0.00105
Haiku 4.5 $0.00000 $0.00053

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

Security

Grade A, and why

deploy scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

9. 검증: `curl https://mcp.gomdori.app/healthz` (5개 서비스 up) + `/law` initialize 응답에 새 버전 확인
Origin

This is a copy

86% identical to deploy — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/deploy.md · 27 lines

What it actually says

커밋 + 푸시 + 통합 호스트 배포

⚠️ 2026-07-02부터 프로덕션은 gomdori-mcp 통합 호스트(fly 앱 korean-law-mcp, MCP 5종 동거)가 서빙합니다. 이 레포에서 fly deploy를 직접 실행하면 통합 이미지가 law 단독 이미지로 덮여 stats·patent·archhub·school까지 전부 죽습니다. 절대 금지.

실행할 작업

1단계: 커밋 & 푸시

  1. git status / git diff로 변경 확인
  2. git log -3 --oneline로 커밋 스타일 확인
  3. git add (단, .claude/memory/는 제외) → 한글 prefix 커밋(feat/fix/refactor/docs/chore) → git push

2단계: npm 릴리스

  1. npm run build로 빌드 확인 (실패 시 중단)
  2. npm version patch|minornpm publishgit push --follow-tags

3단계: 통합 호스트 반영

  1. ~/workspace/gomdori-mcp/Dockerfile[email protected] 핀을 새 버전으로 갱신
  2. gomdori-mcp 레포 커밋·푸시
  3. cd ~/workspace/gomdori-mcp && fly deploy -c fly.production.toml
  4. 검증: curl https://mcp.gomdori.app/healthz (5개 서비스 up) + /law initialize 응답에 새 버전 확인

배포 환경

  • 통합 호스트: fly 앱 korean-law-mcp (nrt, 512MB+swap) — gomdori-mcp/fly.production.toml
  • 공식 URL: https://mcp.gomdori.app/law (구 https://korean-law-mcp.fly.dev/mcp 하위호환 유지)
  • 롤백: fly releases -a korean-law-mcpfly deploy -a korean-law-mcp -i <직전 이미지>
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 · 27 lines · 0 tokens per session scan A 17b8ec977e9f

Subscribe to this mod's changes

deploy is a command published in the GitHub repository episodic-rush/korean-law-mcp-clean (0 stars, last pushed 22d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 527 tokens. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to deploy, differing in 6 lines, and is treated as a copy.