Model Matrix Add logo

Model Matrix Add

Community
SouthpawIN
model-matrix-add

Add a model to the TurboFit catalog and fit ladders across tiers.

Overview

PublisherSouthpawIN
Repositorybot-wiki
Skill namemodel-matrix-add
Stars
45
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 SouthpawIN on GitHub. Read the source before you install it.

Installation

Install the Model Matrix Add 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/SouthpawIN/bot-wiki/tree/main/bots/turbofit/skills/model-matrix-add
  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/SouthpawIN/bot-wiki.git /tmp/bot-wiki
mkdir -p .claude/skills
cp -r /tmp/bot-wiki/bots/turbofit/skills/model-matrix-add .claude/skills/model-matrix-add
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Model Matrix Add 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 Model Matrix Add 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 Model Matrix Add 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.

Model matrix add

Use when Chris names a model to support. Produces catalog entries plus fit rungs, never a claim that something fits.

Procedure

  1. Measure the repo first.
    bash
    curl -s "https://huggingface.co/api/models/<repo>/tree/main?recursive=true" \
      | jq -r '.[] | select(.type=="file") | "\(.path)\t\(.size)"' \
      | awk -F'\t' '{s[$1]=$2} END {for (f in s) printf "%.2f GiB\t%s\n", s[f]/1073741824, f}' \
      | sort -n
    Sum shards per quant directory. Record the head revision with curl -s https://huggingface.co/api/models/<repo> | jq -r .sha.
  2. Classify: dense vs MoE (active params), vision (mmproj-* present), MTP (-mtp artifacts), and whether the repo ships a real quant ladder or only pre-baked memory envelopes (Flint ships Mix-12G/Mix-24G — not quants).
  3. Pick the q3 floor — smallest artifact in the Q3/IQ3 class. If the repo has no q3 (Qwen 3.8 GSQ-RCO stops at IQ3_S; DeepSeek starts at IQ1_M), record the floor in note so nobody asks for a quant that does not exist.
  4. Budget the tier. weights + KV + draft + projector ≤ usable pool. Dense 27B at 128K needs 6–10 GiB KV depending on GQA and KV quant — measure, do not assume. When in doubt, publish the smaller context rung.
  5. Write catalog variants in references/model-catalog.json:
    json
    {"id":"arete-27b-q4","name":"Arete 27B Q4_K_M","family":"Arete 27B",
     "source":"https://huggingface.co/bartowski/NousResearch_Arete-27B-GGUF",
     "revision":"<40-hex sha>","artifact":"NousResearch_Arete-27B-Q4_K_M.gguf",
     "quantization":"Q4_K_M","vision":true,"moe":false,
     "runtime_features":["vision-projector"],"roles":["main"],
     "upstream_source":"https://huggingface.co/NousResearch/Arete-27B"}
    id is kebab-case and unique; every required field present or ModelVariant validation throws.
  6. Wire rungs (or let fit_ladders.py regenerate) in references/fit-lists.json with model, quants, size_gb, context, note. Keep the tier keys as-is: dedicated 8-11gb / 12-15gb / 16-23gb / 24-63gb / 64gb+; unified 8-15gb / 16-23gb / 24-31gb / 32-47gb / 48-63gb / 64gb+.
  7. Tag requirements — MoE above the pool needs requires: strata-stream so fit_check.py stops refusing it on dedicated-VRAM physics.
  8. Wire the recipe — a catalog variant without a recipe cannot launch. references/model-recipes.json has one entry per family (binary, port, model_root, projector, methods per context) and one per variant (model file, draft, methods). Copy the nearest family; give the family a unique port; list a method for every context the catalog advertises, or the compiler fails with no method recipe for context <n>.
  9. Register the artifact — references/artifact-manifest.json needs one entry per file the recipes reference, with sha256 taken from Hugging Face's LFS oid (not computed by downloading) and size_bytes from the tree API. The manifest set must equal the referenced-file set exactly: extra shard entries fail the contract just as missing ones do.
  10. Regenerate the matrix — it is generated, never hand-edited:
bash
PYTHONPATH=src python - <<'PY'
from turbofit_runtime.model_catalog import ModelCatalog, build_configuration_matrix
import json, pathlib
cat = ModelCatalog.load(pathlib.Path("references/model-catalog.json"))
pathlib.Path("references/configuration-matrix.json").write_text(
    json.dumps(build_configuration_matrix(cat), indent=2) + "\n")
PY

If the artifact-manifest test pins the catalog length, bump that number in the same commit — it is a deliberate snapshot guard, not an obstacle. 11. Verify no regressions, comparing failure lists rather than counts (this suite has environment-dependent failures):

bash
PYTHONPATH=src pytest -q --ignore=tests/test_hermes_fit.py 2>&1 | grep ^FAILED | sort > /tmp/after
git stash && PYTHONPATH=src pytest -q --ignore=tests/test_hermes_fit.py 2>&1 | grep ^FAILED | sort > /tmp/before && git stash pop
comm -23 /tmp/after /tmp/before      # must be empty
  1. Offer, never displace. A new family is an option in check_local_options and ALLOWED_MAIN; the band default (local_main_for_vram_gb, speed_main_for_vram_gb, shared_main_for_total_memory_gb) must not change. Promotion to a ladder winner is a benchmark decision, not a catalog edit.

What "q3 or higher" means per repo

The quant ladder is whatever the uploader published, so map the floor honestly: Qwen 3.8 27B GSQ-RCO tops out at IQ3_S; Nanbeige's ladder starts at IQ2 and its q3 is IQ3_XS; Flint ships memory envelopes (Mix-12G/Mix-24G), not quants; DeepSeek starts at IQ1_M. Naming a Q4 that does not exist is the same error as inventing a size.

Refusals

  • No GGUF in the repo → do not add a variant. File it as a conversion project (Darwin 180B is the current example: 335 GiB safetensors).
  • No pinned revision → do not add. main moves.
  • A quant name that does not exist in the tree → do not invent it.

Frequently asked questions

What does the Model Matrix Add AI skill do?

Add a model to the TurboFit catalog and fit ladders across tiers.

Why use Model Matrix Add on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SouthpawIN/bot-wiki/tree/main/bots/turbofit/skills/model-matrix-add. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Model Matrix Add?

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 Model Matrix Add?

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

Is the Model Matrix Add AI skill free?

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