# Setup

> Setup is an open-source agent skill for developer tools. Guides first-run setup of Sherlock Holmes Grafana Loki and Tempo access. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/whitebeardit/claude-plugins/tree/main/sherlock-holmes/skills/setup
- **Repository:** https://github.com/whitebeardit/claude-plugins
- **GitHub stars:** 13
- **License:** MIT
- **Skill name:** setup
- **Collection:** https://github.com/whitebeardit/claude-plugins
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/whitebeardit/claude-plugins/tree/HEAD/sherlock-holmes/skills/setup)
- [Asks for: Bash(python3 *collect-trace.py*), Bash(python3 *trace-diagram.py*), Read, Bash(python *collect-trace.py*), Bash(py -3 *collect-trace.py*), Bash(python *trace-diagram.py*), Bash(py -3 *trace-diagram.py*)](https://github.com/whitebeardit/claude-plugins/blob/HEAD/sherlock-holmes/skills/setup/SKILL.md)
- [License: MIT](https://github.com/whitebeardit/claude-plugins/tree/HEAD/sherlock-holmes/skills/setup)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Trace diagram](https://ai-powered.com/skills/trace-diagram): Trace diagram is an open-source agent skill for developer tools.
- [Trace debug](https://ai-powered.com/skills/trace-debug): Trace debug is an open-source agent skill for developer tools.
- [Otel tracing](https://ai-powered.com/skills/otel-tracing-ajyadav013-2): Otel tracing is an open-source agent skill for developer tools.
- [Openloomi install](https://ai-powered.com/skills/openloomi-install-melandlabs): Openloomi install is an open-source agent skill for developer tools.
- [Doctor](https://ai-powered.com/skills/doctor-spotify): Doctor is an open-source agent skill for developer tools.
- [Konductor setup](https://ai-powered.com/skills/konductor-setup): Konductor setup is an open-source agent skill for developer tools.
- [Conductor:setup](https://ai-powered.com/skills/conductor-setup): Conductor:setup is an open-source agent skill for developer tools.
- [Ollygarden otel SDK setup](https://ai-powered.com/skills/ollygarden-otel-sdk-setup): Ollygarden otel SDK setup is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/setup-whitebeardit
