- name
SKILL.md
스킬 파일은 게시자의 저장소에 그대로 있습니다.
복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add fcakyon/labrat --skill setup -a cursor -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add fcakyon/labrat --skill setup -a claude-code -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add fcakyon/labrat --skill setup -a codex -y복사한 명령을 터미널에 붙여넣습니다. 이 SKILL.md가 해당 에이전트에 설치됩니다.
npx skills add fcakyon/labrat --skill setup -a grok -y복사한 메시지를 Grok Bot 채팅에 보냅니다. Bot이 GitHub에서 이 SKILL.md를 가져와 모든 Bot이 공유하는 스킬에 추가합니다.
Install this skill: https://github.com/fcakyon/labrat/tree/HEAD/plugin/skills/setup게시자 제공
The plugin works correctly the moment it is installed. Most users never need to run setup. This skill exists to (1) show what was auto-detected on the user's system, and (2) let users opt into a few extras (notifications, allowlist, project CLAUDE.md, LaTeX).
Before asking any questions, print what the plugin already knows. No prompts, no decisions, just visibility.
Run these probes silently and present the results:
# Last few long-job launches the plugin would have flagged
recent_launches=$(history 200 2> /dev/null | grep -E '(python.*train|accelerate launch|torchrun|deepspeed|sbatch|tmux.*python)' | tail -5)
# What the agentic Stop hook would orient on for this project
project_orientation=""
[ -f README.md ] && project_orientation+="README.md found "
[ -f CLAUDE.md ] && project_orientation+="CLAUDE.md found "
[ -f .claude/CLAUDE.md ] && project_orientation+=".claude/CLAUDE.md found "
[ -f AGENTS.md ] && project_orientation+="AGENTS.md found "
Then present:
Lab Rat auto-detected the following:
Recent launches: <count> training-job patterns in shell history
Project orientation: ${project_orientation:-no README / CLAUDE.md / AGENTS.md found at project root}
This is what the hooks and agentic Stop hook will use. No configuration needed.
The plugin works on the first prompt. Hooks fire silently when there is nothing to flag.
Want to configure any extras? (notifications, allowlist, CLAUDE.md, LaTeX) [y/N]
If the user says no, you are done. If yes, walk them through the optional steps below.
Use AskUserQuestion:
Which extras would you like to set up?
1. Notifications: get alerts when long tasks complete (ntfy / slack / email)
2. CLI Allowlist: auto-approve safe commands used in research workflows
3. Research CLAUDE.md: add research integrity rules to your project
4. LaTeX Environment: detect and configure LaTeX / BibTeX toolchain
Enter numbers separated by commas (e.g., 1,3,4), or "all":
Ask which notification method:
How would you like to receive notifications?
1. ntfy.sh: free, works over SSH, no account needed
2. Slack: webhook to a channel
3. Email: via sendmail / msmtp
Enter number:
Based on selection:
.env as NTFY_TOPIC=<topic>. Test with curl -d "labrat test" ntfy.sh/<topic>.env as SLACK_WEBHOOK_URL=<url>. Test with curl POST.env as NOTIFICATION_EMAIL=<email>. Test with sendmailShow the user a list of safe, non-destructive commands commonly used in research:
{
"allowedTools": [
"Read",
"Glob",
"Grep",
"Bash(pdflatex *)",
"Bash(biber *)",
"Bash(bibtex *)",
"Bash(python -c *)",
"Bash(uv run *)",
"Bash(git status)",
"Bash(git diff *)",
"Bash(git log *)",
"Bash(nvidia-smi)",
"Bash(htop)",
"Bash(df -h)",
"Bash(wc -l *)",
"Bash(du -sh *)"
]
}
Ask for confirmation, then merge into .claude/settings.json.
Present the following research integrity rules to add to the project's CLAUDE.md:
## Research Integrity Rules
- Code is the source of truth. When paper text and code disagree, the code is correct
unless the user explicitly states otherwise.
- Never state a numerical result without tracing it to a specific file, log, or code output.
If you cannot find the source, say so explicitly.
- Never assume domain-specific technical behavior. Verify against code before making claims
about how methods, losses, architectures, or training procedures work.
- When editing paper text, change ONLY what was requested. Do not remove existing content,
add unrequested sections, or "improve" surrounding text unless asked.
- Citation integrity: verify author names, venue, and year against DBLP before adding or
modifying any BibTeX entry. Flag any citation detail you cannot verify.
- Edit code locally, commit, push, then `git pull` on the GPU host. Never edit tracked code
in place over SSH.
Ask the user to confirm, then:
Follow the LaTeX setup.
See paper search setup.
The plugin avoids configuration on purpose. If a user really wants to override:
~/.claude/settings.json and set "hooks.<event>.<matcher>.disabled": true (Claude Code's standard mechanism)>
---name: setupdescription: >---# plugin/skills/setup/SKILL.mdFAQ
게시자에게서 plugin/skills/setup/SKILL.md를 다운로드하거나 경로를 복사해 저장소를 엽니다. PlugMCP는 스킬을 목록에 올릴 뿐 파일을 호스팅하지 않습니다.
게시자가 https://github.com/fcakyon/labrat에서 관리합니다.
Claude, Cursor, Codex, Grok Build는 게시자의 저장소에서 추가한 SKILL.md를 읽을 수 있습니다. Grok Bot은 채팅에서 스킬의 GitHub 폴더 링크를 보내면 설치합니다.