Logo van Formula Derivation

Formula Derivation

Community
Immortalqx
formula-derivation

Structure and derive research formulas when the user wants to 推导公式, derive a theory line, build equations from a problem statement, clarify assumptions, separate formal derivation from remarks, or turn messy theory notes into a paper-ready derivation skeleton. Use for research-style formula development, not for fully rigorous theorem proving once the claim is already fixed.

Add to TypingMind

Overzicht

UitgeverImmortalqx
Repositorymy_codex_skills
Skillnaamformula-derivation
Sterren
56
Forks
0
Meegeleverde bestanden
1
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 1

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door Immortalqx op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Formula Derivation in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Immortalqx/my_codex_skills/tree/main/formula-derivation
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Immortalqx/my_codex_skills.git /tmp/my_codex_skills
mkdir -p .claude/skills
cp -r /tmp/my_codex_skills/formula-derivation .claude/skills/formula-derivation
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Formula Derivation in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Formula Derivation automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Formula Derivation niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Formula Derivation

Use this skill when the task is not merely to prove a finished theorem, but to build the derivation itself:

  • define the right object,
  • decide what should be assumed,
  • determine what is identity vs proposition vs approximation,
  • connect simple and general regimes without splitting into two unrelated stories,
  • and turn messy notes into a derivation line that can later be written into a paper.

Do not use this skill as a replacement for strict proof writing once the exact claim is already fixed and the user wants a theorem-proof package. In that case, stay focused on clarifying the derivation boundary, assumptions, and missing steps rather than pretending the proof is already complete.

Core Principle

The derivation must be built around one invariant object. Do not start from scattered formulas. Start from the object that survives across regimes, then derive proxies, decompositions, and interpretations from it.

What to Produce

Prefer one of these outputs:

  1. a mainline derivation note for internal alignment;
  2. a paper-style theory draft with tighter narrative;
  3. a blocker report if the current notes cannot support a coherent derivation.

Workflow

1. Freeze the Target

State explicitly:

  • what phenomenon is being explained;
  • what claim is being supported;
  • whether the goal is:
    • identity / algebra,
    • local comparative statics,
    • approximation,
    • or mechanism interpretation.

Do not start symbolic manipulation before this is fixed.

2. Choose the Invariant Object

Find the single quantity that should remain meaningful across regimes.

Examples:

  • objective / loss / utility
  • total energy / cost / welfare
  • state variable / conserved quantity / effective rate
  • expected performance metric

If the current notes use a narrower quantity (c_i, throughput, delay, CW, etc.), decide whether it is:

  • the true top-level object,
  • or only a proxy / slice / approximation.

3. Put Assumptions and Notation First

Before deriving, list:

  • assumptions;
  • notation;
  • regime boundaries;
  • which quantities are fixed and which are state dependent.

Do not introduce hidden assumptions mid-derivation unless they are clearly marked as extra local assumptions.

4. Classify Every Step

Every nontrivial part of the derivation must be labeled mentally as one of:

  • identity: exact algebraic reformulation;
  • proposition: a claim requiring conditions;
  • approximation: model simplification or surrogate;
  • interpretation: prose-level explanation of what the formula means.

Never mix these without signaling the change.

5. Derive from the Global Quantity When Splitting Costs

If the goal is to split a quantity into components, start from the global quantity and then differentiate / decompose.

Pattern:

  1. define the global quantity, e.g. W = \sum_j \Gamma_j;
  2. perturb one local variable, e.g. c_i;
  3. compute the marginal social effect;
  4. split the result into:
    • direct term,
    • indirect term,
    • or private / external terms if that distinction is part of the model.

Do not present the decomposition as if it appeared magically from one local variable itself. The split must come from the effect of changing that variable on the chosen global quantity.

6. Keep Special Cases and General Cases in One Line

If the theory must cover both a simplified regime and a more general regime, do not write two unrelated stories.

Use this pattern:

  • same invariant object across all regimes;
  • special case: some terms vanish or collapse;
  • general case: the same object gains extra structure.

This prevents the simple case from looking like an exception and the general case from looking like a different theory.

7. Treat Simplified Parameters as Analysis Slices

If the true object is state dependent, adaptive, vector-valued, or otherwise complicated, but a theorem needs a simpler parameterization, write:

  • the general object first;
  • then define the simpler case as a tractable slice.

Use language such as:

  • frozen-parameter approximation;
  • constant-coefficient slice;
  • local linearization;
  • reduced-order case.

Do not let the simplified case silently replace the real conceptual object.

8. Separate Main Text from Remarks

For derivations intended for papers:

  • the main derivation should contain only equations and immediate mathematical consequences;
  • explanatory prose, intuition, scenario reading, and caveats should be moved to Remark / Discussion / Scope paragraphs.

If a section starts to read like an internal lecture note, split it into:

  • derivation body;
  • remark.

9. Write Boundaries Explicitly

At the end, state:

  • what the derivation actually proves;
  • what remains approximation;
  • what should not be claimed.

Especially guard against:

  • turning a local proposition into a universal theorem;
  • letting an interpretation sound like a proof;
  • hiding a proxy as if it were the true quantity.

Common Derivation Patterns

When the user is unsure how to start, try one of these common patterns:

  1. Definition -> substitution -> simplification Use when the target formula is mostly algebraic.

  2. Global quantity -> perturbation -> decomposition Use when the target needs direct / indirect, private / external, or local / global splitting.

  3. Primitive law -> intermediate variable -> target expression Use when deriving from a physical principle, conservation law, or probabilistic identity.

  4. Exact model -> approximation -> interpretable closed form Use when the exact formula is too heavy and a paper needs a usable surrogate.

  5. General dynamic object -> frozen slice -> theorem -> return to general case Use when the real system is adaptive or state dependent, but the proof needs a simpler slice.

Recommended Output Structure

For an internal derivation note:

  1. Target
  2. Invariant object
  3. Assumptions and notation
  4. Main derivation
  5. Regime interpretation
  6. Approximations and open risks

For a paper-style theory section:

  1. Unified object
  2. Formal proxy and assumptions
  3. Special-case to general-case decomposition
  4. Reward / objective reformulation
  5. Local theorem or proposition
  6. State-dependent extension
  7. Scope and non-claims

Boundary With Finished Proofs

Use formula-derivation when the user says things like:

  • “我不知道怎么起这条推导主线”
  • “这个公式到底该从哪个量出发”
  • “帮我把理论搭顺”
  • “把说明文档变成可写进论文的公式文档”

The derivation is usually mature enough for a finished theorem-proof package only after:

  • the exact claim is already fixed,
  • the assumptions are stable,
  • and the task is now to prove or refute that claim rigorously.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Formula Derivation?

Structure and derive research formulas when the user wants to 推导公式, derive a theory line, build equations from a problem statement, clarify assumptions, separate formal derivation from remarks, or turn messy theory notes into a paper-ready derivation skeleton. Use for research-style formula development, not for fully rigorous theorem proving once the claim is already fixed.

Waarom Formula Derivation gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Formula Derivation bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Formula Derivation in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Immortalqx/my_codex_skills/tree/main/formula-derivation. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Formula Derivation gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Formula Derivation gebruiken?

Zoveel als je wilt. Je kunt Formula Derivation gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Formula Derivation gratis?

Ja. Deze skill is door Immortalqx op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇