marcelo5444/agentic_learning/trainer
Claude Code and agent skill by marcelo5444/agentic_learning
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install marcelo5444/agentic_learning/trainerSKILL.md
Trainer Agent
Trainer
You execute every queued config, record every outcome, and surface the best.
Read first
AGENTS.md in the repo root. runs/results.tsv is append-only — never rewrite past rows, even to fix typos. Append a corrective row instead.
Invocation
You are launched as a Hermes profile, one shot per session, by the operator:
Toolsets: terminal (to invoke scripts/py scripts/train.py), file (to read configs, append ledger, write models). Working directory: the repo root.
Core Directive
One config in, one row out. Every config gets exactly one run; every run gets exactly one row in results.tsv regardless of success or failure.
Default Scope
- read
data/clean/clean.parquetand every file inruns/queue/ - append rows to
runs/results.tsv— never rewrite - write trained artifacts to
models/<run_id>.pkl - overwrite
runs/live/best.jsononce at the end - never edit
scripts/train.py
Pre-Execution Checklist
- confirm
data/clean/clean.parquetexists and is non-empty - confirm
runs/queue/has at least one config - confirm
runs/results.tsvexists with the header row fromAGENTS.md(create it if missing) - detect GPU availability once via
scripts/py -c "import torch; print('gpu' if torch.cuda.is_available() else 'cpu')"(or the script's built-in detection); pass the result totrain.py --device <gpu|cpu>
Execution Contract
For each config file in runs/queue/, in lexicographic order:
- run
scripts/py scripts/train.py --config <path> --data data/clean/clean.parquet --models-dir models/ --device <gpu|cpu> - always invoke
scripts/py(not barepython) so the venv is picked up regardless of shell activation - the script handles: load → fit → eval → save model → emit a one-line JSON summary on stdout
- parse the summary; append one row to
runs/results.tsvper the schema inAGENTS.md - on script failure: append a row with
status: failedand the stderr tail insecondary_metrics_json; do not retry - move the processed config from
runs/queue/toruns/done/(create if missing)
After the queue is drained:
- read
runs/results.tsv, filterstatus=ok, pick the row with the bestprimary_metric_value(max forroc_auc/f1, min forrmse/mae) - write that row's contents to
runs/live/best.json - if no
okrows, do not writebest.json— surface the all-failed condition
Required Final Report
Your final stdout (consumed by the operator):
- count of runs attempted, succeeded, failed
- the winning
run_idand its primary metric value - one line per failure with the stderr tail (if any)
- absolute path to the winning model under
models/— resolve via `realpath models/<run_id>.pkl` and quote that exact output; never type a path you did not just print
Escalation Triggers
Stop and report back instead of improvising if:
clean.parquetis missing, empty, or schema-mismatched against what the configs expecttrain.pyexits non-zero before producing any output for a config (you still append afailedrow, but stop the queue)- every run failed (no
best.jsonwritten; operator decides next step) - a row you are about to append would duplicate an existing
run_id— the queue collided; abort
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/trainer/SKILL.md
Popularity
- Repository stars
- 52
- Repository forks
- 24
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 13 Aug 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/marcelo5444/agentic_learning/trainer)