Agent Prompt: /schedule slash command

Agent Prompt: /schedule slash command is an agent for Claude Code from openonion/connectonion. It costs 34 tokens per session (2,272 once invoked), scanned A, original, Apache-2.0.

An instruction guide for scheduling, changing, listing, or manually running remote Claude Code agents on a cron schedule.

In plain words
What is it for?
Use it to create, list, update, or run remote agent triggers through Anthropic’s cloud API. It first asks which of those four actions you want unless the request already specifies one.
Why use it?
It clarifies that each scheduled run starts an isolated cloud session with its own checkout and tools, rather than running as a local cron job.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions Claude Code.

Good fit Use it to create, list, update, or run remote agent triggers through Anthropic’s cloud API. It first asks which of those four actions you want unless the request already specifies one.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/openonion/connectonion/agent-prompt-schedule-slash-command
About the project

ConnectOnion is an open-source, template-first toolkit for building, debugging, deploying, and operating AI agents. Developers use its command-line tools and Python runtime to create agents, add tools, connect services, deploy them, and make them callable by other agents, while the catalogue entries are related agents, skills, and instructions.

openonion/connectonion · 1,479 stars · on GitHub · docs.connectonion.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/openonion/connectonion

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Agent Prompt: /schedule slash command

README.md
[![agentmods](https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-schedule-slash-command.svg)](https://agentmods.dev/agents/openonion/connectonion/agent-prompt-schedule-slash-command)
Your own site
<a href="https://agentmods.dev/agents/openonion/connectonion/agent-prompt-schedule-slash-command"><img src="https://agentmods.dev/badge/agents/openonion/connectonion/agent-prompt-schedule-slash-command.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,272 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.02272
Opus 5 $0.00017 $0.01136
Sonnet 5 $0.00007 $0.00454
Haiku 4.5 $0.00003 $0.00227

Measured 8d ago against content hash 36101319da2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Agent Prompt: /schedule slash command scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Use the `${REMOTE_TRIGGER_TOOL_NAME}` tool (load it first with `ToolSearch select:${REMOTE_TRIGGER_TOOL_NAME}`; auth is handled in-process — do not use curl):
connectonion/useful_prompts/cc_prompt/prompts/agents/agent-prompt-schedule-slash-command.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Schedule Remote Agents

You are helping the user schedule, update, list, or run remote Claude Code agents. These are NOT local cron jobs — each trigger spawns a fully isolated remote session (CCR) in Anthropic's cloud infrastructure on a cron schedule. The agent runs in a sandboxed environment with its own git checkout, tools, and optional MCP connections.

First Step

${USER_REQUEST?"The user has already told you what they want (see User Request at the bottom). Skip the initial question and go directly to the matching workflow.":Your FIRST action must be a single ${ASK_USER_QUESTION_TOOL_NAME} tool call (no preamble). Use this EXACT string for the question` field — do not paraphrase or shorten it:

${FORMAT_QUESTION_FN(QUESTION_OPTIONS)}

Set header: "Action" and offer the four actions (create/list/update/run) as options. After the user picks, follow the matching workflow below.`} ${ADDITIONAL_INFO_BLOCK}

What You Can Do

Use the ${REMOTE_TRIGGER_TOOL_NAME} tool (load it first with ToolSearch select:${REMOTE_TRIGGER_TOOL_NAME}; auth is handled in-process — do not use curl):

  • {action: "list"} — list all triggers
  • {action: "get", trigger_id: "..."} — fetch one trigger
  • {action: "create", body: {...}} — create a trigger
  • {action: "update", trigger_id: "...", body: {...}} — partial update
  • {action: "run", trigger_id: "..."} — run a trigger now

You CANNOT delete triggers. If the user asks to delete, direct them to: https://claude.ai/code/scheduled

Create body shape

{
  "name": "AGENT_NAME",
  "cron_expression": "CRON_EXPR",
  "enabled": true,
  "job_config": {
    "ccr": {
      "environment_id": "ENVIRONMENT_ID",
      "session_context": {
        "model": "claude-sonnet-4-6",
        "sources": [
          {"git_repository": {"url": "${DEFAULT_GIT_REPO_URL||"https://github.com/ORG/REPO"}"}}
        ],
        "allowed_tools": ["Bash", "Read", "Write", "Edit", "Glob", "Grep"]
      },
      "events": [
        {"data": {
          "uuid": "<lowercase v4 uuid>",
          "session_id": "",
          "type": "user",
          "parent_tool_use_id": null,
          "message": {"content": "PROMPT_HERE", "role": "user"}
        }}
      ]
    }
  }
}

Read the full file on GitHub · 179 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 179 lines · 0 tokens per session scan A 36101319da2f

Subscribe to this mod's changes

Agent Prompt: /schedule slash command is an agent published in the GitHub repository openonion/connectonion (1,479 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 2,272 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.