# Investigating

> Create and run a Crabshell I investigation document from Codex. Use for evidence-heavy research that needs multiple source types, cross-review, and documented conclusions; not for quick questions.

- Skill: `zipperbagcoffee/investigating-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zipperbagcoffee/investigating-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zipperbagcoffee/investigating-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: ZipperBagCoffee (https://skillmd.com/u/zipperbagcoffee)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/zipperbagcoffee/investigating-2

---


# Investigating

Use this when a question needs a durable investigation record, not just a chat answer.

## Create The I Document First

Resolve `{SKILL_DIR}` to the directory containing this `SKILL.md` and
`{PROJECT_ROOT}` to the absolute active project root. Run the bundled script
by its absolute path with that project as the explicit target:

```bash
node "{SKILL_DIR}/scripts/codex-docs.js" investigation "topic" --topic="what is being investigated and why" --questions="Q1; Q2; Q3" --sources="Internet: TBD; Local: TBD; User-specified: TBD" --constraints="[Project] ...; [Inferred] ..." --project-dir="{PROJECT_ROOT}"
```

The script creates `.crabshell/investigation/INNN-*.md` and appends to `.crabshell/investigation/INDEX.md`.

## Investigation Workflow

1. Read the new I document before researching.
2. Use at least two source types unless the user explicitly restricts scope:
   - Internet or external documentation when current/public facts matter.
   - Local files, code, tests, configs, or logs when project behavior matters.
   - User-provided URLs/files when supplied.
3. Fill `## Investigation Log` with separate workstreams. Each workstream needs evidence: commands, file paths, URLs, dates, or direct observations.
4. Fill `## Cross-Review` before synthesis. Challenge the workstreams for contradictions, missing sources, stale facts, and weak evidence.
5. Fill `## Synthesis` and `## Conclusions` in the document before summarizing in chat.
6. In `## Conclusions`, answer each question individually, include confidence level, and list remaining gaps.

The document update is the primary output. The chat response should be a short summary pointing to the I document.

