Learnings logo

Learnings

Community
Firstp1ck
learnings

Use for repeated-looking troubleshooting, solved-issue recall, adding durable troubleshooting notes, and maintaining the local LEARNINGS archive. Reads LEARNINGS-SUMMARY.md first, follows referenced archive/source files before applying lessons, and verifies against current system evidence.

Overview

PublisherFirstp1ck
Repositorypi-coding-agent-forge
Skill namelearnings
Stars
93
Forks
22
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 Firstp1ck 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/Firstp1ck/pi-coding-agent-forge/tree/main/pi-package-learnings/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/Firstp1ck/pi-coding-agent-forge.git /tmp/pi-coding-agent-forge
mkdir -p .claude/skills
cp -r /tmp/pi-coding-agent-forge/pi-package-learnings/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

This skill manages and uses Firstpick's durable troubleshooting LEARNINGS archive.

The archive is not chat memory. It is a local, file-based knowledge base of short solved-issue notes plus generated indexes and summaries.

When to use

Use this skill when:

  • a troubleshooting issue looks similar to something solved before
  • the user asks about LEARNINGS, /ret-LEARNINGS, or /sum-LEARNINGS
  • a troubleshooting session ended with a real solution and should be recorded
  • the LEARNINGS symlink/env/timer/scripts need inspection or repair

Do not blindly apply a past solution. Always verify against current files, commands, logs, and system state.

Path resolution

Resolve the archive root in this order:

  1. Source ~/.pi/agent/learnings.env if present and use $LEARNINGS_DIR.
  2. Otherwise use the stable symlink ~/.pi/agent/LEARNINGS.
  3. Otherwise ask before creating a new archive.

Expected current value on Firstpick's system:

text
/mnt/SSD_NVME/LEARNINGS

Portable shell snippet:

bash
source "$HOME/.pi/agent/learnings.env" 2>/dev/null || true
LEARNINGS_DIR="${LEARNINGS_DIR:-$HOME/.pi/agent/LEARNINGS}"

Retrieval workflow

  1. Resolve LEARNINGS_DIR.
  2. Read $LEARNINGS_DIR/LEARNINGS-SUMMARY.md.
  3. Identify relevant entries.
  4. Read the referenced source or archive file for each relevant entry.
  5. Apply the lesson only after verifying the current system/repo state.
  6. In the final answer, briefly cite which LEARNINGS files influenced the solution.

If LEARNINGS-SUMMARY.md is missing or stale, run:

bash
~/.pi/agent/bin/learnings-summary

or, from this skill directory, using paths relative to the skill root:

bash
../../scripts/sync-learnings.py
../../scripts/summarize-learnings.py

Adding a learning

This is an implicit completion requirement, not an optional reminder.

At the end of every troubleshooting/configuration/repair task where a real solution was found, automatically create or update one concise LEARNINGS .md note before the final answer. Do not wait for the user to ask. This applies especially when this skill was used for inspection, repair, cleanup, setup, repeated-issue retrieval, or LEARNINGS maintenance.

Skip writing a note only when one of these is true:

  • no solution was found
  • the task was pure explanation/research with no fix or reusable operational lesson
  • the user explicitly says not to write a learning
  • writing would duplicate an existing note; in that case update the existing note only if the new solution materially changes it

Use this format:

markdown
# concise-title-date

- Issue: what happened.
- Tried: key diagnostics/fixes attempted.
- Solution: what worked at the end.
- Verification: command/output or observed behavior proving it worked.

If no solution was found, skip creating a note unless the user explicitly asks for a failed-attempt record.

After adding or updating a note, always regenerate summary/index:

bash
~/.pi/agent/bin/learnings-summary

Before the final answer, verify the note exists and mention the path briefly.

Maintenance workflow

Health check:

bash
source "$HOME/.pi/agent/learnings.env" 2>/dev/null || true
LEARNINGS_DIR="${LEARNINGS_DIR:-$HOME/.pi/agent/LEARNINGS}"
ls -la "$HOME/.pi/agent/LEARNINGS" "$HOME/.pi/agent/learnings.env" "$LEARNINGS_DIR"
python -m json.tool "$LEARNINGS_DIR/manifest.json" >/dev/null
systemctl --user list-timers sync-learnings.timer --all --no-pager

Expected core files:

text
README.md
INDEX.md
manifest.json
LEARNINGS-SUMMARY.md
archive/
logs/
sync-learnings.py
summarize-learnings.py
run-sync-with-notification.sh

Package scripts

This package includes maintenance scripts in scripts/:

  • sync-learnings.py — archives root learning notes and writes manifest.json + INDEX.md.
  • summarize-learnings.py — generates LEARNINGS-SUMMARY.md from manifest.json.
  • run-sync-with-notification.sh — runs both and writes logs/latest.log.

When referenced from this skill, package-level helper scripts use explicit paths relative to this skill root, e.g. ../../scripts/sync-learnings.py.

Frequently asked questions

What does the Learnings AI skill do?

Use for repeated-looking troubleshooting, solved-issue recall, adding durable troubleshooting notes, and maintaining the local LEARNINGS archive. Reads LEARNINGS-SUMMARY.md first, follows referenced archive/source files before applying lessons, and verifies against current system evidence.

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/Firstp1ck/pi-coding-agent-forge/tree/main/pi-package-learnings/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 Firstp1ck 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 👇