Cron list

From jikig-ai/soleur · View interactive version

Cron list is an AI agent skill from the GitHub repository jikig-ai/soleur. This skill should be used to list scheduled cron workflows (recurring vs one-time, --json supported) — the first-class Read verb that runs the list step of soleur:schedule.

How to use this skill

Skill file

<!-- grok-harness-invoke:start -->

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

<!-- grok-harness-invoke:end -->

cron-list

Lists existing scheduled cron workflows — the Read verb of the cron CRUD

set. A thin pointer: the listing logic lives once in soleur:schedule so the

recurring-vs-one-time classifier never drifts across files.

When to use

triggering, or deleting one.

When to use this skill vs other cron skills

The cron CRUD set: soleur:schedule (Create — and the canonical home of the

list/delete logic), cron-list (Read — this), soleur:cron-delete

(Delete), soleur:trigger-cron (Run-now / fire on demand). schedule remains

the create entry point and keeps its list/delete prose as the single source

of truth — these verbs cross-link to it, they do not re-implement it.

Procedure

Execute the `### list ` section of

CODE0: enumerate

.github/workflows/scheduled-*.yml, classify each by cron shape (5-field with

explicit single integers for minute/hour/day/month + * for year → one-time;

anything else → recurring), and display the mode tag + cron. With --json,

emit an array of {name, cron, mode, skill}.

Any worked example MUST derive the count dynamically — the number of scheduled

workflows is environment-dependent (it differs between a feature worktree and

the bare-root/main checkout), so never hardcode it:

git ls-files '.github/workflows/scheduled-*.yml' | wc -l

Known limitations

Inherited from soleur:schedule: V1 reports mode + cron only. Richer per-run

state (pending / disabled_inactivity / fired-failed) is deferred — run

gh workflow list and gh workflow view <NAME> directly for now.

Cross-references

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.