Skip to content

Conversation

@msaroufim
Copy link
Member

Summary

  • Move SKILLS/test_bot.md to .claude/skills/test_bot.md where Claude Code actually reads it
  • Add remote-gpu-testing.md skill documenting the SSH + tmux pattern for running GPU experiments on remote machines
  • Update .gitignore to track .claude/skills/ while keeping other .claude/ files ignored
  • Update CLAUDE.md reference to point to new path

Test plan

  • Verify .claude/skills/ files are checked in and visible on the branch
  • Verify other .claude/ files (e.g. settings.local.json) are still gitignored
  • Confirm Claude Code picks up skills from the new location

- Move test_bot.md to .claude/skills/ where Claude Code picks it up
- Add remote-gpu-testing.md skill for SSH+tmux workflow on GPU machines
- Update .gitignore to track .claude/skills/ while ignoring other .claude/ files
- Update CLAUDE.md reference to new path
Copilot AI review requested due to automatic review settings February 11, 2026 03:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Moves Claude Code “skills” documentation into the location Claude Code reads and adds guidance for running GPU workflows remotely.

Changes:

  • Update CLAUDE.md to reference the new skills path under .claude/skills/
  • Add a new skill doc for running GPU experiments/tests remotely via SSH + tmux

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.

File Description
CLAUDE.md Updates the skills reference to the new .claude/skills/ location
.claude/skills/remote-gpu-testing.md Adds a documented SSH + tmux workflow for remote GPU testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


Never run GPU code locally. Always use this pattern:

1. **Set up a tmux session** on the remote machine (idempotent):
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using || true makes the command appear successful even when tmux fails for real reasons (e.g., tmux not installed, permission issues), which can mask problems and lead to confusing follow-on failures. Prefer an idempotent check that only suppresses the 'session already exists' case (e.g., tmux has-session ... || tmux new-session ...) so genuine failures still surface.

Copilot uses AI. Check for mistakes.

2. **Set up the environment** (mirrors the GH Action):
```bash
ssh host "tmux send-keys -t work 'cd /home/user/kernelbot && pip install -r requirements-dev.txt && pip install -e . 2>&1 | tee /tmp/setup.log' Enter"
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shell redirection/piping precedence here means 2>&1 | tee /tmp/setup.log applies only to the final pip install -e ., so output from pip install -r requirements-dev.txt will not be captured in /tmp/setup.log. If the intent is to log the entire setup sequence, group the commands so the redirection/pipe wraps both installs.

Suggested change
ssh host "tmux send-keys -t work 'cd /home/user/kernelbot && pip install -r requirements-dev.txt && pip install -e . 2>&1 | tee /tmp/setup.log' Enter"
ssh host "tmux send-keys -t work 'cd /home/user/kernelbot && (pip install -r requirements-dev.txt && pip install -e .) 2>&1 | tee /tmp/setup.log' Enter"

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/libkernelbot
  utils.py
Project Total  

This report was generated by python-coverage-comment-action

@msaroufim msaroufim merged commit 92787bb into main Feb 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant