agenticx-automation-crontask

agenticx-automation-crontask is a skill for Claude Code, Codex from opencue/cuecards. It costs 65 tokens per session (1,051 once invoked), scanned A, a copy of agenticx-automation-crontask, MIT.

A guide for creating and maintaining scheduled tasks that run automatically at set times, similar to cron jobs on Unix systems.

In plain words
What is it for?
Building recurring automations, preparing their Python environments, and writing or fixing the instructions used when they run.
Why use it?
It keeps each task's scripts, dependencies, data, and logs in a defined workspace and makes the task's runtime environment predictable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Building recurring automations, preparing their Python environments, and writing or fixing the instructions used when they run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opencue/cuecards/agenticx-automation-crontask
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 opencue/cuecards --skill agenticx-automation-crontask
Clone the repo
git clone --depth 1 https://github.com/opencue/cuecards

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 agenticx-automation-crontask

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencue/cuecards/agenticx-automation-crontask.svg)](https://agentmods.dev/skills/opencue/cuecards/agenticx-automation-crontask)
Your own site
<a href="https://agentmods.dev/skills/opencue/cuecards/agenticx-automation-crontask"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/agenticx-automation-crontask.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,051 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 100% copy Near-identical to another mod 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.00065 $0.01051
Opus 5 $0.00032 $0.00526
Sonnet 5 $0.00013 $0.00210
Haiku 4.5 $0.00006 $0.00105

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

Security

Grade A, and why

agenticx-automation-crontask 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 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.

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.

Origin

This is a copy

100% identical to agenticx-automation-crontask — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/agenticx-automation-crontask/SKILL.md · 63 lines

What it actually says

AgenticX 定时任务(Crontask)

任务根目录(工程约定,与 Desktop / schedule_task 一致)

用户在自动化里是否填写「工作区」 任务根目录
填写了 用户给定目录(Desktop 会 mkdir
留空 ~/.agenticx/crontask/<task_id>/每个定时任务独占一个子目录,与 automation:<task_id> 对话一一对应)
  • Python venv:一律在任务根下 <任务根>/.venv,用 <任务根>/.venv/bin/pip / python;不要把定时任务专属依赖装到仓库 .venv 或任意路径,除非该路径就是用户指定的任务根。
  • 脚本、数据、日志、临时文件、辅助工具全部放在任务根或其子目录内;不要在 ~/.agenticx/scripts、仓库根等散落(除非用户显式把其中某路径设为任务根)。

Meta-Agent:调用 schedule_task 之前(运行环境)

定时任务以后automation 专属会话里执行,不会在当时的 Near 对话里自动装包。在调用 schedule_task 之前应代用户准备好任务根下的环境:

  1. 先拿到 任务根:用户指定的 workspace,或创建任务后默认的 ~/.agenticx/crontask/<task_id>/schedule_task 返回的 task_id 可用于路径)。
  2. 在任务根下 python3 -m venv .venv(若尚无),.venv/bin/pip install …
  3. bash_exec<任务根>/.venv/bin/python 试跑脚本,确认无 import 错误。
  4. instruction 里的命令必须与 同一解释器路径 一致。

默认工作区(摘要)

  • 未指定 workspace 时,Desktop 与 schedule_task 均写入 ~/.agenticx/crontask/<task_id> 并创建目录。
  • 删除任务时,UI 会二次确认是否同时删除该目录下的本地文件(仅针对上述 crontask 子目录,不随意删除用户任意路径)。

schedule_task 创建任务(对话 / Meta-Agent)

instruction(提示词)里写清:

  1. 何时跑:已在工具参数里用 frequency_type / time / days 表达;提示词内可再写一句业务语义(如「交易日 9:28」)便于人读。
  2. 怎么跑:必须要求 真实执行(如 bash_exec + python3),禁止「只给代码不运行」。
  3. 输出格式:给出严格版式(标题、字段、单位),并写明「最终回复只允许该版式,禁止工具 JSON」。
  4. 失败:简短错误(接口/库/网络),不超过若干行,不要教程、不要反问。
  5. 依赖:写明 pip install 包名;执行环境以本机为准。

可选参数 workspace:仅当用户明确要求固定目录时填写;否则留空使用默认 crontask 目录。

任务执行时(automation 会话)

会话 avatar_idautomation:<task_id> 时,后端会注入执行器系统提示,强调:

  • 先工具执行、再按用户版式输出;
  • 不在最终回复粘贴 schedule_task 等原始 JSON;
  • 失败简短说明。

编写或审阅提示词时,应与此行为一致。

验收清单

  • 提示词是否要求实际跑命令并得到数据?
  • 是否定义了唯一允许的输出模板
  • 是否说明非交易日 / 无数据时的单行或短输出?
  • 是否需要默认 crontask 路径下的脚本文件(便于复跑与排障)?
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 · 63 lines · 65 tokens per session scan A 41a37f9d8175

Subscribe to this mod's changes

agenticx-automation-crontask is a skill published in the GitHub repository opencue/cuecards (5 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 1,051 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to agenticx-automation-crontask, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

stacks

Load stack-specific knowledge (conventions, exact lint/test/build commands, common failure patterns) onto the current role agent for the project's detected tech stack(s) — Next.js, React Native, Spring Boot, FastAPI, Django, Rust, etc. Use at the start of any task in an unfamiliar or newly-onboarded repo, or whenever…

randomittin/heimdall · 85 tokens

caveman

Ultra-compressed communication mode. Cuts token usage 75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or…

randomittin/heimdall · 98 tokens

memstack-automation-n8n-workflow-builder

Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual workflow design with node mapping, data transformations, and error handling for n8n. Do NOT use for standalone webhook endpoints or cron jobs.

cwinvestments/memstack · 68 tokens

loongsuite-pilot-insight

A reporting workflow for turning LoongSuite Pilot and AI coding-agent logs into structured reports about events, teams, data quality, development efficiency, and AI use. It defines the meaning of the log fields and the measurements used in dashboards.

alibaba/loongsuite-pilot · 91 tokens

memstack-automation-cron-scheduler

Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needs production-grade scheduled jobs with overlap prevention, monitoring, and structured logging. Do NOT use for n8n workflows or event-driven webhooks.

cwinvestments/memstack · 67 tokens

session-save

Save the current session state (decisions, modified files, current status, and next steps) to a handoff file for later resume.

FlorianBruniaux/claude-code-ultimate-guide · 31 tokens