profile-report
БесплатноЗапускает вложенные скриптыНе проверенUnified personal genomic profile report — reads a PatientProfile JSON and synthesizes all skill results into a single "Your Genomic Profile" document.
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
📋 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
- Profile Loading: Read and validate PatientProfile JSON files, identifying which skills have been run
- Report Synthesis: Combine results from pharmgx, nutrigx, prs, and genome-compare into a unified report
- Cross-Domain Insights: Identify connections between skill results (e.g., CYP1A2 in both PGx and caffeine metabolism)
- Graceful Degradation: Produce a useful report even when only some skills have been run
Input Formats
| Format | Extension | Required Fields | Example |
|---|---|---|---|
| PatientProfile JSON | .json |
metadata, genotypes, skill_results |
profiles/PT001.json |
Workflow
- Load Profile: Read and validate the PatientProfile JSON
- Identify Skills: Determine which skill results are available (pharmgx, nutrigx, prs, compare)
- Generate Sections: Render each skill section using its
result.jsondata; show placeholder for missing skills - Cross-Domain Insights: Scan for genes/variants that appear across multiple skill results
- Executive Summary: Generate a top-level summary with key findings and action items
- Assemble Report: Combine all sections with header, summary, skill details, insights, and disclaimer
- Write Reproducibility Bundle: For successful
--demoand--profile <file>runs, writereproducibility/commands.sh,environment.yml,checksums.sha256, andinputs.jsonusing sharedReproCommand,ReproPath,write_portable_commands_sh,write_environment_yml, andwrite_checksums
CLI Reference
# 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
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/e
Установить profile-report в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл profile-report?
Unified personal genomic profile report — reads a PatientProfile JSON and synthesizes all skill results into a single "Your Genomic Profile" document.
Как установить скилл profile-report?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл profile-report запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic