- Determine the worker label and run the coding worker script, capturing stdout:
PROJECT_ROOT=$(git rev-parse --show-toplevel) _LABEL="${ARGUMENTS:-$("$PROJECT_ROOT/scripts/cn.sh")}" ${CLAUDE_PLUGIN_ROOT}/scripts/coding-worker.sh "$_LABEL" - Parse the first line
INTERVAL:Nand save N. - Use CronList to check if a recurring cron job for
/begin-coding-workeralready exists.- If a matching job exists and its interval differs from N minutes, delete it with CronDelete and create a new recurring cron with
*/N * * * *and prompt/begin-coding-worker $ARGUMENTS. - If a matching job exists and its interval already matches N minutes, do nothing (keep it as-is).
- If no matching job exists, create a new recurring cron with
*/N * * * *and prompt/begin-coding-worker $ARGUMENTS.
- If a matching job exists and its interval differs from N minutes, delete it with CronDelete and create a new recurring cron with
- If the remaining output (after the first line) is "idle", stop here — the recurring cron will trigger the next check.
- If the remaining output is NOT "idle", launch a general-purpose Agent (subagent) with that output as the prompt. Do NOT execute the instructions yourself — always delegate to a subagent. Wait for the subagent to complete before returning.
Begin Coding Worker
Start an adaptive coding loop that dynamically adjusts interval based on activity — short intervals when busy, longer when idle.
Begin Coding Worker by vm0-ai · 59fd86b
npx skillmds@latest add vm0-ai/begin-coding-worker File contents
---name: begin-coding-workerdescription: Start an adaptive coding loop that dynamically adjusts interval based on activity — short intervals when busy, longer when idle.---1. Determine the worker label and run the coding worker script, capturing stdout: ```bash PROJECT_ROOT=$(git rev-parse --show-toplevel) _LABEL="${ARGUMENTS:-$("$PROJECT_ROOT/scripts/cn.sh")}" ${CLAUDE_PLUGIN_ROOT}/scripts/coding-worker.sh "$_LABEL" ```2. Parse the first line `INTERVAL:N` and save N.3. Use CronList to check if a recurring cron job for `/begin-coding-worker` already exists. - If a matching job exists **and** its interval differs from N minutes, delete it with CronDelete and create a new recurring cron with `*/N * * * *` and prompt `/begin-coding-worker $ARGUMENTS`. - If a matching job exists **and** its interval already matches N minutes, do nothing (keep it as-is). - If no matching job exists, create a new recurring cron with `*/N * * * *` and prompt `/begin-coding-worker $ARGUMENTS`.4. If the remaining output (after the first line) is "idle", stop here — the recurring cron will trigger the next check.5. If the remaining output is NOT "idle", launch a **general-purpose Agent** (subagent) with that output as the prompt. Do NOT execute the instructions yourself — always delegate to a subagent. **Wait for the subagent to complete** before returning.
vm0-ai/team-skills/tree/main/coding-team/skills/begin-coding-worker commit 59fd86b439
Frequently asked questions
Run npx skillmds@latest add vm0-ai/begin-coding-worker in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Start an adaptive coding loop that dynamically adjusts interval based on activity — short intervals when busy, longer when idle. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
vm0-ai (@vm0-ai) published this skill. Their other Agent Skills are listed on their SkillMD profile.