Skip to content
Skill

Setup

Guides first-run setup of Sherlock Holmes Grafana Loki and Tempo access

Setup is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
13
Last commit
License
MIT
Listing updated

Similar skills

About Setup

This skill walks a user from a freshly installed Sherlock Holmes plugin to a working first investigation in one conversation. It runs the collector's doctor command to check Grafana or direct Loki and Tempo access, discovers datasource UIDs, and suggests a Loki stream selector based on the label names that the backend actually returns. It then hands over the exact values to paste into the plugin's configuration and reruns the doctor to confirm they are picked up.

The workflow is read-only. The skill never writes files or prints credentials, and it explains where tokens belong, such as the user's own Claude Code settings rather than a committed project file. The one optional step is installing the archify tool for trace diagrams, which runs only after the user explicitly approves that command.

It expects Python 3.8 or newer to run the bundled collector script, and Node.js for the optional diagram. It needs a Grafana service account token with the Viewer role, or direct Loki and Tempo endpoints, and it can run in a fixture mode that needs no backend.

When your agent uses it

Guided first-run setup for Sherlock Holmes, in one conversation - checks Grafana access with the doctor, discovers the Loki and Tempo datasource UIDs, proposes the Loki stream selector from the labels your Loki really has, hands over the exact /config values, optionally installs archify for the trace diagram, and verifies the result. Use right after installing the plugin, whenever the doctor reports a configuration problem, or when the user asks how to configure or set up Sherlock Holmes. Changes nothing in production.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

Install

This skill ships in the sherlock-holmes plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add whitebeardit/claude-plugins
/plugin install sherlock-holmes@whitebeard-plugins

Or copy only this skill to ~/.claude/skills/setup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/whitebeardit/claude-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/setup &&
cp -R "$tmp/sherlock-holmes/skills/setup" ~/.claude/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/setup inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/setup to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/whitebeardit/claude-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/setup &&
cp -R "$tmp/sherlock-holmes/skills/setup" ~/.agents/skills/setup &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/setup inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/setup to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/whitebeardit/claude-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/setup &&
cp -R "$tmp/sherlock-holmes/skills/setup" ~/.cursor/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/setup inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/whitebeardit/claude-plugins.git --path sherlock-holmes/skills/setup

Or copy the folder to ~/.gemini/skills/setup yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/setup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/whitebeardit/claude-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/setup &&
cp -R "$tmp/sherlock-holmes/skills/setup" ~/.copilot/skills/setup &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/setup inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/whitebeardit/claude-plugins.git

Then copy claude-plugins/sherlock-holmes/skills/setup into your agent's skills folder as setup. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Access check
Runs the collector doctor to confirm Grafana or direct Loki and Tempo connectivity and reports any configuration problem.
Datasource discovery
Lists available Loki and Tempo datasource UIDs so the user can choose the ones for their environment.
Stream selector proposal
Suggests a Loki label selector based on labels that exist in the user's Loki, asking for the value rather than guessing it.
Configuration handover
Provides the exact plugin configuration values to paste, and explains where the access token should be stored.
Optional diagram setup
Checks for Node and the archify tool and offers an install command that runs only after explicit consent.
Fixture demo mode
Runs the whole flow against bundled recorded responses so a user can see it without a live backend.

Good for

  • Set up Sherlock Holmes after installing the plugin
  • Fix a configuration problem reported by the doctor
  • Find the right Loki label selector for my logs
  • Check that Grafana credentials work with the trace tools
  • Try a sample trace investigation without a backend

Setup FAQ

Does Setup change my production systems?

No. The skill is described as read-only, and it never writes files or prints credentials. The only exception is installing archify, which requires your explicit yes.

Where should the Grafana token be stored?

The skill recommends the env block of your own Claude Code settings file, not a project's committed settings. It warns that the token is stored as plain text in your profile.

What is needed for the trace diagram?

Node.js is needed for the diagram, and Node 22 or newer for the archify installer. Without it, the rest of the plugin still works.

Can I try Setup without a backend?

Yes. Passing the fixture argument runs the doctors against bundled recorded Loki and Tempo responses.

How do I install Setup in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/setup to use it in all your projects, or to .claude/skills/setup in one project. Or install the sherlock-holmes plugin, which includes it: /plugin marketplace add whitebeardit/claude-plugins, then /plugin install sherlock-holmes@whitebeard-plugins.

Does Setup run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Setup?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Setup?

The closest alternatives to Setup are Trace diagram, Trace debug, Otel tracing, Openloomi install and Doctor.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from whitebeardit/claude-plugins

  1. Read-only AWS cost audit that produces an HTML report and a phased cuts plan

    • Open source
    • 13 GitHub stars
    • Cloud and infrastructure
  2. Maps an AWS bill into fixed cost categories with the biggest lines, read-only

    • Open source
    • 13 GitHub stars
    • Cloud and infrastructure
  3. Checks that your machine and AWS accounts are ready for a cost audit

    • Open source
    • 13 GitHub stars
    • Cloud and infrastructure
  4. Finds idle AWS resources such as unused NAT gateways, volumes and IPs, with evidence

    • Open source
    • 13 GitHub stars
    • Cloud and infrastructure
  5. Lists error spans and log errors for a time window as a numbered table

    • Open source
    • 13 GitHub stars
    • Developer tools
  6. Investigates a production incident from a trace ID using Loki logs and Tempo traces

    • Open source
    • 13 GitHub stars
    • Developer tools