跳到正文
cccskills
免费在 GitHub 公开中文介绍

automation

通过对话确定运行频率、时间和任务内容,创建定时后台自动化。可选择每小时、每天、每周或自定义 cron 表达式,并可按需试运行以检查行为和权限。

原文查看原文说明

Interactive guide to design and create a scheduled background automation. Use this skill when the user wants to create an automated or recurring scheduled task (e.g. "summarize my emails every morning", "every Monday send me a to-do list"). Also triggered by the /automation slash command.

asgeirtj/system_prompts_leaks星标 70,416(GitHub 70,416 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

适用场景

  • 每天早上获取邮件摘要
  • 定期生成每周待办清单
  • 用 cron 表达式设置定时任务

中文介绍

功能

此技能通过对话帮助你规划并创建定时后台自动化。你可以选择每小时、每天、每周运行,或指定自定义 cron 表达式;随后确认具体时间或星期,以及每次运行时要执行的任务。技能会根据这些信息准备一段完整的任务提示和配置,使自动化每次都能在新的对话中运行。如有需要,也可以引导你立即试运行一次,以检查运行表现和所需权限。

适用场景

当你希望某项工作按固定间隔重复执行时,可以使用此技能,例如每天早上整理邮件摘要,或每周生成待办清单。它适合用来梳理运行时间和任务要求,并进一步设置定期执行。

使用示例

  • “创建一个每天早上总结未读邮件的自动化。”
  • “请在每周一生成本周的待办清单。”
  • “设置一个每隔30分钟运行一次的任务。”

注意事项

此技能会创建用于定时运行的 sidecar。创建后,需要由你在 Automations 控制台中启用该自动化。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足会写入配置并可试运行,但权限说明主要限于设置时检查。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要 `agentapi new-conversation` 和 Automations 控制台,但未提供安装步骤。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月30日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md12.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Scheduled Automations

A scheduled automation is a background sidecar ("builtin": "schedule") that runs on a cron schedule and starts a fresh agent conversation (agentapi new-conversation) on each run.

This skill is strictly for scheduled (cron) automations. Do not use it to create UI sidecars, continuous generic command/daemon sidecars, or in-turn timers (use the schedule tool instead).

Quick Start (5-Turn Creation Flow)

  1. Turn 1 — Cadence: Ask via ask_question (Hourly, Daily, Weekly, or Custom cron schedule).
  2. Turn 2 — Time / Day: Ask for the specific time or day of week (ask_question).
  3. Turn 3 — Task Prompt: Ask what the agent should do on each run and refine into a self-contained prompt.
  4. Turn 4 — Write sidecar.json: Create
    ~/.gemini/jetski/sidecars/<slug>/sidecar.json with "builtin": "schedule", "args": {"schedule": "<cron>", "prompt": "<prompt>"}.
  5. Turn 5 — Optional Test Run: Offer to test the prompt immediately via
    agentapi new-conversation.

Interactive Creation Workflow

Guide the user through creating the automation one step at a time across turns. If the user already provided some details in their initial prompt (such as the schedule or the task), skip the questions already answered and proceed to the next missing step.

Turn 1: Ask for the Cadence

If the schedule cadence is not yet specified, use the ask_question tool to
ask:

  • Question: "What should be the cadence of the automation?"
  • Options:
    • Hourly
    • Daily
    • Weekly
    • Custom cron schedule

Wait for the user's response before moving to the next question.

Turn 2: Confirm the Specific Time / Day

Based on the chosen cadence, confirm the exact schedule in a follow-up turn using ask_question:

  • If Daily: Use ask_question to confirm the hour of the day (e.g., 9:00 AM, 12:00 PM, 5:00 PM; the user can also enter a custom time via the built-in write-in option).
  • If Weekly: Use ask_question to confirm both the day(s) of the week (e.g., Monday, Friday, Weekdays (Mon–Fri)) and the hour of the day (e.g., 9:00 AM, 5:00 PM).
  • If Hourly: Default to the top of every hour (0 * * * *), or confirm if they want a specific minute offset.
  • If Custom cron schedule: Ask the user to specify their desired cron expression or interval (e.g., */30 * * * * for every 30 minutes).

Wait for the user's response before asking what the task should do.

Turn 3: Ask What the Task Should Do

Once the schedule is set (and if the task itself has not been described yet), ask the user in plain text (do not use ask_question for this open-ended
step):

"What would you like the task to do? (For example: 'Summarize my unread
emails from the last 24 hours and highlight any that need a reply' or 'Check
my open pull requests and list any with failing checks.')"

Wait for the user's response.


Step 4: Create sidecar.json & Offer a Test Run to Configure Permissions

1. Translate Schedule & Author Self-Contained Run Prompt

  • Cron schedule: Standard 5-field cron expression (minute hour day-of-month month day-of-week) written in the user's local time, always prefixed with CRON_TZ=<IANA zone> so it runs in the user's timezone:
    • Hourly: CRON_TZ=America/New_York 0 * * * *
    • Daily at 9:00 AM: CRON_TZ=America/New_York 0 9 * * *
    • Daily at 5:00 PM: CRON_TZ=America/New_York 0 17 * * *
    • Weekly on Monday at 9:00 AM: CRON_TZ=America/New_York 0 9 * * 1
    • Weekdays at 9:00 AM: CRON_TZ=America/New_York 0 9 * * 1-5
  • Determine the user's timezone (an IANA name such as Europe/Zurich;
    never an abbreviation like PST or a raw offset like +02:00):
    1. If the user already stated a timezone or city, use the matching IANA
      zone.
    2. Otherwise detect the host's timezone (map any OS-specific zone name to
      its IANA equivalent).
    3. If detection fails, use ask_question to confirm the user's timezone
      (offer the detected zone plus a few common zones; the user can write in
      their own).
    4. If the user supplies a custom cron that already starts with CRON_TZ=
      or TZ=, keep it as-is and do not add a second prefix.
    5. When confirming the schedule to the user, state it with the zone (e.g.,
      "every day at 9:00 AM Europe/Zurich time").
  • Self-contained prompt: Each scheduled run starts a brand-new conversation with no memory of prior runs. Write a clear, self-contained prompt stating the data sources, actions, and desired output format.

2. Announce Automation Creation & Write <configDir>/sidecars/<sidecar-id>/sidecar.json

Before calling write_to_file, always output a short message to the user stating that you are now creating the <display_name> automation (do not mention sidecar.json or internal file details to the user). Also set toolAction / toolSummary on write_to_file to "Creating <display_name> automation".

Create the configuration file at:

<configDir>/sidecars/<sidecar-id>/sidecar.json
  • <configDir> is the user's .gemini/config directory (typically
    ~/.gemini/config).
  • <sidecar-id> is a short, unique kebab-case identifier derived from the task (e.g., daily-pr-check).
  • Choose a clear, human-readable display_name (e.g., "Daily PR Status Check"). You MUST tell the user this exact display_name when pointing them to the Automations dashboard so they know which automation to enable.
  • Use snake_case field names only (restart_policy, display_name, agent_permissions, access_grants, workspace_uris).
  • Use lowercase string literals for restart_policy ("always" is required for "builtin": "schedule" and continuous daemons; "on-failure" or "never" apply only to one-shot "command" sidecars) — never proto enum names like "SIDECAR_RESTART_POLICY_ALWAYS" or "unless-stopped".
  • Never place sidecar.json or scripts inside an ephemeral CitC workspace (/google/src/cloud/<user>/<workspace>/...) or point symlinks in ~/.gemini/config/ to an ephemeral CitC workspace that may later be deleted.

[!CAUTION] Never Hallucinate Tools or Permissions: - Do NOT guess or
invent MCP servers (mcp(...)) or CLI commands (command(...)) that you have
not verified exist in the current environment. - Only include an
mcp(<server>/<tool>) grant if <server> is actually present in your
<mcp_servers> system prompt block. - Only include a command(<prefix>)
grant if you have verified the binary/subcommand exists (e.g., via an
available skill or a live test run). - Never use overly generic wildcards
(command(*), read_file(*), read_file(/), write_file(*), mcp(*),
read_url(*)) or invalid wrapper syntax like allow(*).

Example sidecar.json

{
  "builtin": "schedule",
  "args": [
    "CRON_TZ=America/New_York 0 9 * * *",
    "agentapi",
    "new-conversation",
    "--",
    "Check open pull requests in the repository and summarize any with failing CI checks or pending review comments."
  ],
  "restart_policy": "always",
  "display_name": "Daily PR Status Check",
  "description": "Every day at 9:00 AM (America/New_York), checks open pull requests and summarizes failing checks or review comments.",
  "agent_permissions": {
    "access_grants": [
      "command(gh pr list)",
      "command(gh pr view)"
    ]
  }
}
  • args[0] must be the full cron schedule as a single string, including the CRON_TZ=<zone> prefix (never omit args[0] or place the executable at args[0] when "builtin": "schedule" is set).
  • Always use absolute paths for any local script arguments in args (never bare relative filenames like "watcher.py" or paths inside ephemeral workspaces that may later be deleted).
  • Always include "--" immediately before the prompt string in args so the prompt is cleanly separated from agentapi new-conversation flags.

3. Point to the Dashboard (with Automation Name) & Ask to Test-Run for Reliable Permissions

[!CAUTION] DO NOT enable the automation yourself. Never modify
user_config.json to set "enabled": true, and never invoke any command or
RPC to start or enable the sidecar.

After writing sidecar.json:

  1. Tell the user that the automation <display_name> (<sidecar-id>) has been created, and explicitly instruct them to enable it in the Automations dashboard using the action button: [Open Automations Dashboard](sidecar://dashboard)
  2. Explain to the user that once enabled, the automation will run in a project that inherits global permissions and presets, and all other non-approved commands will be auto-denied. To ensure that the automation can proceed successfully and unattended, you can execute a test run right now to configure the permissions properly.
  3. Use ask_question to ask the user if they want you to execute a test run
    now:
    • Question: "Once enabled, '<display_name>' will run in a project that inherits global permissions and presets, and all other non-approved commands will be auto-denied. Would you like me to execute a test run now to configure its permissions properly so it can proceed successfully?"
    • Options:
      • (Recommended) Yes, execute a test run now to configure permissions
      • No, I'll review permissions and enable '<display_name>' in the Automations dashboard

Step 5: If the User Chooses to Test-Run the Task Now

When the user agrees to a test run:

  1. Execute the task once in the current conversation:
    • Search for and read any relevant skills (skill_search / view_file on
      SKILL.md) or check available <mcp_servers> needed to fulfill the
      task.
    • Run the actual commands, file reads/writes, URL fetches, or MCP tools to
      perform the task once.
    • If the required tool/integration does not exist or needs
      authentication/setup, inform the user clearly so they know what is
      missing before enabling the automation.
  2. Update sidecar.json with the exact verified permissions:
    • Record every permission grant actually required during the test run,
      scoped as succinctly as possible in agent_permissions:
      • workspace_uris: ["file:///absolute/path/to/dir"] if the task
        needed read+write access to a workspace folder.
      • access_grants:
      • command(<binary_and_subcommand>) — e.g., command(gh pr list)
        (never command(*)).
      • read_file(<absolute_path>) — e.g., read_file(/Users/alice/notes)
        (never read_file(*) or read_file(/)).
      • write_file(<absolute_path>) — e.g.,
        write_file(/Users/alice/digests) (never write_file(*) or
        write_file(/)).
      • mcp(<server_name>/<tool_name>) — e.g., mcp(buganizer/get_bugs)
        (only for real MCP tools actually called; never mcp(*)).
      • read_url(<domain>) / execute_url(<domain>) — e.g.,
        read_url(github.com) (never read_url(*)).
    • Also update the prompt in args if the test run revealed specific skill
      paths or CLI flags that will help future scheduled runs succeed reliably
      using those exact granted commands.
  3. Final confirmation with the Automation Name:
    • Summarize the verified permissions added to <display_name>
      (<sidecar-id>) and remind the user to enable <display_name> in
      the Automations dashboard: [Open Automations Dashboard](sidecar://dashboard)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

3d-object

免费有简介

使用three.js创建立体模型,在交互式查看器中从各个角度检查形状和材质,并以OBJ + MTL或GLB格式保存,供其他三维制作软件使用。

  • 创建立体模型并从各个角度检查
  • 制作可在Blender中继续编辑的模型
  • 检查模型轮廓和材质效果
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

Audit web accessibility with Chrome DevTools MCP and Lighthouse. Inspect semantic structure, labels, keyboard focus, tap target size, and color contrast, then identify page elements that may need changes based on web.dev guidance.

中文简介正在准备中。当前显示英语简介。

  • Finding missing labels or image alternatives
  • Checking heading structure and reading order
  • Testing keyboard navigation and modal focus
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

action-items

免费有简介

在个人任务清单中记录待办事项、承诺、期限、下一步、待回复对象和阻碍原因,更新进度与依赖关系,合并重复项并归档已结束的任务。

  • 记录有期限的任务与承诺
  • 整理待回复事项及阻碍原因
  • 前置任务完成后更新依赖关系
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agents

免费

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

中文简介正在准备中。当前显示英语简介。

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

agy-customizations

免费有简介

了解 Antigravity 如何发现和加载自定义配置,包括配置位置与优先级。借助本指南选择并创建技能、规则、插件、钩子或 MCP 服务器,用于智能体工作流程和外部工具连接。

  • 选择合适的自定义配置类型
  • 查看配置的发现位置和加载顺序
  • 创建技能或规则
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

animated-video

免费有简介

将动画制作成可播放、暂停和定位时间的HTML页面,通过时间轴调整场景时长与速度,并为横屏或竖屏视频导出做好准备。

  • 制作产品操作演示动画
  • 用文字和图形解释内容
  • 制作竖屏动画
asgeirtj/system_prompts_leaks7万2026年10月29日 更新

查看 asgeirtj 的全部技能

报告此技能的问题