buildbetter-backfill-smart-tag

Installation
SKILL.md

Backfill a Smart Tag

Requires the BuildBetter MCP release that exposes list-tag-groups, list-tag-group-tags, and the durable Smart Tag workflow tools below. Do not install or distribute this skill against an older production MCP inventory.

Workflow

  1. Resolve the tag with list-tag-groups and list-tag-group-tags, then call get-smart-tag-workflow using its canonical memberId.
  2. Require a published workflow and confirm the same group remains visible and writable. Never substitute a same-name group or create a new group for replay.
  3. Collect an inclusive start, exclusive end, and maximum record count. The member's group owns the target. Keep allowLargeReplay false unless the user explicitly approves a large cohort.
  4. Call preview-smart-tag-backfill with memberId, current revision, dates, limit, and large-replay setting. Report matched objects, existing exact associations, replay candidates, truncation, and maximum credits.
  5. Explain billing: each newly inserted AI-produced tag association costs one credit. Existing associations, filtered-out objects, and no-match results cost zero. The preview is an upper bound; operation status is exact.
  6. Obtain explicit approval for the exact preview. Generate one idempotency UUID and call start-smart-tag-backfill with the same member, revision, scope, and the approved preview. Reuse the UUID only after an unknown result for that identical start.
  7. Report the operation ID immediately. Poll get-smart-tag-backfill with the same member and operation IDs until terminal when completion is requested. Report pending/running/completed/failed/cancelled objects, inserted associations, and exact credits.
  8. Use cancel-smart-tag-backfill or resume-smart-tag-backfill on that same operation only when requested.

Guardrails

Installs
1
GitHub Stars
24
First Seen
7 days ago