Vstack S0 Decompose logo

Vstack S0 Decompose

Organization
hao-ai-lab
vstack-s0-decompose

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

Overview

Publisherhao-ai-lab
Repositoryvstack
Skill namevstack-s0-decompose
Stars
104
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hao-ai-lab on GitHub. Read the source before you install it.

Installation

Install the Vstack S0 Decompose AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hao-ai-lab/vstack/tree/main/skills/vstack-s0-decompose
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Vstack S0 Decompose in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Vstack S0 Decompose on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Vstack S0 Decompose is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Vstack S0 Decompose AI skill do?

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

Why use Vstack S0 Decompose on TypingMind?

Because you install it once and use it with any model. Vstack S0 Decompose is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Vstack S0 Decompose in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hao-ai-lab/vstack/tree/main/skills/vstack-s0-decompose. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Vstack S0 Decompose?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Vstack S0 Decompose?

As many as you like. As long as a model supports skills, you can use Vstack S0 Decompose with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Vstack S0 Decompose AI skill free?

Yes. It is published on GitHub by hao-ai-lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇