一键导入
genomi
Use this skill for genetics, genome source, variant, gene, phenotype, disease, screen, pharmacogenomics, and Genomi install/setup maintenance questions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use this skill for genetics, genome source, variant, gene, phenotype, disease, screen, pharmacogenomics, and Genomi install/setup maintenance questions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build and inspect ClinVar exact-match evidence and candidate inventories. Use for clinical labels, VUS/conflict, carrier context, and drug-response rows.
Activate this skill for "/genomi decode", "decode my genome", "decode my DNA", "show me the dashboard", "the Genomi dashboard", "one-shot rundown", or any all-at-once request that asks Genomi to compose every capability's findings into a single artifact. This is the whole-genome dashboard kicker — it sweeps every relevant Genomi capability in one shot, not a per-target lookup. Composes evidence from every relevant Genomi capability into a single self-contained Genomi Dashboard.html and returns localhost serve metadata. Active genome required.
Answer drug-response, medication, PharmGKB-style, PGxDB, ATC, DrugBank, gene-drug, and variant-drug questions using public PGx evidence plus local sample genotype support when an Active Genome Index is selected.
Plan rare disease, hereditary disease, cancer risk, carrier-relevance, and observed-condition source investigation from public targets or selected active genome evidence.
Answer specific rsID, allele, gene, region, genotype, and absence/callability questions using explicit session context or public evidence.
Register, parse, and digitize private genome source files into a local Active Genome Index and supporting evidence stores. Use when the session explicitly supplies a VCF/gVCF, BAM, genome.computer .genome/1.0 bundle, 23andMe raw genotype export, AncestryDNA raw genotype export, MyHeritage raw genotype export, FamilyTreeDNA Family Finder export, Living DNA autosomal export, supported source zip/tar, or known Active Genome Index.
| name | genomi |
| description | Use this skill for genetics, genome source, variant, gene, phenotype, disease, screen, pharmacogenomics, and Genomi install/setup maintenance questions. |
Genomi gives agents local tools for genetics and DNA-aware evidence work. Use it when the user's request is about variants, genes, phenotypes, disease genes, biological screens, medication response, ancestry reference-panel context, polygenic-score context, or a genome source.
Call Genomi through the MCP server: mcp__genomi__<operation> (or your
host's equivalent namespace).
If those tools are missing from the current session's tool list but the host's MCP list shows Genomi connected, the session pre-dates the server's registration. Ask the user to start a new session.
active_genome_index.approve_access before calling those tools.genomi.describe_context,
genomi.check_libraries, and tool result envelopes for changing context.status="in_progress", call
genomi.check_background_job with the returned job_id. Do not retry the
same work with a capped parse or raw text scan unless the user asks for that
fallback.parameterDefaults; returned results include defaults_applied for omitted
defaults so the host agent can inspect and override them in a follow-up call
when the user intent requires it.dependencyContract when a tool needs local
installed libraries or external network/API sources. Missing local libraries
return requires_library_install; unavailable external sources return
source_unavailable; local source-file requirements appear as
localResources.genomi.describe_context when the user asks about personal context,
their own genome/context, a genome source, a previous run, a selected user,
or before making sample-specific claims. When you call it, inspect
active_response_profile.guidance; the active profile id is persisted in
the Genomi registry (set via genomi.set_response_profile) and falls back
to the catalog default when none is set. Do not call it only to bootstrap a
public-only question.genomi.describe_context returns
active_genome_index_readiness.status == "needs_reparse", look up the recorded source
path under active_genome_index.agi_intake_source_path and call genomi.parse_source
with it — routine maintenance, no user prompt needed. Only ask the user
when availability.agi_intake_source_path is false (path moved or deleted) or the
status is schema_too_new (Genomi runtime out of date). Never proceed
with a stale Active Genome Index while silently substituting placeholder data;
use the Active Genome Index skill for the full procedure.semantic_context when the current chat reasonably supports alternate
biomedical wording. Send the user's original wording as raw_query, add
host_expansions only as retrieval terms, and add host_entities for helpful
proposed spans such as drug, gene, phenotype, trait_or_condition, variant, or
rsid. These terms are retrieval inputs, not evidence; Genomi reports
source/retrieval hits in term_matches and no-hit terms in term_misses.MCP tools/list returns only the base set:
genomi.* and journal.* ops (always direct-callable).genomi.invoke — the dispatcher for every other capability tool.To use a non-base capability tool, load the matching focused capability skill, then call:
genomi.invoke({"tool": "<operation_name>", "params": {...}})
Example:
genomi.invoke({"tool": "variant.resolve", "params": {"rsid": "rs429358"}})
The dispatcher validates the registered operation name, runs the underlying tool's
input-schema validation, and returns the underlying tool's response with an
added dispatched_tool field.
Operation namespaces are tool-name prefixes, not disclosure branches. Use namespace filters only for debugging or audits.
Resolve context, select the intent capability, read its skill markdown, call
the smallest useful operation through genomi.invoke (or direct call for
base tools), inspect evidence, journal material findings, and continue until
the answer is supported. Use genomi.describe_context only when this chat
asks about personal context, the user's own genome/context, Active Genome Index
context, a selected user, a genome source, or a previous run.
genomi.install installs or updates Genomi, and genomi install /
genomi update are the same operation. It always updates everything that can
be updated: the runtime code (git pull --ff-only on a git checkout, unless
GENOMI_SKIP_RUNTIME_GIT_PULL is set for a non-git distribution), all public
reference libraries into GENOMI_HOME (idempotent — each installed library is
checked against its source and re-downloaded only if it changed upstream, so
re-running transfers nothing when nothing changed; pass force to re-download
regardless), host-agent skill symlinks in detected host skill directories
(including stale/dangling repair and obsolete Genomi capability-link removal),
the public retrieval indexes, and a
background reparse of any genome whose index schema is older than the updated
runtime's. There are no per-step skip flags — genomi update does the full
update by default. The libraries parameter only narrows which reference
libraries to materialize (default everything): pass a specific library (or
comma-separated set) to install just those — both for an install-time subset
the user chose and to add a single new library on demand at runtime (the
"install this missing library" path). To see which libraries are already
installed vs missing before deciding, call genomi.check_libraries (its
summary reports installed_count / missing_count). This applies once Genomi
is installed; first-time setup on a machine without the genomi runtime
follows the source bootstrap in INSTALL_FOR_AGENTS.md.
genomi.parse_source is a core genomi.* tool: it detects, parses, and
digitizes a genome source (VCF/gVCF, BAM, paired-end FASTQ, or a
consumer-array raw genotype export from 23andMe, AncestryDNA, MyHeritage,
FamilyTreeDNA, or Living DNA; bare text/CSV, gzip/bzip2/xz-compressed, or
inside a zip/tar archive; or a .genome/1.0 bundle such as
sample.genome.tar.gz) into a queryable Active Genome Index.
user_nickname links the parsed
artifact to a user profile. It does not run whole-callset annotation —
focused tools materialize public libraries lazily when their evidence is
needed.status="in_progress" with a job_id, poll
genomi.check_background_job; don't substitute a capped parse or raw scan
unless the user explicitly asks for a fallback.variants_ready (not yet completed) and the whole interpretation
surface (rsID, gene, region, exact-allele lookup, ClinVar, PRS, …) is already
correct. The reference-block tail is appended by a detached background job
(active_genome_index.build_reference_pass) whose job_id is surfaced in the
result's next_actions. Until that job reports completed, only "is this
locus confirmed reference vs not-callable" coverage answers are provisional —
every readiness/coverage result carries reference_pending to say so. Plain
VCFs, small files, and capped (max_records) parses stay single-phase. Other
sources (consumer arrays, BAM/FASTQ) have no reference tail to defer.user_nickname, the result includes an ask_user next action: ask them for a
profile nickname and whether to set it as the machine default, then record it
by re-running with user_nickname (+ set_default_user=true) or via the
invoke-only active_genome_index.assign_user_genome / set_default_user
tools — exactly the offer INSTALL_FOR_AGENTS.md Step 8 makes.The parse/digitize/user-management workflow (selecting users, approving
access, assigning a genome to a profile, lifecycle reparse) lives in the Active
Genome Index skill, which also owns the
active_genome_index.* interpretation tools.
Use journal when an investigation spans multiple Genomi tools and the host
agent needs to record reasoning over evidence. Journal entries are agent notes
with traceability links; they are not source evidence and should not be used as
candidate-ranking source_records.
These tools appear in the default tool list. Their full metadata is available without expansion.
Genomi context and users:
genomi.check_background_jobgenomi.check_librariesgenomi.describe_contextgenomi.installgenomi.invokegenomi.list_resourcesgenomi.search_indexesActive Genome Index:
genomi.parse_sourceAll other active_genome_index.* tools are invoke-only: reach them via
genomi.invoke after loading the Active Genome Index skill.
ClinVar:
clinvar.match_variantsclinvar.scan_candidatesClinVar exact matching uses the build-specific optional library
clinvar-grch38 or clinvar-grch37. If the tool reports
requires_library_install, use genomi.check_libraries and ask before
installing.
Variant evidence:
variant.resolveJournal and research memory:
research.build_target_packetresearch.list_sourcesPhenotype, disease, and candidate gene:
phenotype.compare_disease_evidencephenotype.compare_drug_target_evidencephenotype.compare_gene_hpo_evidencephenotype.plan_risk_investigationphenotype.retrieve_disease_drug_targetsphenotype.retrieve_gene_disease_associationsphenotype.retrieve_trait_gene_recordsPharmacogenomics:
pharmacogenomics.review_medicationGWAS Catalog:
gwas.compare_gene_associationsgwas.compare_variant_associationsFunctional genomics:
functional_genomics.compare_gene_perturbationAncestry reference-panel context:
ancestry.list_reference_panelsancestry.estimate_population_contextPolygenic scores:
prs.search_scoresprs.calculate_scoreSequence:
sequence.analyzeAnalytical grounding:
cell_type.retrieve_markerspathway.retrieve_membersregion.retrieve_featuresJournal:
journal.append_entryjournal.search_entriesDefault-complete categories:
gwas-cataloganalytical-groundingCandidate and ranking operations return evidence views, decision_evidence,
warnings, and coverage.
Use source-specific candidate-gene tools instead of a universal comparator:
phenotype.compare_gene_hpo_evidence for HPO/single-subject phenotype
matching, gwas.compare_gene_associations for GWAS Catalog gene-field
evidence, phenotype.compare_drug_target_evidence for drug-target evidence,
and functional_genomics.compare_gene_perturbation for perturbation evidence.
phenotype.retrieve_trait_gene_records retrieves trait-to-gene records from integrated
sources. Records labelled association_only_not_causal are visible evidence,
not an answer.
Any operation that exposes an answer-shaped candidate result must expose the
evidence behind that result. Use that evidence for the host-agent decision.
When multiple Genomi capabilities can contribute orthogonal evidence to the same question, combine them — both in the initial plan and in follow-ups.
A scope-limited single-capability result (missing calibration, no record at locus, association-only, library-not-installed, low overlap, source unavailable, etc.) is not a final user-facing answer when other Genomi capabilities can contribute orthogonal evidence to the same question. Returning "I cannot answer" while applicable capabilities remain unexamined is a host-agent failure mode, not a Genomi limitation.
When multiple plausible plans differ materially in cost, surface the choice once with the tradeoff and commit to the user's pick. Over-checkpointing is itself a failure mode.
Lead with the answer. When a finding is grounded in a public dataset (ClinVar, GWAS Catalog, PGS Catalog, 1000 Genomes panel, etc.) and that source materially shapes the result, name the dataset inline in the prose. Keep clinical language informational and recommend clinical confirmation for medical decisions. Confidence is an answer-time synthesis judgment, not static metadata. Adapt explanation depth to the selected response profile without weakening evidence limits, privacy boundaries, or clinical-confirmation language.