Token导航 LogoToken导航TokenDH.com
运维和基础设施执行命令github未标认证来源可访问许可证需确认审计通过

activitysmithactivitysmith 命令行

Agent Skill

activitysmith 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

245

周安装

10

GitHub Stars

1

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:activitysmith(activitysmith 命令行)
来源仓库:https://github.com/activitysmithhq/activitysmith-cli
仓库路径:skills/activitysmith
安装命令:
npx skills add https://github.com/activitysmithhq/activitysmith-cli --skill activitysmith
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/activitysmithhq/activitysmith-cli --skill activitysmith

简介

activitysmith 用于发送推送通知和管理 Live Activity 生命周期,适用于移动端实时状态展示和用户提醒场景。

  • 适用于启动进度型或分段型 Live Activity、发送定制化 push notification,并支持远程控制与状态同步。
  • 通过 shell 脚本调用,依赖 activitysmith CLI 和 API key 配置,支持多种参数组合以满足不同推送需求。
  • 使用前需确保 CLI 已加入 PATH 且 API key 正确设置,注意区分生产与测试环境以避免误发通知。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

ActivitySmith

Use this skill to send push notifications and run Live Activity lifecycle commands.

Preconditions

  1. activitysmith CLI available in PATH.
  2. ACTIVITYSMITH_API_KEY set in shell, or in skills/activitysmith/.env.

Intent to Command Map

  • Send push notification: ./skills/activitysmith/scripts/send_push.sh -m "..." [-t "..."] [-s "..."] [-c "..."] [-M "https://..."] [-r "https://..."] [-a '[...]' | -A /path/actions.json]
  • Start Live Activity:

- segmented: ./skills/activitysmith/scripts/start_activity.sh --title "..." --type "segmented_progress" --steps N --current N [--subtitle "..."] [--color "..."] [--step-color "..."] [-c "..."] [--id-only] - progress: ./skills/activitysmith/scripts/start_activity.sh --title "..." --type "progress" [--subtitle "..."] [--percentage N | --value N --upper-limit N] [--color "..."] [-c "..."] [--id-only]

  • Update Live Activity:

- segmented: ./skills/activitysmith/scripts/update_activity.sh --activity-id "..." --title "..." --current N [--subtitle "..."] [--type "segmented_progress"] [--steps N] - progress: ./skills/activitysmith/scripts/update_activity.sh --activity-id "..." --title "..." [--subtitle "..."] [--type "progress"] [--percentage N | --value N --upper-limit N]

  • End Live Activity:

- segmented: ./skills/activitysmith/scripts/end_activity.sh --activity-id "..." --title "..." --current N [--subtitle "..."] [--type "segmented_progress"] [--steps N] [--auto-dismiss N] - progress: ./skills/activitysmith/scripts/end_activity.sh --activity-id "..." --title "..." [--subtitle "..."] [--type "progress"] [--percentage N | --value N --upper-limit N] [--auto-dismiss N]

Push Rules

  • Minimal push: title + message.
  • Optional targeting: -c "channel-a,channel-b".
  • Optional rich media: -M "https://...".
  • Optional tap redirection: -r "https://...".
  • Optional long-press actions:

- inline JSON: -a '[{"title":"...","type":"open_url","url":"https://..."}]' - file JSON: -A./actions.json

  • Media constraints:

- media must be https:// - media can be combined with redirection - never combine media with actions

  • Actions constraints:

- max 4 actions - each action requires title, type, url - type must be open_url or webhook - url must be https:// - method/body valid only for webhook

Live Activity Lifecycle Protocol

When user asks for ongoing progress updates:

  1. Start activity once; capture returned Activity ID.
  2. Update same Activity ID at meaningful milestones.
  3. End same Activity ID when work completes or is blocked.
  4. Never call update/end without a valid ID from start.

Use start_activity.sh --id-only when scripting chained calls.

Quick type guide:

  • segmented_progress: best for jobs tracked in steps
  • progress: best for jobs tracked as a percentage or numeric range

Type rules:

  • segmented_progress: use --steps and --current. --steps can change later.
  • progress: use --percentage, or --value with --upper-limit.
  • Never mix segmented and progress fields in the same command.

Examples

Basic push:

./skills/activitysmith/scripts/send_push.sh \
  -t "Build Failed 🚨" \
  -m "CI pipeline failed on main branch"

Push with redirection and actions:

./skills/activitysmith/scripts/send_push.sh \
  -t "Build Failed 🚨" \
  -m "CI pipeline failed on main branch" \
  -r "https://github.com/org/repo/actions/runs/123456789" \
  -a '[{"title":"Open Failing Run","type":"open_url","url":"https://github.com/org/repo/actions/runs/123456789"},{"title":"Create Incident","type":"webhook","url":"https://hooks.example.com/incidents/create","method":"POST","body":{"service":"payments-api","severity":"high"}}]'

Rich push with media:

./skills/activitysmith/scripts/send_push.sh \
  -t "Homepage ready" \
  -m "Your agent finished the redesign." \
  -M "https://cdn.example.com/output/homepage-v2.png" \
  -r "https://github.com/acme/web/pull/482"

Live Activity lifecycle:

activity_id="$(./skills/activitysmith/scripts/start_activity.sh \
  --title "Release deployment" \
  --subtitle "Preparing rollout" \
  --type "segmented_progress" \
  --steps 3 \
  --current 1 \
  --id-only)"

./skills/activitysmith/scripts/update_activity.sh \
  --activity-id "$activity_id" \
  --title "Release deployment" \
  --subtitle "Rolling out services" \
  --current 2

./skills/activitysmith/scripts/end_activity.sh \
  --activity-id "$activity_id" \
  --title "Release deployment" \
  --subtitle "Deployment complete" \
  --current 3 \
  --auto-dismiss 2

Progress Live Activity lifecycle:

activity_id="$(./skills/activitysmith/scripts/start_activity.sh \
  --title "EV Charging" \
  --subtitle "Added 30 mi range" \
  --type "progress" \
  --percentage 15 \
  --id-only)"

./skills/activitysmith/scripts/update_activity.sh \
  --activity-id "$activity_id" \
  --title "EV Charging" \
  --subtitle "Added 120 mi range" \
  --percentage 60

./skills/activitysmith/scripts/end_activity.sh \
  --activity-id "$activity_id" \
  --title "EV Charging" \
  --subtitle "Added 200 mi range" \
  --percentage 100 \
  --auto-dismiss 2

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.7%
按下载量换算29

Claude

28.09%
按下载量换算22

Cursor

20.54%
按下载量换算16

Gemini CLI

10.69%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/activitysmithhq/activitysmith-cli --skill activitysmith 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills