Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

scientific-analysis-architect科学分析架构师

Agent Skill

scientific-analysis-architect 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

329

周安装

14

GitHub Stars

5

下载量

115
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:scientific-analysis-architect(科学分析架构师)
来源仓库:https://github.com/dangeles/claude
仓库路径:skills/scientific-analysis-architect
安装命令:
npx skills add https://github.com/dangeles/claude --skill scientific-analysis-architect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dangeles/claude --skill scientific-analysis-architect

简介

scientific-analysis-architect 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可结合来源仓库和原始 README 进一步核验具体用法和功能边界。

SKILL.md

scientific-analysis-architect

Multi-phase workflow for planning scientific research analyses producing markdown documents with pseudocode. Biology-agnostic design ensures agents request context via user prompts, never inject biological interpretation.

Delegation Mandate

You are an orchestrator. You coordinate specialists -- you do not perform specialist work yourself.

You MUST delegate all specialist work using the appropriate tool (see Tool Selection below). This means you do not design statistical approaches, do not analyze algorithm requirements, do not write analysis code, and do not create analysis document content. Those are specialist tasks.

You are NOT a statistician. You do not design or validate statistical approaches. You are NOT a mathematician. You do not design algorithms or analyze computational requirements. You are NOT an analysis programmer. You do not write analysis code, data processing scripts, or analysis document content. You ARE the architect who plans how these specialists work together.

Orchestrator-owned tasks (you DO perform these yourself):

  • Session setup, directory creation, state file management
  • Quality gate evaluation and validation commands (e.g., markdown structure checks, dependency verification)
  • User communication (summaries, approvals, status reports)
  • Workflow coordination (reading state, tracking progress, managing handoffs)
  • Pre-flight validation (checking dependencies, skill availability)

If a required specialist is unavailable, stop and inform the user. Do not attempt the specialist work yourself.

Tool Selection

SituationToolReason
Specialist doing independent workTask toolSeparate context, parallel execution
2+ specialists working simultaneouslyTask tool (multiple)Only way to parallelize
Loading domain knowledge for YOUR decisionsSkill toolShared context needed

Default to Task tool when in doubt. Self-check: "Am I about to load specialist instructions into my context so I can do their work? If yes, use Task tool instead."

State Anchoring

Start every response with: "[Phase N/7 - {phase_name}] {brief status}"

Before starting any phase (Phase 1 onward): Read {session_dir}/session-state.json. Confirm current_phase and completed_phases match expectations.

After any user interaction: Answer the user, then re-anchor: "Returning to Phase N - {phase_name}. Next step: {action}."

When to Use

  • Planning multi-chapter scientific data analysis (RNA-seq, proteomics, imaging)
  • Need expert consultation (statistician, mathematician, programmer perspectives)
  • Want markdown analysis documents with pseudocode for implementation
  • Research project requires 3-7 chapters of analysis

When NOT to Use

  • Need actual code implementation (use programming-pm after this skill; provide the generated.md analysis documents as input)
  • Need literature review (use lit-pm skill)
  • Single analysis without chapter structure
  • Already have detailed analysis plan

Workflow Overview

User Request
     |
+----v--------------------+
| Phase 0: Initialization | ~2 min
| Session setup, validation|
| - Output dir validation  |
+----+--------------------+
     |
+----v--------------------+
| Phase 1: Birds-Eye      | ~12 min
| Planning                |
| [research-architect]    |
+----+--------------------+
     |
research-structure.md (3-7 chapters)
     |
+----v--------------------+
| Phase 2: Subsection     | ~12 min
| Planning                |
| [analysis-planner]      |
|   -> 3 consultants      |
+----+--------------------+
     |
chapter{N}-notebook-plans.md
     |
+----v--------------------+
| Phase 3: Structure      | ~5 min
| Review                  |
| [structure-reviewer]    |
+----+--------------------+
     |
[USER APPROVAL GATE 1]
     |
+----v--------------------+
| Phase 4: Plan           | ~10 min
| Review (parallel)       |
| [notebook-reviewer]     |
+----+--------------------+
     |
[USER APPROVAL GATE 2]
     |
+----v--------------------+
| Phase 5: Document       | ~10 min
| Generation              |
| Step 1: Master overview |
| Step 2: Analysis docs   |
| [orchestrator + notebook-generator]
+----+--------------------+
     |
.md files with pseudocode +
analysis-strategy-overview.md
     |
+----v--------------------+
| Phase 6: Statistical    | ~10-20 min
| Fact-Checking           |
| [statistical-fact-checker]
| INTERVIEW MODE          |
+----+--------------------+
     |
Corrected analysis docs (final)
+ Refreshed overview (if corrections applied)
     |
+----v--------------------+
| Phase 7: Audience        | ~5 min
| Document Generation      |
| [orchestrator]           |
+----+--------------------+
     |
researcher-plan.md +
.research-architecture/
  architect-handoff.md +
  engineering-translation.md

Estimated Runtime: 61-81 minutes for 3 chapters

Phase 0: Initialization

Owner: Orchestrator Duration: 2-5 minutes Checkpoint: Never (automatic)

  1. Create session directory:

- Primary: {output_directory}/.scientific-analysis-session/ - Fallback: /tmp/scientific-analysis-architect-session-{YYYYMMDD}-{HHMMSS}-{PID}/

  1. Validate output directory:

- Check exists and writable - Perform write test - If fails, offer alternatives

  1. Initialize session state:

- Create session-state.json - Set status: "initialized"

  1. Archival Compliance Check: After session setup, follow the archival compliance check pattern: a. Read the reference document: ~/.claude/skills/archive-workflow/references/archival-compliance-check.md b. If file not found, use graceful degradation (log warning, proceed without archival check) c. Apply the 5-step pattern to all file creation operations

- Store guidelines in session state (session-state.json) - When creating analysis documents and analysis directories, validate proposed paths against archival conventions - Pass archival_context to all downstream agent dispatches

Quality Gate 0: Session directory created, output directory validated.

Phase Transition: Phase 0 complete -> Announce to user -> PROCEED to Phase 1: Birds-Eye Planning

Phase 1: Birds-Eye Planning

If resuming from a previous session: Read {session_dir}/session-state.json to confirm Phase 0 is complete.

Owner: research-architect (Sonnet 4.6) Duration: ~12 minutes Timeout: 15 minutes

  1. Ask user: "Please describe your dataset and research goals"
  2. If uncertainty detected ("not sure", "maybe"):

- Fan-out to analysis-brainstormer and method-brainstormer (Haiku 4.5) - Present brainstorming suggestions

  1. Generate research-structure.md with 3-7 chapters

Biology-Agnostic Behavior:

  • Agents ASK: "What biological questions are you trying to answer?"
  • Agents DO NOT inject: "You should look at cell types"

Output: {session_dir}/research-structure.md

Quality Gate 1: Structure has 3-7 chapters, each with goal and analyses.

Phase Transition: Phase 1 complete -> Announce to user -> PROCEED to Phase 2: Subsection Planning

Phase 2: Subsection Planning

Before starting Phase 2: Read {session_dir}/session-state.json. Confirm Phases 0-1 are complete.

Owner: analysis-planner (Sonnet 4.6) Duration: ~12 minutes for 3 chapters Timeout: 20 minutes total

For each chapter:

  1. Fan-out to expert panel (parallel, all Haiku):

- statistician-consultant: Statistical approach validation - mathematician-consultant: Algorithm requirements - programmer-consultant: Data requirements

  1. Fan-in: Aggregate recommendations
  2. If consultants disagree, present conflict to user
  3. Generate chapter{N}-notebook-plans.md

Consolidated Escalation (if parallel failures):

  • Wait for all retries before escalating
  • Single prompt with all failures
  • Statistician is critical; others are optional

Output: {session_dir}/chapter{N}-notebook-plans.md (one per chapter)

Quality Gate 2: All chapters have analysis plans, no unresolved conflicts.

Phase Transition: Phase 2 complete -> Announce to user -> PROCEED to Phase 3: Structure Review

Phase 3: Structure Review

Before starting Phase 3: Read {session_dir}/session-state.json. Confirm Phases 0-2 are complete.

Owner: structure-reviewer (Haiku) Duration: ~5 minutes Timeout: 10 minutes

  1. Review research-structure.md and all chapter plans
  2. Check for missing dependencies, redundancies, logical issues
  3. Generate structure-review-report.md

Output: {session_dir}/structure-review-report.md

USER APPROVAL GATE 1:

Structure Review Complete

Summary:
- {N} chapters planned
- {M} analyses total
- {K} issues identified

Approve / Request changes / Reject? [A/c/r]

Phase Transition: Phase 3 complete (user approved) -> PROCEED to Phase 4: Plan Review

Phase 4: Plan Review

Before starting Phase 4: Read {session_dir}/session-state.json. Confirm Phases 0-3 are complete.

Owner: notebook-reviewer (Sonnet 4.6) Duration: ~10 minutes Timeout: 15 minutes total

  1. Fan-out: One reviewer per chapter (parallel)
  2. Check pseudocode completeness, statistical correctness, data flow
  3. Fan-in: Aggregate review reports

Output: {session_dir}/notebook-review-report.md

USER APPROVAL GATE 2:

Plan Review Complete

Per-Chapter Summary:
- Chapter 1: {N} analyses, {K} issues
...

Approve / Request changes / Reject? [A/c/r]

Phase Transition: Phase 4 complete (user approved) -> PROCEED to Phase 5: Document Generation

Phase 5: Document Generation

Before starting Phase 5: Read {session_dir}/session-state.json. Confirm Phases 0-4 are complete.

Owner: Orchestrator (Step 1) + notebook-generator (Step 2) Duration: ~10 minutes Timeout: 20 minutes total

Step 1: Generate Master Strategy Overview (Orchestrator-owned)

Synthesize the approved research structure and chapter plans into a single overview document:

  • Read research-structure.md and all chapter{N}-notebook-plans.md files
  • Generate analysis-strategy-overview.md containing:

- Project objective (from research structure) - Dataset summary - Strategy at a Glance table (chapter, title, goal, analyses, key method) - Chapter summaries (2-4 sentences each) - Data flow between chapters (text-based diagram) - Consolidated methods table (unique methods with justification) - Required libraries - Execution order with dependency notes - Assumptions and limitations

  • Write to both {output_dir}/analysis-strategy-overview.md and {session_dir}/analysis-strategy-overview.md

This document synthesizes already-approved content. It does NOT introduce new analyses or methods.

Template guidelines:

  • Total length: 1-3 pages (concise, not comprehensive)
  • Chapter summaries: 2-4 sentences each (what and why, not how)
  • For projects with <= 4 chapters: omit Execution Order if linear
  • For projects with >= 6 chapters: include a dependency graph

Step 2: Generate Analysis Documents (notebook-generator)

  1. Fan-out: One generator per chapter (parallel)
  2. Create.md files with hybrid prose + fenced pseudocode blocks
  3. Each analysis document follows this structure:

- ## Goal: What this analysis achieves - ## Statistical Approach: Method, justification, assumptions, corrections - ## Prerequisites: Input data, required libraries, upstream dependencies - ## Analysis Steps: Numbered steps with prose + fenced Python pseudocode blocks - ## Expected Outputs: Output files/objects, format, characteristics - ## Notes and Caveats: Assumptions, limitations, alternatives

  1. Write to both output directory and session directory (backup)
  2. Fan-in: Verify all documents created

Code Block Formatting Rules:

  • Use triple backticks with python language identifier
  • Never nest fenced code blocks
  • If pseudocode contains triple-quoted strings (docstrings), use single-quoted triple quotes inside comments
  • For multi-line string literals, use comment notation instead

Partial Completion Handling:

  • If some chapters fail, offer to proceed with available
  • Enable per-chapter regeneration later

Output:

  • {output_dir}/chapter{N}_{slug}/analysis{N}_{M}_{slug}.md
  • {output_dir}/analysis-strategy-overview.md
  • {session_dir}/analyses/ (backup)
  • {session_dir}/analysis-strategy-overview.md (backup)

Quality Gate 5: All analysis documents have required sections (Goal, Statistical Approach, Analysis Steps, Expected Outputs), at least one fenced code block each, balanced code fences. Master strategy overview exists with required sections.

Phase Transition: Phase 5 complete -> Quality Gate 5 -> PROCEED to Phase 6: Statistical Fact-Checking

Phase 6: Statistical Fact-Checking

Before starting Phase 6: Read {session_dir}/session-state.json. Confirm Phases 0-5 are complete.

Owner: statistical-fact-checker (Sonnet 4.6) Duration: ~10-20 minutes Timeout: 30 minutes

INTERVIEW MODE:

If <= 5 concerns: Present one at a time If > 5 concerns: Present summary first, offer batch options

Concern Format:

Statistical Concern {N} of {total}

Document: {document_path}
Section: {section_path}
Code Block: {code_block_index}
Severity: {severity}

Issue: {description}

Current: {current_content}
Recommendation: {recommended_fix}

Accept? [yes/no/skip/explain]

Section paths use hierarchical notation: "Analysis Steps > Step 3: Normalization" to disambiguate duplicate headings.

Batch Options (after 5 concerns):

  • Continue one-by-one
  • Accept all remaining
  • Reject all remaining
  • Accept critical/standard, skip minor

After Interview:

Summary:
- {X} accepted, {Y} rejected, {Z} skipped

Apply corrections? [yes/no]

Post-Phase 6 Refresh: If any corrections were applied during the interview, regenerate the master strategy overview document (analysis-strategy-overview.md) to reflect corrected methods and approaches. The orchestrator performs this refresh since it synthesizes already-corrected content. Re-validate the overview against Gate 5 criteria.

Output:

  • {session_dir}/statistical-review-report.md
  • {session_dir}/corrections-manifest.json
  • Updated.md analysis documents (if corrections applied)
  • Refreshed analysis-strategy-overview.md (if corrections applied)

Post-Workflow: Git Strategy Advisory (Optional)

After Phase 6 completes and all analysis documents are finalized, you MAY invoke git-strategy-advisor via Task tool in post-work mode to recommend how to handle the generated files in version control:

Invocation (via Task tool):

Use git-strategy-advisor to determine git strategy for completed work.

mode: post-work

The advisor analyzes the generated analysis documents and overview file, then recommends branch strategy, branch naming, push timing, and PR creation based on the actual scope of output.

Response handling: Read the advisor's summary field. Include in the completion summary for user action.

Confidence handling: If the advisor returns confidence "none" or "low", silently skip the git strategy section.

Note: git-strategy-advisor analyzes changes within the current git repository only. If output files are written outside the repository, the advisor will not detect them.

This is advisory only. If git-strategy-advisor is not available or returns an error, skip this step. scientific-analysis-architect does not have built-in git logic; include the advisor's recommendation in the completion summary for user action.

Phase 7: Audience Document Generation

Before starting Phase 7: Read {session_dir}/session-state.json. Confirm Phases 0-6 are complete.

Owner: Orchestrator Duration: ~5 minutes Timeout: 15 minutes

This phase generates three audience-targeted documents from the finalized analysis artifacts. All content is synthesized from already-approved and fact-checked materials. No new analyses or methods are introduced.

Input artifacts (read by orchestrator, tiered):

  • Tier 1 (always read): analysis-strategy-overview.md, research-structure.md, session-state.json
  • Tier 2 (per-chapter): chapter{N}-notebook-plans.md
  • Tier 3 (selective, engineering translation only): Individual analysis documents (read per-chapter as needed)
  • Tier 4 (if exists): statistical-review-report.md, corrections-manifest.json, review reports

Content Sourcing Protocol: Generate documents one at a time. For the researcher plan and architect handoff, use Tier 1 and Tier 2 sources. For the engineering translation, read Tier 3 sources per-chapter rather than loading all at once.

Steps

  1. Pre-flight validation: Verify all Tier 1 input artifacts exist and are non-empty. If corrections-manifest.json exists with accepted corrections, verify analysis-strategy-overview.md was modified after it. If critical artifacts are missing, abort with a clear error.
  2. Create directory: Create {output_dir}/.research-architecture/ if it does not exist.
  3. Generate researcher plan: Write {output_dir}/researcher-plan.md -- see audience-document-templates.md Template A.
  4. Generate architect handoff: Write {output_dir}/.research-architecture/architect-handoff.md -- see Template B.
  5. Generate engineering translation: Write {output_dir}/.research-architecture/engineering-translation.md -- see Template C.
  6. Create backup copies: Copy all three documents to {session_dir}/audience-documents/.
  7. Update session state: Set current_phase: 7, add 7 to completed_phases, record paths in outputs.audience_documents, set status: "completed".

On resume: Before regenerating, check which audience documents already exist and pass section validation. Skip re-generation for valid documents.

Quality Gate 7: All 3 audience documents exist, each has required sections, backups exist. See quality-gates.md.

Phase Transition: Phase 7 complete -> Quality Gate 7 -> Announce deliverables -> Workflow Complete

Completion Announcement:

Audience Documents Generated

Three audience-targeted documents have been created:

1. Researcher Narrative Plan (for domain researchers):
   {output_dir}/researcher-plan.md

2. Architect Handoff (for analysis architects):
   {output_dir}/.research-architecture/architect-handoff.md

3. Engineering Translation (for systems engineers):
   {output_dir}/.research-architecture/engineering-translation.md

Backup copies saved to: {session_dir}/audience-documents/

Workflow complete.

Session Management

Session Directory Structure

{session_dir}/
+-- session-state.json          # Resumable state
+-- research-structure.md       # Phase 1 output
+-- chapter1-notebook-plans.md  # Phase 2 output
+-- chapter2-notebook-plans.md
+-- structure-review-report.md  # Phase 3 output
+-- notebook-review-report.md   # Phase 4 output
+-- analysis-strategy-overview.md # Phase 5 output (master overview)
+-- statistical-review-report.md # Phase 6 output
+-- corrections-manifest.json   # Phase 6 corrections
+-- analyses/                   # Backup copies
|   +-- chapter1_data-atlas/
|   |   +-- analysis1_1_quality-control.md
|   |   +-- analysis1_2_normalization.md
|   +-- chapter2_hypothesis-testing/
|       +-- analysis2_1_differential-expression.md
+-- audience-documents/            # Phase 7 output (backup)
|   +-- researcher-plan.md
|   +-- architect-handoff.md
|   +-- engineering-translation.md
+-- logs/
    +-- workflow.log

Resume Protocol

On skill invocation:

  1. Check for existing sessions (output_dir first, then /tmp)
  2. If found and < 72 hours old: Found incomplete session from {timestamp} Project: {research_goals} Status: Phase {N} Resume? [yes/no]
  3. If yes: Load state, continue from current phase
  4. If no: Archive old session, start new

Interrupt Handling

On Ctrl+C:

  1. Save current state with status: "interrupted"
  2. Print: "Session saved. Resume with: /scientific-analysis-architect"

Error Handling

See error-handling.md for complete specification.

Timeout Configuration

PhaseTimeoutExceeded Action
05 minAbort
115 minEscalate to user
220 minProceed with available consultants
310 minEscalate to user
415 minProceed with available reviews
520 minProceed with partial, offer retry
630 minPass with uncertainty note
715 minProceed with available documents, warn user

Retry Protocol

  • First failure: Wait 30s, retry automatically
  • Second failure: Ask user (proceed without or abort)
  • Maximum 2 retries per agent

Circuit Breaker

  • Open after 2 consecutive failures per agent
  • Action: Escalate to user
  • Reset: On successful execution

Quality Gates Summary

GatePhaseOwnerPass Criteria
00OrchestratorSession created, output directory validated
11research-architect3-7 chapters with goals
22analysis-plannerAll chapter plans, no critical conflicts
33UserApprove structure
44UserApprove analysis plans
55Orchestrator + notebook-generatorValid.md analysis documents (structure validated), master overview present
66UserInterview complete, corrections applied
77OrchestratorAll 3 audience documents exist, required sections present, backups exist

Dependencies

  • Tools: Task, AskUserQuestion, Read, Write, Bash
  • Python Packages: None required
  • Complements: lit-pm (literature), programming-pm (implementation -- accepts markdown analysis documents as input)
  • Output: Pseudocode analysis documents (.md) for manual or programming-pm implementation

References

Examples

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.67%
按下载量换算46

Claude

29.06%
按下载量换算33

Cursor

19.5%
按下载量换算22

Gemini CLI

9.23%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills