Logo de Setup Pstack

Setup Pstack

Communauté
dsebban
setup-pstack

Configure which models pstack uses per role and at what reasoning budget on OMP. Detects the available model catalog and writes modelRoles and task.agentModelOverrides into the active profile's config.yml. Use for /setup-pstack, "configure pstack models", "pstack budget", "which model do subagents use", or changing pstack's model choices.

Présentation

Éditeurdsebban
Dépôtskills
Nom de la compétencesetup-pstack
Étoiles
72
Forks
6
Fichiers inclus
2
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • 2 fichiers inclus

    Des scripts, des modèles de documents et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par dsebban sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Setup Pstack dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/dsebban/skills/tree/main/skills/setup-pstack
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dsebban/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/setup-pstack .claude/skills/setup-pstack
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Setup Pstack dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Setup Pstack dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Setup Pstack n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Setup pstack

Upstream pstack picks a model per call. OMP does not work that way: a task item carries no model, so the model follows the role and the agent. Two settings decide everything.

  • modelRoles maps each role (slow, plan, advisor, judge, task, designer, vision, smol, tiny, commit) to a provider/model[:effort] selector.
  • task.agentModelOverrides maps each spawnable agent to a selector or an @role alias.

Configuring pstack on OMP means setting those two records coherently. scripts/apply-models.mjs does the arithmetic; this skill runs it and owns the conversation around it.

Steps

0. Locate the script

skill:// paths are readable but not executable, so resolve the real path once and reuse it. realpath prints the physical location under any install root:

bash
APPLY=$(realpath skill://setup-pstack)/scripts/apply-models.mjs

1. Show the current state

bash
"$APPLY" --show

It prints every role with its model and every agent with the model it resolves to. unset means the role falls back to OMP's default, which is the session model.

2. Ask for a budget

Use the ask tool, not free text. Offer exactly these four labels, and name the current budget when the config already reflects one:

  • unlimited — max reasoning
  • large — xhigh reasoning
  • medium — high reasoning
  • small — medium reasoning

The budget sets the effort token per tier, not per model:

tierrolesunlimitedlargemediumsmall
strongslow, plan, advisor, judgemaxxhighhighmedium
midtask, designer, visionxhighhighmediumlow
smallsmolhighhighmediumlow
pinnedtiny, commitlowlowlowlow

tiny and commit stay at low under every budget. They exist to be cheap.

3. Preview

bash
"$APPLY" --budget <label> --dry-run

The preview keeps any model the user already chose for a role and only rescales its effort. It fills unset roles from the detected catalog, preferring the newest generation in the right family. A model that cannot reach the budget's effort gets the highest level it supports, and the run says so. Agent mappings work the same way: an agent the user already pointed at a role or a model keeps that mapping, and the pstack default only fills an agent that was never set.

Read the notes: block out loud to the user. It reports four things that matter:

  • a configured model that is no longer in the catalog, which the run replaced
  • a role whose model tops out below the budget
  • reviewer and security-reviewer resolving to the same model, which means panel skills (skill://interrogate, skill://arena, skill://reflect) have no real second opinion
  • an agent kept on the user's mapping where pstack would have defaulted elsewhere

4. Let the user change roles

Offer the detected models as options through ask, not free text. Apply a change by passing it through:

bash
"$APPLY" --budget large --role judge=<provider>/<model>:high --agent sonic=@smol

An explicit --role with an effort token wins over the budget. An agent value is either a selector or an @role alias; a direct selector must also use an effort its model supports. Unknown roles, malformed key=value arguments, and models that are not in the catalog are refused rather than substituted, since OMP's own omp config set does not validate them and a bad selector only surfaces when a spawn fails.

5. Apply and confirm

Drop --dry-run. The script merges onto the current records and writes them with omp config set, so roles and agent mappings the user set for reasons outside pstack survive, including roles pstack does not own. A failed read of the current config aborts before anything is written. Re-running with the same budget changes nothing. The two writes, modelRoles then task.agentModelOverrides, are not atomic: if the second fails the first has already landed, and re-running finishes the job.

Tell the user where it was written (the script prints the path) and that it is the active profile's config: omp --profile <name> has its own. New sessions and new subagent spawns resolve the new roles.

6. Check the panel

If step 3 warned that reviewer and security-reviewer collapse onto one model, say plainly what is lost: cross-model review degenerates into self-review, and the independence that skill://arena's cross-judge and skill://interrogate's reviewer panel depend on is gone. A fresh run already puts judge on a different family from advisor when the catalog has one. If the warning remains, either only one family passes enabledModels, so admit a second and re-run, or judge was set earlier to the same model, so name another with --role judge=<provider>/<model>. Do not fake diversity by giving the same model two role names.

7. Offer a verification skill (optional)

Check whether the project can drive the real app for proof: a verify-* skill, or an existing harness. If not, offer once: "want a project-local verification skill, so agents can drive the app the way a user does and prove changes work? I can generate one with /skill:create-verification-skill." On no, move on without pushing.

8. Offer a formal verification skill (optional)

Check whether the project already has a formal verification skill: a project skill that runs a model checker, a prover, or another verifier against named code. If not, offer once: "want a formal verification skill, so agents can prove a key property holds in every case in scope, not only the cases tests reach? I can generate one with /skill:create-formal-verification-skill." On no, move on without pushing.

How roles carry pstack's work

pstack roleOMP carrier
judgment and prose, how explainer, why synthesizer, reflect judgment and divergent and synthesizer, historical session consultsadvisor, through the reviewer, comment-sicko, and seance agents
arena cross-judge pool, the second opinionjudge, through the security-reviewer agent
feature, bug-fix, refactoring, perf-issue, hillclimb, swarm workers, arena runners, UI worktask, through the task and poteto-agent agents
how explorer, why investigators, reflect toolingsmol, through the scout and librarian agents
mechanical armstiny, through the sonic agent
hardest tasks, multi-phase plans, reading screenshotsslow, plan, vision, consumed by OMP itself; no agent pstack spawns runs on them

slow, plan, vision, and designer have no spawnable carrier, so by default the root session does the hardest work itself. To put a spawnable implementer on the strongest model, point poteto-agent at slow: --agent poteto-agent=@slow.

Panel size is not a model list here. One task item is one panel member, so fan-out is how many items the batch carries, and independence comes from the items naming different agents.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Setup Pstack ?

Configure which models pstack uses per role and at what reasoning budget on OMP. Detects the available model catalog and writes modelRoles and task.agentModelOverrides into the active profile's config.yml. Use for /setup-pstack, "configure pstack models", "pstack budget", "which model do subagents use", or changing pstack's model choices.

Pourquoi utiliser Setup Pstack sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Setup Pstack se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Setup Pstack dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/dsebban/skills/tree/main/skills/setup-pstack. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Setup Pstack ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Setup Pstack ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Setup Pstack avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Setup Pstack est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par dsebban sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇