case-dev

case-dev is a skill for Claude Code, Codex from CaseMark/casedotdev-starter-app. It costs 0 tokens per session (3,480 once invoked), scanned A, original, Apache-2.0.

An integration for Case.dev, a platform for legal applications that provides encrypted document storage, document search, AI models, OCR, transcription, and legal workflows.

In plain words
What is it for?
Use it to connect applications to Case.dev vaults, upload and search documents, digitize scanned files, transcribe depositions, run legal processing workflows, and deploy serverless functions.
Why use it?
It gives legal software one API connection for handling documents, extracting text and tables, transcribing recordings with speaker labels, and using AI models and legal prompts.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/casemark/casedotdev-starter-app/case-dev
Any agent
npx skills add CaseMark/casedotdev-starter-app --skill case-dev
Clone the repo
git clone --depth 1 https://github.com/CaseMark/casedotdev-starter-app

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge for your README with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them.

agentmods badge for case-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/casemark/casedotdev-starter-app/case-dev.svg)](https://agentmods.dev/skills/casemark/casedotdev-starter-app/case-dev)
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,480 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.03480
Opus 5 $0.00000 $0.01740
Sonnet 5 $0.00000 $0.00696
Haiku 4.5 $0.00000 $0.00348

Measured 3d ago against content hash 607e51af23af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

case-dev 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 3d 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.

skills/case-dev/SKILL.md · 617 lines

How it starts

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

Case.dev SDK Skill

Purpose

This skill covers the Case.dev API platform integration for legal tech applications, including document vaults, AI models, OCR, transcription, and workflows.

Key Concepts

  • Vaults: Encrypted document storage with semantic search and RAG
  • LLMs: Unified gateway to 130+ AI models (Claude, GPT-4, CaseMark Core 1)
  • OCR: Production-grade document digitization with table extraction
  • Voice: Transcription with speaker diarization for depositions
  • Workflows: 700+ expert-crafted legal prompts and processing pipelines
  • Orbit Compute: Serverless functions and app deployments

Setup

Installation

# TypeScript/JavaScript
bun add git+ssh://[email protected]:stainless-sdks/router-typescript.git

# Once published to npm:
# bun add casedev

Environment Variables

# .env.local
CASE_API_KEY=sk_case_...
CASEDEV_API_KEY=sk_case_...

Initialize Client

// lib/case-dev/client.ts
import Casedev from 'casedev';

export const casedev = new Casedev({
  apiKey: process.env.CASEDEV_API_KEY!,
  environment: 'production', // or 'local' for development
});

Project Structure

/
├── app/
│   ├── api/
│   │   └── case-dev/
│   │       ├── upload/route.ts
│   │       ├── search/route.ts
│   │       └── analyze/route.ts
├── lib/
│   └── case-dev/
│       ├── client.ts
│       ├── vaults.ts
│       ├── llm.ts
│       └── ocr.ts
└── ...

Vaults - Document Storage

Create a Vault

// lib/case-dev/vaults.ts
import { casedev } from './client';

export async function createVault(name: string, description?: string) {
  const vault = await casedev.vault.create({
    name,
    description,
  });
  
  return vault;
}

Upload Document to Vault

export async function uploadDocument(
  vaultId: string,
  file: File,
  options?: {
    ocr?: boolean;
    semanticIndex?: boolean;
  }
) {
  const formData = new FormData();
  formData.append('file', file);
  formData.append('vault_id', vaultId);
  
  if (options?.ocr) {
    formData.append('ocr', 'true');
  }
  
  if (options?.semanticIndex) {
    formData.append('semantic_index', 'true');
  }
  
  const doc = await casedev.vault.upload(formData);
  
  return doc;
}

Read the full file on GitHub · 617 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. 3d ago First seen · 617 lines · 0 tokens per session scan A 607e51af23af

Subscribe to this mod's changes

case-dev is a skill published in the GitHub repository CaseMark/casedotdev-starter-app (2 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,480 tokens. 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-08-31.

Related

Other skills, from other repositories

tabular-review

Tabular review — one row per document, one column per data point, every cell cited to source. Built for M&A diligence ("review these 200 target contracts for change-of-control, assignment, and MAC clauses") but works for any batch review that needs a spreadsheet out the other end. Use when user says "tabular review"…

anthropics/claude-for-legal · 124 tokens

amendment-history

Trace how a contract has changed across its base agreement and all amendments — either a summary of all changes over time, or a provision trace for a specific clause. Use when the user says "what changed in this contract over time", "show me the amendment history", "where's the latest [clause]", "how has [provision]…

anthropics/claude-for-legal · 84 tokens

handbook-updates

Diff a proposed handbook change against the current version, flag ripple effects and state supplement impacts. Use when user says "update the handbook", "add this to the handbook", "handbook change", or has a policy ready for insertion.

anthropics/claude-for-legal · 52 tokens

software-copyright-materials

Generate guided Chinese software copyright application materials from a real project. Use this skill when the user asks for 软件著作权, 软著申请资料, 软著代码材料, 操作手册, 申请表信息, or wants Word/TXT materials for software copyright registration. The workflow analyzes the imported project, extracts real source code, creates Markdown drafts…

Fokkyp/SoftwareCopyright-Skill · 97 tokens

cerna-analysis

Use when building a ceRNA regulatory network from a key gene list by combining bundled miRNA-mRNA and miRNA-lncRNA database files, with flat-file CSV exports and PDF visualization in a single output directory. NOT for: differential expression, single-cell analysis, enrichment analysis, or workflows without a key gene…

aipoch/medical-research-skills · 68 tokens

iflytek-contract-intelligence-review

Use when user asks to review contracts, detect contract risks, or perform compliance checks. 合同智能审核 - 对合同扫描件、图片合同、双语合同进行完整审核。 覆盖 OCR 识别、条款分析、风险检测、合规校对、翻译摘要全流程。 适用于法务审核、采购合同审查、供应链合规检查等场景。 关键词:合同审核、风险检测、条款分析、合规校对、contract review、risk detection。.

iflytek/iFly-Skills · 116 tokens