Logo Vstack S0 Decompose

Vstack S0 Decompose

Tổ chức
hao-ai-lab
vstack-s0-decompose

Map a pinned system into control, data and boundary views and build evidence-backed historical anchors before verification.

Tổng quan

Nhà phát hànhhao-ai-lab
Kho mãvstack
Tên kỹ năngvstack-s0-decompose
Sao
104
Bản fork
6
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được hao-ai-lab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Vstack S0 Decompose trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/hao-ai-lab/vstack/tree/main/skills/vstack-s0-decompose
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hao-ai-lab/vstack.git /tmp/vstack
mkdir -p .claude/skills
cp -r /tmp/vstack/skills/vstack-s0-decompose .claude/skills/vstack-s0-decompose
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Vstack S0 Decompose trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Vstack S0 Decompose ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Vstack S0 Decompose với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

S0 — Reconstruct and separate the system

Read Layer 0: shared operating rules, this stage and the assigned input bundle.

Role and write scope

Assigned investigators own separate maps and candidate files; a verifier and coordinator check evidence. Target source is read-only.

1. Input

A fixed source revision, existing anchors for deduplication, and existing maps and catalogues when available. Project-specific catalogues stay in the project.

2. Procedure

  1. Build a control map of mutable state, owners and all writers. Label every in-scope subsystem control, data or both, stating each slice for both; use the plane definitions. Write the subsystem list as an ownership table of rules by path, class and function, the most specific rule winning, and check before any census that it partitions the in-scope code: every file, and every class or function of a file that subsystems split, maps to exactly one subsystem or is marked shared with the sharing subsystems named. Settle overlaps in this table, so that two censuses attribute one site to the same subsystem.

  2. Fill the resource matrix: one row per shared mutable resource and subsystem that touches it, with code sites and the feature or switch conditions. Set access to write (changes it), hold (keeps it so others must not change or free it) or read. The matrix is the main table of the census; units are derived from it resource by resource in S1. Attribute sites by these rules:

    • The subsystem whose own code performs the write owns the site, by the ownership table. A subsystem that only calls another subsystem's method is a caller, not a writer, and gets no write row for that call. Exception: when the obligation is about what every holder must do, such as returning what it took exactly once, list every holder with access = hold.
    • Count a constructor write by the lifetime of the object it initialises. It is shared state only when the object is not created for one request or one call, lives across requests or steps (a server-wide pool, cache, scheduler or backend, or a batch object reused from step to step), and another party later reads or writes the field. A constructor of a per-request or per-call object (a request's output parser or stop detector, a per-forward metadata builder) is not shared state; later writes to such an object by another party are ordinary write sites. Record the lifetime (service, request or call) of every constructor site you classify.
    • Search all assignments before saying a field has one writer: search each field and method by its bare name (.slots =, free(), not only a qualified form, across the whole package rather than the files read for a property.

    For Python sources, use check_anchors.py with the anchor table and review its coverage limits.

  3. Map data and computation consumers and their unchecked preconditions. At each boundary, map the producer, consumer, execution context, overwrite time and synchronization. Classify every in-scope file. Classify each boundary as a state or parameter edge, recording the criterion and any value range used.

  4. Run the writer census as a task of its own: a census worker does not also write property clauses or unit rows in that task. Have two workers independently perform each resource's writer census and boundary classification without seeing each other's output. The coordinator lists and settles every difference, classifying each as a missed shared write, not shared state, or one site attributed to different subsystems (settled by the ownership table); a count of extra sites in one census is not a count of missed writers. Retain both censuses and the settlement record. Every later correction of a census row (by the settlement, a second pass or a review) goes into a census-correction record (scripts/check_census_fixes.py --template): who, which row, the wrong and the right value, its kind and path:line evidence; then apply it to the table.

  5. Record facts with path:line@commit and short source excerpts. Keep unsupported inferences explicitly unverified.

  6. Search the target and related systems by component. Record every examined candidate, rejection reason and search coverage. Confirm buggy triggers and fixed behavior on the stated revisions; a closed issue is not evidence that a fix merged.

  7. Test critical physical and synchronization assumptions on the real system before treating them as axioms, using authorized resources.

  8. For the full adequacy readout, freeze each slice's historical-fix denominator I_U with its exclusion reason codes and SHA-256. The coordinator then draws the calibration set by a published seed and seals the blind set H, removing every trace of H from the maps handed downstream.

3. Exit checks

  • Require zero evidence schema errors and a positive checked-item count. The source KB checker is repository-specific and is not bundled.
  • Have the verifier and coordinator review original source and bind review marks to its content. This review is manual.
  • Classify every file, label unsupported claims and deduplicate upstream identifiers. These checks have no generic automation.
  • Documented-only: review every subsystem's plane slices, the ownership table's partition, resource accesses and conditions, constructor lifetimes, boundary kind and criterion, and the two independent censuses with all differences settled and classified. No generic completeness or partition checker is bundled.
  • Partly manual: run check_anchors.py for Python sources and review the resource matrix against source; its scan does not establish a complete writer census or correct edge classification.
  • Mechanical: scripts/check_census_fixes.py FIXES.tsv --table NAME=MATRIX --source SOURCE refuses a correction without its evidence or one the table does not hold yet; scripts/check_names.py SOURCE MATRIX --column ... refuses a row naming a class, function or field absent from the pinned source (name check).
  • Keep disproved anchors. Rename an unsupported historical Bug* switch to Mut*; do not count it as historical calibration.

4. Rollback

An invalid physical assumption reopens the boundary map. A downstream report of a missing state writer returns here with the pinned source location. Use a rollback ticket.

Concrete Examples

For a PD KV slot, map every writer of ownership and in-flight state, then record the producer-to-consumer handoff. An unsupported historical-bug claim stays a mutation hypothesis until pinned code supports it.

Câu hỏi thường gặp

Kỹ năng AI Vstack S0 Decompose làm được gì?

Map a pinned system into control, data and boundary views and build evidence-backed historical anchors before verification.

Vì sao nên dùng Vstack S0 Decompose trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Vstack S0 Decompose là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Vstack S0 Decompose trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/hao-ai-lab/vstack/tree/main/skills/vstack-s0-decompose. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Vstack S0 Decompose?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Vstack S0 Decompose với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Vstack S0 Decompose với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Vstack S0 Decompose có miễn phí không?

Có. Kỹ năng này được hao-ai-lab phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇