AGENT SKILL

visualization-and-results

Handle CellTypist AnnotationResult exports, AnnData insertion, UMAP plots, and dotplots safely.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
visualization-and-results
license
MIT
metadata
{ "disco-role": "operating" }
description
Handle CellTypist AnnotationResult exports, AnnData insertion, UMAP plots, and dotplots safely.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Visualization and Results

Use this sub-skill after a CellTypist annotation already produced an AnnotationResult and the user needs summaries, exported tables, AnnData metadata, UMAP figures, or prediction-vs-reference dotplots.

Route Here When

  • The user asks what is inside predictions.predicted_labels, predictions.decision_matrix, predictions.probability_matrix, or predictions.adata.
  • The task is to export CSV or Excel tables with AnnotationResult.to_table().
  • The task is to insert labels, confidence scores, decision scores, or probabilities into AnnData with AnnotationResult.to_adata().
  • The task is to create CellTypist UMAP plots with AnnotationResult.to_plots() or compare predictions against manual labels/clusters with celltypist.dotplot().
  • The task is to debug missing majority_voting, missing conf_score, dotplot reference mismatches, output folder errors, or slow UMAP computation.

Route Elsewhere

Working Pattern

  1. Inspect the result shape first: predictions, predictions.predicted_labels.head(), and predictions.summary_frequency(by="predicted_labels").
  2. Choose the output form: to_table() for files, to_adata() for downstream Scanpy workflows, to_plots() for quick UMAP files, or celltypist.dotplot() for comparing predictions to manual labels/clusters.
  3. Decide whether the workflow uses raw labels (predicted_labels) or majority-voted labels (majority_voting); do not request majority-voting confidence or dotplots unless that column exists.
  4. Validate exported artifacts with scripts/result_shape_check.py before plotting or handing files downstream.
  5. Use references/troubleshooting.md when an output folder, majority-voting column, reference labels, order lists, or UMAP step fails.

References

  • Result objects and exports: AnnotationResult attributes, summary_frequency(), to_table(), and to_adata().
  • Plotting and dotplots: to_plots() UMAP behavior, celltypist.dotplot() semantics, order/filter behavior, and interpretation.
  • Troubleshooting: focused fixes for output folders, majority voting, UMAP compute, dotplot label mismatches, and shape validation.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351