activitysmith
Original:🇺🇸 English
Translated
5 scripts
Send ActivitySmith push notifications and manage Live Activities from any agent with the ActivitySmith CLI. Use when a task asks for push alerts, completion notifications, or Live Activity start/update/end lifecycle operations.
1installs
Added on
NPX Install
npx skill4agent add activitysmithhq/activitysmith-cli activitysmithTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →ActivitySmith
Use this skill to send push notifications and drive Live Activity lifecycle commands.
Workflow
- Ensure is installed and
activitysmith-cliis inactivitysmith.PATH - Ensure is set, or create
ACTIVITYSMITH_API_KEYfromskills/activitysmith/.env..env.example - Run one of the scripts in .
scripts/ - For Live Activities, save the from
Activity IDand pass it tostart_activity.shandupdate_activity.sh.end_activity.sh
Auth
ACTIVITYSMITH_API_KEYScripts load auth in this order:
- Existing shell environment
skills/activitysmith/.env
Scripts
- : Send a push notification.
scripts/send_push.sh - : Start a Live Activity and return an activity ID.
scripts/start_activity.sh - : Update an existing Live Activity.
scripts/update_activity.sh - : End an existing Live Activity.
scripts/end_activity.sh
Quick Commands
bash
./skills/activitysmith/scripts/send_push.sh -m "Build finished" -t "CI"bash
./skills/activitysmith/scripts/start_activity.sh \
--title "Deploy" \
--type "segmented_progress" \
--steps 4 \
--current 1bash
./skills/activitysmith/scripts/update_activity.sh \
--activity-id "<activity_id>" \
--title "Deploy" \
--current 2bash
./skills/activitysmith/scripts/end_activity.sh \
--activity-id "<activity_id>" \
--title "Deploy" \
--current 4 \
--auto-dismiss 2