Logo vun Analysis Workflow

Analysis Workflow

CommunautéitBeléift
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.

Iwwersiicht

Editeurxuzhougeng
Repositorywisp-science
Skill-Nummanalysis-workflow
Stären
1K
Forks
104
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum xuzhougeng op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Analysis Workflow an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/xuzhougeng/wisp-science/tree/main/skills/analysis-workflow
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-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 nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Analysis Workflow an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Analysis Workflow automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Analysis Workflow net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-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.

Firwat Analysis Workflow op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Analysis Workflow besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Analysis Workflow an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/xuzhougeng/wisp-science/tree/main/skills/analysis-workflow an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Analysis Workflow benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Analysis Workflow benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Analysis Workflow domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Analysis Workflow gratis?

Jo. De Skill gëtt vum xuzhougeng ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇