updatefirstmate
Ce qu’il fait
Ce skill met à jour Firstmate en fonctionnement et ses assistants secondaires vers la dernière version. Il s'adresse aux personnes qui veulent les nouvelles fonctionnalités et corrections de Firstmate.
Quand l’utiliser
- ✓Quand vous voulez mettre Firstmate à jour vers la dernière version.
- ✓Lorsque vous apprenez qu'une nouvelle version de Firstmate a été publiée et voulez que votre copie corresponde.
- ✓Quand un assistant utilise encore d'anciennes consignes après une mise à jour de Firstmate.
Lien du skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/updatefirstmate/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Mets Firstmate à jour vers la dernière version sans interrompre mes tâches en cours.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent récupère les fichiers les plus récents depuis la source pour l'assistant principal et chaque assistant secondaire. Il explique aussi qu'un assistant doit démarrer une nouvelle conversation pour lire les nouvelles consignes.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
updatefirstmate
Self-update firstmate in place.
Firstmate is its own repo, behind the same no-mistakes gate as any project, so new tracked material (AGENTS.md, bin/, .agents/skills/, and public skills/) reaches main and then sits there until each running firstmate pulls it.
Only AGENTS.md, bin/, and .agents/skills/ are a running firstmate instruction surface; public skills/ is installer-facing and is not loaded by firstmate.
This skill performs that pull for the running main firstmate and every secondmate, without disturbing any in-flight work.
Updating is consumption, not publication: it only pulls from upstream, so every home runs it regardless of role, and the firstmate-repository publication boundary (firstmate-self-repo) never applies to it.
Pulling the files is only half of it.
A running agent holds AGENTS.md and every skill it has already loaded frozen from the moment it launched, and no verified harness offers a reload, so new bytes on disk change nothing for it until it starts a fresh conversation.
A re-read cannot substitute: it appends a second copy of the mate's own job description with no defined precedence, and it cannot reach a skill that is already loaded.
Replacing the agent is also the only thing that re-resolves the launch-time wiring - turn-end hooks, harness flags, per-harness feature switches - which the mate froze when it started and which nothing on disk describes.
That is why every live second mate is restarted after a successful update, including one that was already on the target commit. Launch-time wiring is not derivable from a file diff, so an unchanged tracked surface is not evidence the running agent is already on the current behavior. The only live mates that do not restart are the ones whose home the update pass had to skip, and the ones whose runtime cannot prove a restart; the updater keeps both cases honest and neither is reported as a reload.
One-time rollout note: the update that carries this change is still executed by the previous release, which restarts only the mates whose AGENTS.md or .agents/skills/ moved on that pass. After it completes, run bin/fm-secondmate-restart.sh <fm-id>... once with every live second mate ID, not only the ones that release named; later updates follow the normal flow below.
The source is origin unless this home has config/self-update-source, which names one remote branch for the primary to follow instead, with local secondmates following the primary's resulting commit; docs/configuration.md owns that contract, including its remote-secondmate limit.
The primary update is fast-forward only, while each secondmate uses the same guarded convergence path plus one narrow recovery for squash-merged local history.
For a remote route, it updates the configured Firstmate code root on that host from its own origin, then guardedly fast-forwards the persistent home to that code-root commit.
It never forces, never creates a merge commit, and never stashes.
A clean secondmate divergence advances with reset --keep only when a three-way tree proof shows its complete local result is already present at the target, which recognizes squash-merged contributions without discarding unique content.
Every other dirty, diverged, offline, or wrong-branch target is skipped and reported, and a genuine divergence leaves a durable state/.secondmate-update-reconcile/<id>.pending record that future bootstrap and update passes surface until convergence clears it.
A tracked-files fast-forward leaves the gitignored operational dirs (data/, state/, config/, projects/, .no-mistakes/) untouched, so a secondmate's in-flight work is never disrupted.
This touches only the firstmate repo and its own worktrees, never anything under projects/.
What it does
- Run the updater:
It fast-forwards this firstmate repo's default branch from origin, or from the configured self-update source, then updates every registered local or remote secondmate home through its placement-specific guarded path. When a source is configured it prints abin/fm-update.shself-update source:line first, and an unusable config file stops the whole update before anything moves; report that file to the captain rather than editing or removing it. It prints one status line per target (updated <old>..<new>/reconciled redundant divergence <old>..<new>/
Questions fréquentes
Interrompra-t-il le travail en cours ?
Non. Le skill indique qu'il met à jour sans perturber le travail en cours.
Pourquoi un assistant a-t-il besoin d'un nouveau départ ?
Les assistants en fonctionnement gardent leurs consignes initiales en mémoire, donc les nouveaux fichiers ne prennent effet que dans une nouvelle conversation.
Dois-je être utilisateur avancé ?
Non. Le skill exécute les étapes de mise à jour et explique le résultat.
Détails
Description originale de l’auteur
Self-update a running firstmate and its secondmates to the latest from origin, or from a configured self-update source. Use when the captain invokes /updatefirstmate (e.g. "/updatefirstmate", "update firstmate", "pull the latest firstmate").
repo: kunchenguid/firstmate
Popularité
- Étoiles GitHub
- 8.5k
- Position au classement
- #12449
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
afk
8.5kPermet à votre agent de continuer à travailler pendant votre absence, en gardant les décisions pour votre retour et en vous remettant un bilan clair à votre arrivée.
ahoy
8.5kPermet à votre agent de vous faire un bref récapitulatif de la session et de vous guider à travers les décisions qui attendent encore votre réponse.
ask-user-authority
8.5kAide votre agent à trancher seul les questions de relecture conformes au plan convenu, et à vous interroger seulement si elles sont floues ou risquées.
away-quiet-supervision
8.5kFixe les règles de sécurité de la supervision en mode absence ou silencieux : messages clairs et décisions retenues pour vous.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.