Agent skill

Case Search

by infometa in infometa/workbuddyskills

本技能用于检索、核验、筛选、比较或总结中国司法案例、判例、判决、裁定、裁判文书、裁判要旨、裁判观点和法院倾向,可完成案情分析、类案检索、全文阅读、补充检索、真实性核验、关联度排序和裁判理由摘要。

No licenceAuto-check passedDocuments & Office

Install Case Search

skills CLI
$ npx skills add infometa/workbuddyskills --skill case-search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install infometa/workbuddyskills case-search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/infometa/workbuddyskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/connectors/fazhi-law/skills/case-search .claude/skills/case-search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
case-search
GitHub stars
344
Token cost
~3.5k tokens
SKILL.md length
681 words
Files
7 (incl. scripts, references, assets)
Skills in repo
212
Repo updated
First seen
Licence
None found

At a glance

本技能用于检索、核验、筛选、比较或总结中国司法案例、判例、判决、裁定、裁判文书、裁判要旨、裁判观点和法院倾向,可完成案情分析、类案检索、全文阅读、补充检索、真实性核验、关联度排序和裁判理由摘要。

  • Works in 3 steps: 普通检索模式:用户要求查找、比较、核验或总结类案,但没有明确要求… → 直接报告模式:用户一开始明确要求生成、制作或出具 Word/DOCX… → 续生成报告模式:普通检索完成后,用户根据文末提示确认继续生成报告。读取并执行…
  • Tasks that involve Word documents
  • SKILL.md covers 模式路由, 工具调用, 工作流总览 and 诉求分析, plus 4 more sections
  • Runs Python scripts from its folder; reaches fazhi.law

What it does

Case Search is an agent skill from infometa/workbuddyskills. 本技能用于检索、核验、筛选、比较或总结中国司法案例、判例、判决、裁定、裁判文书、裁判要旨、裁判观点和法院倾向,可完成案情分析、类案检索、全文阅读、补充检索、真实性核验、关联度排序和裁判理由摘要。 覆盖案号或案件名称查询、根据案情找类案、以案搜案、相似案件、指导性案例、典型案例、胜诉或败诉案例、支持或反对案例、地域和时间筛选、裁判趋势、同案不同判及案例推荐。 也适用于“有没有判过”“法院以前怎么判”“有没有类似判决”“给我几个真实案号”“找几个胜诉或败诉的案子”“有没有相反判决”“法院一般支持哪一方”“各地法院判得一样吗”“最高院怎么看”“这个案子最后怎么判的”“司法实践怎么看”等表达。用户上传案情、判决书或仅描述事实,但主要目标是获得真实案例、案号、裁判文书,或根据案例总结认定标准、裁判理由和司法倾向时,通常可由本技能直接处理。 用户明确要求生成、出具或制作 Word/DOCX 类案检索报告时,本技能还可生成固定结构的专业 Word…

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts, reference files and assets (for example `references/report-spec.md`, `references/report-workflow.md` and `references/research-schema.json`).

It sits in Documents & Office, covering Word documents. It works with Microsoft Word and Model Context Protocol. The repository describes itself as: WorkBuddy skills / connectors / experts archive for offline study.

When your agent uses it

  • Tasks that involve Word documents

Example prompts

  • “法院以前怎么判”
  • “有没有类似判决”
  • “给我几个真实案号”
  • “/case-search”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 普通检索模式:用户要求查找、比较、核验或总结类案,但没有明确要求 Word、DOCX、文件版报告或“出具报告”。严格执行本文件原有的诉求分析、检索迭代、筛选排序和 Markdown 输出流程。用户仅说“完整报告”“全面梳理”但未要求文档文件时,仍属于普通检索模式。
  2. 直接报告模式:用户一开始明确要求生成、制作或出具 Word/DOCX 类案检索报告。读取并完整执行 references/report-workflow.md,不先输出普通检索回答。
  3. 续生成报告模式:普通检索完成后,用户根据文末提示确认继续生成报告。读取并执行 references/report-workflow.md 中的续生成规则,复用当前会话已经取得的检索式、候选案例、地域时间条件和筛选结论,只补齐报告要求的核验、补检、研究数据校验和 DOCX 生成。

What it can do on your machine

Read from SKILL.md and the folder at commit 75a5ad9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • fazhi.law

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Case Search loads about 3.5k tokens when it runs, and up to ~7.1k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 681 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 681 words (~3,520 tokens).

name
case-search
security.child_process
false
security.eval
false
security.filesystem_write
true
security.filesystem_read
true
auto_invoke
true
examples
根据这段案情检索真实类案,并比较法院的裁判理由, 查一下(2024)京01民终1234号并核验裁判结果, 找上海地区支持诉讼时效抗辩的买卖合同纠纷案例, 有没有与配偶单方出售共有房屋相似的判决, 比较各地法院对同类争议的裁判倾向, 把这次类案检索结果生成 Word 报告

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (scripts, references, assets) in connectors/fazhi-law/skills/case-search of infometa/workbuddyskills.

  • SKILL.md
  • assets/case-search-report-template.docx
  • references/report-spec.md
  • references/report-workflow.md
  • references/research-schema.json
  • scripts/build_case_report.py
  • scripts/validate_research.py

Open the folder on GitHubat commit 75a5ad9

Compare with similar skills

Case Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Case Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Case Search this skillinfometa/workbuddyskills344—~3.5kAutomated safety check: PassNone
Docsagentdocsagent/docsagent625—~834Automated safety check: PassNone
Baalda Guidenaveedharri/baalda154—~1.8kAutomated safety check: PassApache-2.0
Nutrient Document Processingaffaan-m/ECC275k4 repos~1.5kAutomated safety check: PassMIT
Nutrient Document Processingaffaan-m/ECC275k3 repos~1.3kAutomated safety check: PassMIT
Nutrient Document Processingaffaan-m/ECC275k2 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Docsagent

    docsagent/docsagent

    Search and manage private, local document collections (PDF, PPTX, DOCX) offline.

    625 GitHub stars~834 tokensUpdated 10 days ago
    Documents & OfficeAuto-check passed
  • Baalda Guide

    naveedharri/baalda

    Answer any question about Baalda (the team second-brain app at baalda.com) in plain, non-technical language — what it is, what it can and cannot do, which file formats it supports (Markdown, images…

    154 GitHub stars~1.8k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Process, convert, OCR, extract, redact, sign, and fill documents using the Nutrient DWS API.

    275k GitHub starsUsed in 4 repos~1.5k tokens
    Documents & OfficeAuto-check passed
  • 使用Nutrient DWS API处理、转换、OCR识别、提取、编辑、签名和填写文档。支持PDF、DOCX、XLSX、PPTX、HTML和图像格式。

    275k GitHub starsUsed in 3 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Nutrient DWS API を使用してドキュメントの処理、変換、OCR、抽出、編集、署名、フォーム入力を行います。PDF、DOCX、XLSX、PPTX、HTML、画像に対応しています。

    275k GitHub starsUsed in 2 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Government Writing

    Pinvou/pinvou-agent

    撰写规范的党政机关公文。当用户要"写/起草/拟一份 通知 / 意见 / 公文"时使用。当前内置文种:通知、意见,印发型主件支持办法/规定(法规体例;请示/报告/函可扩展,在 templates/ 增模板)。按《党政机关公文格式》GB/T 9704-2012 套发文字号、主送机关、层级序号、落款与固定话术,结构化内容经 gongwen MCP 渲染为合规 .docx。

    2.4k GitHub stars~1.4k tokensUpdated today
    Documents & OfficeAuto-check passed

More from infometa/workbuddyskills

All 212 skills in this repo
  • Campus Event Playbook

    infometa/workbuddyskills

    This skill should be used when planning, coordinating, running, or reviewing student-led campus events, including club recruitment, freshman mixers, welcome activities, small talks, competitions…

    344 GitHub stars~861 tokensUpdated yesterday
    Auto-check passed
  • Teachany

    infometa/workbuddyskills

    K-12 interactive courseware creation. An agent skill from infometa/workbuddyskills.

    344 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • Weight Management HTML

    infometa/workbuddyskills

    A skill your agent uses when the adult weight-management MCP needs to be installed/set up in WorkBuddy (connector) or its result must be rendered as a standalone Chinese HTML plan.

    344 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Agent Browser

    infometa/workbuddyskills

    A skill your agent uses when the user needs browser automation, including opening web pages, taking screenshots, extracting page content, clicking elements, filling forms, or testing web flows.

    344 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • AI Research Radar

    infometa/workbuddyskills

    定时任务:每日研究简报。漏掉重要论文和行业报告?每天帮你盯着,关键信息一条不漏 This skill should be used when the user asks about 定时任务:每日研究简报.

    344 GitHub stars~438 tokensUpdated yesterday
    Auto-check passed
  • Check Deck

    infometa/workbuddyskills

    Investment banking presentation quality checker. An agent skill from infometa/workbuddyskills.

    344 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed

Questions about Case Search

What does Case Search do?

本技能用于检索、核验、筛选、比较或总结中国司法案例、判例、判决、裁定、裁判文书、裁判要旨、裁判观点和法院倾向,可完成案情分析、类案检索、全文阅读、补充检索、真实性核验、关联度排序和裁判理由摘要。. Case Search is an agent skill from infometa/workbuddyskills.

When should I use Case Search?

Case Search fits situations like: tasks that involve Word documents.

How do I install Case Search in Claude Code?

Run `npx skills add infometa/workbuddyskills --skill case-search -a claude-code`. Or copy the skill folder (connectors/fazhi-law/skills/case-search in infometa/workbuddyskills) into .claude/skills/case-search in your project. Claude Code loads it when a task matches its description.

How do I install Case Search in Codex?

Run `npx skills add infometa/workbuddyskills --skill case-search -a codex`. Or copy the skill folder (connectors/fazhi-law/skills/case-search in infometa/workbuddyskills) into .agents/skills/case-search in your project. Codex loads it when a task matches its description.

Can I use Case Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add infometa/workbuddyskills --skill case-search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/case-search, .gemini/skills/case-search, .github/skills/case-search and .opencode/skills/case-search in your project.

What does Case Search need to run?

Going by SKILL.md and its folder, Case Search needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Case Search access the network?

SKILL.md names 1 domain. In commands or code: fazhi.law; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Case Search safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Case Search use?

No licence was found for Case Search or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Case Search use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.6k tokens, read only when the agent opens those files.

What are the alternatives to Case Search?

Skills that share tags, products or a category with Case Search: Docsagent (docsagent/docsagent, 625 stars), Baalda Guide (naveedharri/baalda, 154 stars), Nutrient Document Processing (affaan-m/ECC, 275k stars) and Nutrient Document Processing (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Case Search?

infometa (a GitHub user) maintains it in infometa/workbuddyskills, which has 344 GitHub stars. The repository holds 212 skills in this directory. The repository was last updated on October 7, 2026.

Source: infometa/workbuddyskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.