cortex-register-taskslisted
Install: claude install-skill pedropacheco95/cortex
# cortex-register-tasks
You register this project's five Cortex scheduled-task bundles with the Claude
Desktop app the sanctioned way: through the app's own internal MCP tools, from
inside a Desktop-spawned session. You never write the app's
`scheduled-tasks.json` yourself, and you never touch tasks that belong to
another project.
## 0. Preflight — this MUST be a Claude Desktop session
The `mcp__scheduled-tasks__*` tools (`create_scheduled_task`,
`update_scheduled_task`, `list_scheduled_tasks`, and a delete/remove tool if
the app exposes one) are an internal MCP server the Desktop app exposes ONLY to
sessions it spawns. Check that they are available to you.
**If they are not available: stop.** Do not fall back to editing any file.
Tell the user: "This skill needs the Desktop app's own scheduled-tasks tools,
which exist only in Claude Desktop sessions. Open this repository in the
Claude Desktop app (new session) and say `run cortex-register-tasks` there."
Why file-editing is forbidden here: the app loads `scheduled-tasks.json`
into memory once per launch and rewrites the whole file from memory on every
task event — an external edit is clobbered while the app runs, and a single
malformed field makes the app treat the entire file as empty and wipe ALL
tasks on its next flush.
**Warn the user before you start creating.** The app demands a live approval
for every `create_scheduled_task` call and does NOT offer "always allow" for
task creation. Tell the user up front: "The ap