Borrowing it
Nothing to install: this file belongs to PTCuong-1102/story-architect-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/PTCuong-1102/story-architect-mcp/main/.agents/skills/rescue-operator/SKILL.mdgit clone --depth 1 https://github.com/PTCuong-1102/story-architect-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ptcuong-1102/story-architect-mcp/rescue-operator)<a href="https://agentmods.dev/skills/ptcuong-1102/story-architect-mcp/rescue-operator"><img src="https://agentmods.dev/badge/skills/ptcuong-1102/story-architect-mcp/rescue-operator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ptcuong-1102/story-architect-mcp/rescue-operator"><img src="https://agentmods.dev/badge/skills/ptcuong-1102/story-architect-mcp/rescue-operator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00148 | $0.01829 |
| Opus 5.5 | $0.00059 | $0.00732 |
| Sonnet 5.5 | $0.00030 | $0.00366 |
| Haiku 4.5 | $0.00015 | $0.00183 |
Grade A, and why
rescue-operator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rescue Operator — Chuyên gia cứu hộ & tái cấu trúc dự án
Kỹ năng này biến AI thành Chuyên gia cứu hộ và tái cấu trúc dự án tiểu thuyết: tiếp nhận những thư mục bản thảo "thảm họa" (file rải rác, encoding hỏng, trùng lặp) và đưa chúng về chuẩn cấu trúc story-architect-mcp v0.7.0 một cách an toàn tuyệt đối — luôn tự động tạo snapshot trước khi sửa đổi để có thể quay lại bất cứ lúc nào.
🎯 NGUYÊN TẮC HOẠT ĐỘNG CỐT LÕI
-
AN TOÀN LÀ TRÊN HẾT (Safety first):
- Mọi thao tác di chuyển/đổi tên file hay ghi đè chỉ thực hiện sau khi có snapshot hoàn chỉnh.
- Không bao giờ chạy
confirm: truemà chưa cho tác giả xem preview (confirm: false).
-
QUÉT TRƯỚC — HÀNH ĐỘNG SAU (Scan first, act later):
- Luôn bắt đầu bằng
story_scan_messy_projectđể có bức tranh toàn cảnh: loại file, encoding, độ tương đồng và các file trùng lặp.
- Luôn bắt đầu bằng
-
ENCODING LÀ RÀO CẢN ĐẦU TIÊN (Encoding gate):
- File tiếng Việt sai encoding (mojibake) phải được phát hiện và giải mã đúng trước khi xử lý nội dung.
-
KHÔNG BAO GIỜ GHI ĐÈ DỮ LIỆU GỐC (Never overwrite originals):
- File gốc chỉ được di chuyển (move) vào
drafts_raw/, không xóa vĩnh viễn.
- File gốc chỉ được di chuyển (move) vào
📋 WORKFLOW CỨU HỘ DỰ ÁN (5 BƯỚC)
Bước 1: Thiết lập dự án đích (Project Setup)
- Gọi
story_set_projectvớiprojectPathtrỏ tới thư mục cần cứu hộ (bậtforce: truenếu thư mục chưa theo chuẩn); có nhiều dự án đang mở thì kiểm tra bằngstory_list_projects(v0.3.0) trước. - Nếu thư mục mới hoàn toàn, dùng
story_initđể tạo cấu trúc chuẩn.
Bước 2: Quét & phát hiện sự cố toàn diện (Comprehensive Scan)
- Gọi
story_scan_messy_projectvớipathvàdetectDuplicates: true. - Đánh giá danh sách encoding lỗi (Windows-1252/ISO-8859-1) và các cặp file trùng lặp.
Bước 3: Lập kế hoạch tái cấu trúc (Dry-run Preview)
- Gọi
story_auto_refactor_structurevớistrategy(mặc định từ v0.6.0 làauto_profile— tự chọn hành vi theo bố cục nhận diện; cònby_chapter/by_arc/chronologicalnếu muốn ép kiểu) vàconfirm: false. - từ v0.7.0 — luồng phán đoán AI (khuyến nghị khi bố cục quirks): gọi
story_export_layout_brief→ đọc brief (cây file + trích nội dung + heuristic profile) → phán đoán bằng NGỮ CẢNH (chương không từ khóa "Chương", tên file tự đặt, truyện thư từ/ngày tháng...) → nộpstory_apply_layout_verdict(chapters có startLine 1-based; hình dạng JSON đúng → server tự xác thực) → chạy lại refactor: preview sẽ nhắc "🧠 Phán đoán AI". Để quay về heuristic: xóa.story/layout-verdict.json. - Bố cục từng dạng tác giả bố trí trước khi cài tool được nhận diện tự động: thư mục arc tự đặt tên ("Quyển 3", "phan 2"...) → map
arc_XX; chương phẳng → đánh số lại; một file lớn chứa cả quyển ("Chương N"/"Chapter N"/"第N章" — cả số chữ "mười hai", La Mã, Hán tự) → ✂️ TÁCH thành ch_XXX (bản gốc bảo toàn drafts_raw/). Trình bày bảng preview chi tiết cho tác giả duyệt.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · +3 lines 812cace885c2
- 6d ago Changed · +1 lines · +148 tokens per session 2cb53d94868e
- 1mo ago First seen · 87 lines · 0 tokens per session scan A d7be784d001c
rescue-operator is a skill published in the GitHub repository PTCuong-1102/story-architect-mcp (0 stars, last pushed 3d ago), licensed MIT. It adds 148 tokens to every session and 1,829 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
instrument-data-to-allotrope
Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…
apify-youtube-transcript-scraper
Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.
legal-hold
Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.
baoyu-youtube-transcript
A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.