Extract Lessonsのロゴ

Extract Lessons

コミュニティ
namedtoaster
extract-lessons

Harvest a finished session for anything that would help beyond this one project, decide honestly where each piece belongs, and put it there. Most sessions yield nothing, and saying so is the correct outcome. Separates a project detail from a general trap, routes real findings to the right skill as a pull request, spots when a cluster of homeless lessons means a new skill is needed, and recognises when a body of knowledge is its own domain and belongs in a separate repo rather than bloating this one. Use at the end of a session, when the user asks whether anything is worth pulling into The Last Mile or another toolkit, or says "anything useful from this", "extract the lessons", "add this to the toolkit".

概要

公開者namedtoaster
リポジトリThe-Last-Mile
スキル名extract-lessons
スター
39
フォーク
2
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    namedtoasterがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルExtract LessonsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/namedtoaster/The-Last-Mile/tree/main/skills/extract-lessons
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/namedtoaster/The-Last-Mile.git /tmp/The-Last-Mile
mkdir -p .claude/skills
cp -r /tmp/The-Last-Mile/skills/extract-lessons .claude/skills/extract-lessons
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでExtract Lessonsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にExtract Lessonsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Extract Lessonsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Extract lessons

Anyone running several projects wants the toolkit to get better from each one. This turns a finished session into whatever small, general thing it actually produced, and most often that is nothing.

This is not improve-skill. That one fixes a skill that misbehaved. This one looks for knowledge the toolkit does not have yet.

The rule that makes this worth running

The default outcome is nothing, and that is a success. A skill that finds something every time fills a public repo with one project's anecdotes, and the next person reads them as advice. Expect to extract from maybe one session in four. If you find yourself reaching, stop.

1. List the candidates

From the session, write down every thing learned, in one line each. Include the mistakes, which are usually the best material. Do not filter yet.

Then, for each one, answer the only question that matters first:

Would this still be true for an app that is not this one?

If no, it belongs in the project's own rules file (CLAUDE.md or AGENTS.md) and nowhere else. Write it there and strike it off. This removes most of the list, and removing it is the point.

2. Apply the evidence bar

What is left has to survive a second test, and it is stricter than it looks.

Extract these:

KindWhy it survivesExample shape
A platform factCheckable by anyone, today"A photo post takes a title capped at 90 characters AND a separate description. A video takes one caption"
A trap, with its mechanismThe reader can recognise it before it costs them"Fine on a desktop preview and wrong on the phone means the platform is drawing its own UI over your image, not cropping it"
Arithmetic or a methodProduces the reader's own answer, not yours"Never pay a cost per thousand views above your own revenue per thousand views. Compute it as revenue over installs, times installs per thousand views"
An exact invocation that worksSaves an hour of the next person's life"yt-dlp -U fails for a pip install. Use <that python> -m pip install -U yt-dlp"

Do not extract these:

  • "This worked for us." Six posts, one campaign, one account. A result is not a method, and a stranger acting on your anecdote is the harm this bar exists to prevent.
  • Anything still contested. If the session ended with two sources disagreeing and no measurement settling it, it is not knowledge yet. Leave it in the project's research notes.
  • Anything that only makes sense with your numbers in it. If stripping the project's metrics leaves nothing, there was nothing.

A useful phrasing test: could you write it as a trap or a formula with no reference to your app at all? If not, it fails.

3. Find each survivor a home

The lesson is...Goes to
A correction to how an existing skill behavesimprove-skill. Stop, run that instead.
New knowledge an existing skill should carryThat skill, as an added step, trap or table row.
Orphaned, and the only one of its kindA one line note in the relevant skill's references, or nowhere. Do not build a skill for one lesson.
Orphaned, and part of a cluster of three or more related orphansA new skill. See step 4.

When several lessons have nowhere to live, that is the finding. It means the toolkit has a gap, not that the lessons are weak. Say so plainly rather than forcing them into the nearest skill that half fits.

4. A new skill, or a different repo

Before writing a new skill, ask what the cluster is actually about.

This repo is about getting an app shipped and found. A cluster inside that subject becomes a skill here.

A cluster that is its own domain does not. Content marketing, hiring, fundraising, customer support: each is a field with its own practice, and absorbing one into a shipping toolkit makes both worse. The honest move is to say: "this is three skills' worth of a different subject, it wants its own repo." Then stop and let the user decide. Never create a repo unprompted.

Two signals that it is a separate domain rather than a skill here:

  • Somebody could want this toolkit and not want that one at all.
  • Explaining the cluster needs vocabulary this repo's other skills never use.

If it IS a skill here, write it the way the others are written: a short description that says when to use it, numbered steps, tables over prose, and the honest limits stated in the skill rather than discovered by the user.

5. Strip the project out

The repo is public. Before anything is committed, remove:

  • The app's name, the user's name, handles, URLs and repo paths
  • Every metric: revenue, user counts, view counts, conversion rates
  • Screenshots, file paths and command output that identify the project
  • Anything a competitor would find interesting

The lesson has to stand with all of that gone. If it does not, it was step 2's "only makes sense with your numbers in it" and should not have reached here.

6. Open the pull request

  1. Add one line under the unreleased heading in CHANGELOG.md.
  2. Add the skill to the table in README.md if it is a new one.
  3. Run node scripts/validate.mjs and fix what fails. It checks, among other things, that no Markdown file contains a long dash.
  4. Commit only what you changed, push the branch, open a pull request following .github/pull_request_template.md.

If you cannot push to the repo, fork it and open the pull request from there.

7. Tell the user

A few lines, and be specific about what you threw away:

  • What you extracted, and where it went.
  • What you considered and rejected, and why. This is the most useful half. "Four things looked like lessons and were one project's results" tells the user their session was normal, not empty.
  • The pull request link.
  • If a cluster suggested a new repo, say so as a question, not a decision.

Then note that the project picks the change up on its next sync, and that the synced copy under .claude/skills/ must never be edited by hand.

よくある質問

AIスキル「Extract Lessons」では何ができますか?

Harvest a finished session for anything that would help beyond this one project, decide honestly where each piece belongs, and put it there. Most sessions yield nothing, and saying so is the correct outcome. Separates a project detail from a general trap, routes real findings to the right skill as a pull request, spots when a cluster of homeless lessons means a new skill is needed, and recognises when a body of knowledge is its own domain and belongs in a separate repo rather than bloating this one. Use at the end of a session, when the user asks whether anything is worth pulling into The L...

TypingMindでExtract Lessonsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Extract Lessonsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにExtract Lessonsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/namedtoaster/The-Last-Mile/tree/main/skills/extract-lessonsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Extract Lessonsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Extract Lessonsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもExtract Lessonsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Extract Lessons」は無料ですか?

はい。namedtoasterがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇