whatisgithub

What is pi-skill-model?

mitchellij/pi-skill-model — explained in plain English

Analysis updated 2026-05-18

3TypeScriptAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A Pi extension that lets you pin a specific AI model to a specific skill via frontmatter, with no automatic fallback.

Mindmap

mindmap
  root((pi-skill-model))
    What it does
      Pins a model per skill
      No automatic fallback
      Checks model availability on startup
    Tech stack
      TypeScript
      Pi extension system
    Use cases
      Force premium model for one skill
      Keep cheap default elsewhere
      Validate configured models
    Audience
      Pi users
      Developers sharing skills

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Force a specific skill, like a PRD generator, to always run on a stronger model regardless of session settings.

USE CASE 2

Pin cheaper skills to a cost-effective model while reserving a premium model for one specific task.

USE CASE 3

Verify at Pi startup that every model referenced across your skills is actually available.

What is it built with?

TypeScriptPi

How does it compare?

mitchellij/pi-skill-model000madz000/payload-test-api-route-handleraliansari22/pdfclear
Stars333
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires the Pi coding assistant already installed and configured.

MIT license: use, modify, and share freely, including commercially, as long as you keep the copyright notice.

So what is it?

pi-skill-model is a small extension for Pi, an AI coding assistant, that lets you pin a specific AI model to a specific skill. Normally Pi runs every skill on whatever model the current session is using, but this extension adds a model field to a skill's frontmatter so you can force that one skill to always run on a particular model, no matter what the rest of the session is set to. For example, a project might have a skill for writing a product requirements document, and the author can set model to something like anthropic/claude-opus-4-8 in that skill's SKILL.md file. From then on, running that skill always calls Opus, even if the user is chatting with a cheaper or different model elsewhere in the session. You can point to a model either with an exact provider and id, such as zai/glm-5.2, or with a looser text pattern like opus, though the exact form is recommended for skills you plan to share since loose patterns can break when model names change later. One deliberate design choice is that skills have no fallback: if the specified model is not available, the skill simply will not run, rather than quietly switching to a weaker or pricier substitute. The extension also checks that every model referenced in your skills is actually available whenever Pi starts up or when you run its reload command. Subagents are not affected by this extension, only skills. Installation is a single command, pi install git:github.com/MitchelliJ/pi-skill-model, which can be pinned to a specific tag or run with a flag to install at the project level instead of user level. After installing, Pi needs to be restarted or reloaded for the change to take effect. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Install pi-skill-model and show me how to add a model field to my SKILL.md frontmatter.
Prompt 2
Set up my prd skill to always run on anthropic/claude-opus-4-8 using this extension.
Prompt 3
Explain the difference between an exact provider/id model reference and a loose pattern match in pi-skill-model.
Prompt 4
Help me check whether all the models my skills reference are available after running /reload.

Frequently asked questions

What is pi-skill-model?

A Pi extension that lets you pin a specific AI model to a specific skill via frontmatter, with no automatic fallback.

What language is pi-skill-model written in?

Mainly TypeScript. The stack also includes TypeScript, Pi.

What license does pi-skill-model use?

MIT license: use, modify, and share freely, including commercially, as long as you keep the copyright notice.

How hard is pi-skill-model to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is pi-skill-model for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.