Ml Workflow logo

Ml Workflow

Community
kangarooking
ml-workflow

应用从 AI for Everyone 蒸馏出的「ML项目流程 — 收集→训练→部署→迭代」方法论。Use when the user needs practical guidance, diagnosis, workflow design, decision support, or an action plan related to ml-workflow.

Overview

Publisherkangarooking
Repositoryai-for-everyone-skill
Skill nameml-workflow
Stars
42
Forks
2
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kangarooking on GitHub. Read the source before you install it.

Installation

Install the Ml Workflow AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kangarooking/ai-for-everyone-skill/tree/main/ml-workflow
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kangarooking/ai-for-everyone-skill.git /tmp/ai-for-everyone-skill
mkdir -p .claude/skills
cp -r /tmp/ai-for-everyone-skill/ml-workflow .claude/skills/ml-workflow
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ml Workflow in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ml Workflow on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ml Workflow is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Source Metadata

Original cangjie-skill frontmatter from the distillation run:

yaml
id: f10
title: "ML项目流程 — 收集→训练→部署→迭代"
book: "AI for Everyone"
author: "Andrew Ng(吴恩达)"
source: p11, p16
tags: [machine-learning, workflow, project-management]
related_skills:
  - slug: ab-mapping
    relation: depends-on
  - slug: train-test-split
    relation: depends-on
  - slug: iterate-not-perfect
    relation: depends-on
  - slug: ml-vs-ds
    relation: contrasts-with

R — Reading(原文引用)

"总结机器学习项目的关键步骤是收集数据、训练模型、建立A到B的映射关系,然后部署模型" — p11

I — Interpretation(用自己的话重新阐述)

机器学习项目遵循一个四阶段工作流,核心是一个循环而非线性流程:

  1. 收集标注数据:准备(A, B)配对数据——A是输入(如语音、图片),B是期望输出(如"Alexa"文字、物体标签)。
  2. 训练模型:让算法从数据中学习A→B的映射关系。预期需要多次迭代,第一次尝试几乎总是失败的。
  3. 部署模型:将训练好的模型推向真实用户,在真实环境中运行。
  4. 迭代优化:部署后收集反馈数据(尤其是失败案例),将其加入训练数据,重新训练。

关键洞察:这是一个闭环——部署产生新数据,新数据让模型更好,更好的模型产生更多使用和数据。

A1 — Past Application(过去应用案例)

  • Alexa唤醒词检测:收集大量"Alexa"录音 → 训练唤醒检测模型 → 部署到设备 → 发现英国口音识别失败 → 收集英国口音数据 → 重新训练 → 准确率提升。
  • 自动驾驶车辆检测:收集道路图像 → 训练车辆检测模型 → 部署到测试车 → 发现高尔夫球车未被识别 → 收集高尔夫球车图像 → 重新训练 → 模型更鲁棒。

A2 — Future Trigger(未来触发条件)

触发场景:

  • 团队刚启动一个ML项目,不知道从何下手
  • 模型训练完不知道下一步该做什么
  • 部署后发现效果不好,想知道怎么改进

语言信号:

  • "ML项目怎么做?"
  • "机器学习项目步骤是什么?"
  • "怎么推进AI项目?"
  • "项目流程是什么?"
  • "下一步做什么?"
  • "部署后怎么办?"

区分要点:当你面对的是一个需要"建造并运行一个能持续预测的系统"的项目时,使用本框架。

E — Execution(执行步骤)

  1. 收集标注训练数据:准备大量(A, B)配对样本,确保数据质量。
  2. 训练模型并迭代:用训练集训练模型,在测试集上评估,反复调整直到达到预定指标(如95%准确率)。
  3. 部署到真实用户:将模型集成到产品/服务中,让真实用户使用。
  4. 监控并收集失败案例:记录模型在实际场景中犯的错误,将这些失败案例加入训练数据。
  5. 重新训练:用扩充后的数据重新训练模型,持续提升性能。

完成标准:模型已部署到真实用户,且建立了"收集失败案例→重新训练"的持续迭代机制。

B — Boundary(使用边界)

不适用场景:

  • 数据科学项目(产出是报告而非软件,流程不同)
  • 一次性分析任务(不需要部署和迭代)
  • 没有部署渠道的情况(模型无法触达用户)

失败模式:

  • 过度关注训练数据量,忽视数据质量
  • 部署后没有建立反馈闭环,模型无法持续改进
  • 期望一次训练就成功,遇到挫折就放弃

作者盲区:

  • Andrew Ng低估了"最后一公里"的难度——将模型集成到现有系统中,往往比训练模型本身更难。部署阶段的工程工作量(API设计、延迟优化、A/B测试、灰度发布)可能占整个项目50%以上的工作量,但书中对此着墨不多。

相关 skills

  • ab-mapping (depends-on): ML工作流的前提是已经通过A→B映射定义了清晰的输入输出
  • train-test-split (depends-on): 训练阶段需要用训练/测试集划分来评估模型泛化能力
  • iterate-not-perfect (depends-on): 部署后需要建立"收集失败案例→重新训练"的迭代机制
  • ml-vs-ds (contrasts-with): ML工作流适用于"建系统"项目,DS项目产出报告而非软件

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ml Workflow AI skill do?

应用从 AI for Everyone 蒸馏出的「ML项目流程 — 收集→训练→部署→迭代」方法论。Use when the user needs practical guidance, diagnosis, workflow design, decision support, or an action plan related to ml-workflow.

Why use Ml Workflow on TypingMind?

Because you install it once and use it with any model. Ml Workflow is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ml Workflow in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kangarooking/ai-for-everyone-skill/tree/main/ml-workflow. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ml Workflow?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ml Workflow?

As many as you like. As long as a model supports skills, you can use Ml Workflow with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ml Workflow AI skill free?

Yes. It is published on GitHub by kangarooking under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇