Skills for Real Engineers. Straight from my .agents directory.
elastic-net-feature-selection
Agent skill fromaipoch/medical-research-skills
Use when selecting predictive genes or other molecular features from bulk expression matrices for binary case-vs-control classification with elastic net logistic regression, including coefficient path and cross-validation plots. Trigger keywords: elastic net, glmnet, feature selection, binary classification, lambda.min, lambda.1se. NOT for: survival/Cox modeling, multiclass outcomes, single-cell data, or non-expression tables.
How to install elastic-net-feature-selection
npx skills add aipoch/medical-research-skills# or add only this skill to Claude Code: copy the folder
awesome-med-research-skills/Data Analysis/elastic-net-feature-selection/
# into
~/.claude/skills/elastic-net-feature-selection/ (all projects)
.claude/skills/elastic-net-feature-selection/ (one project)
1# Elastic Net Feature Selection23## When to Use45- Use this skill for binary case-vs-control classification on bulk expression matrices.6- Use it when you need elastic net logistic regression feature selection, coefficient paths, and `cv.glmnet`-based lambda selection.7- Use custom labels such as `Tumor` and `Normal` only when the group file still contains exactly two outcome levels.89## Out of Scope1011- Survival or Cox modeling12- Multiclass outcomes13- Single-cell data14- Non-expression tables1516Out-of-scope enforcement:1718- If the group file contains any label outside the requested `case_group` and `control_group`, the command stops with `SKILL_INVALID_DATA` instead of silently dropping samples.19- If either requested class is missing after validation, the command stops with `SKILL_INVALID_DATA`.2021## When to Read External Files2223| Situation | File to Read | Purpose |24|-----------|--------------|---------|25| **Need to understand alpha, lambda choice, or feature-selection behavior** | `references/algorithm.md` | Elastic net logistic regression, penalty mixing, cross-validation, and coefficient selection assumptions |26| **Need the authoritative executable entrypoint** | `scripts/main.R` | Run: `Rscript scripts/main.R --input_file ... --group_file ... --output_dir ...` |27| **Need parameter examples, smoke-test commands, or recorded local runs** | `references/cli-guide.md` | Verified CLI examples for normal runs, conservative runs, and test-data runs |28…
Excerpt shown under the repository's MIT license.
More skills in medical-research-skills
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
