schedule-task

schedule-task is a skill for Claude Code from treasure-data/td-skills. It costs 76 tokens per session (1,933 once invoked), scanned A, original, Apache-2.0.

A guide for creating scheduled tasks in Treasure Studio. It covers the task instructions, schedule settings, scripts, and direct file-based setup.

In plain words
What is it for?
Use it to create recurring jobs, automate reports, configure cron-like schedules, or set up a task in Treasure Studio.
Why use it?
It turns a recurring job idea into the files and configuration needed for automated runs. A scheduled task is work that starts automatically at chosen times or intervals.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the studio-skills plugin — 9 skills shipped together

Good fit Use it to create recurring jobs, automate reports, configure cron-like schedules, or set up a task in Treasure Studio.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treasure-data/td-skills/schedule-task
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.

Any agent
npx skills add treasure-data/td-skills --skill schedule-task
Clone the repo
git clone --depth 1 https://github.com/treasure-data/td-skills

Made for: Claude Code.

Or install studio-skills, the plugin that ships this one along with the rest of its 9 skills.

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 schedule-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/treasure-data/td-skills/schedule-task/github.svg)](https://agentmods.dev/skills/treasure-data/td-skills/schedule-task)
Your own site
<a href="https://agentmods.dev/skills/treasure-data/td-skills/schedule-task"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/schedule-task/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for schedule-task

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/schedule-task"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/schedule-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,933 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00076 $0.01933
Opus 5.5 $0.00030 $0.00773
Sonnet 5.5 $0.00015 $0.00387
Haiku 4.5 $0.00008 $0.00193

Measured 3mo ago against content hash f2750067e72b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

schedule-task 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 3mo 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.

studio-skills/schedule-task/SKILL.md · 162 lines

How it starts

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

Schedule Task Creator

Create scheduled tasks in Treasure Studio that mix deterministic script execution with agent-driven analysis and delivery.

Task Directory Placement

Determine where to create the task based on your current working directory:

  1. If inside a workspace: find the nearest ancestor directory (including the current one) that contains a tdx.json file and at least one of goals/ or items/ folders. That directory is {workspace}.

    • Create under {workspace}/schedules/{task-name}/
    • Workspace context (accepted guides, goals) is automatically available at execution time
    • {workspace} becomes the working directory during execution
  2. Otherwise (standalone):

    • Create under ~/.tdx/schedule-tasks/{task-name}/

Workflow

CRITICAL: Never just create files and stop. Always run the task and iterate until it works.

  1. Capture Intent — What to automate, how often, what tools/data needed, where results go
    • Ask the user for output format (Slack message, CSV, HTML report, etc.) and notification channels before creating files. Never assume a Slack channel — always confirm.
  2. Create the Task — Always use the create_schedule MCP tool for the initial task scaffold; do not hand-create schedule.yaml, TASK.md, or the standard subdirs (data/, reference/, scripts/, results/) with Write/Bash. The tool generates those files/directories and stamps the active Studio profile into schedule.yaml. Extra files under scripts/ or reference/ may be added afterwards with Write.
  3. Validate — Run schedule_validate to check schedule.yaml
  4. Reload — Run schedule_reload to pick up new/changed tasks
  5. Review — Load the schedule-review skill and run a full review (structure + quality checks in parallel)
  6. Fix Issues — Address any findings from the review
  7. Test Run — Run schedule_run to execute immediately
  8. Check Results — Use schedule_results to review output.md and check for errors
  9. Fix & Retry — If the run failed or output is wrong, edit the files and repeat from step 4
  10. Enable — Only after a successful test run, use schedule_enable to activate the cron schedule

Read the full file on GitHub · 162 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. 3mo ago First seen · 162 lines · 76 tokens per session scan A f2750067e72b

Subscribe to this mod's changes

schedule-task is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 76 tokens to every session and 1,933 once invoked, about $0.0003 per session on Opus 5.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.

Related

schedule-task compared with skills from other repositories

schedule-task next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
schedule-tasktreasure-data/td-skillsSkill23todayApache-2.0A76Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code