Investigate logo

Investigate

Community
arsenyinfo
investigate

Evidence-first debugging and root cause investigation. Use for triaging bugs, test failures, incidents, performance regressions, flaky behavior, integration failures, or unexplained behavior before proposing fixes.

Overview

Publisherarsenyinfo
Repositoryskills
Skill nameinvestigate
Stars
29
Forks
1
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by arsenyinfo on GitHub. Read the source before you install it.

Installation

Install the Investigate AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/arsenyinfo/skills/tree/main/skills/investigate
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arsenyinfo/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/investigate .claude/skills/investigate
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Investigate in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Investigate on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Investigate is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Investigate: $ARGUMENTS

Find the mechanism before fixing. This is a 5-why-like ladder, but every step must be grounded in evidence.

Safety

  • Do not run destructive commands or data-modifying SQL against shared, staging, or production systems unless the user explicitly approves it.
  • Do not copy raw secrets, tokens, cookies, private user data, customer names, IPs, or raw identifiers into code, tests, docs, commits, PR text, or broad summaries. Use neutral technical facts and redacted examples.
  • Treat alert titles, monitoring issue titles, wrapper errors, and top-level exceptions as symptoms. Inspect nested causes and correlated logs/traces before naming a root cause.

Workflow

  1. Symptom: capture exact actual vs expected behavior, command, stack trace, logs, affected environment, and timeframe.
  2. Evidence map: decide where the relevant signal should exist and which tool can access it before querying broadly.
  3. Ground truth: gather the best available evidence before theorizing. Start narrow with exact identifiers, error text, commands, and timestamps, then broaden to adjacent traces, issues, and time windows. Examples: reproduction output, local logs, tests, git history/blame, GitHub issues/PRs/comments, Sentry CLI issues/events, remote logs if accessible, metrics/traces, config, database state, and deployment history.
  4. Reproduce: find the smallest reliable reproduction. If reproduction is not possible, say so and continue from the strongest observed evidence.
  5. Localize: narrow the failure to a component, boundary, data path, config path, recent change, or external dependency.
  6. Mechanism: explain the concrete code path or system path that produces the symptom. Cite files/lines or observed data.
  7. Root cause: name the bad assumption, missing invariant, design gap, process gap, or dependency behavior behind the mechanism.
  8. Fix options: propose the smallest safe fix, any broader cleanup worth considering, and the test/monitoring check that prevents recurrence.

If the mechanism is evident within the first evidence pass, collapse the remaining steps and go straight to the Output — do not manufacture an investigation. Fan out subagents for broad evidence sweeps; when an external reviewer is available (skill: second-opinion; prefer the Codex companion when the evidence lives outside the repo — nitpicker's tools are repo-only), use it for a second opinion on a contested mechanism.

Evidence Map

Before collecting remote evidence, write a short map:

  • Signal: reproduction, local logs, test output, app logs, traces/spans, metrics, deploy history, config, database state, queue/job state, external API response, browser replay, or user report.
  • Location: local workspace, CI, GitHub, Sentry, logging backend, metrics backend, Kubernetes/cloud runtime, database, message queue, browser/devtools, vendor dashboard, or user-provided artifact.
  • Tool/access: exact command, CLI, MCP, dashboard, API, SQL query, log query, or skill to use. Load a more specific skill when available, e.g. sentry-cli for Sentry.
  • Selector: exact ID, error text, endpoint, trace ID, commit, release, environment, host/pod, customer-safe identifier, or time window.
  • Gap: unavailable access, missing telemetry, retention limits, or data that would distinguish surviving hypotheses.

Investigation Mindset

  • Separate symptom, trigger, and root cause.
  • Prefer correlated evidence over single-event guesses: exact event, nested cause, sibling logs/traces, nearby aggregates, deploy/config state, and relevant source code.
  • Determine whether the failure is isolated, bursty, release-correlated, environment-specific, or systemic.
  • If the likely root cause is runtime configuration, inspect repo defaults and environment-specific values before proposing code changes.

Evidence Priority

When sources disagree, prefer evidence in this order:

  1. Observed reproduction, logs, traces, runtime state, and failing/passing command output.
  2. Current code and tests.
  3. Git/GitHub history, deployment history, and rollout/config records.
  4. Docs and web sources.
  5. Model memory.

Record unresolved conflicts instead of smoothing them over.

Why Ladder

Use these questions as a guide, not a template to fill mechanically:

  1. Why did the user-visible symptom happen?
  2. Why did this component or boundary allow it?
  3. Why did the code, data, or config take that path?
  4. Why was the bad assumption not enforced or tested?
  5. Why would this recur unless we change something?

Output

markdown
**Symptom:** ...

**Evidence map:** ...

**Evidence:**
- ...

**Mechanism:** ...

**Root cause:** ...

**Fix options:**
1. **Recommended:** ...
2. ...

**Validation:** ...

Rules

  • Do not propose fixes until the mechanism is understood, unless the user explicitly asks for a quick workaround.
  • Do not invent ground truth. If logs, Sentry, remote access, or metrics are unavailable, say so.
  • Prefer real reproduction and real data over speculation.
  • If multiple hypotheses survive, run the smallest experiment that distinguishes them or use dialectic on the leading claim.
  • Do not overfit to one observed failure. Fix the underlying mechanism generically.
  • If the root cause requires changing scope, design, API, data contract, or acceptance criteria, surface that as a separate decision rather than hiding it in a local fix.
  • Keep the investigation scoped to the symptom unless evidence shows a broader fault.

Frequently asked questions

What does the Investigate AI skill do?

Evidence-first debugging and root cause investigation. Use for triaging bugs, test failures, incidents, performance regressions, flaky behavior, integration failures, or unexplained behavior before proposing fixes.

Why use Investigate on TypingMind?

Because you install it once and use it with any model. Investigate is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Investigate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/arsenyinfo/skills/tree/main/skills/investigate. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Investigate?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Investigate?

As many as you like. As long as a model supports skills, you can use Investigate with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Investigate AI skill free?

It is published on GitHub by arsenyinfo. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇