Runtime communication

From lhwcv/tinyKaggleClaw · View interactive version

Runtime communication is an AI agent skill from the GitHub repository lhwcv/tinyKaggleClaw. Use this skill when working inside the research_mvp tmux runtime with fixed agents (leader, researcher, trainer) and you need to read shared thread messages, inspect per-agent inboxes, delegate tasks between agents, or follow the repository's runtime communication contract. Specifically for the file

How to use this skill

Skill file

Runtime Communication

Use this skill only for the local research_mvp runtime.

Files To Read First

Commands

Use the configured runtime CLI:

python -m research_mvp.runtime_cli --config research_mvp/runtime.toml status
python -m research_mvp.runtime_cli --config research_mvp/runtime.toml thread tail -n 50
python -m research_mvp.runtime_cli --config research_mvp/runtime.toml inbox list leader

Messaging Rules

python -m research_mvp.runtime_cli --config research_mvp/runtime.toml delegate --from leader --to researcher "..."

instead of only writing:

leader -> all: researcher should do ...

Leader Workflow

For each new task:

  1. Read latest shared thread and relevant inboxes.
  2. Break the task into direct assignments.
  3. If the human starts a recipe/<name>/ task, first assign recipe reading and EDA. Do not jump straight to model iteration.
  4. If training is needed, first ask researcher for a versioned package that follows the repository layout: code in src/baseline/, configs in baseline/experiments_v*/, a formal runner such as baseline/run_experiments_v11.sh, outputs under output/baseline_v*/, and a design note in docs/ using the existing baseline_v*_exp*.md pattern.
  5. Expect exactly one formal version runner script per version under baseline/; it should fan out to multiple experiments via repeated python baseline/run_baseline.py --config ... calls.
  6. Review the training package before queue submission. This includes checking that src/baseline/train.py and related scripts provide enough intermediate logs to observe training progress, plus a clear startup log that confirms training has actually begun.
  7. Ask researcher to complete the minimal dry run; it should validate startup and configuration without drifting into real training.
  8. Only after that hand the package to trainer for queue submission.
  9. Delegate to each target agent with delegate.
  10. Write one concise leader -> all summary to the shared thread.
  11. After a version is completed and worth preserving, make a git commit covering the relevant src/baseline/ and baseline/ changes.
  12. Every 5 baseline versions, stop and compare the current team path against reference solutions or newly researched alternatives. Explicitly note the main gaps and the most promising ideas to borrow.
  13. Convert the most credible borrowable ideas from that review into concrete next experiments or follow-up tasks.
  14. Re-check inbox/thread before deciding the next action.
  15. Do not stop at a version summary, result note, or commit. After each version closes, immediately delegate the next version or ask one concrete blocking question to the human.

Do not:

Worker Workflow

Additional trainer-specific rule:

Additional researcher-specific rule:

Additional trainer-specific documentation rule:

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.