Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

investigation-mode

Skill by openai

Investigation Mode coordinates debugging when something is stuck, hung, broken, or not responding. It checks runtime logs, workflow status, browser state, and deployment status in order, reporting findings at each step. It is for developers building apps on Vercel.

  • Score 87
  • 8.4k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install investigation-mode

Built from the published package, never by AI.

git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/vercel/skills/investigation-mode ~/.claude/skills/investigation-mode

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install investigation-mode in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Investigation Mode is a debugging coordinator skill for AI assistants. It activates when a user reports something stuck, hung, broken, or not responding, based on phrases and keyword rules in its metadata. It then follows a fixed triage order: runtime logs, workflow run status, browser verification, and deploy or environment status. At each step it tells the user what it is checking, shares the evidence it finds, and explains the next step.

The skill stops when it finds a high-confidence root cause, or when two consecutive steps show no signal, and then asks the user for more context. It lists common hang causes such as missing await, unresolved promises, missing environment variables, and middleware that never calls next. It also includes examples of structured logging for API routes and workflow steps. The source is written around Vercel commands and points to the observability and workflow skills for related setup.

Written from the project's SKILL.md and checked against it.

What it can do

  • Runtime log triageChecks dev server output, Vercel logs, and browser console errors first.
  • Workflow status checkLists recent workflow runs and looks for runs stuck in running state or failed steps.
  • Browser verificationTakes a screenshot, checks console errors, and reviews failed or hanging network requests.
  • Deploy and environment checkInspects the latest deployment, build output, and environment variable mismatches.
  • Step-by-step reportingTells the user what is being checked, shares evidence, and explains the next step.
  • Common hang causesLists frequent culprits such as missing await, unresolved promises, and connection pool exhaustion.
  • Add logging guidanceProvides structured logging examples for API routes and workflow steps when logs are missing.

What you need

  • Vercel CLI
  • agent-browser for screenshots and browser checks

Try asking

  • My app is stuck on a loading screen. Investigate why.
  • Check the workflow runs and tell me which one is hanging.
  • The API request keeps timing out. Debug this step by step.

Good to know

  • Stops after two triage steps with no signal and asks for more context.
  • Triage commands are written for Vercel and may not apply to other hosts.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/vercel/skills/investigation-mode/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • agents/openai.yaml106 B

Alternatives to investigation-mode

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

investigation-mode: common questions

When does investigation mode activate?

It triggers on frustration signals such as stuck, hung, broken, waiting, and not responding, based on phrase and keyword rules in its metadata.

What order does it check things in?

It checks runtime logs first, then workflow or background job status, then browser verification, and finally deploy and environment status.

Does it guess the cause of a problem?

No. The source says it should not guess, and it stops once it finds a high-confidence root cause or no signal after two steps.

How do I install investigation-mode?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is investigation-mode free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is investigation-mode safe to use?

It scores 87 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to investigation-mode?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

investigation-mode Install

Add to stack

Loading.