Agent skill

Investigate

by blueberrycongee in blueberrycongee/termcanvas

Systematic debugging skill. An agent skill from blueberrycongee/termcanvas.

MITAuto-check passedDevelopment

Install Investigate

skills CLI
$ npx skills add blueberrycongee/termcanvas --skill investigate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install blueberrycongee/termcanvas investigate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/blueberrycongee/termcanvas.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/skills/investigate .claude/skills/investigate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
investigate
GitHub stars
405
Token cost
~562 tokens
SKILL.md length
318 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Systematic debugging skill. An agent skill from blueberrycongee/termcanvas.

  • Works in 5 steps: Collect → Hypothesize → Verify → …
  • Encountering a bug
  • SKILL.md covers Phase 1: Collect, Phase 2: Hypothesize, Phase 3: Verify and Phase 4: Fix, plus 2 more sections
  • Calls git

What it does

Investigate is an agent skill from blueberrycongee/termcanvas. Systematic debugging skill. Use when encountering a bug, test failure, unexpected behavior, or when asked to "investigate", "debug", "diagnose", or "figure out why". Enforces root-cause-first discipline with structured hypothesis tracking.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Debugging, Root cause analysis and Failing and flaky tests. It works with Git. The repository describes itself as: An infinite canvas desktop app for visually managing terminals. The licence is MIT.

When your agent uses it

  • Encountering a bug
  • Unexpected behavior
  • Asked to investigate

Example prompts

  • “investigate”
  • “diagnose”
  • “figure out why”
  • “/investigate”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Collect
  2. Hypothesize
  3. Verify
  4. Fix
  5. Verify and Report

What it can do on your machine

Read from SKILL.md and the folder at commit fa25981. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Investigate loads about 562 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 318 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~562

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from blueberrycongee/termcanvas at commit fa25981, republished under its MIT licence (© blueberrycongee). 318 words, ~562 tokens.

Download SKILL.mdSave it as .claude/skills/investigate/SKILL.md (or your agent's skills folder).
name
investigate
description
Systematic debugging skill. Use when encountering a bug, test failure, unexpected behavior, or when asked to "investigate", "debug", "diagnose", or "figure out why". Enforces root-cause-first discipline with structured hypothesis tracking.

Investigate

Systematic debugging workflow. Do not guess-and-fix — find the root cause first.

Phase 1: Collect

Gather all available evidence before forming any hypothesis.

  1. Read the error message, stack trace, or symptom description exactly as given
  2. Identify the affected code path — read the relevant source files
  3. Check git log --oneline -20 in the affected area for recent changes
  4. If reproducible, reproduce the issue and capture the exact output
  5. List what you know and what you do not know

Deliverable: a structured symptom summary with affected files, error output, and recent changes.

Phase 2: Hypothesize

Form up to 3 ranked hypotheses. For each:

  • State the hypothesis in one sentence
  • Identify the single cheapest check that would confirm or refute it
  • Do NOT start fixing yet

Phase 3: Verify

Test hypotheses in rank order. For each:

  1. Run the cheapest check identified in Phase 2
  2. If confirmed — move to Phase 4
  3. If refuted — record what you learned and move to the next hypothesis

3-strike rule: If all 3 hypotheses fail, step back and re-collect. Do not keep guessing. Re-read the code path more carefully, expand the search area, or check for environmental factors (config, dependencies, platform).

Phase 4: Fix

Only after root cause is confirmed:

  1. Write the minimal fix that addresses the root cause
  2. Do not refactor surrounding code
  3. Do not add speculative defensive checks
  4. Run the test suite to verify the fix and check for regressions

Phase 5: Verify and Report

  1. Confirm the original symptom is resolved
  2. Confirm no regressions were introduced
  3. Summarize: root cause, fix applied, evidence of resolution

Rules

  • Never skip Phase 1-3 and jump to fixing
  • Never change tests to match broken behavior
  • If the bug is in a dependency or environment, report it — do not patch around it silently
  • If you cannot reproduce the issue, say so and explain what you tried

© blueberrycongee, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/skills/investigate of blueberrycongee/termcanvas.

Open the folder on GitHubat commit fa25981

Compare with similar skills

Investigate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Investigate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Investigate this skillblueberrycongee/termcanvas405—~562Automated safety check: PassMIT
Debugging and Error Recoveryaddyosmani/agent-skills104k1 repos~2.6kAutomated safety check: PassMIT
Debuggnomeria/usbtree691—~715Automated safety check: PassMIT
Regression Root Cause AnalyzerArabelaTso/Skills-4-SE253—~3.4kAutomated safety check: PassApache-2.0
TiDB Test Diff Triagepingcap/tidb41k—~498Automated safety check: PassApache-2.0
Systematic DebuggingChrisWiles/claude-code-showcase6.1k3 repos~1.2kAutomated safety check: PassNone

Similar skills

  • Debugging and Error Recovery

    addyosmani/agent-skills

    Applies a stop-the-line rule and a step-by-step triage when tests fail, builds break or something stops working, aiming at the root cause instead of guesses.

    104k GitHub starsUsed in 1 repo~2.6k tokens
    DevelopmentAuto-check passed
  • Debug

    gnomeria/usbtree

    Systematic root-cause debugging — reproduce, isolate, fix at the source, prove the fix.

    691 GitHub stars~715 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Regression Root Cause Analyzer

    ArabelaTso/Skills-4-SE

    Locate root causes of failing regression tests by analyzing code changes, error messages, and test dependencies.

    253 GitHub stars~3.4k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Investigates TiDB plan or test-result diffs that the change does not explain, ruling out failpoint setup and merge effects before expected outputs are updated.

    41k GitHub stars~498 tokensUpdated today
    Testing & QAAuto-check passed
  • Systematic Debugging

    ChrisWiles/claude-code-showcase

    Applies a four-phase debugging routine that finds the root cause of a bug or failing test before any fix is written.

    6.1k GitHub starsUsed in 3 repos~1.2k tokens
    DevelopmentAuto-check passed
  • Systematic Debugging

    ed3dai/ed3d-plugins

    A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes - four-phase framework (root cause investigation, pattern analysis, hypothesis…

    250 GitHub starsUsed in 3 repos~2.4k tokens
    DevelopmentAuto-check passed

More from blueberrycongee/termcanvas

  • Challenge

    blueberrycongee/termcanvas

    Adversarial review skill. An agent skill from blueberrycongee/termcanvas.

    405 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Code Review

    blueberrycongee/termcanvas

    Structured code review skill. An agent skill from blueberrycongee/termcanvas.

    405 GitHub stars~804 tokensUpdated 4 mo ago
    Auto-check passed
  • Hydra

    blueberrycongee/termcanvas

    A skill your agent uses when a task should run through Hydra's Lead-driven workflow for multi-agent orchestration, or when an existing workflow must be inspected or cleaned up.

    405 GitHub stars~2.2k tokensUpdated 4 mo ago
    Auto-check passed
  • QA

    blueberrycongee/termcanvas

    QA testing skill with real browser automation. An agent skill from blueberrycongee/termcanvas.

    405 GitHub stars~830 tokensUpdated 4 mo ago
    Auto-check passed
  • Security Audit

    blueberrycongee/termcanvas

    Security audit skill. An agent skill from blueberrycongee/termcanvas.

    405 GitHub stars~966 tokensUpdated 4 mo ago
    Auto-check: notes
  • Using Termcanvas

    blueberrycongee/termcanvas

    A skill your agent uses when starting work in a TermCanvas-managed repo to route between direct work, Hydra, or a narrow TermCanvas skill.

    405 GitHub stars~793 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about Investigate

What does Investigate do?

Systematic debugging skill. An agent skill from blueberrycongee/termcanvas. Investigate is an agent skill from blueberrycongee/termcanvas. Systematic debugging skill.

When should I use Investigate?

Investigate fits situations like: encountering a bug; unexpected behavior; asked to investigate.

How do I install Investigate in Claude Code?

Run `npx skills add blueberrycongee/termcanvas --skill investigate -a claude-code`. Or copy the skill folder (skills/skills/investigate in blueberrycongee/termcanvas) into .claude/skills/investigate in your project. Claude Code loads it when a task matches its description.

How do I install Investigate in Codex?

Run `npx skills add blueberrycongee/termcanvas --skill investigate -a codex`. Or copy the skill folder (skills/skills/investigate in blueberrycongee/termcanvas) into .agents/skills/investigate in your project. Codex loads it when a task matches its description.

Can I use Investigate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add blueberrycongee/termcanvas --skill investigate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/investigate, .gemini/skills/investigate, .github/skills/investigate and .opencode/skills/investigate in your project.

What does Investigate need to run?

Going by SKILL.md and its folder, Investigate needs the command-line tools its instructions call (git).

Does Investigate access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Investigate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Investigate use?

Investigate is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Investigate use?

About 562 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Investigate?

Skills that share tags, products or a category with Investigate: Debugging and Error Recovery (addyosmani/agent-skills, 104k stars), Debug (gnomeria/usbtree, 691 stars), Regression Root Cause Analyzer (ArabelaTso/Skills-4-SE, 253 stars) and TiDB Test Diff Triage (pingcap/tidb, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Investigate?

blueberrycongee (a GitHub user) maintains it in blueberrycongee/termcanvas, which has 405 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on May 31, 2026.

Source: blueberrycongee/termcanvas on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.