From 1f248e7a3fec7a108b67b5ebe78dcb2476299bb6 Mon Sep 17 00:00:00 2001 From: Rob Zolkos Date: Mon, 29 Jun 2026 15:46:21 -0400 Subject: [PATCH 1/2] Document ping workflow in Basecamp skill --- skills/basecamp/SKILL.md | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/skills/basecamp/SKILL.md b/skills/basecamp/SKILL.md index acec7234a..c15552879 100644 --- a/skills/basecamp/SKILL.md +++ b/skills/basecamp/SKILL.md @@ -3,7 +3,7 @@ name: basecamp description: | Interact with Basecamp via the Basecamp CLI. Full API coverage: projects, todos, cards, messages, files, schedule, check-ins, timeline, recordings, templates, webhooks, - subscriptions, lineup, chat, gauges, assignments, notifications, and accounts. + subscriptions, lineup, chat, pings, gauges, assignments, notifications, and accounts. Use for ANY Basecamp question or action. triggers: # Direct invocations @@ -75,7 +75,7 @@ argument-hint: "[action] [args...]" # /basecamp - Basecamp Workflow Command -Full CLI coverage: 155 endpoints across todos, cards, messages, files, schedule, check-ins, timeline, recordings, templates, webhooks, subscriptions, lineup, chat, gauges, assignments, notifications, and accounts. +Full CLI coverage: 155 endpoints across todos, cards, messages, files, schedule, check-ins, timeline, recordings, templates, webhooks, subscriptions, lineup, chat, pings, gauges, assignments, notifications, and accounts. ## Agent Invariants @@ -171,6 +171,9 @@ basecamp --page 1 # First page only, no auto-pagination | Post with @mention | `basecamp messages create "Title" "Hey @First.Last, ..." --in --json` | | Post silently | `basecamp messages create "Title" "Body" --no-subscribe --in --json` | | Post to chat | `basecamp chat post "Message" --in --json` | +| List pings | `basecamp notifications --json --jq '.data.reads[]? \| select(.section == "pings")'` | +| Read ping thread | `basecamp api get "/chats//lines.json" --agent` | +| Post to ping thread | `basecamp api post "/chats//lines.json" --data '{"content":"

message

"}' --json` | | Add comment | `basecamp comments create "Text" --in --json` | | List attachments | `basecamp attachments list --json` | | Download attachments | `basecamp attachments download --out /tmp/` | @@ -826,6 +829,38 @@ basecamp chat line --in # Show line basecamp chat delete --in --force # Delete line (permanent, not trashable) ``` +### Pings (Direct Messages) + +Pings are Basecamp's 1-on-1 and small-group direct messages. They are stored as chat transcripts in `Circle` buckets and use the same line API shape as Campfires. + +Use `notifications` to discover active ping threads, then use the generic `api` command to read or post lines. + +```bash +# Find ping threads visible in notifications. +# circle_id is the Circle bucket ID from the UI URL; chat_id identifies the Chat::Transcript. +basecamp notifications --json \ + --jq '.data.reads[]? | select(.section == "pings") | {bucket_name, app_url, circle_id: (.subscription_url | capture("/buckets/(?[0-9]+)/").id), chat_id: (.subscription_url | capture("/recordings/(?[0-9]+)/").id)}' + +# Read a ping thread. Lines are returned newest first. +basecamp api get "/chats//lines.json" --agent + +# Post a ping line. +basecamp api post "/chats//lines.json" \ + --data '{"content":"

Hey, quick question.

"}' --json +``` + +Ping line records include `creator.name`, `created_at`, `content` HTML, `type`, `bucket.type: "Circle"`, and attachment fields when files or voice notes are present. + +Ping URLs use `/circles/` and may include a line anchor after `@`: + +```bash +echo "https://app.basecamp.com//circles/44024535@9927050443" \ + | sed -E 's|.*/circles/([0-9]+)(@([0-9]+))?.*|circle:\1 line:\3|' +# circle:44024535 line:9927050443 +``` + +Pings are not returned by `basecamp recordings `. Use `notifications` for discovery and the chat lines API for the conversation. + ### People ```bash From b2fa5726c8454c2ca2653fb55d31a9f7207fd449 Mon Sep 17 00:00:00 2001 From: Rob Zolkos Date: Mon, 29 Jun 2026 15:55:54 -0400 Subject: [PATCH 2/2] Address ping skill review comments --- skills/basecamp/SKILL.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/skills/basecamp/SKILL.md b/skills/basecamp/SKILL.md index c15552879..8329ec525 100644 --- a/skills/basecamp/SKILL.md +++ b/skills/basecamp/SKILL.md @@ -171,9 +171,9 @@ basecamp --page 1 # First page only, no auto-pagination | Post with @mention | `basecamp messages create "Title" "Hey @First.Last, ..." --in --json` | | Post silently | `basecamp messages create "Title" "Body" --no-subscribe --in --json` | | Post to chat | `basecamp chat post "Message" --in --json` | -| List pings | `basecamp notifications --json --jq '.data.reads[]? \| select(.section == "pings")'` | -| Read ping thread | `basecamp api get "/chats//lines.json" --agent` | -| Post to ping thread | `basecamp api post "/chats//lines.json" --data '{"content":"

message

"}' --json` | +| List pings | `basecamp notifications --json --jq '.data.reads[]? | select(.section == "pings")'` | +| Read ping thread | `basecamp api get "/buckets//chats//lines.json" --agent` | +| Post to ping thread | `basecamp api post "/buckets//chats//lines.json" --data '{"content":"

message

"}' --json` | | Add comment | `basecamp comments create "Text" --in --json` | | List attachments | `basecamp attachments list --json` | | Download attachments | `basecamp attachments download --out /tmp/` | @@ -842,10 +842,10 @@ basecamp notifications --json \ --jq '.data.reads[]? | select(.section == "pings") | {bucket_name, app_url, circle_id: (.subscription_url | capture("/buckets/(?[0-9]+)/").id), chat_id: (.subscription_url | capture("/recordings/(?[0-9]+)/").id)}' # Read a ping thread. Lines are returned newest first. -basecamp api get "/chats//lines.json" --agent +basecamp api get "/buckets//chats//lines.json" --agent # Post a ping line. -basecamp api post "/chats//lines.json" \ +basecamp api post "/buckets//chats//lines.json" \ --data '{"content":"

Hey, quick question.

"}' --json ```