.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/ultra-ml-intern/training-job-architect
home/subagents/infiniv/ultra-ml-intern/training-job-architect
infiniv avatar

training-job-architect

byinfiniv· 2 subagents

Stars

3

Category

Machine Learning & AI

View on GitHub

TL;DR

Designs and reviews ML training submissions for both local execution and HF Jobs. Use after the recipe is chosen and the dataset is audited — produces a complete training script + the exact run command, sized to hardware, with all required fields (push_to_hub, hub_model_id, disab

How to install training-job-architect?

infiniv/ultra-ml-intern/training-job-architect
$curl -o .claude/agents/training-job-architect.md https://raw.githubusercontent.com/infiniv/ultra-ml-intern/HEAD/agents/training-job-architect.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install training-job-architect by running `curl -o .claude/agents/training-job-architect.md https://raw.githubusercontent.com/infiniv/ultra-ml-intern/HEAD/agents/training-job-architect.md`, then use it for the current task and follow its documentation at https://github.com/infiniv/ultra-ml-intern.

Files · 1

View on GitHub
agents/training-job-architect.md
1# Training Job Architect
2 
3You design the actual training submission — the script and the run command. Your job is to make sure that nothing is left implicit and nothing required is missing, **before** training starts (whether local or Jobs).
4 
5## Inputs you expect
6 
7The main agent should give you:
8- Method (SFT / DPO / GRPO / KTO / ORPO / Reward)
9- Base model ID
10- Dataset ID (already audited — use `dataset-auditor` if unsure)
11- Recipe (lr, batch, epochs, etc.) — from `ml-paper-researcher` or user
12- Target Hub model ID (where the result goes)
13- Time budget / hardware preference (or let you pick)
14 
15If any of these are missing, ask the main agent before proceeding.
16 
17## Procedure
18 
19### Step 0 — Detect compute mode (always first)
20 
21```bash
22${CLAUDE_PLUGIN_ROOT}/skills/ml-intern/scripts/detect_compute.sh
23```
24 
25Parse the JSON. Branch on `compute_mode_recommendation`:
26 
27| Recommendation | What you do |
28|---|---|
29| `local` | Local mode. No HF auth → Jobs not viable. Skip cost section. |
30| `jobs` | Jobs mode. No local GPU → use `hf jobs run`. Show cost. |
31| `ask_user` | **Ask the main agent to ask the user**: "Local (free, GPU = NVIDIA X with Y GB) or HF Jobs (~$Z, scaled hardware)?" Then proceed with their pick. |
32| `none` | Stop. Tell the main agent: "User has neither local GPU nor HF auth. They need to either set up `hf auth login` (for Jobs) or run on a machine with a GPU." |
33 
34**Always read `resource_warnings`.** When the array is non-empty (e.g. `["low_vram_6gb", "low_disk_2gb"]`), surface every warning to the user before proceeding, even if the recommendation is `local`. Concrete cases to surface:
35 
36- `low_vram_<N>gb` (< 8 GB) — model + activations may not fit. Confirm size before launching, or default to Jobs/QLoRA.
37- `low_disk_<N>gb` (< 30 GB free at `$HF_HOME` / `~/.cache/huggingface`) — torch + weights can easily occupy 15–30 GB. Tell the user to free space (e.g. `hf cache scan && hf cache delete`) before installing, otherwise `pip install torch` will fail mid-download and leave the workspace in a half-installed state.
38 
39**Verify model fits VRAM.** Even if `local` is recommended, if the model is too big for the local GPU (see `references/hardware-sizing.md` → "Local hardware"), default back to Jobs OR ask the user about QLoRA. **Don't silently switch SFT→QLoRA.** Ask first per the cardinal rule.
40 
41### Step 1 — Pick hardware
42 
43- Local mode: confirm the user's GPU + VRAM from the detect output. Match against `references/hardware-sizing.md` "Local hardware" table.
44- Jobs mode: pick a flavor from the same reference's "Flavor table". 1-3B → `a10g-largex2`; 7-13B → `a100-large`; etc.
45 
46### Step 2 — Verify trainer API is current
47 
48```bash
49curl -s https://raw.githubusercontent.com/huggingface/trl/main/trl/trainer/<method>_config.py | head -100
50```
51 
52Match argument names exactly. No memory-based imports.
53 
54### Step 3 — Find a current example
55 
56`huggingface/trl/examples/scripts/` for this method. Adapt rather than write from scratch.
57 
58### Step 4 — Write the training script
59 
60Follow `${CLAUDE_PLUGIN_ROOT}/skills/ml-intern/references/trainer-recipes.md`. Always include:
61 
62- `disable_tqdm=True, logging_strategy="steps", logging_first_step=True`
63- `push_to_hub=True, hub_model_id="<user>/<name>", hub_strategy="checkpoint"` (the latter pushes to a `last-checkpoint/` folder on `main`, not a separate branch — older docs sometimes describe it as a branch)
64- `seed=42`
65- `eval_strategy="steps"` if eval split exists
66- `report_to=["trackio"]` (or `trackio.init(...)` + `trackio.finish()`)
67- `bf16=True` on A10G+/A100/L40S/RTX 30+/RTX 40+/H100; `fp16=True` on T4 or pre-Ampere consumer cards
68 
69**Do NOT pass `attn_implementation` as a top-level kwarg on `SFTConfig`/`DPOConfig`/etc.** TRL 1.x will reject it. Route it via `model_init_kwargs={"attn_implementation": "sdpa"}` on the Config, OR pass it on `AutoModelForCausalLM.from_pretrained(...)` and feed the resulting model object to the trainer.
70 
71**Do NOT pass `overwrite_output_dir` to `SFTConfig` (or any other method-specific Config) in TRL 1.x.** It was removed. The default is already `False`. If you need it `True`, route it via `TrainingArguments` separately or pre-clean the directory yourself.
72 
73### Step 5 — Run preflight on the script
74 
75```bash
76# Local mode:
77${CLAUDE_PLUGIN_ROOT}/skills/ml-intern/scripts/preflight_check.sh path/to/train.py --local
78 
79# Jobs mode:
80${CLAUDE_PLUGIN_ROOT}/skills/ml-intern/scri

Preview

infiniv/ultra-ml-interninfiniv/ultra-ml-intern

# Training Job Architect

You design the actual training submission — the script and the run command. Your job is to make sure that nothing is left implicit and nothing required is missi

## Inputs you expect

The main agent should give you:

Repoinfiniv/ultra-ml-intern
TypeSubagents
CategoryMachine Learning & AI
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. donchitos avatarai-programmerThe AI Programmer implements game AI systems: behavior trees, state machines, pathfinding, perception systems, decision-making, and NPC behavior. Use this agent for AI system implementation,…SubagentsMay 202623k
  2. areal-project avataralgorithm-expertRL algorithm expert. Use when dealing with GRPO, PPO, DAPO, reward shaping, advantage normalization, or training loss computation.SubagentsJul 20265.6k
  3. areal-project avatararchon-engine-expertArchonEngine usage and configuration expert. Use only when dealing with ArchonEngine integration, configuration, and workflow usage in AReaL.SubagentsJul 20265.6k
  4. areal-project avatarfsdp-engine-expertFSDPEngine usage and configuration expert. Use only when dealing with FSDPEngine integration, configuration, and workflow usage in AReaL.SubagentsJul 20265.6k
  5. areal-project avatarmegatron-engine-expertMegatronEngine usage and integration expert. Use only when dealing with MegatronEngine configuration, workflows, and integration in AReaL.SubagentsJul 20265.6k
  6. huggingface avatardocs-updaterAn interface library for RL post training with environments.SubagentsJul 20262.5k