Token导航 LogoToken导航

Agent Skill · 研究检索

ml-pipeline(毫升管道)

ml-pipeline 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ml-pipeline 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 7,064。

总安装 20,049周安装 819GitHub Stars 公开资料未说明下载 6,486核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ml-pipeline(毫升管道)
来源仓库:https://github.com/ahuserious/ml-pipeline
安装命令:
openclaw skills install ml-pipeline
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ml-pipeline

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于记录任务执行中的错误与经验修正。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。适合让 Agent 持续沉淀问题与最佳实践。支持自动参数扫描与特征工程流程。ml-pipeline 属于研究检索类 Skill,可作为该场景下的辅助能力补充。安装前请确认是否需要联网或执行外部脚本。

建议结合原始文档了解具体集成方式与模型限制。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ml-pipeline;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ml-pipeline 怎么安装?

在终端执行 openclaw skills install ml-pipeline。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ml-pipeline 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ml-pipeline 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

ml-pipeline 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ml-pipeline 用的人多吗?

公开数据是累计安装 20,049 次,近一周安装 819 次,下载 6,486 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ml-pipeline 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ml-pipeline

毫升管道 · 本页

20,049—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ml-pipeline
description
>
version
2.0.0
allowed-tools
Read, Write, Edit, Bash, Glob, Grep
metadata
consolidates

ML Pipeline

Unified skill for the complete ML pipeline within a quant trading research system. Consolidates eight prior skills into a single authoritative reference covering the full lifecycle: data validation, feature creation, selection, transformation, anti-leakage checks, pipeline automation, deep learning optimization, and deployment.


1. When to Use

Activate this skill when the task involves any of the following:

  • Creating, selecting, or transforming features for an ML-driven strategy.
  • Auditing an existing feature pipeline for data leakage or overfitting risk.
  • Automating an end-to-end ML pipeline (data prep through model export).
  • Evaluating feature importance, scaling, encoding, or interaction effects.
  • Integrating features with a feature store (Feast, Tecton, custom Parquet store).
  • Explaining core ML concepts (bias-variance, cross-validation, regularisation)

in the context of feature engineering decisions.


2. Inputs to Gather

Before starting work, collect or confirm:

InputDetails
ObjectiveTarget metric (Sharpe, accuracy, RMSE ...), constraints, time horizon.
DataSymbols / instruments, timeframe, bar type, sampling frequency, data sources.
Leakage risksPoint-in-time concerns, survivorship bias, look-ahead in labels or features.
Compute budgetCPU/GPU limits, wall-clock budget for AutoML search.
LatencyOnline vs. offline inference, acceptable prediction latency.
InterpretabilityRegulatory or research need for explainable features / models.
Deployment targetWhere the model will run (notebook, backtest harness, live engine).

3. Feature Creation Patterns

3.1 Numerical Features

  • Interaction terms: price * volume, high / low, close - open.
  • Rolling statistics: mean, std, skew, kurtosis over configurable windows.
  • Polynomial / log transforms: log(volume + 1), spread^2.
  • Binning / discretisation: equal-width, quantile-based, or domain-driven bins.

3.2 Categorical Features

  • One-hot encoding: for low-cardinality categoricals (sector, exchange).
  • Target encoding: mean-target per category with smoothing (careful of leakage -- use only in-fold means).
  • Ordinal encoding: when categories have a natural order (credit rating).

3.3 Time-Series Specific

  • Lag features: return_{t-1}, return_{t-5}, etc.
  • Calendar features: day-of-week, month, quarter, options-expiry flag.
  • Rolling z-score: (x - rolling_mean) / rolling_std for stationarity.
  • Fractional differentiation: preserve memory while achieving stationarity (Lopez de Prado).

3.4 Feature Selection Techniques

  • Filter methods: mutual information, variance threshold, correlation pruning.
  • Wrapper methods: recursive feature elimination (RFE), forward/backward selection.
  • Embedded methods: L1 regularisation, tree-based importance, SHAP values.
  • Permutation importance: model-agnostic; run on out-of-fold predictions.

4. Anti-Leakage Checks

Data leakage is the single most common cause of inflated backtest results. Apply these checks at every pipeline stage:

4.1 Label Leakage

  • Labels must be computed from future returns relative to the feature

timestamp. Verify that the label window does not overlap the feature window.

  • Use purging and embargo when labels span multiple bars.

4.2 Feature Leakage

  • No feature may use information from time t+1 or later at prediction time t.
  • Rolling statistics must use a closed left window: df['feat'].rolling(20).mean().shift(1).
  • Target-encoded categoricals must be computed on the training fold only.

4.3 Cross-Validation Leakage

  • Use purged k-fold or walk-forward CV for time-series. Never use random

k-fold on ordered data.

  • Insert an embargo gap between train and test folds to prevent bleed-through

from autocorrelation.

4.4 Survivorship & Selection Bias

  • Ensure the universe of instruments at time t reflects what was actually

tradable at that time (delisted stocks, halted symbols removed later).

  • Backfill from point-in-time databases where available.

4.5 Validation Checklist

Run before every backtest:

[ ] Labels computed strictly from future returns (no overlap with features)
[ ] All rolling features shifted by at least 1 bar
[ ] Target encoding uses in-fold means only
[ ] Walk-forward or purged CV used (no random shuffle on time-series)
[ ] Embargo gap >= max(label_horizon, autocorrelation_lag)
[ ] Universe is point-in-time (no survivorship bias)
[ ] No global scaling fitted on full dataset (fit on train, transform test)

5. Pipeline Automation (AutoML)

5.1 Prerequisites

  • Python environment with one or more AutoML libraries:

Auto-sklearn, TPOT, H2O AutoML, PyCaret, Optuna, or custom Optuna pipelines.

  • Training data in CSV / Parquet / database.
  • Problem type identified: classification, regression, or time-series forecasting.

5.2 Pipeline Steps

StepAction
1. Define requirementsProblem type, evaluation metric, time/resource budget, interpretability needs.
2. Data infrastructureLoad data, quality assessment, train/val/test split strategy, define feature transforms.
3. Configure AutoMLSelect framework, define algorithm search space, set preprocessing steps, choose tuning strategy (Bayesian, random, Hyperband).
4. Execute trainingRun automated feature engineering, model selection, hyperparameter optimisation, cross-validation.
5. Analyse & exportCompare models, extract best config, feature importance, visualisations, export for deployment.

5.3 Pipeline Configuration Template

pipeline_config = {
    "task_type": "classification",        # or "regression", "time_series"
    "time_budget_seconds": 3600,
    "algorithms": ["rf", "xgboost", "catboost", "lightgbm"],
    "preprocessing": ["scaling", "encoding", "imputation"],
    "tuning_strategy": "bayesian",        # or "random", "hyperband"
    "cv_folds": 5,
    "cv_type": "purged_kfold",            # or "walk_forward"
    "embargo_bars": 10,
    "early_stopping_rounds": 50,
    "metric": "sharpe_ratio",             # domain-specific metric
}

5.4 Output Artifacts

  • automl_config.py -- pipeline configuration.
  • best_model.pkl / .joblib / .onnx -- serialised model.
  • feature_pipeline.pkl -- fitted preprocessing + feature transforms.
  • evaluation_report.json -- metrics, confusion matrix / residuals, feature rankings.
  • deployment/ -- prediction API code, input validation, requirements.txt.

6. Core ML Fundamentals (Feature-Engineering Context)

6.1 Bias-Variance Trade-off

  • More features increase model capacity (lower bias) but risk overfitting (higher variance).
  • Use regularisation (L1/L2), feature selection, or dimensionality reduction to manage.

6.2 Evaluation Strategy

  • Walk-forward validation: the gold standard for time-series strategies.

Roll a fixed-width training window forward; test on the next out-of-sample period.

  • Monte Carlo permutation tests: shuffle labels and re-evaluate to estimate

the probability that observed performance is due to chance.

  • Combinatorial purged CV (CPCV): generate many train/test combinations with

purging for more robust performance estimates.

6.3 Feature Scaling

  • Fit scalers (StandardScaler, MinMaxScaler, RobustScaler) on the training set only.
  • Apply the same fitted scaler to validation and test sets.
  • RobustScaler is often preferred for financial data due to heavy tails.

6.4 Handling Missing Data

  • Forward-fill then backward-fill for price data (be aware of leakage on backfill).
  • Indicator column for missingness can itself be informative.
  • Tree-based models can handle NaN natively; linear models cannot.

7. Workflow

For any feature engineering task, follow this sequence:

  1. Restate the task in measurable terms (metric, constraints, deadline).
  2. Enumerate required artifacts: datasets, feature definitions, configs, scripts, reports.
  3. Propose a default approach and 1-2 alternatives with trade-offs.
  4. Implement feature pipeline with anti-leakage checks built in.
  5. Validate with walk-forward CV, Monte Carlo, and the leakage checklist above.
  6. Deliver repo-ready code, documentation, and a run command.

8. Deep Learning Optimization

8.1 Optimizer Selection

OptimizerBest ForLearning Rate
AdamMost cases, adaptive1e-3 to 1e-4
AdamWTransformers, weight decay1e-4 to 1e-5
SGD + MomentumLarge batches, fine-tuning1e-2 to 1e-3
RAdamStability without warmup1e-3

8.2 Learning Rate Scheduling

  • OneCycleLR: Best for short training, fast convergence
  • CosineAnnealing: Smooth decay, good generalization
  • ReduceOnPlateau: Adaptive when validation loss plateaus
  • Warmup + Decay: Standard for transformers

8.3 Regularization Techniques

  • Dropout: 0.1-0.5 for fully connected layers
  • L2 (Weight Decay): 1e-4 to 1e-2
  • Batch Normalization: Stabilizes training
  • Early Stopping: Monitor validation loss, patience 5-10 epochs

8.4 PyTorch Lightning Integration

import pytorch_lightning as pl

class TradingModel(pl.LightningModule):
    def configure_optimizers(self):
        optimizer = torch.optim.AdamW(self.parameters(), lr=1e-4)
        scheduler = torch.optim.lr_scheduler.OneCycleLR(
            optimizer, max_lr=1e-3, total_steps=self.trainer.estimated_stepping_batches
        )
        return [optimizer], [scheduler]

8.5 Financial Reinforcement Learning

  • State: Market features, portfolio state, position
  • Action: Buy/Sell/Hold, position sizing
  • Reward: Risk-adjusted returns (Sharpe, Sortino)
  • Frameworks: Stable-Baselines3, RLlib, FinRL

9. Error Handling

ProblemCauseFix
AutoML search finds no good modelInsufficient time budget or poor featuresIncrease budget, engineer better features, expand algorithm search space.
Out of memory during trainingDataset too large for available RAMDownsample, use incremental learning, simplify feature engineering.
Model accuracy below thresholdWeak signal or overfittingCollect more data, add domain-driven features, regularise, adjust metric.
Feature transforms produce NaN/InfDivision by zero, log of negativeAdd guards: np.where(denom != 0, ...), np.log1p(np.abs(x)).
Optimiser fails to convergeBad hyperparameter rangesTighten search bounds, increase iterations, exclude unstable algorithms.

10. Bundled Scripts

All scripts live in scripts/ within this skill directory.

ScriptPurpose
data_validation.pyValidate input data quality before pipeline execution.
model_evaluation.pyEvaluate trained model performance and generate reports.
pipeline_deployment.pyDeploy a trained pipeline to a target environment with rollback support.
feature_engineering_pipeline.pyEnd-to-end feature engineering: load, clean, transform, select, train.
feature_importance_analyzer.pyAnalyse feature importance (permutation, SHAP, tree-based).
data_visualizer.pyVisualise feature distributions and relationships to target.
feature_store_integration.pyIntegrate with feature stores (Feast, Tecton) for online/offline serving.

11. Resources

Frameworks

  • scikit-learn -- preprocessing, feature selection, pipelines.
  • Auto-sklearn / TPOT / H2O AutoML / PyCaret -- automated pipeline search.
  • Optuna -- flexible hyperparameter optimisation.
  • SHAP -- model-agnostic feature importance.
  • Feast / Tecton -- feature store management.
  • PyTorch Lightning -- https://lightning.ai/docs/pytorch/stable/
  • Stable-Baselines3 -- https://stable-baselines3.readthedocs.io/
  • FinRL -- https://github.com/AI4Finance-Foundation/FinRL

Key References

  • Lopez de Prado, *Advances in Financial Machine Learning* (2018) -- purged CV, fractional differentiation, meta-labelling.
  • Hastie, Tibshirani & Friedman, *The Elements of Statistical Learning* -- bias-variance, regularisation, model selection.
  • scikit-learn user guide: feature extraction, preprocessing, model selection.

Best Practices

  • Always start with a simple baseline before running AutoML.
  • Balance automation with domain knowledge -- blind search rarely beats informed priors.
  • Monitor resource consumption; set hard timeouts.
  • Validate on true out-of-sample holdout data, not just cross-validation.
  • Document every pipeline decision for reproducibility.

平台分布

OpenClaw

80.68%
按下载量换算5,233

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills