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.
npx agentmods add skills/casemark/casedotdev-starter-app/case-devnpx skills add CaseMark/casedotdev-starter-app --skill case-devgit clone --depth 1 https://github.com/CaseMark/casedotdev-starter-appWrote 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.
[](https://agentmods.dev/skills/casemark/casedotdev-starter-app/case-dev)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.
| Model | Per session | Once 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 |
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.
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;
}
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.
- 3d ago First seen · 617 lines · 0 tokens per session scan A 607e51af23af
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.
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"…
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]…
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.
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…
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…
iflytek-contract-intelligence-review
Use when user asks to review contracts, detect contract risks, or perform compliance checks. 合同智能审核 - 对合同扫描件、图片合同、双语合同进行完整审核。 覆盖 OCR 识别、条款分析、风险检测、合规校对、翻译摘要全流程。 适用于法务审核、采购合同审查、供应链合规检查等场景。 关键词:合同审核、风险检测、条款分析、合规校对、contract review、risk detection。.