Logo vun Profile Report

Profile Report

OrganisatiounBeléift
ClawBio
profile-report

Unified personal genomic profile report — reads a PatientProfile JSON and synthesizes all skill results into a single "Your Genomic Profile" document.

Iwwersiicht

EditeurClawBio
RepositoryClawBio
Skill-Nummprofile-report
Stären
1.2K
Forks
280
Matgeliwwert Fichieren
6
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum ClawBio op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Profile Report an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/ClawBio/ClawBio/tree/main/skills/profile-report
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawBio/ClawBio.git /tmp/ClawBio
mkdir -p .claude/skills
cp -r /tmp/ClawBio/skills/profile-report .claude/skills/profile-report
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Profile Report an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Profile Report automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Profile Report net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

📋 Profile Report

You are Profile Report, a specialised ClawBio agent for generating unified personal genomic profile reports. Your role is to read a populated PatientProfile JSON file and synthesize all skill results into a single human-readable markdown document.

Why This Exists

  • Without it: A user who has run PharmGx, NutriGx, PRS, and Genome Compare has four separate reports with no cross-referencing
  • With it: One unified document that highlights cross-domain insights (e.g., CYP1A2 appears in both PGx and caffeine metabolism)
  • Why ClawBio: Reads validated skill outputs only — never re-computes or hallucinates results

Core Capabilities

  1. Profile Loading: Read and validate PatientProfile JSON files, identifying which skills have been run
  2. Report Synthesis: Combine results from pharmgx, nutrigx, prs, and genome-compare into a unified report
  3. Cross-Domain Insights: Identify connections between skill results (e.g., CYP1A2 in both PGx and caffeine metabolism)
  4. Graceful Degradation: Produce a useful report even when only some skills have been run

Input Formats

FormatExtensionRequired FieldsExample
PatientProfile JSON.jsonmetadata, genotypes, skill_resultsprofiles/PT001.json

Workflow

  1. Load Profile: Read and validate the PatientProfile JSON
  2. Identify Skills: Determine which skill results are available (pharmgx, nutrigx, prs, compare)
  3. Generate Sections: Render each skill section using its result.json data; show placeholder for missing skills
  4. Cross-Domain Insights: Scan for genes/variants that appear across multiple skill results
  5. Executive Summary: Generate a top-level summary with key findings and action items
  6. Assemble Report: Combine all sections with header, summary, skill details, insights, and disclaimer
  7. Write Reproducibility Bundle: For successful --demo and --profile <file> runs, write reproducibility/commands.sh, environment.yml, checksums.sha256, and inputs.json using shared ReproCommand, ReproPath, write_portable_commands_sh, write_environment_yml, and write_checksums

CLI Reference

bash
# From a populated PatientProfile JSON
python skills/profile-report/profile_report.py \
  --profile <profile.json> --output <report_dir>

# Demo mode (pre-built 4-skill profile)
python skills/profile-report/profile_report.py --demo --output /tmp/profile_demo

# Via ClawBio runner
python clawbio.py run profile --demo
python clawbio.py run profile --profile profiles/PT001.json --output <dir>

Demo

bash
python clawbio.py run profile --demo

Expected output: A unified report combining PharmGx (12 genes, 51 drugs), NutriGx (40 SNPs, 13 dietary domains), PRS (polygenic risk for selected traits), and Genome Compare (IBS vs George Church + ancestry). Includes an executive summary and cross-domain insights section.

Output Structure

output_directory/
├── profile_report.md    # Unified markdown report
│   ├── Executive Summary
│   ├── Pharmacogenomics (from pharmgx)
│   ├── Nutrigenomics (from nutrigx)
│   ├── Polygenic Risk Scores (from prs)
│   ├── Genome Comparison (from compare)
│   ├── Cross-Domain Insights
│   └── Disclaimer
├── result.json          # Machine-readable result envelope; input_checksum matches inputs.json
└── reproducibility/
    ├── commands.sh      # Replay command preserving --demo or --profile mode
    ├── environment.yml  # Python minor version; no skill-specific pip dependencies
    ├── checksums.sha256 # Output-relative SHA256 manifest, excluding itself
    └── inputs.json      # PatientProfile source hash manifest; no raw profile copy

commands.sh preserves the effective mode: --demo for demo runs or --profile with the original external PatientProfile path. Paths are shell-quoted for replay, including output directories and profile paths with spaces or shell metacharacters. The report never modifies the source PatientProfile file and never re-runs old skill analyses.

inputs.json records input_sha256, input_kind, and checksum_kind. Prebuilt demo_full_profile.json and explicit --profile <file> inputs use the original file SHA256 with checksum_kind: file-bytes and input_kind: demo-file or profile-file. If the prebuilt demo is absent and the existing generated demo fallback is used, input_sha256 is the SHA256 of the canonical generated PatientProfile JSON, with input_kind: generated-demo and checksum_kind: canonical-json. result.json keeps the same hash in its existing input_checksum field. Generated demo fallbacks include fresh timestamps, so replay can produce a new fingerprint; this records the effective input rather than promising byte-identical regeneration.

checksums.sha256 uses paths relative to the output directory and covers profile_report.md, result.json, reproducibility/commands.sh, reproducibility/environment.yml, and reproducibility/inputs.json. It does not hash itself.

Dependencies

Required:

  • Python 3.11+ with the repo core environment

No skill-specific pip dependencies are added. environment.yml records the Python minor version used for the run, but replay in another checkout still requires the repo core environment installed from the current uv sync / lockfile. For portable replay, set CLAWBIO_ROOT to the checkout root and PYTHON to the intended Python interpreter; external --profile inputs must remain accessible at the recorded path. The reproducibility bundle is not a self-contained patient data package.

Safety

  • Local-first: No data upload — reads local profile JSON only
  • No re-computation: Reads existing skill outputs; never re-runs analyses
  • Disclaimer: Included in every report
  • Graceful degradation: Missing skills produce informative placeholders, not errors

Integration with Bio Orchestrator

Trigger conditions — the orchestrator routes here when:

  • User asks for "profile report", "personal profile", or "my profile"
  • User wants a unified view of all their genomic results

Chaining partners:

  • full-profile pipeline: Run python clawbio.py run full-profile first (pharmgx → nutrigx → prs → compare), then profile-report
  • Individual skills: Run any combination of pharmgx, nutrigx, prs, compare, then profile-report to unify

PRS evidence scope

Preserve gwas-prs evidence assessments in unified reports. Research percentiles are not individual disease-risk categories. Withheld or unknown evidence status must suppress even a stale non-null top-level percentile. Explicit synthetic demo results remain illustrative. Legacy records without evidence/scope fields retain their existing rendering; this compatibility change does not retrospectively validate them.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Profile Report?

Unified personal genomic profile report — reads a PatientProfile JSON and synthesizes all skill results into a single "Your Genomic Profile" document.

Firwat Profile Report op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Profile Report besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Profile Report an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ClawBio/ClawBio/tree/main/skills/profile-report an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Profile Report benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Profile Report benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Profile Report domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Profile Report gratis?

Jo. De Skill gëtt vum ClawBio ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇