updatefirstmate
यह क्या करती है
यह स्किल चल रहे Firstmate और उसके दूसरे helpers को नवीनतम वर्शन पर अपडेट करती है। यह उन लोगों के लिए है जो Firstmate की नई सुविधाएं और सुधार चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप Firstmate को नवीनतम वर्शन पर अपडेट करना चाहते हैं।
- ✓जब आपको पता चले कि Firstmate का नया वर्शन जारी हुआ है और आप अपनी प्रति उससे मिलाना चाहते हैं।
- ✓जब Firstmate अपडेट के बाद कोई helper अब भी पुराने निर्देशों पर चल रहा हो।
Skill का लिंक
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/updatefirstmate/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे चल रहे काम बाधित किए बिना Firstmate को नवीनतम वर्शन पर अपडेट कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट मुख्य helper और हर दूसरे helper के लिए स्रोत से नवीनतम फ़ाइलें लाता है। वह यह भी समझाता है कि नए निर्देश पढ़ने के लिए helper को नई बातचीत चाहिए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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>/
अक्सर पूछे जाने वाले सवाल
क्या यह चल रहे काम में बाधा डालेगा?
नहीं। स्किल कहती है कि यह चल रहे काम को बिना छेड़े अपडेट करता है।
helper को नई शुरुआत क्यों चाहिए?
चल रहे helpers अपने मूल निर्देश मेमोरी में रखते हैं, इसलिए नई फ़ाइलें केवल नई बातचीत में लागू होती हैं।
क्या मुझे उन्नत उपयोगकर्ता होना ज़रूरी है?
नहीं। स्किल अपडेट के चरण चलाती है और परिणाम समझाती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 8.5k
- रैंकिंग में स्थान
- #12449
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
afk
8.5kयह आपके एजेंट को आपके बाहर रहने पर काम जारी रखने देती है, फ़ैसले आपकी वापसी तक रोककर और लौटने पर आपको साफ़ सारांश भेजकर।
ahoy
8.5kयह आपके एजेंट को सत्र में हुई बातों का छोटा सार देने और अभी आपके जवाब की प्रतीक्षा कर रहे फ़ैसलों से गुज़रने में मदद करती है।
ask-user-authority
8.5kयह आपके एजेंट को समीक्षा के सवालों पर खुद फ़ैसला लेने में मदद करती है जब वे साफ़ तौर पर सहमत योजना में फिट हों, और केवल तब पूछती है जब सवाल अस्पष्ट या जोखिम भरा हो।
away-quiet-supervision
8.5kयह away या quiet मोड में काम की निगरानी के सुरक्षा नियम तय करती है, ताकि एजेंट संदेश साफ़ रखे और आपकी ज़रूरत वाले फ़ैसले रोके रखे।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।