Learnings logo

Learnings

Community
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".

Overview

PublisherDan-Cleary
Repositoryfdestack
Skill namelearnings
Stars
49
Forks
5
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Dan-Cleary on GitHub. Read the source before you install it.

Installation

Install the Learnings 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/Dan-Cleary/fdestack/tree/main/skills/learnings
  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/Dan-Cleary/fdestack.git /tmp/fdestack
mkdir -p .claude/skills
cp -r /tmp/fdestack/skills/learnings .claude/skills/learnings
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Learnings 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 Learnings 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 Learnings 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.

/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>

Frequently asked questions

What does the Learnings AI skill do?

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...

Why use Learnings on TypingMind?

Because you install it once and use it with any model. Learnings 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 Learnings in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Dan-Cleary/fdestack/tree/main/skills/learnings. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Learnings?

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 Learnings?

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

Is the Learnings AI skill free?

Yes. It is published on GitHub by Dan-Cleary 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 👇