sc-in-silico-perturbation

sc-in-silico-perturbation is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 77 tokens per session (1,315 once invoked), scanned A, original, Apache-2.0.

A computational prediction of what might happen if a selected gene were switched off in single-cell RNA sequencing data. It estimates affected genes and pathways from data that was not actually perturbed in the laboratory.

In plain words
What is it for?
Use it to rank genes and regulatory changes expected after an in-silico knockout and inspect the predicted effects in tables and plots.
Why use it?
It lets you explore possible knockout effects before running a real CRISPR or other gene-editing experiment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to rank genes and regulatory changes expected after an in-silico knockout and inspect the predicted effects in tables and plots.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/sc-in-silico-perturbation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TianGzlab/OmicsClaw --skill sc-in-silico-perturbation
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sc-in-silico-perturbation

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-in-silico-perturbation/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-in-silico-perturbation)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-in-silico-perturbation"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-in-silico-perturbation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sc-in-silico-perturbation

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-in-silico-perturbation"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-in-silico-perturbation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,315 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 3
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.01315
Opus 5.5 $0.00031 $0.00526
Sonnet 5.5 $0.00015 $0.00263
Haiku 4.5 $0.00008 $0.00131

Measured 1mo ago against content hash ca09a4a62fa9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sc-in-silico-perturbation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (_api.py, examples/example_step.py, sc_in_silico_perturbation.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/singlecell/scrna/sc-in-silico-perturbation/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sc-in-silico-perturbation

Explore descriptive gene associations or run the optional scTenifoldKnk R method. The default grn_ko name is retained for CLI compatibility; its Pearson edge-removal score is not a causal knockout simulation or a significance test.

Method Selection Table

Method What it returns Requirement
grn_ko Absolute correlation edge-removal scores; no p-values Python science stack
sctenifoldknk R scTenifoldKnk differential-regulation table Rscript + scTenifoldKnk

Key CLI

python skills/singlecell/scrna/sc-in-silico-perturbation/sc_in_silico_perturbation.py --demo --output /tmp/sc_iko_demo
python skills/singlecell/scrna/sc-in-silico-perturbation/sc_in_silico_perturbation.py --input expression.h5ad --ko-gene TP53 --n-top-genes 2000 --output results/associations
python skills/singlecell/scrna/sc-in-silico-perturbation/sc_in_silico_perturbation.py --input expression.h5ad --method sctenifoldknk --ko-gene TP53 --seed 0 --n-cores 1 --output results/tenifold

--corr-threshold is an inactive legacy argument; it never thresholded the correlation matrix. The API intentionally does not expose it.

Workflow

Preflight checks the target gene. grn_ko selects high-variance genes plus the target, computes Pearson correlations, zeros the target row/column and averages absolute changes by gene. The target's own score summarizes all its removed edges; other genes lose one edge. R uses the existing temporary CSV bridge and sets set.seed before fitting. No backend is silently substituted.

Matrix Contract

Reads raw_counts from layers['counts'] when present, otherwise X. Inputs are unchanged by the API; returned table metadata records the chosen source. CLI processed.h5ad carries omicsclaw_input_contract and omicsclaw_matrix_contract. Use sc-perturb for an actual perturbation screen.

Inputs & Outputs

Input: expression .h5ad with --ko-gene in var_names. The CLI writes processed.h5ad, tables/diff_regulation.csv, report.md, result.json, figures/top_perturbed_genes.png, and figure/plot-data manifests. The default table has gene, dr_score, wt_ko_corr; only perturbation_dr_score is added to var. R additionally writes tables/tenifold_diff_regulation.csv and may produce a p-value histogram and statistical var columns. R-enhanced volcano plots require R statistical output; they are not made for correlation scores.

Read the full file on GitHub · 112 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -6 lines ca09a4a62fa9
  2. 2mo ago First seen · 118 lines · 77 tokens per session scan A aec9f7400682

Subscribe to this mod's changes

sc-in-silico-perturbation is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 77 tokens to every session and 1,315 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

sc-in-silico-perturbation compared with skills from other repositories

sc-in-silico-perturbation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sc-in-silico-perturbationTianGzlab/OmicsClawSkill1611mo agoApache-2.0A77Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
Virtual Embryo — atlas data + knowledge grapharistoteleo/PantheonOSSkill499todayBSD-2-ClauseA170Claude Code, Codex
Single-Cell Analysis Skills Indexaristoteleo/PantheonOSSkill499todayBSD-2-ClauseA48Claude Code, Codex
cellxgene-census-queryPharMolix/OpenBioMedSkill1.1k4mo agoMITA105Claude Code, Codex
single-cell-scrna-seq-analysis-scanpyPharMolix/OpenBioMedSkill1.1k4mo agoMITA85Claude Code, Codex
single-cell-multi-omics-analysis-scviPharMolix/OpenBioMedSkill1.1k4mo agoMITA94Claude Code, Codex