{"slug": "tracing-claude-tag-anthropic-s-slack-agent", "title": "Tracing Claude Tag, Anthropic's Slack Agent", "summary": "Anthropic's Claude Tag, a Slack agent that runs Claude Code in Anthropic-hosted sandboxes, can now be traced to Scorecard using OpenTelemetry, according to a new quickstart guide. The guide instructs Claude organization admins to create an Anthropic-hosted environment with specific environment variables and assign it to Claude Tag, enabling each session to appear as a trace record with user turns, LLM request spans, and tool spans. Claude Tag requires a Team or Enterprise plan, and tracing is limited to hashed user IDs and session IDs, with no email or account ID included.", "body_md": "[Claude working inside your team’s Slack workspace](https://claude.com/docs/claude-tag/overview). Each thread Claude works in is a\n\n**session**: it starts when someone mentions\n\n`@Claude`\n\n, runs Claude Code in an Anthropic-hosted sandbox, and ends when the thread goes quiet. Anthropic’s [How Claude Tag works](https://claude.com/docs/claude-tag/concepts/how-it-works)page covers the session lifecycle in detail. Because a session runs Claude Code, the same OpenTelemetry tracing used for\n\n[Claude Agent SDK tracing](/intro/claude-agent-sdk-tracing)works here too. Every session shows up in Scorecard as one record with a trace of user turns, agent reasoning, and tool calls. This quickstart shows how to configure an Anthropic-hosted environment so Claude Tag sessions are traced to Scorecard.\n\nClaude Tag requires a Claude\n\n**Team or Enterprise** plan, and these steps are done by a Claude organization admin. If your Slack workspace doesn’t have Claude Tag yet, follow[Anthropic’s setup guide](https://claude.com/docs/claude-tag/admins/setup-overview)first.## Steps\n\n1\n\n2\n\nCreate an Anthropic-hosted environment\n\nGo to\n\n[in your Claude admin settings and create a new Anthropic-hosted environment. Name it something like “Claude Tag Environment”. Under](https://claude.ai/admin-settings/cloud-environments)**Cloud environments****Network access**, pick a setting that lets sessions reach`tracing.scorecard.io`\n\n. The example below uses **Full access**.In the** Environment variables**field, add the following, one per line as`KEY=value`\n\n. Substitute your API key and project ID from the previous step.These variables are available to every session that uses this environment. Nothing is traced yet. That happens in the next step.\n\n3\n\nAssign the environment to Claude Tag\n\nThis is the step that turns tracing on. Go to\n\n[in admin settings and find](https://claude.ai/admin-settings/claude-tag)**Claude Tag****Claude Tag’s access**. Select the** Slack**tab, expand** Advanced**, and set** Environment**to the environment you created in step 2.Threads that are already running don’t see configuration changes, so start a new thread after setting the environment.4\n\nTalk to Claude in Slack\n\nMention\n\n`@Claude`\n\nin a channel it’s been invited to and give it a task. Nothing changes on the Slack side. The session is traced as it runs.@Claude summarize the open questions in this thread.\n\n## What you’ll see\n\nEach Claude Tag session becomes one record. Record sizes vary a lot because Claude Tag runs several kinds of sessions:\nInside a record:\n\n**User turns** are the raw Slack payload Claude receives: message text, author display names,`@handles`\n\n, Slack user IDs, channel IDs, thread participants, attachment file names, message edits, and reactions. In thread sessions this also includes the parent session’s hand-off notes and Claude’s own memory files for the channel.**LLM request spans** carry the model, token counts, a system prompt preview, the model output, and tool results as they were fed back to the model.**Tool spans** carry the tool name and full inputs and outputs: Slack reply text, Bash commands, file paths, GitHub calls.**Identity** is limited to a hashed`user.id`\n\n, session IDs, and your`scorecard.project_id`\n\n. Unlike Claude Code CLI traces, there is no email or account ID. Your environment variables and Scorecard API key are not in the trace.\n\n## Next Steps\n\n## Tracing Features\n\nLearn about advanced tracing patterns and trace grouping\n\n## Metrics\n\nCreate custom metrics to evaluate Claude Tag’s performance", "url": "https://wpnews.pro/news/tracing-claude-tag-anthropic-s-slack-agent", "canonical_source": "https://docs.scorecard.io/intro/claude-tag-tracing", "published_at": "2026-08-25 21:52:20+00:00", "updated_at": "2026-08-25 22:16:10.154491+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Anthropic", "Claude Tag", "Claude Code", "Scorecard", "OpenTelemetry", "Slack"], "alternates": {"html": "https://wpnews.pro/news/tracing-claude-tag-anthropic-s-slack-agent", "markdown": "https://wpnews.pro/news/tracing-claude-tag-anthropic-s-slack-agent.md", "text": "https://wpnews.pro/news/tracing-claude-tag-anthropic-s-slack-agent.txt", "jsonld": "https://wpnews.pro/news/tracing-claude-tag-anthropic-s-slack-agent.jsonld"}}