AI Research Engineering Playbooks
Turn any coding agent into a disciplined research engineer that plans, runs, debugs, and evaluates reproducible AI experiments end to end.
Free
Works with the AI Agents you already use
AI Research Engineering Playbooks
Example session with this skill installed
I have a Llama-3.1-8B-Instruct base model and a finance instruction dataset at data/finance_train.jsonl (about 12k rows, held-out eval split at data/finance_eval.jsonl). Set up a low-memory LoRA fine-tuning experiment: pick sane rank, alpha, and learning-rate defaults, write the training config with a fixed seed, run a short sanity pass, then benchmark the adapter against the base model using identical prompt formatting and sampling parameters. Report perplexity and task accuracy side by side, review at least 30 failure cases, and flag anything that looks like train/eval leakage before I commit GPU hours to the full run.
- Read your context and instructions
- Compiled the ai research engineering
Summary
LoRA adapter finance-instruct-lora-v1 (r=16, alpha=32, 4-bit base, seed 17) trained on 11,842 deduplicated rows and evaluated against the base model with identical prompt formatting. Clear task improvement, no safety regression, one train/eval overlap issue flagged before the full run.
| Metric | Base | LoRA v1 |
|---|---|---|
| Task accuracy | 54.1% | 71.6% |
| Held-out perplexity | 9.8 | 6.2 |
| Refusal rate | 2.1% | 2.4% |
| Train/eval overlap | 0.9% | 0.9% |
| Median latency | 410ms | 415ms |
Artifacts in runs/finance-instruct-lora-v1/: config snapshot, environment versions, raw generations, and metric tables.
Next steps
- Purge the 107 overlapping eval records before spending more GPU hours
- Retry r=32 if output formatting degrades on long answers
- Manually review the 34 failure cases in
results/failures.jsonl - Re-run the refusal/safety prompt suite after the full training pass
Connects securely to your tools. The creator never sees your data.
About this skill
AI research often stalls on engineering overhead rather than scientific insight. This skill library provides disciplined workflows to transform general coding agents into practical research engineers. It replaces vague prompting with structured playbooks for data preparation, experiment execution, and rigorous evaluation.
What it does
- Standardizes experiments by providing reusable playbooks for data cleaning, training configurations, and benchmarking.
- Ensures reproducibility through mandatory dataset fingerprinting, config snapshots, and environment logging.
- Optimizes training with specific patterns for LoRA fine-tuning, parameter-efficient adapters, and checkpoint management.
- Automates evaluation via benchmark protocols that calculate exact match, edit distance, and statistical significance.
- Diagnoses failures using mechanistic diagnostic tools to hook into activations and identify layers causing hallucinations or refusals.
- Generates reports by turning raw metrics and logs into paper-style summaries with ablation studies and error analysis.
How it works
- Identify the specific research question, such as fine-tuning or inference tuning.
- Select the corresponding skill module from categories like data curation, training, or safety.
- Execute a dry run on a small data subset to verify the configuration and environment.
- Run the full experiment using provided Bash and YAML templates for consistent artifact logging.
Frameworks & tools
Built for Python-based ML workflows using Hugging Face PEFT, safetensors, vLLM for serving, and TransformerLens for mechanistic interpretability.
Why this beats prompting it yourself
Standard prompting often ignores reproducibility and data hygiene, leading to "hallucinated" results. This skill enforces a rigorous engineering loop that requires metric verification and failure analysis before declaring success.
Use cases
- Domain adaptation via LoRA fine-tuning for specific vertical tasks like finance or legal QA.
- Performance profiling to identify bottlenecks in LLM serving latency and throughput.
- Safety red-teaming to detect jailbreaks and calibrate refusal behavior.
- Data auditing to detect contamination and leakage across training and evaluation splits.
Known limitations
Does not automate the creation of novel scientific theory. Requires an environment with pre-installed GPU drivers and ML libraries like PyTorch or JAX to execute playbooks.
The training and serving examples assume GPU access and a Hugging Face / vLLM-style stack, so exact commands may need adaptation to other engines. It standardizes experiment hygiene and reporting but does not generate novel scientific hypotheses or guarantee benchmark outcomes.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 month ago
- Free with an Agensi account
Requires
Permissions
File Scopes
Needs shell access to launch training, evaluation, and benchmark jobs, plus file read/write for configs, datasets, and run artifacts.