ctos-deploy SKILL.md skillA

ctos-deploy from yazelin/ching-tech-os is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yazelin/ching-tech-os/ctos-deploy@git:20260817.48a9697

Pins git:20260817.48a9697 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yazelin/ching-tech-os
Path
.claude/skills/ctos-deploy/SKILL.md
Versions recorded
2
Latest version
git:20260817.48a9697, committed Aug 17, 2026
First version recorded
Jun 11, 2026
Size
6,282 bytes
Repository stars
33
License
MIT

將 ching-tech-os(CTOS)更新部署到正式機。當使用者要求「部署 CTOS」「更新正式機」「把最新版上 production」「重啟並更新 ching-tech-os 服務」時使用。涵蓋 SSH 到部署機、執行 scripts/update-service.sh、前置檢查清單、回滾方式與查日誌指令。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CTOS 部署 Runbook

CTOS(ching-tech-os)以 systemd 服務 `ching-tech-os` 跑在部署機上(FastAPI + PostgreSQL,port 8088)。
更新方式:SSH 到部署機,在專案目錄執行一鍵更新腳本 `scripts/update-service.sh`。

## 部署機資訊

部署機 IP / 主機名稱**不硬編在此 skill**,以實際環境為準,依下列順序取得:

1. 使用者在對話中直接提供(最優先)
2. 環境變數或 SSH config(如 `~/.ssh/config` 內的 host alias)
3. 詢問使用者

範例(IP 僅為示意,例如 `192.168.11.11`,請以實際環境為準):

```bash
ssh ct@<部署機IP>
cd /home/ct/SDD/ching-tech-os
```

專案目錄預設為 `/home/ct/SDD/ching-tech-os`(與 install-service.sh 的 PROJECT_DIR 一致),若部署機路徑不同以實際為準。

## 前置檢查清單(執行前必過)

- [ ] 這次要部署的 PR 都已 merge 進 `main`
- [ ] `main` 的 CI 是綠的(`gh run list --branch main --limit 5` 或看 GitHub Actions 頁面)
- [ ] 若有資料庫 migration,確認 migration 檔案已包含在要部署的 commit 中
- [ ] 確認部署時段可接受短暫服務中斷(restart 期間約數秒到數十秒)

## 標準部署流程

```bash
# 1. SSH 到部署機
ssh ct@<部署機IP>

# 2. 進入專案目錄並執行一鍵更新腳本
cd /home/ct/SDD/ching-tech-os
./scripts/update-service.sh
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yazelin/ching-tech-os/ctos-deploy@sha256:6bc55e7e4f0be4d2

The line at the top of this page pins the label git:20260817.48a9697, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_swinezvc2nsviwbu.svg)](https://markdownregistry.com/a/art_swinezvc2nsviwbu)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jun 11, 2026 and Aug 17, 2026, about one every 67 days.

versioncommittedcommitsizeaudit
git:20260817.48a9697 latest2026-08-17 48a9697 6,282 BA view · diff
git:20260611.d8adc8c2026-06-11 d8adc8c 4,916 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6282 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yazelin/ching-tech-os · 33 stars · license MIT · pushed 2026-09-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_swinezvc2nsviwbu
GET https://markdownregistry.com/api/v1/resolve?ref=yazelin/ching-tech-os/ctos-deploy
GET https://markdownregistry.com/api/v1/blob/6bc55e7e4f0be4d210669241eb191d3c093d97777a3b8e561bad97eddf0f1fec

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from yazelin/ching-tech-os

ctos-architecture SKILL.md skill
yazelin/ching-tech-os · .claude/skills/ctos-architecture/SKILL.md · CTOS(ching-tech-os)架構導覽與改動定位指南。當使用者要在 ching-tech-os 加新功能、新前端 App、新後端內建模組、extends 外部模組,或新增 CTOS AI Skill…
git:20260611.7838f52 · audit B · 33 stars
ctos-kb SKILL.md skill
yazelin/ching-tech-os · .claude/skills/ctos-kb/SKILL.md · 透過 ctos CLI 遠端存取 ching-tech-os(CTOS)的公司資料:知識庫(kb-NNN)、圖書館、NAS 掛載區(專案圖面 projects / 線路圖…
git:20260611.2b2ed47 · audit A · 33 stars
openspec-apply-change SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-apply-change/SKILL.md · Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or…
v1.0 · audit A · 33 stars
openspec-archive-change SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-archive-change/SKILL.md · Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after…
v1.0 · audit A · 33 stars
openspec-bulk-archive-change SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-bulk-archive-change/SKILL.md · Archive multiple completed changes at once. Use when archiving several parallel changes.
v1.0 · audit A · 33 stars
openspec-continue-change SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-continue-change/SKILL.md · Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change…
v1.0 · audit A · 33 stars
openspec-explore SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-explore/SKILL.md · Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use…
v1.0 · audit A · 33 stars
openspec-ff-change SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-ff-change/SKILL.md · Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for…
v1.0 · audit A · 33 stars
openspec-new-change SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-new-change/SKILL.md · Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature…
v1.0 · audit A · 33 stars
openspec-onboard SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-onboard/SKILL.md · Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
v1.0 · audit A · 33 stars
openspec-sync-specs SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-sync-specs/SKILL.md · Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta…
v1.0 · audit A · 33 stars
openspec-verify-change SKILL.md skill
yazelin/ching-tech-os · .claude/skills/openspec-verify-change/SKILL.md · Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete…
v1.0 · audit A · 33 stars

Every file in yazelin/ching-tech-os

Browse by kind, by grade A, or by owner.