> ## Documentation Index
> Fetch the complete documentation index at: https://docs.digcrate.app/llms.txt
> Use this file to discover all available pages before exploring further.

# /track — Track deep dive

> Full track research with credits, samples, lyrics, and vinyl pressings

The `/track` command researches a song across Discogs, WhoSampled, MusicBrainz, Genius, and iTunes, then renders a `TrackCard` component with tabbed views covering every dimension of the track.

## Syntax

```
/track [song] [artist]
```

| Parameter | Description                                   |
| --------- | --------------------------------------------- |
| `song`    | Track title                                   |
| `artist`  | Artist name — include this for disambiguation |

## Example

```
/track So What Miles Davis
```

## What it produces

The agent outputs a `TrackCard` component with the following tabs:

| Tab                 | Content                                                                                                     |
| ------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Credits**         | Musicians, writers, producers, engineers, and label details sourced from MusicBrainz and Discogs            |
| **Sample tree**     | Two-direction view: what the track samples, and which tracks have sampled it                                |
| **Lyrics**          | Notable Genius annotations and contextual trivia (no full lyrics — just the details listeners can't Google) |
| **Vinyl pressings** | Original pressing details, total pressing count, median price, and cover art from Discogs                   |

## Research steps

<Steps>
  <Step title="Perplexity web search">
    First call — gets the full recording story: studio context, who played on it, cultural impact, and interesting facts. This becomes the narrative context shown in the component header.
  </Step>

  <Step title="Discogs">
    Production credits, pressing count, median market price, original label and catalog number, and cover art URL.
  </Step>

  <Step title="WhoSampled (both directions)">
    Samples this track uses (direction: `from`) with element type — drum break, bassline, melody, etc. — and tracks that have sampled this song (direction: `by`).
  </Step>

  <Step title="MusicBrainz">
    Additional musician and writer credits if not fully covered by Perplexity or Discogs.
  </Step>

  <Step title="Genius">
    A notable annotation or production trivia. The agent does not include full song lyrics — only contextual details.
  </Step>

  <Step title="iTunes">
    Album art fallback if Discogs did not return cover art.
  </Step>
</Steps>

## Sample tree fields

Each sample entry in the tree includes:

| Field       | Description                                                                      |
| ----------- | -------------------------------------------------------------------------------- |
| `name`      | Sample track title                                                               |
| `artist`    | Sample track artist                                                              |
| `year`      | Year of the sampled recording                                                    |
| `direction` | `from` = track this song samples; `by` = track that samples this song            |
| `element`   | Sampled element (drum break, bassline, hook, etc.) — included for `from` entries |

## Related commands

<CardGroup cols={2}>
  <Card title="/artist" icon="user-music" href="/commands/artist">
    Full artist profile for the track's creator
  </Card>

  <Card title="/story" icon="book-open" href="/commands/story">
    Narrative deep dive on the album this track appears on
  </Card>

  <Card title="/influence" icon="diagram-project" href="/commands/influence">
    Influence map for the artist behind the track
  </Card>

  <Card title="/prep" icon="radio" href="/commands/show-prep">
    Generate talk breaks and context cards for this track
  </Card>
</CardGroup>

<Note>
  The agent intentionally skips full lyrics and only pulls Genius annotations. This keeps the focus on production context and avoids copyright issues.
</Note>
