Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Case Records

BSecurity

사무소 과거 사건기록을 로컬 FTS로 검색. 명시적으로 외부 임베딩을 허용한 환경에서는 하이브리드 검색도 가능. 우리측 서면·상대측 서면·판결문 검색하여 "비슷한 사건이 있었나, 우리가 어떻게 주장했나, 법원이 어떻게 판단했나"에 답한다. 사건 0건일 때는 검색 시도하지 말고 사용자에게 추가 안내.

15 stars
0 votes
0 copies
1 views
Added 6/7/2026
ai-agentsbashgitapi

Works with

api

Security Analysis

B84/100
mediumUses curl or wget to download content
criticalExfiltrates credentials via HTTP — exact pattern from Snyk ToxicSkills study

Pro shows the line behind each finding and how to fix it

Scanned 6/7/2026

$npx -y skills add ThomasMoreAI/legal-skills-open --skill case-records --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Case Records?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Case Records
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/thomasmoreai-case-records/badge)](https://www.skillsdirectory.com/skills/thomasmoreai-case-records)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: case-records
title: 사건기록 검색 스킬 (case-records)
description: 사무소 과거 사건기록을 로컬 FTS로 검색. 명시적으로 외부 임베딩을 허용한 환경에서는 하이브리드 검색도 가능. 우리측 서면·상대측 서면·판결문 검색하여 "비슷한 사건이 있었나, 우리가 어떻게 주장했나, 법원이 어떻게 판단했나"에 답한다. 사건 0건일 때는 검색 시도하지 말고 사용자에게 추가 안내.
author: jurisupport
author_url: https://github.com/jurisupport/jurisupport-plugins/tree/main/skills/case-records
license: MIT
version: 0.1.0
execution_mode: open
jurisdiction: general
practice: litigation
language: ko
---

# 사건기록 검색 스킬 (case-records)

## When to use

- "비슷한 사건 있었나?"
- "우리가 전에 이런 주장한 적 있어?"
- "상대측이 보통 뭐라고 반박하지?"
- "이 쟁점 법원은 어떻게 판단했어?"
- 서면 작성 시 과거 우리 서면의 표현·구성 참조

## legal-books와의 차이

- **legal-books** (포트 8766): 교과서 → "법리가 무엇인가"
- **case-records** (포트 8767): 사건기록 → "우리가 어떻게 주장했고 법원이 어떻게 판단했는가" (기본 로컬 FTS)
- 서면 작성 시 **둘 다 검색** 권장

## 사전 확인

```bash
curl -s http://localhost:8767/health
```

- 서버 미응답 → 사용자에게 실행 요청
- `cases: 0` → 사용자에게 사건 추가 안내 (`guides/03_case_records.md`)
- `cases: N>0` → 검색 진행

## 검색 API

```bash
~/case-records/scripts/search_case_records.py "검색어" --top-k 5 --doc-type 준비서면
```

응답:
```json
{
  "query": "...",
  "results": [
    {
      "chunk_id": "2018가단11111_007_0023",
      "case_id": "2018가단11111",
      "case_name": "홍○○ 대여금",
      "doc_type": "준비서면",
      "doc_date": "2018-09-20",
      "author_role": "피고 대리인",
      "chunk_text": "...",
      "score": 0.84
    }
  ]
}
```

## 인용 규칙

답변에 사용할 때:

1. **사건번호 + 사건명 + 문서종류 + 일자** 표기
2. **직접인용("...")**은 chunk_text와 글자 단위 일치 확인
3. 인용 후 "**그러나 현재 사건의 사실관계가 다를 수 있으니 직접 검토 필요**" 안내
4. "**판례**" 표현 금지 → "판결" 또는 "판단"

## 개인정보 보호

- 기본 인덱싱은 사건기록 본문을 외부 임베딩 API로 보내지 않는다.
- `--allow-external-embedding` 또는 `CASE_RECORDS_ALLOW_EXTERNAL_EMBEDDING=1`이 설정된 환경에서는 사건 본문 또는 검색 쿼리가 Gemini API로 전송될 수 있으므로, 사용 전 사무소 정책과 의뢰인 비밀유지 기준을 확인한다.
- `/search` API는 `~/.jurisupport/case-records.token`의 로컬 bearer token이 있어야 응답한다. 스킬은 `search_case_records.py` helper를 사용해 토큰을 자동으로 읽는다.

## 사건이 없을 때

> 현재 사건기록 DB가 비어 있습니다.
> `~/jurisupport-plugins/guides/03_case_records.md`를 참조하여 과거 사건을 인덱싱해 주세요.
> 5~10건 정도 추가하면 검색 결과가 의미 있어집니다.

## 추가 도구

- 사건 1건 추가: `~/case-records/scripts/ingest_case.sh`
- 사건폴더 일괄 인덱싱: `~/case-records/scripts/ingest_all.sh --root ~/사건`
- 검색 helper: `~/case-records/scripts/search_case_records.py "검색어" --top-k 5`
- 서버 관리: `~/case-records/scripts/server.sh {start|stop|restart|status}`
- 가이드: `~/jurisupport-plugins/guides/03_case_records.md`

Attribution

ThomasMoreAIThomasMoreAI
View sourceSee grades on GitHubMore from ThomasMoreAI →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →