Logo von Reinvent From Scratch

Reinvent From Scratch

Community
panpanc
reinvent-from-scratch

Explain a mathematical concept by reinventing it from scratch, with motivation for each key construction step, concrete examples, transfer notes to 2-3 related concepts with similar mental models or construction logic, and deterministic Markdown LaTeX validation. Use when the user asks to reinvent, derive, rediscover, motivate, or build the concept as if creating it for the first time.

Übersicht

Herausgeberpanpanc
Repositorymath-skills
Skill-Namereinvent-from-scratch
Sterne
42
Forks
2
Mitgelieferte Dateien
1
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 1

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von panpanc auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Reinvent From Scratch in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/panpanc/math-skills/tree/main/.claude/skills/reinvent-from-scratch
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panpanc/math-skills.git /tmp/math-skills
mkdir -p .claude/skills
cp -r /tmp/math-skills/.claude/skills/reinvent-from-scratch .claude/skills/reinvent-from-scratch
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Reinvent From Scratch in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Reinvent From Scratch automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Reinvent From Scratch nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Reinvent From Scratch

Explain a mathematical concept as a rediscovery process. The output should make the reader feel the concept was forced by a sequence of natural problems, failed attempts, repairs, and design choices.

Use this skill for concepts and constructions. If the user asks for a named theorem proof, prefer theorem; if they want a long climb from calculus and linear algebra primitives with an audit-and-patch loop, prefer bottom-up.

Workflow

1. Parse the request

  • Parse the invocation arguments. The first non-file argument is the target concept.
  • If an argument is a readable file path, use it as optional context.
  • Resolve the stage count:
    • If the user specifies a count, honor it exactly. Accept phrasings such as --stages 7, stages=7, 7 stages, or in 7 stages.
    • If the user specifies a range, choose a count in that range, preferring the upper end for broad or technical concepts.
    • If no count is specified, default to 10-12 stages: use 10 for focused concepts and 11-12 for broader or more technical concepts.
  • Infer the reader level from the prompt. If unspecified, assume a motivated reader with solid calculus and linear algebra, but not field-specific notation.
  • Save the final markdown as <target_slug>_reinvented.md in the current working directory.

2. Write the document

Use these required sections in this order.

1. The Thing We Are Trying to Invent
  • Name the target concept.
  • State the problem in plain language before naming any advanced machinery.
  • Give a 2-4 sentence preview of the rediscovery route.
  • State what the reader should be able to reconstruct by the end.
2. Starting Ingredients

List 4-8 primitive ingredients the reader needs before inventing the target. For each:

  • Ingredient: name and type.
  • Plain meaning: what it says intuitively.
  • Tiny formal anchor: a compact definition, equation, or condition.
  • Why it will matter: the later pressure it will answer.
  • Micro-example: one concrete example with explicit objects.

Do not introduce the target concept here.

3. The Pressure That Forces a New Idea
  • Describe the mathematical pain point.
  • Show the naive approach a reasonable person would try first.
  • Explain exactly where the naive approach fails.
  • End with a question beginning So we need a way to....
4. Failed Prototypes

Give 2-4 plausible but insufficient attempts. For each:

  • Prototype: what the attempt tries.
  • Why it is tempting: the intuition that makes it look reasonable.
  • Failure mode: the concrete obstruction.
  • Lesson extracted: the requirement carried into the real construction.

At least one prototype must include a small worked example.

5. Reinvention Stages

Build the target in the resolved number of ordered stages. If the user did not specify a stage count, use 10-12 stages. Each stage must use only ingredients or outputs already introduced.

Each stage must include:

  • Stage output: the object, definition clause, test, equivalence, operation, or viewpoint produced.
  • Pressure: the exact problem or failure from earlier sections that makes this stage necessary.
  • Motivation: why this move is natural now.
  • Construction: the precise object, rule, definition clause, or calculation introduced.
  • Why this exact design: why this construction works better than at least one plausible alternative.
  • Concrete check: a small explicit example or calculation. Include LaTeX when mathematical notation helps.
  • Similar moves elsewhere: 2-3 other concepts, theorems, or constructions that share the same motivation, mental model, or construction pattern. For each, name the shared pattern in one short phrase.
  • Next pressure: what gap remains after this stage.

Rules for the stage sequence:

  • Never use the target definition before it is assembled.
  • Name every object by type: set, element, map, vector space, topology, category, relation, operator, etc.
  • Include at least one short derivation or symbolic check in each stage.
  • Make every stage feel motivated by a bottleneck, not by authority.
6. The Assembled Concept
  • Present the final clean definition.
  • Explain how each clause came from a previous stage.
  • Give one near-miss or non-example and name the exact clause it violates.
  • Include a compact dependency chain:
text
starting ingredients -> failed prototypes -> stage outputs -> final concept
7. Why This Is the Right Abstraction
  • State the main mental model in one sentence.
  • Explain what the abstraction preserves.
  • Explain what it deliberately forgets or suppresses.
  • State where the mental model breaks.
  • Include one paragraph beginning The invention worked because....
8. Worked Examples

Give 2-4 examples that increase in complexity. Each example must include:

  • Setup: concrete objects.
  • Goal: what is being built, checked, or recognized.
  • Computation or construction: explicit intermediate steps.
  • Interpretation: what the result means.
  • Sanity check: why the answer is plausible.
  • Common mistake: one likely error and how to avoid it.
9. Transfer Map

List 5-8 related concepts. For each:

  • Concept: name it.
  • Shared motivation: the problem pressure it has in common with the target.
  • Shared construction pattern or mental model: the reusable move.
  • What changes: how the target's pattern is modified there.
  • Suggested next command: for example bottom-up ..., deep-explain ..., or reinvent-from-scratch ....
10. Reconstruction Checklist

Give:

  • A 6-10 item checklist for reinventing the concept without notes.
  • 3 short exercises with answers or solution sketches.
  • One Explain it back: prompt.

Writing Rules

  • Explain why before what whenever a new clause, object, notation, or viewpoint appears.
  • Prefer concrete examples over generic prose.
  • Keep dependency order strict.
  • Distinguish failed prototype, definition, construction, example, non-example, and consequence.
  • Use standard inline and display LaTeX delimiters for math; never put LaTeX math inside fenced code blocks.
  • Keep prose and long labels outside math. Use math text macros only for short connector words such as and, if, for, where, or when.
  • Prefer a single-line display equation when it fits.
  • For multi-line derivations, use an aligned environment and align on relation symbols.
  • Every math delimiter, environment, brace, and paired fence must balance inside the same math expression.

If using Mermaid:

  • Use simple node IDs such as A, stage_2, or idea3.
  • Put labels in quoted bracket labels, for example A["Naive prototype fails"].
  • Keep one dependency edge per line.
  • Ensure every subgraph has a matching end.

Verification

Before finishing:

  1. Check that all required sections are present and non-empty.

  2. Check that Section 5 has the resolved number of stages, or 10-12 stages when the user did not specify a count.

  3. Check that each stage contains every required labeled item, including Similar moves elsewhere with 2-3 related concepts.

  4. Check that every final definition clause is motivated by an earlier stage.

  5. Check that no concept-specific symbol is used before being introduced or decoded.

  6. Check that there are no unclosed fenced code blocks and no LaTeX math inside fenced code blocks.

  7. Resolve REPO_ROOT as the repository root or current directory, resolve GENERATED_FILE as the path to the generated markdown file, then run Markdown math verification:

    bash
    python3 REPO_ROOT/.claude/skills/bottom-up/scripts/verify_markdown_math.py --strict-warnings GENERATED_FILE

    If it reports failures, fix only the flagged math passages and rerun until it passes.

  8. If the document contains Mermaid blocks, run Mermaid verification using the same REPO_ROOT and GENERATED_FILE values:

    bash
    node REPO_ROOT/.claude/skills/bottom-up/scripts/verify_mermaid_blocks.js GENERATED_FILE

    If it reports errors, fix the Mermaid blocks and rerun until it passes.

  9. Read the final document once and patch any unexplained construction, abrupt motivation jump, or invalid LaTeX.

Completion Summary

After saving and verifying the document, print:

text
Generated reinvention explanation for <target>.
Saved as: <target_slug>_reinvented.md
Verified:
  - required sections present
  - stage motivation and transfer notes checked
  - Markdown math verifier passed
  - Mermaid verifier passed / not needed

Then give 2-3 context-aware next steps based on the generated document.

Example Usage

text
reinvent-from-scratch compactness
reinvent-from-scratch compactness --stages 10
reinvent-from-scratch tensor product of modules
reinvent-from-scratch tensor product of modules in 12 stages
reinvent-from-scratch my_notes.md sheaf
reinvent-from-scratch why invent quotient spaces

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Reinvent From Scratch?

Explain a mathematical concept by reinventing it from scratch, with motivation for each key construction step, concrete examples, transfer notes to 2-3 related concepts with similar mental models or construction logic, and deterministic Markdown LaTeX validation. Use when the user asks to reinvent, derive, rediscover, motivate, or build the concept as if creating it for the first time.

Warum Reinvent From Scratch in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Reinvent From Scratch besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Reinvent From Scratch in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/panpanc/math-skills/tree/main/.claude/skills/reinvent-from-scratch ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Reinvent From Scratch nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Reinvent From Scratch verwenden?

So viele Sie möchten. In TypingMind können Sie Reinvent From Scratch mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Reinvent From Scratch kostenlos?

Der Skill wird von panpanc auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇