bootstrap-diagnostics
Skill này làm gì
Skill này giải thích cách xử lý các dòng cảnh báo in ra khi Firstmate khởi động, như công cụ bị thiếu hoặc quá cũ. Skill dành cho người chạy Firstmate muốn thiết lập hỏi ý kiến trước khi thay đổi bất cứ thứ gì.
Khi nào nên dùng
- ✓Khi kiểm tra khởi động báo một công cụ bị thiếu và đưa ra lệnh cài đặt.
- ✓Khi kiểm tra khởi động báo một công cụ quá cũ và cần nâng cấp.
- ✓Khi kiểm tra khởi động báo cần đăng nhập GitHub trước khi công việc có thể bắt đầu.
Liên kết skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/bootstrap-diagnostics/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra khởi động báo một công cụ bị thiếu. Hãy giải thích nó cần gì và hỏi tôi trước khi cài đặt bất cứ thứ gì.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent liệt kê từng công cụ bị thiếu hoặc lỗi thời cùng mục đích và lệnh cài đặt. Nó chờ bạn đồng ý trước khi cài hoặc nâng cấp, và không bắt đầu công việc cho đến khi các công cụ cần thiết và đăng nhập đã sẵn sàng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
bootstrap-diagnostics
Handle each printed line as below, before dispatching work that depends on it.
The line formats themselves are owned by bin/fm-bootstrap.sh's header; this playbook owns the response to actionable lines.
The session-start rules in session-start-recovery still bind: detect, then consent, then install or upgrade - never change a tool the captain has not approved in this session - and no work is dispatched until the tools it needs are present and GitHub auth is good.
When any diagnostic needs captain attention, report the plain consequence and requested action using AGENTS.md section 9's captain-facing translation contract; do not name the diagnostic label unless the captain needs to paste it into a command or issue.
MISSING: <tool> (install: <command>)- the tool is absent; list the missing tools to the captain with a one-line purpose each plus the printed install commands, wait for consent (one approval may cover the list), then runbin/fm-bootstrap.sh install <approved tools...>. An installed tool below its floor, or one missing a required capability, reportsOUTDATED:instead.OUTDATED: <tool> (installed: <version|unparseable>; requires <floor|capability>; upgrade: <command>)- the tool is present but below what this home needs, so it is an upgrade request, not an install. Report the installed version and the printedupgrade:command and wait for the same consent rule before running it; a printed command that is the tool's own installer means that tool ships no self-updater yet, so the upgrade reuses its install command.bin/fm-bootstrap.showns the floor policy, and never argue the floor down to whatever the home happens to have installed. Forno-mistakes, the floor is 1.46.0 because this repo's PR gate requires structured pipeline attestation that older builds do not write. Fortreehouse, the requirement istreehouse get --leasesupport. Fortasks-axi, the requirement also covers the separate feature probe (bin/fm-tasks-axi-lib.showns the definition);config/backlog-backend=manualonly suppresses the verboseBOOTSTRAP_INFO: tasks-axi availablefact, not this report. Forquota-axi, bootstrap requires it because firstmate reads its current output directly before resolving every crew-dispatch profile array; without it, report the requirement and do not choose around an unexamined candidate.PRESENTATION_UNAVAILABLE: lavish-axi ...- explain that visual presentation is unavailable and continue nonvisual work with plain-text decisions and reports; do not hold unrelated dispatch for installation consent. Do not use Lavish until it satisfies the floor owned bybin/fm-bootstrap.sh; when visual work needs it, request consent for the printed install or upgrade command, then rerun bootstrap to confirm compatibility before using it. Scout briefs check the same floor when scaffolded and ask for a text report instead of a Lavish loop, so scaffold a visual scout only after that rerun confirms compatibility.MISSING_MANUAL: <tool> (instructions: <url>)- tell the captain why the tool is required and give them the printed instructions URL, but do not pass the tool tobin/fm-bootstrap.sh install; wait for the captain to complete the manual installation, then rerun session start to confirm the dependency is present.BACKEND_INVALID: <name> (known: <names>)- the resolved runtime backend has no verified dependency or lifecycle contract, so do not dispatch work until the invalidFM_BACKENDorconfig/backendvalue is corrected to one of the listed backends.NEEDS_GH_AUTH- ask the captain to run! gh auth login(interactive; you cannot run it for them). This probe now arrives from the deferred network stage, so it is also how an unreachable network shows up:ghcannot validate its token offline and reports the same failure. Confirm reachability before asking the captain to re-authenticate a credential that may be fine.NETWORK_CHECKS: <what did not complete>; rerun <command>- the deferred network stage itself could not finish, so the checks it names are simply unknown, not failed. Rerun the printed command; it is idempotent and re-derives every finding. Ahit the ...s boundline means one of those checks is slow or unreachable - most often a remote secondmate host - and the stage stopped rather than letting it wedge; arecorded fleet lock holder changedline means lock line 1 no lo
Câu hỏi thường gặp
Nó có cài đặt mà không hỏi không?
Không. Nó liệt kê những gì cần thiết và chờ bạn đồng ý trước khi cài hoặc nâng cấp.
Nếu thiếu đăng nhập GitHub thì sao?
Agent báo rằng cần đăng nhập, và không công việc nào bắt đầu cho đến khi xong.
Tôi có cần biết tên các công cụ không?
Không. Agent giải thích từng công cụ bằng lời đơn giản và nói nó cần cho việc gì.
Chi tiết
Mô tả gốc của tác giả
Load when the session-start digest's bootstrap or network-checks section, or a standalone bin/fm-bootstrap.sh or bin/fm-startup-network.sh run, prints an actionable diagnostic line - MISSING, MISSING_MANUAL, OUTDATED, PRESENTATION_UNAVAILABLE, BACKEND_INVALID, NEEDS_GH_AUTH, TANGLE, STARTUP_MEMORY_BUDGET, CREW_DISPATCH invalid, FLEET_SYNC, NETWORK_CHECKS, HOME_SUMMARY, BACKLOG_RECONCILE, SECONDMATE_SYNC, SECONDMATE_LIVENESS, SECONDMATE_HANDOFF, NUDGE_SECONDMATES, or FMX - or reports that an interrupted backlog cleanup may have left an endpoint or local copy. A silent bootstrap section, or any
repo: kunchenguid/firstmate
Độ phổ biến
- Sao GitHub
- 8.5k
- Vị trí xếp hạng
- #12431
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
afk
8.5kGiúp agent của bạn tiếp tục làm việc khi bạn vắng mặt, giữ các quyết định cho lúc bạn quay lại và gửi bạn một bản tóm tắt rõ ràng khi bạn về.
ahoy
8.5kGiúp agent của bạn tóm tắt ngắn những gì đã xảy ra trong phiên và hướng dẫn bạn qua các quyết định vẫn đang chờ bạn.
ask-user-authority
8.5kGiúp agent của bạn tự quyết các câu hỏi rà soát khi chúng khớp rõ với kế hoạch đã thống nhất, chỉ hỏi bạn khi câu hỏi mơ hồ hoặc có rủi ro.
away-quiet-supervision
8.5kĐặt các quy tắc an toàn khi giám sát công việc ở chế độ vắng mặt hoặc im lặng, để agent giữ tin nhắn rõ ràng và giữ các quyết định cần bạn.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.