# perf-investigation-logger

Appends structured performance investigation notes, quotes, and evidence to project logs. Keeps benchmarks and optimization decisions organized.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1600 installs · ★ 1965
- Author: composio-community
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/composio-community/awesome-claude-plugins/tree/HEAD/perf/skills/investigation-logger/SKILL.md
- Updated: 2026-07-26
- HTML: https://affpapa.org/en/nevibecode/skills/perf-investigation-logger

## What it does

This skill writes performance findings directly into `{state-dir}/perf/investigations/<id>.md`. It relies on `docs/perf-requirements.md` as its primary reference contract.

Every logged phase captures exact user quotes, a phase summary, decisions with reasoning, and evidence pointers. Evidence must include executed commands or file paths with line references. Paraphrasing user words is strictly forbidden.

The target directory uses the `AI_STATE_DIR` environment variable, falling back to `.claude` if unset. Missing the contract file will leave your notes without defined project constraints.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill perf-investigation-logger -a claude-code
```
```bash
npx skills add composio-community/awesome-claude-plugins --skill investigation-logger -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/investigation-logger/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/investigation-logger/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill investigation-logger -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/investigation-logger/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill investigation-logger -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/investigation-logger/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install composio-community/awesome-claude-plugins investigation-logger
```

2. **Manually: put the files in place**
- File: `.github/skills/investigation-logger/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill investigation-logger -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/composio-community/awesome-claude-plugins --path perf/skills/investigation-logger
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/investigation-logger/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add composio-community/awesome-claude-plugins --skill investigation-logger -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/composio-community/awesome-claude-plugins/tree/HEAD/perf/skills/investigation-logger/SKILL.md

## When to use it
- record verbatim user feedback during performance debugging
- append structured investigation summaries to markdown logs
- attach evidence commands and file paths to optimization records
- document performance decisions alongside their rationale

## Example prompts
- Log this performance phase and attach the benchmark command output
- Append our profiling notes to the investigation log with the user quote
- Record the latency decision into `perf/investigations/<id>.md`

## Similar
- [session-logger](https://affpapa.org/en/nevibecode/skills/session-logger.md) — skill · 743 installs
- [change-logger](https://affpapa.org/en/nevibecode/hooks/change-logger.md) — hook · 163 installs
- [ue-testing-debugging](https://affpapa.org/en/nevibecode/skills/ue-testing-debugging.md) — skill · 1300 installs
- [web-perf](https://affpapa.org/en/nevibecode/skills/cloudflare-web-perf.md) — skill · 110200 installs
- [tilegym-improve-cutile-kernel-perf](https://affpapa.org/en/nevibecode/skills/tilegym-improve-cutile-kernel-perf.md) — skill · 1600 installs
- [perf-lighthouse](https://affpapa.org/en/nevibecode/skills/perf-lighthouse.md) — skill · 320 installs

From the same set: [composio-community/awesome-claude-plugins](https://affpapa.org/en/nevibecode/by/composio-community/awesome-claude-plugins.md) — 8 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
