Claude
Skills
Sign in
Back

tierzero-fetch

Included with Lifetime
$97 forever

Fetch a TierZero conversation, investigation, or artifact by URL or UUID and fold it into the current task. Use when the user pastes a TierZero link (chat, investigation, or artifact), shares a bare artifact UUID, or asks you to load saved context from a prior TierZero (also referred to as t0, tz, or tzero) session.

Productivity

What this skill does


# TierZero: Fetch Context

Fetch conversation, investigation, or artifact data from TierZero by URL or artifact UUID, so the agent can act on it.

## Supported inputs

| Type | Example |
|------|---------|
| Chat URL | `https://app.tierzero.ai/chat/c/<GlobalID>` |
| Investigation URL | `https://app.tierzero.ai/investigations/<GlobalID>` |
| Artifact UUID | `bf904904-afdc-4cf2-94d8-76a4a8bb4f75` |

## How to invoke

This plugin registers TierZero as an MCP server (`tierzero`). Call the MCP tool directly — do **not** shell out to `curl`.

Tool: `tierzero_fetch_context`

Arguments:

- `url` (string, required): the chat URL, investigation URL, or artifact UUID.
- `include_sources` (bool, optional, default `false`): set `true` only when the user asks for source-by-source breakdowns or you need to cite specific log lines / traces.

## After the call

Parse the response and surface what's relevant for the current task:

- **Conversations** — walk the messages (use `messageType` and `output`); summarize the conclusion, then note any open questions.
- **Investigations** — present the `outputJson` result; quote findings, list evidence sources.
- **Artifacts** — show the artifact `value` and `type`; if it's a log/metric snapshot, summarize what it contains.

Only include source metadata if the user explicitly asks for it (and call with `include_sources: true`). Otherwise it's noise.

## Authentication

OAuth is automatic.

**If an authorization URL surfaces** (because the user hasn't authed yet, or the token expired), do NOT print the URL and ask the user to copy it. Claude Code's terminal wraps long URLs across multiple lines, splicing newlines into the copied text and breaking the paste. Instead, run it through the system browser opener:

- macOS: `open '<authorization_url>'`
- Linux: `xdg-open '<authorization_url>'`

Quote the URL — the OAuth params contain `&` and `=` which the shell will mangle without quotes. After running, tell the user "Browser opened — log in to TierZero and consent. The MCP server will reconnect automatically once auth completes."

If a tool call fails with an authentication error and you don't have an auth URL in hand, tell the user to run `/mcp` and re-authorize the `tierzero` server.

Related in Productivity