Analysis Workflowのロゴ

Analysis Workflow

コミュニティ人気
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.

概要

公開者xuzhougeng
リポジトリwisp-science
スキル名analysis-workflow
スター
1K
フォーク
104
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    xuzhougengがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAnalysis WorkflowをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/xuzhougeng/wisp-science/tree/main/skills/analysis-workflow
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAnalysis Workflowを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAnalysis Workflowを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Analysis Workflowは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「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.

TypingMindでAnalysis Workflowを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Analysis Workflowはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAnalysis Workflowをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/xuzhougeng/wisp-science/tree/main/skills/analysis-workflowを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Analysis Workflowを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Analysis Workflowは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAnalysis Workflowを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Analysis Workflow」は無料ですか?

はい。xuzhougengがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇