Skip to content
Agentmart
Submit a tool

schedule-routine

Schedule a one-shot Telegram reminder or a recurring cloud routine.

Skill by techfreakworm

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/techfreakworm-schedule-routine

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Schedule a one-shot Telegram reminder or a recurring cloud routine. For one-shot reminders ("remind me in 5m", "remind me tomorrow at 9am"), use mcp__hermes_api__schedule_reminder (primary path). For recurring cloud routines ("every weekday at 9am, do X"), use the RemoteTrigger path (legacy).

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/schedule-routine

What's inside

Skill name
schedule-routine
Description
Schedule a one-shot Telegram reminder or a recurring cloud routine. For one-shot reminders ("remind me in 5m", "remind me tomorrow at 9am"), use mcp__hermes_api__schedule_reminder (primary path). For recurring cloud routines ("every weekday at 9am, do X"), use the RemoteTrigger path (legacy).
License
MIT
Instructions
85 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# schedule-routine

## One-shot reminders (primary path)

For any request that fires once ("remind me in 5m", "ping me at 10am tomorrow",
"remind me to check X in 2 hours"), call `mcp__hermes_api__schedule_reminder`:

```
mcp__hermes_api__schedule_reminder(
  when="<5m | 2h | 1d | ISO-8601 | Unix epoch>",
  message="<plain-text reminder body>"
)
```

`when` formats:
- Relative: `5m`, `2h`, `1d`
- ISO 8601: `2026-06-01T09:00:00Z`
- Unix epoch: `1750000000`

Returns `{"pid": int, "fires_at_iso": str, "message_preview": str}`. Confirm
the `fires_at_iso` to the user.

This path spawns a detached bash subprocess (survives MCP restart) and sends
the message via the Telegram Bot API. No RemoteTrigger call needed.

## Recurring routines (cloud path — legacy)

For recurring schedules ("every weekday at 9am, do X", "every Sunday 11am"),
use the RemoteTrigger path below. Note: RemoteTrigger v2 requires `{name, cron,
prompt}` body. The `{name, cron, prompt}` shape is the only accepted form —
alternate body shapes return HTTP 400.

1. Parse the cadence from the user's request:
   - "every weekday at 9am" → cron `7 9 * * 1-5` (always pick an off-minute)
   - "every Sunday 11am" → `13 11 * * 0`
   - "tomorrow morning" → use `mcp__hermes_api__schedule_reminder` instead

2. Compose the routine's prompt body — explicit and standalone, since cloud
   routines do NOT inherit your current context:

   ```
   Run the morning-brief skill. Send result to telegram chat <chat-id>.
   ```

3. Call `RemoteTrigger` with action `create`:

   ```
   RemoteTrigger(action="create", body={
     "name": "<human-readable name>",
     "cron": "<cron expr>",
     "prompt": "<the routine body>"
   })
   ```

4. After RemoteTrigger.create succeeds, register the routine locally so it
   appears in the dashboard. Call:

   ```
   mcp__project_orchestrator__register_routine(
     name="<the routine name>",
     kind="cloud",
     schedule="<the cron expression you used>",
     target_skill="<the skill the routine invokes>",
     description="<one-liner the user gave you>",
     created_by="user",
     metadata_json='{"trigger_id": "<the id returned by RemoteTrigger.create>"}'
   )
   ```

   If the local registration fails, surface that as a warning but do NOT
   roll back the cloud routine — the cloud side is the source of truth and
   the dashboard fallback already synthesizes a "cloud" entry from the
   /routines list query.

5. Confirm to user with parsed run time + claude.ai URL the response includes.

## Constraints

- Cloud routines run on Anthropic infra, do NOT have access to local files or
  MCPs. For routines needing local data, fire a webhook to the gateway instead.
- Minimum cadence for cloud routines: 1 hour.
- V1 cap: 5 active cloud routines. If hitting cap, ask user which to remove.
- One-shot reminders (`mcp__hermes_api__schedule_reminder`) have no cap.

From techfreakworm/claude-soma, MIT.

More from techfreakworm/claude-soma

Signals

Stars
5
Forks
1
Open issues
0
Last commit (this folder)
May 31, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from techfreakworm

Cite this page

schedule-routine skill. Agent Mart. https://agentmart.dev/skills/techfreakworm-schedule-routine (last updated 2026-10-24)