Logo van Analysis Workflow

Analysis Workflow

CommunityPopulair
xuzhougeng
analysis-workflow

Organize multi-step scientific analyses into reproducible, self-contained modules. Use for workflows such as QC→PCA→DEG→GSEA that produce scripts, inputs, figures, tables, and methods. Creates a stable module layout, records exact inputs/parameters/package and database versions in each module README, keeps large data as references instead of copies, and verifies outputs before completion.

Overzicht

Uitgeverxuzhougeng
Repositorywisp-science
Skillnaamanalysis-workflow
Sterren
1K
Forks
104
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door xuzhougeng op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Analysis Workflow in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/xuzhougeng/wisp-science/tree/main/skills/analysis-workflow
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xuzhougeng/wisp-science.git /tmp/wisp-science
mkdir -p .claude/skills
cp -r /tmp/wisp-science/skills/analysis-workflow .claude/skills/analysis-workflow
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Analysis Workflow in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Analysis Workflow automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Analysis Workflow niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Reproducible Analysis Modules

Use this skill for a scientific workflow with two or more analysis stages or when a stage produces scripts plus result files. It defines project organization and methods capture; load figure-style as well whenever a stage creates or revises a plot.

1. Plan module boundaries

Before writing outputs, list the modules and the dependency edges between them. Use stable ASCII names. Conventional acronyms such as QC, PCA, DEG, and GSEA may stay uppercase; otherwise prefer a short kebab-case name.

Respect a compatible layout that already exists. Do not reorganize unrelated user files merely to impose this convention.

2. Default module layout

Create only directories the module actually needs:

text
<module>/
├── scripts/
├── input/
├── output/
│   ├── figures/
│   └── tables/
└── README.md
  • scripts/ contains the executable source for this module.
  • input/ contains small module-specific inputs or a manifest/reference to the canonical data. Do not duplicate a large dataset by default.
  • output/figures/ contains rendered figures from this module only.
  • output/tables/ contains machine-readable results from this module only.
  • README.md is the module's reproducibility record and methods source.

Shared immutable/raw data may live in project-level data/. A downstream module references an upstream output by a project-relative path; it does not silently copy or rename that output.

3. Make outputs attributable

Every output must have one producing script or recorded command. Use deterministic filenames that identify the analysis and content. Keep temporary files outside the final output directories or name them clearly as temporary.

Script persistence and process lifetime are separate concerns. Wisp's python and r runtimes retain variables and loaded objects across calls and can execute saved scripts. shell and run_in_context execute commands in fresh processes. Choose according to the user's workflow, state reuse, script requirements, and task lifecycle, using the selected environment in either case.

When an analysis depends on an expensive object already loaded in a Python or R runtime:

  • keep the reproducible analysis in a project-local .py or .R file;
  • execute that file with the python/r tool's script_path in the same runtime, declaring the input bindings with required_objects;
  • keep heavyweight loading in a separate bootstrap script or explicit loader cell; analysis scripts consume the loaded object and must not reload it;
  • use run_in_context, python file.py, or Rscript only for a deliberately fresh, state-independent batch execution.

For standalone execution, record the script path and exact command. For runtime execution, record the script path and returned source hash/runtime generation in the module README. For clean-room replay, an optional batch wrapper may load the data once and then call the same analysis functions; it is not the default hot-iteration path.

Before completing a module, verify:

  1. every declared output exists and is non-empty;
  2. every table can be parsed in its declared format;
  3. every figure was rendered and visually inspected using figure-style;
  4. README input and output paths resolve from the project root;
  5. reported thresholds and parameters match the actual script.

4. Update README.md at module completion

Create or update these sections:

markdown
# <Module>

## Purpose
<scientific question and role in the workflow>

## Inputs
- `<project-relative path>` — source, upstream module, checksum or version when available

## Methods
<method in prose, including transformations, statistical tests, correction method,
thresholds, seeds, and other result-changing parameters>

## Software and data sources
- R/Python package: exact version
- External API/database: release or access date
- Wisp/model/runtime metadata: exact recorded value when available

## Commands and scripts
- `<project-relative script>` — how it was executed

## Outputs
- `<project-relative path>` — meaning and format

## Limitations
<assumptions, exclusions, and unresolved reproducibility gaps>

Write methods from executed code and recorded parameters, not from a generic template. Do not claim a package, database, model, OS, or version that was not actually used or observed.

5. Capture exact versions without dumping the world

Record direct dependencies used by the module:

  • R: packageVersion("<package>") for named packages and sessionInfo() for the runtime context.
  • Python: importlib.metadata.version("<distribution>"); use the project lock file when it is the authoritative environment record.
  • External databases/APIs: release identifier when available, otherwise access date plus endpoint/source.
  • Wisp version and model profile: use runtime/session metadata only when it is available. Write unavailable rather than guessing.

Do not paste an entire global pip freeze into every module. If a complete environment export is useful, save it once as a separate artifact and link it from the README.

6. Finish the workflow

After all modules pass their checks, summarize the dependency chain and link the module READMEs. Treat those READMEs as the first-version source of truth. Generate a root METHODS.md only when the user asks for it or a deterministic project tool can derive it from the module records; do not maintain a second hand-edited copy that can drift.

Veelgestelde vragen

Wat doet de AI-skill Analysis Workflow?

Organize multi-step scientific analyses into reproducible, self-contained modules. Use for workflows such as QC→PCA→DEG→GSEA that produce scripts, inputs, figures, tables, and methods. Creates a stable module layout, records exact inputs/parameters/package and database versions in each module README, keeps large data as references instead of copies, and verifies outputs before completion.

Waarom Analysis Workflow gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Analysis Workflow bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Analysis Workflow in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/xuzhougeng/wisp-science/tree/main/skills/analysis-workflow. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Analysis Workflow gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Analysis Workflow gebruiken?

Zoveel als je wilt. Je kunt Analysis Workflow gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Analysis Workflow gratis?

Ja. Deze skill is door xuzhougeng op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇