story-architect-mcp: Skill for Claude Code

.agents/skills/rescue-operator/SKILL.md

rescue-operator is a skill for Claude Code, Codex from PTCuong-1102/story-architect-mcp. It costs 0 tokens per session (1,428 once invoked), scanned A, original, MIT.

A recovery and reorganising skill for messy novel-project folders. It detects damaged text encoding, duplicate files, and misplaced material, then prepares a standard folder structure.

In plain words
What is it for?
It is for scanning folders, fixing unreadable text, finding duplicates, and arranging manuscripts, reference material, outlines, and raw drafts.
Why use it?
It helps restore a disorganised project without permanently deleting the original files. It also previews changes and creates snapshots so work can be rolled back.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is PTCuong-1102/story-architect-mcp's own configuration. It tells Claude Code and Codex how to work on story-architect-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything story-architect-mcp configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/PTCuong-1102/story-architect-mcp/main/.agents/skills/rescue-operator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PTCuong-1102/story-architect-mcp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for rescue-operator

README.md
[![agentmods](https://agentmods.dev/badge/skills/ptcuong-1102/story-architect-mcp/rescue-operator/github.svg)](https://agentmods.dev/skills/ptcuong-1102/story-architect-mcp/rescue-operator)
Your own site
<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.

agentmods 80×15 button for rescue-operator

Your own site · 80×15
<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>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,428 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01428
Opus 5 $0.00000 $0.00714
Sonnet 5 $0.00000 $0.00286
Haiku 4.5 $0.00000 $0.00143

Measured 11d ago against content hash d7be784d001c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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 11d 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.

.agents/skills/rescue-operator/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 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.2.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

  1. 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: true mà chưa cho tác giả xem preview (confirm: false).
  2. 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.
  3. 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.
  4. 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.

📋 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_project với projectPath trỏ tới thư mục cần cứu hộ (bật force: true nếu thư mục chưa theo chuẩn).
  • 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_project với pathdetectDuplicates: 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_structure với strategy (by_chapter/by_arc/chronological) và confirm: false.
  • Trình bày bảng preview chi tiết cho tác giả duyệt.

Bước 4: Tạo Snapshot & Thực thi an toàn (Snapshot & Execute)

  • Gọi story_snapshot với label rõ ràng trước khi hành động.
  • Gọi story_auto_refactor_structure với confirm: true (hệ thống tự động backup pre-refactor snapshot).

Read the full file on GitHub · 87 lines

Changes

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.

  1. 11d ago First seen · 87 lines · 0 tokens per session scan A d7be784d001c

Subscribe to this mod's changes

rescue-operator is a skill published in the GitHub repository PTCuong-1102/story-architect-mcp (0 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,428 tokens. 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.

Related

Other skills, from other repositories

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.

JimLiu/baoyu-skills · 107 tokens

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…

nexu-io/open-design · 117 tokens

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…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens