Learningsのロゴ

Learnings

コミュニティ
Dan-Cleary
learnings

Manage ~/.fdestack/learnings.jsonl — the cross-customer pattern library. List, search, prune stale entries, edit incorrect insights, or export the file for sharing with another FDE. No write to customer files; this is meta over the learnings file itself. Proactively invoke this skill when the FDE asks "what have we learned", "what patterns have we seen", "didn't we hit this before", or wants to share/export accumulated insights. Distinct from /customer-context Step 3, which only surfaces the top 3 most recent — /learnings is the full management UI. Usage: /learnings [list | search <kw> | prune | edit | export] Voice triggers: "what have we learned", "show learnings", "prune learnings", "have we seen this before".

概要

公開者Dan-Cleary
リポジトリfdestack
スキル名learnings
スター
49
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

/learnings

Management UI for ~/.fdestack/learnings.jsonl.

Step 0: Parse subcommand

The first argument is the subcommand. Default: list.

SubcommandWhat it does
listShow all entries, formatted, sorted by ts (newest first)
search <kw>Show entries where key or insight matches <kw> (case-insensitive)
pruneWalk the FDE through each entry, ask whether to keep, edit, or delete
editPick a specific entry by key, walk through edit fields
export <path>Write a copy to <path> for sharing

If the subcommand is invalid, list options and stop.

Step 1: Verify the learnings file exists

bash
LEARNINGS_FILE="$HOME/.fdestack/learnings.jsonl"
if [ ! -f "$LEARNINGS_FILE" ] || [ ! -s "$LEARNINGS_FILE" ]; then
  echo "No learnings yet. Run /poc or /engagement-retro to start capturing."
  exit 0
fi
COUNT=$(wc -l < "$LEARNINGS_FILE" | tr -d ' ')
echo "LEARNINGS: $COUNT entries"

Step 2: Execute subcommand

list

bash
jq -s 'sort_by(.ts) | reverse | .[]' "$LEARNINGS_FILE" | jq -c .

Render each entry as:

▶ <key>   (conf <N> | skill: <skill> | <ts>)
  <insight>

If there are more than 20 entries, paginate (show 10 per page, ask "more? (y/n)").

search <kw>

bash
jq --arg kw "$KW" 'select(
  (.key | ascii_downcase | contains($kw | ascii_downcase)) or
  (.insight | ascii_downcase | contains($kw | ascii_downcase))
)' "$LEARNINGS_FILE"

Render same as list. If zero matches: "No matches for ''."

prune

For each entry (newest first), use AskUserQuestion:

D<N> — Prune review: <key>
ELI10: This learning was captured <N days> ago from /<skill> for a customer.
The insight was: <insight>. Confidence: <N>/10.
Stakes if we pick wrong: Stale learnings poison future /customer-context
sessions (we surface the top 3 most recent). Wrong learnings are worse
than no learnings.
Recommendation: <Keep | Edit | Delete> because <reason from age + signal>
Pros / cons:
A) Keep as-is
  ✅ Still applicable; the pattern hasn't changed
  ❌ Continues to surface even if confidence has eroded
B) Edit
  ✅ Fix the framing or update confidence
  ❌ Slower per-entry; only worth it for partially-true insights
C) Delete
  ✅ Removes a stale or wrong signal
  ❌ Irreversible (the JSONL is the source of truth)
Net: Keep what still matches reality; delete what doesn't.

For (B), prompt for new insight and/or confidence, then rewrite the entry. For (C), remove the line. Track changes in memory and commit them atomically at the end.

After walking all entries, summarize:

Pruning complete.
  Kept: <N>
  Edited: <N>
  Deleted: <N>

edit

Ask: "Which learning key to edit?" then walk the FDE through fields: key, insight, confidence, skill, source. Show current value, accept new value (blank = no change). Rewrite the entry.

export <path>

bash
cp "$LEARNINGS_FILE" "$PATH"
echo "Exported $COUNT learnings to $PATH"

If <path> has no .jsonl extension, warn but proceed.

Step 3: Atomic write (for prune / edit)

When mutating, write to a tempfile then mv over the original. Never edit in place:

bash
TMPFILE=$(mktemp)
# write filtered/edited content to $TMPFILE
mv "$TMPFILE" "$LEARNINGS_FILE"

Step 4: No commits

The learnings file is in ~/.fdestack/, not the ops repo. It's per-FDE state, not per-customer engagement state. No git involvement.

Step 5: Summary

<subcommand> done.
  Total learnings: <N>
  [if prune/edit] Changes: <summary>
  [if export] Path: <path>

よくある質問

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

Manage ~/.fdestack/learnings.jsonl — the cross-customer pattern library. List, search, prune stale entries, edit incorrect insights, or export the file for sharing with another FDE. No write to customer files; this is meta over the learnings file itself. Proactively invoke this skill when the FDE asks "what have we learned", "what patterns have we seen", "didn't we hit this before", or wants to share/export accumulated insights. Distinct from /customer-context Step 3, which only surfaces the top 3 most recent — /learnings is the full management UI. Usage: /learnings [list | search <kw> | pr...

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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