Skip to main content
skill CX Codex official · Anthropic

investigation-query — Claude Code skill: query an investigation log

Answers questions against an open investigation log: what witnesses said, where accounts conflict, which gaps remain.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add anthropics/claude-for-legal --skill investigation-query -a claude-code
Open on GitHub

What investigation-query does

The skill reads an investigation log and answers from it, so the attorney does not have to re-read every entry. Ask about one person's account, about where the complainant and the respondent disagree, about what is still missing, or about the strongest evidence on a given issue.

Three steps run inside. It loads the internal-investigation reference skill and runs Mode 3 (Query). Every answer cites the log entry IDs behind it. When the log holds nothing on the topic, the skill says so outright and offers to flag it as a gap.

You call it as a slash command with two arguments: the matter name and your question. Leave out the matter name and nothing runs, since that is how the right log gets found. Citation rules and gap-flagging templates live in the reference skill, which has to be loaded before any substantive work.

What it helps with

  • find out what the respondent said about a specific event
  • spot where the complainant's and respondent's accounts conflict
  • work out which materials the matter still needs
  • pick the strongest evidence on each issue
  • get an answer tied to log entry IDs instead of a recap from memory

Example prompts for the agent

  • /employment-legal:investigation-query [matter name] What did the respondent say about the December team dinner?
  • /employment-legal:investigation-query [matter name] Where do the complainant's and respondent's accounts conflict?
  • /employment-legal:investigation-query [matter name] What do we still need?

How to install investigation-query

1Skills CLI (Vercel)

npx skills add anthropics/claude-for-legal --skill investigation-query -a claude-code

2Manually: put the files in place

~/.claude/skills/investigation-query/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/investigation-query/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about investigation-query

How do I install investigation-query in Claude Code?

Run npx skills add anthropics/claude-for-legal --skill investigation-query -a claude-code. The skill file lands at ~/.claude/skills/investigation-query/SKILL.md.

What does investigation-query do?

It answers questions against an open investigation log: witness accounts, conflicting versions, gaps, and the strongest evidence on each issue. Answers cite log entry IDs.

What does the skill need to work?

A matter name in the command arguments and the internal-investigation reference skill loaded, since substantive work depends on it. If the log has nothing on your question, the skill says so and offers to flag the topic as a gap.

Source text

SKILL.md · Apache-2.0
---
name: investigation-query
description: >
  Ask questions against an open investigation log — what witnesses said, where
  accounts conflict, what gaps exist, what the strongest evidence is on each
  issue. Use when the attorney needs to query the investigation record without
  re-reading every entry.
argument-hint: "[matter name] [question]"
---

# /investigation-query

Answers questions against the investigation log — what witnesses said,
where accounts conflict, what gaps exist, what the strongest evidence is
on each issue.

## Instructions

1. Load the `internal-investigation` reference skill and run Mode 3 (Query).
2. Always cite log entry IDs in the answer.
3. If the log contains nothing relevant to the question, say so explicitly —
   "I have not seen any information on [topic] in this investigation log
   ([N] entries reviewed)" — and offer to flag it as a gap.

## Examples

```
/employment-legal:investigation-query [matter name]
What did the respondent say about the December team dinner?
```

```
/employment-legal:investigation-query [matter name]
Where do the complainant's and respondent's accounts conflict?
```

```
/employment-legal:investigation-query [matter name]
What do we still need?
```

> Detailed log-query process, citation rules, and gap-flagging templates live
> in the `internal-investigation` reference skill — load it before doing
> substantive work.

© anthropics · Apache-2.0 · anthropics/claude-for-legal

Similar skills

Everything for Writing and docs →

From the same set118

skills-qa Runs a skill through thirteen design parameters and three legal failure modes, then hands you a verdict before you commit to it. CX Codex +1 605installs demand-received Reads an inbound demand letter, pulls out the key fields, checks it against your matter log, scores how strong the claim is and lays out the response options. CX Codex +1 605installs internal-investigation A reference framework for internal legal investigations from intake to final memo. It tracks evidence gaps, processes documents, and supports work-product privilege. CX Codex +1 605installs customize Updates one part of an AI governance practice profile without repeating the cold-start interview. Use it for risk settings, escalation contacts, registry entries, or workspace paths. CX Codex +1 605installs portfolio Keeps a register of trademarks, patents and domains: what renews, which fees are due, where the gaps are. Handy when you need to check dates or log a filing. CX Codex +1 604installs skill-manager Manages the removal, disabling, and re-enabling of community skills installed via legal-builder-hub. Keeps core plugins safe and logs every file action. CX Codex +1 603installs renewal-tracker Tracks contract renewals and notice-send deadlines from a renewal register. Use it to review upcoming dates or find missed cancellation windows. CX Codex +1 602installs feature-risk-assessment Takes one risk apart: what could go wrong, how likely, how bad, what already limits the damage. Built for the cases a table row can't hold. CX Codex +1 602installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor