agent-infini
Use the InfiniSynapse CLI (`agent_infini`) for multi-turn AI data-analysis tasks,…
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
$ npx -y skills add xuzhougeng/wisp-science --skill analysis-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/analysis-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
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
name: analysis-workflow description: "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." license: Apache-2.0 wisp: schema_version: 1 domains: [bioinformatics] research_stages: [observation, analysis, validation] roles: [analyst, validator] evidence_types: [project-data, omics, computational] outputs: [analysis-module] side_effects: code_execution
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.
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.
Create only directories the module actually needs:
<module>/ ├── scripts/ ├── input/ ├── output/ │ ├── figures/ │ └── tables/ └── README.md
canonical data. Do not duplicate a large dataset by default.
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.
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:
runtime, declaring the input bindings with `required_objects`;
cell; analysis scripts consume the loaded object and must not reload it;
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.
Create or update these sections:
# <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.
Record direct dependencies used by the module:
the runtime context.
file when it is the authoritative environment record.
date plus endpoint/source.
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.
After all modules pass their checks, summarize the dependency chain and link the module READMEs. Treat those READMEs as the first-version
The open-source, local-first AI research workbench. WISP — Workspace for Intelligent Scientific Practice Search the literature, run Python and R, query ~80 scientific databases, and keep the trail — figures, runs, decisions, and drafts — in one project.
Use the InfiniSynapse CLI (`agent_infini`) for multi-turn AI data-analysis tasks,…
Use this skill to drive Wisp Browser Runtime sessions (shared daily Chrome or workspace…
Set up and validate a reproducible Python or R environment on a Wisp execution context. Use…
Use Cua Driver through MCP to inspect and operate the user's native desktop apps on Windows,…
Author a Wisp custom theme CSS file that uses documented tokens and import constraints. Use…