✨ Software.com is now Antenna. Read more →
Skip to Content

Sync Claude.ai Team activity with Cowork

Claude.ai Team plans have no activity API, so each member’s Chat and Cowork activity is only available as a CSV export from Claude Analytics. The Antenna Team Activity Sync skill downloads that export one day at a time in Claude Cowork  and uploads it to Antenna through the Antenna connector. Run it until the last 90 days are filled, then schedule it weekly.

Goals

  • Chat and Cowork activity: Antenna records each member’s chats, messages, projects, Cowork sessions and artifacts per day, and shows them on the AI Tools > Claude tab.
  • Daily roster: Antenna keeps every member in each day’s export, including members with no activity that day.
  • Rolling coverage: Claude keeps 90 days of activity history. Each weekly run fills up to 30 days Antenna is missing in that window, so a skipped week is caught up on the next run.

Requirements

RequirementDetails
Claude roleOwner or Primary Owner of the Claude.ai Team organization.
Antenna roleEnterprise admin. Uploading data to a source needs admin access.
Antenna sourceA Claude.ai Team source in Settings > Sources. See Setup.
Claude DesktopThe Claude Desktop  app for macOS or Windows with Cowork enabled. Cowork uses the app to reach your browser and downloads folder.

Setup

Add the Antenna connector

On Team plans, only Owners can add a custom connector. In Claude, go to Organization settings > Connectors, click Add, and choose Custom > Web. Enter Antenna as the name and https://app.antenna.dev/api/mcp/enterprise/YOUR_ENTERPRISE_SLUG as the remote MCP server URL. Your enterprise slug is the identifier in your Antenna URL, for example acme in https://app.antenna.dev/enterprises/acme.

Then go to Customize > Connectors, click Connect next to Antenna, and approve access in your browser as an Antenna admin. See MCP Server for details. If you already added Antenna for spend sync, use the same connector.

If you connected Antenna before, the upload tools may need new access. If Settings > MCP Server in Antenna shows New tools need more access, disconnect and add Antenna again.

Install the skill

Download antenna-team-activity-sync.zip. Don’t unzip it. In Claude, go to Customize > Skills, upload the zip, and make sure antenna-team-activity-sync is turned on.

To review what the skill tells Claude to do before you install it, expand the full instructions below. They are the zip’s SKILL.md.

Skill instructions

--- name: antenna-team-activity-sync description: "Uploads Claude.ai Team activity to Antenna. Downloads the members activity export one day at a time for each day Antenna is missing in the last 90 days, and uploads each day with the Antenna connector. Use for 'sync Claude Team activity to Antenna'." --- # Sync Claude Team activity to Antenna Claude.ai Team plans have no activity API. Each person's Chat, Cowork, project and artifact counts are only in the members activity export from Claude Analytics. This skill downloads that export one day at a time in the signed-in browser and uploads each day to Antenna through the Antenna connector. Antenna validates each file, keeps the history, and reports which days are still missing. ## Prerequisites (check first; stop and tell the user if any fail) - The user is a Team **Owner** or **Primary Owner**. - The **Antenna** connector is connected and its tools `claude_team_cost_status` and `claude_team_activity_report_upload` are available, and `claude_team_cost_status` returns an `activity` section. If the tools are missing, the user must disconnect and re-add the connector in Antenna to approve the new access (an Antenna admin is required). If they are still missing after that, or `activity` is missing, activity uploads aren't available for this Antenna account yet: stop and tell the user to contact Antenna. - The browser Claude drives is signed in to claude.ai, on the Team organization being synced. - Claude can read the browser's download folder (usually `~/Downloads`). If it can't, ask the user to connect that folder. - Only open the export URL in step 4 and the Members page in step 2 as pages in the signed-in browser. Never fetch claude.ai URLs from code or a terminal, never call other claude.ai endpoints, and never handle session cookies. ## Steps 1. **Ask Antenna what is missing.** Call `claude_team_cost_status`. If it lists several Claude sources instead, use the source ID the user gave in the prompt ("for source 8941"). Otherwise show each source's ID, tell the user the ID is the number at the end of the source's page URL in Antenna (**Settings** > **Sources** > **Configure** on the Claude.ai Team source, e.g. `/claude_apps/8941`), and ask which to use; in a scheduled run, stop and report this instead. Call it again with that ID as `claude_data_source_id`. Note `window.start_date` and `window.end_date` (yesterday, UTC), and each organization in `activity.organizations` with its `claude_organization_id`, `missing_dates` and `last_uploaded_date`. 2. **Find this organization.** If `activity.organizations` lists exactly one organization, use its `claude_organization_id`. Otherwise, open https://claude.ai/admin-settings/members, click **Export CSV**, and read the organization ID from the downloaded file name, `members-<organization ID>-YYYY-MM-DD.csv`. Don't upload that file. An organization that isn't listed is missing every day in the window. 3. **Choose the days.** Take this organization's missing days. Also re-export its `last_uploaded_date` if it is yesterday or the day before, because Claude may still have been updating that day when it was uploaded. Process at most 30 days per run, oldest first, so days that are about to leave the 90-day window are saved first. Say how many days are left for the next run. 4. **Download one day.** Open this URL in the signed-in browser, with the organization ID and the same day as both `start_date` and `end_date`: `https://claude.ai/api/organizations/<organization ID>/analytics/activity/users/export?sort=chats&order=desc&start_date=YYYY-MM-DD&end_date=YYYY-MM-DD` The end date is inclusive and days are UTC, so the file covers exactly that day. The page downloads `members-analytics-<organization ID>-YYYY-MM-DD-to-YYYY-MM-DD.csv`. Wait for the download to finish before opening the next day, or the browser may block later downloads. The export has no date column, so each file must cover exactly one day. 5. **Upload the day.** Read the downloaded file and call `claude_team_activity_report_upload` with: - `csv`: the file's text with every value unchanged, header row included. Do not retype, reorder or round values. Line endings and the invisible mark at the start of the file may change when you copy the text; that's expected, so don't strip or convert them yourself and don't mention them in the report. - `date`: the day, `YYYY-MM-DD`. - `file_name`: the downloaded file name. Rows where every count is zero are valid: Antenna keeps them as that day's roster. If Antenna refuses the file, record the day and the reason, and continue with the next day. Uploading a day again replaces that day's report. 6. **Report.** Finish with a short summary: days uploaded with their user counts, days refused with the reason, and days still missing. Do not paste emails or file contents into the chat. ## Rules - Never edit the CSV. - The CSVs contain member emails. Send them only to the Antenna connector; do not copy them anywhere else. Leave the downloaded files where they are; do not delete them. - If the export URL shows an error or a sign-in page instead of downloading a file, stop and explain. Do not try workarounds. - If the browser can't open a page or download a file, or a Save As dialog or a prompt to allow claude.ai to download multiple files appears during a scheduled run, stop and report exactly which step failed. In the report, tell the user to turn off **Ask where to save each file before downloading** in `chrome://settings/downloads` and add `claude.ai` under **Allowed to automatically download multiple files** in `chrome://settings/content/automaticDownloads`. ## Running it on a schedule A skill can't create a schedule. After a successful first run, the Owner says "do this every week" (or uses **Scheduled** > **New task**) and Claude creates the scheduled task. Weekly is enough: the export keeps 90 days, and each run fills up to 30 missing days. On the first run, send the same message again until no days are missing. The browser step needs the Claude Desktop app open and online on the Owner's computer, and the browser signed in to claude.ai.

Allow the Antenna tools

Go to Customize > Connectors, select Antenna, and set these tools to Always allow, so scheduled runs don’t stop for approval:

  • claude_team_cost_status
  • claude_team_activity_report_upload

If Always allow isn’t available, an Owner can allow it in Organization settings > Cowork.

Set up the browser and downloads folder

Cowork drives a browser to download the exports, then reads them from your downloads folder.

  • Browser: Sign in to claude.ai  in the browser Cowork uses, on the Team organization you’re syncing. If you use Claude in Chrome , change two Chrome settings once so each export saves without a prompt:
    • In chrome://settings/downloads, turn off Ask where to save each file before downloading.
    • In chrome://settings/content/automaticDownloads, add claude.ai under Allowed to automatically download multiple files.
  • Downloads folder: Connect your downloads folder (usually Downloads) to Cowork, so Claude can read the exported files.

Run the first sync

In Claude Desktop, open Cowork and start a new task. Select your downloads folder and send:

Sync Claude Team activity to Antenna

Claude asks Antenna which days are missing, downloads them one day at a time, oldest first, and uploads each one.

If your enterprise has more than one Claude.ai Team source, Claude asks which one to use. The source ID isn’t shown on the page; it’s the number at the end of the URL. In Antenna, go to Settings > Sources and click Configure on the Claude.ai Team source: in app.antenna.dev/enterprises/acme/claude_apps/8941, the ID is 8941. Add it to the message, for example Sync Claude Team activity to Antenna for source 8941, and use the same prompt for the scheduled task.

Each run uploads up to 30 days. To backfill all 90 days now, send the same message again until Claude reports no missing days.

Schedule it weekly

In the same task, send Do this every week. You can also click Scheduled in the left sidebar, then New task, and enter:

  • Name: Antenna Team Activity Sync
  • Prompt: Sync Claude Team activity to Antenna
  • Frequency: Weekly
  • Folder: your downloads folder

Click Save. The task appears on the Scheduled page, where you can run it now, see past runs, pause it, or delete it.

A scheduled run uses your browser and local files, so it only runs while Claude Desktop is open and your computer is awake. A missed run doesn’t lose data: later runs fill every missing day in the 90-day window.

How each run works

  1. Claude calls claude_team_cost_status to see which days of activity Antenna is missing for your Claude organization.
  2. If Antenna doesn’t know your Claude organization yet, Claude exports your member list from Members settings and reads the organization ID from the file name. It doesn’t upload the member list.
  3. For each missing day, Claude opens the Claude Analytics activity export in your browser with the same start and end day, and downloads the CSV. Days are UTC, and the export has no date column, so each file covers exactly one day.
  4. Claude uploads each file with claude_team_activity_report_upload. Antenna checks that the file name matches the day and refuses files covering other days.
  5. Claude re-downloads the newest day if it’s yesterday or the day before, because Claude may still have been updating it.
  6. Claude reports the days uploaded with their member counts, any refused files with the reason, and the days still missing.

Uploading a day again replaces that day’s report. Members are matched to Claude users by email. For members who also send Claude Code OpenTelemetry, Antenna uses the telemetry for Claude Code sessions and pull requests on days it has them.

Verify the sync

In Antenna, go to Settings > Sources and click Configure on the Claude source. The Daily Activity Reports card shows which days have reports and how many members each one has.

You can also ask Claude, “Which days of Claude Team activity is Antenna missing?”

Troubleshooting

ProblemFix
Claude can’t find the Antenna upload toolsAntenna added tools after you connected. Disconnect and add Antenna again, then make sure you approve as an Antenna admin. If they’re still missing, contact Antenna.
A scheduled run stops for approvalSet the Antenna tools to Always allow in Customize > Connectors.
The export opens a sign-in page or an error instead of downloadingSign in to claude.ai in the browser Cowork uses, as an Owner of the Team organization you’re syncing.
A Save As dialog stops the exportTurn off Ask where to save each file before downloading in your browser’s download settings.
Chrome asks whether claude.ai can download multiple filesAdd claude.ai under Allowed to automatically download multiple files in chrome://settings/content/automaticDownloads.
Claude can’t read the downloaded fileConnect your downloads folder to Cowork and select it on the scheduled task.
A scheduled run didn’t happenClaude Desktop was closed or your computer was asleep. Run it from the Scheduled page, or wait for the next run.
Claude asks which Claude source to use, or a scheduled run stops for itYour enterprise has more than one Claude.ai Team source. Find the source ID at the end of the source’s URL in Antenna (.../claude_apps/8941) and add it to the prompt: Sync Claude Team activity to Antenna for source 8941.
You have several Claude.ai Team organizationsRun the skill once signed in to each organization. Antenna keeps each organization’s reports separately on the same source.
Last updated on