Vstack S0 Decompose 标志

Vstack S0 Decompose

组织
hao-ai-lab
vstack-s0-decompose

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

概览

发布者hao-ai-lab
代码仓库vstack
技能名称vstack-s0-decompose
星标数
104
复刻数
6
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 hao-ai-lab 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Vstack S0 Decompose AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/hao-ai-lab/vstack/tree/main/skills/vstack-s0-decompose
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Vstack S0 Decompose,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Vstack S0 Decompose。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Vstack S0 Decompose 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Vstack S0 Decompose AI 技能有什么作用?

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

为什么在 TypingMind 中使用 Vstack S0 Decompose?

因为您只需安装一次,就能搭配任何模型使用。Vstack S0 Decompose 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Vstack S0 Decompose?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hao-ai-lab/vstack/tree/main/skills/vstack-s0-decompose。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Vstack S0 Decompose?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Vstack S0 Decompose 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Vstack S0 Decompose 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Vstack S0 Decompose AI 技能免费吗?

是的。hao-ai-lab 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇