跳到正文
Skillpedia
自动化16k · #10859

automate

它能做什么

这个技能为你重复执行的工作设置自动化智能体,例如每日摘要,或审阅每个新的拉取请求。适合希望例行工作自动完成、而不必手动启动的人。

适用场景

  • ✓当你每天或每周都做同样的例行工作,并希望将其自动化时。
  • ✓当你希望智能体对 Slack 消息、拉取请求、Linear 问题或收到的邮件做出反应时。
  • ✓当你希望定期报告发布到你可以打开的地方时。

技能链接

https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/automate/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ParadevAI/Paradev/blob/main/plugins/superset/skills/automate/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请设置一个自动化任务,每天早上审阅每个新的拉取请求,并发布一份我可以打开的摘要。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会明确结果、计划或事件以及目标,然后为智能体起草指令。它会用命令行创建自动化任务,并与你一起审阅第一次运行的结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Paradev Automate

paradev is an alias for the superset CLI: every superset command here also runs as paradev.

Turn "I keep doing X every morning" into an automation that does X on a schedule, or "someone should look at every new PR" into one that fires on the event.

1. Understand the chore

Pin down: the outcome, the cadence, the inputs it reads, and what "done" looks like. Then draft the automation prompt as instructions for an agent with zero context. If the task has rules that will evolve (triage criteria, formats), put them in a document the automation reads at runtime so they can be edited without touching the prompt.

Nobody watches a run, so a chore whose product is a digest, a report, or a scorecard needs somewhere for that product to land. End the prompt by writing the report to an .html file and publishing it, so the user opens one link instead of digging through run logs.

...write the digest to digest.html, then publish it:
superset pages publish digest.html --title "Nightly triage" --label "what changed today"

A page is identified by its workspace plus its path, so which target you picked in step 2 decides whether history accumulates. A project target creates a fresh workspace per run, which means a new page every run rather than a new version of one. For a report meant to build up history, use a workspace target, or capture the page id from the first run and have the prompt pass --page <id> from then on.

2. Pick the target

  • superset projects list: a project target creates a fresh workspace per run (most tasks)
  • superset workspaces list --local: a workspace target reuses the same workspace every run (stateful tasks)
  • superset environments list: finds an environment id; pass it to automations create --environment <id> to start each run in a fresh cloud workspace, so runs do not need this machine awake

3. Pick what fires it

A clock or an event. Ask which the chore actually wants: "every morning" is a schedule, "whenever someone does X" is an event trigger.

For an event trigger, resolve the ids first. A scope stores provider ids, never names, so a channel name or repo title written straight into a config matches nothing:

superset automations trigger-options --group slack

Groups: slack, github, linear, sentry, notion, microsoftTeams, google (Gmail labels and people). An empty result is ambiguous: the org has not connected that group, or its token was revoked, or the provider failed the lookup. Ask the user to check the connection in Settings rather than telling them it is not connected.

Then write the set to a file. Every filter is a scope: {"mode":"any"} matches everything, {"mode":"list","ids":[...]} matches those ids, {"mode":"me"} resolves to the automation owner's account at that provider.

[
  {
    "config": {
      "kind": "slack",
      "event": "reaction_added",
      "channels": { "mode": "list", "ids": ["C0123456789"] },
      "emoji": { "mode": "list", "ids": ["bug"] },
      "actor": { "mode": "any" }
    }
  }
]

4. Confirm before creating

Show the user (use the ask_user tool if available): the name, what fires it (the RRULE, or the event and the scopes in plain words), the agent, the target, and the exact command you will run. Never create without explicit confirmation.

5. Create and shake down

superset automations create \
  --name "Daily issue triage" \
  --rrule "FREQ=DAILY;BYHOUR=9;BYMINUTE=0" \
  --timezone America/Los_Angeles \
  --project <id> \
  --agent claude \
  --prompt-file /tmp/automation-prompt.md

For an event trigger, swap --rrule and --timezone for --triggers-file:

superset automations create \
  --name "Triage bug reactions" \
  --triggers-file /tmp/triggers.json \
  --project <id> \
  --agent claude \
  --prompt-file /tmp/automation-prompt.md

(--workspace <id> instead of --project for reuse mode; --host <id> if it should run on another machine; prefer --prompt-file for multiline prompts. One automation can hold both kinds: put the schedule in the trigger set alongside the event.)

Changing triggers later replaces the whole set. superset automations update <id> --triggers-file deletes every trigger you leave out. Read the current set with superset automations get <id> and resend the entries you are keeping, each with its id, so they are updated in place rather than recreated. Recreating rolls a webhook's signing key

常见问题

谁来监督自动化任务的运行?

没有人在盯着运行过程,因此该技能会让智能体把输出发布为一个你可以打开的页面。

报告如何长期保存?

页面通过工作区和路径来识别,因此你选择的目标决定了历史记录是否会不断积累。

规则以后可以更改吗?

可以。该技能建议把会变化的规则保存在一份智能体运行时读取的文档中,这样你无需重写提示词即可编辑规则。

详情

作者的原始描述

Turn a recurring chore into a Paradev (formerly Superset) automation. Drafts the agent prompt, confirms the schedule or event trigger and the target, creates it with the CLI, and reviews the first run together. Use when the user wants a scheduled or recurring agent, a daily or weekly job, or an agent that reacts to a Slack message, GitHub pull request, Linear issue, Sentry issue or incoming email, or says things like "every morning do X", "automate this", "set up a cron agent", "run this on a schedule", "when someone opens a PR, do X".

repo: ParadevAI/Paradev

热度

GitHub 星标
16k
排名
#10859
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能