automation-setup

automation-setup is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 26 tokens per session (602 once invoked), scanned A, original, MIT.

A setup guide for turning a request into a scheduled automation using cron, a system for running commands at chosen times or intervals.

In plain words
What is it for?
Use it for one-time reminders, fixed-interval checks, calendar-based schedules, and continued work in either the current conversation or a separate background session.
Why use it?
It helps recurring checks, reminders, and follow-ups run with clear timing and instructions instead of being handled manually.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/peiiii/nextclaw/automation-setup
Any agent
npx skills add Peiiii/nextclaw --skill automation-setup
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

Made for: Claude Code, Codex.

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 automation-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/automation-setup.svg)](https://agentmods.dev/skills/peiiii/nextclaw/automation-setup)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/automation-setup"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/automation-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00026 $0.00602
Opus 5 $0.00013 $0.00301
Sonnet 5 $0.00005 $0.00120
Haiku 4.5 $0.00003 $0.00060

Measured 5d ago against content hash 0fa065768e9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

automation-setup scanned grade A with 0 findings 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/nextclaw-core/src/features/agent/shared/skills/automation-setup/SKILL.md · 66 lines

How it starts

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

Automation Setup

Use this skill when the user wants the assistant to:

  • remind them later
  • check something periodically
  • continue an existing investigation on a schedule
  • create a recurring follow-up tied to an existing session
  • turn a repeated manual workflow into an automation

This skill is a thin planner on top of the cron tool. Do not implement a second scheduler. Do not refer to Heartbeat or HEARTBEAT.md.

Decision Rules

  1. If the task should continue an existing conversation or investigation, pass the target sessionId.
  2. If the task should use a dedicated background thread, omit sessionId and let cron use its own cron:<jobId> session.
  3. If the schedule is one-time, use at.
  4. If the schedule is a true fixed interval, use every.
  5. If the schedule is a calendar pattern, use cron.

Message Rules

Write the message as an executable instruction for the agent at run time.

  • Good: Check the release board, summarize blockers, and report only changes since the previous run.
  • Good: Continue the existing debugging session, inspect the latest logs, and append the next concrete step.
  • Bad: debug logs

If the user wants a periodic check of a file, include that file path directly in the message.

  • Example: Read docs/TODO.md, identify items due this week, and summarize anything blocked.

Session-Bound Follow-Up

When the user wants “continue this later” or “keep following up on this thread”, prefer:

cron(action="add", name="<short-name>", message="<runtime instruction>", every=<seconds>, sessionId="<existing-session-id>")

Examples

Recurring follow-up on the current investigation:

cron(action="add", name="investigation-follow-up", message="Continue the existing investigation, check for new evidence, and report only meaningful changes.", every=1800, sessionId="<session-id>")

Periodic file-based review without a special session:

cron(action="add", name="todo-review", message="Read docs/TODO.md, identify items that need attention, and summarize the highest-priority updates.", cron="0 9 * * *")

Read the full file on GitHub · 66 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. 5d ago First seen · 66 lines · 26 tokens per session scan A 0fa065768e9b

Subscribe to this mod's changes

automation-setup is a skill published in the GitHub repository Peiiii/nextclaw (254 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 602 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.