get

Installation
SKILL.md

claude-routines:get

Fetch one routine and write it as a local .md file the user can edit.

Procedure

  1. Call RemoteTrigger with action: "get" and trigger_id: <id>.
  2. Strip read-only fields from the response: id, created_at, updated_at, next_run_at, creator, ended_reason, api_token_hint, persist_session, last_fired_at, enabled_plugins, extra_marketplaces, and job_config.ccr.session_context.outcomes.
  3. Build YAML frontmatter from the remaining fields: trigger_id, name, cron (or run_once_at), enabled, env_id (from job_config.ccr.environment_id), allowed_tools (from job_config.ccr.session_context.allowed_tools), optional model (from job_config.ccr.session_context.model if present), optional sources (from job_config.ccr.session_context.sources if present), optional mcp_connections.
  4. The prompt body comes from job_config.ccr.events[0].data.message.content.
  5. Derive a kebab-case slug from name. Write to routines/<slug>.md (or wherever the user prefers; default routines/).

File format

Installs
10
GitHub Stars
10
First Seen
May 14, 2026