methylation-cycle — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited methylation-cycle (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Methylation cycle analysis skill for ClawBio. Produces enzymatic activity profiles, Net Methylation Capacity (NMC), BH4 axis estimates, compound heterozygosity detection, and clinician-review genotype findings from raw SNP genotype data.
Fire this skill when:
homocysteine risk from a genotype file.
clinical question involves methylation, BH4, dopamine/serotonin synthesis capacity, or neurodevelopmental contexts (ADHD, depression, anxiety).
MTHFR or MTRR and the clinician needs the full methylation panel.
methylation, MTHFR, BH4, folate cycle,metilación, ciclo de metilación, homocysteine, 5-MTHF, methylcobalamin, neurotransmitter synthesis, dopamine upstream.
Do NOT fire this skill when:
only — use PharmGx Reporter for warfarin/anticoagulation questions.
requires genotype-level input; PRS percentiles are not sufficient.
preprocessing before this skill can run.
PharmGx Reporter instead.
snp_dict. If a file is provided, call parse_genotype_file() to extract the rsID → genotype mapping.
methylation panel. Log missing SNPs. For any SNP absent from the input, mark the corresponding gene as not_assessed — do NOT silently assume normal activity (Safety Rule 6).
estimated activity percentage. Heterozygous risk variants reduce activity by their assigned weight; homozygous variants apply the full reduction.
A1298C (rs1801131) simultaneously. If both are heterozygous, set compound_heterozygosity = True and apply the combined activity reduction (~15% of normal — more severe than either variant alone).
enzyme activities. Clamp to [0, 100]. Expose coverage_pct and snps_missing; flag NMC as partial if key SNPs are absent.
Report clinical implications for dopamine and serotonin synthesis in neurodevelopmental presentations.
recommendations based on active findings. Lead with highest clinical impact (compound het MTHFR or severely reduced BH4).
report.md (human-readable) and result.json(structured, for downstream integration).
╔══════════════════════════════════════════════════════════════╗
║ ClawBio · Methylation Cycle Analysis Report ║
║ Author: Samuel Carmona Aguirre · RUO — Not a medical device ║
╚══════════════════════════════════════════════════════════════╝
Executive Summary
─────────────────
Net Methylation Capacity : 53 / 100 🔴 Reduced
BH4 Axis Capacity : 31 / 100 🔴 Reduced
MTHFR Compound Het. : YES ⚠️ (C677T + A1298C)
Dopamine Synthesis : Severely Reduced
Serotonin Synthesis : Severely Reduced
Enzymatic Activity Profile
──────────────────────────
Gene Activity Status Key Variants
MTHFR 15% 🔴 Severely reduced C677T, A1298C
MTRR 60% 🟡 Moderately reduced A66G
MTR 100% 🟢 Normal –
CBS 100% 🟢 Normal –
BHMT 40% 🔴 Moderately reduced R239Q
SHMT1 80% 🟢 Mildly reduced C1420T
COMT 55% 🟡 Moderately reduced Val158Met
AHCY 100% 🟢 Normal –
Clinical Recommendations — FOR CLINICIAN REVIEW ONLY
──────────────────────────────────────────────────────
⚠️ The following is genotype-based information for qualified clinician use.
Do not self-administer. All nutrients listed are reported in the peer-reviewed
literature for the pathways indicated; dosing and indication require
individualised clinical assessment.
Genotype findings:
• 5-MTHF (methylfolate) preferred over synthetic folic acid (MTHFR C677T/A1298C).
Ref: Lamers Y et al. (2004) Am J Clin Nutr 80(5):1234-41.
• MTHFR compound het: methylcobalamin co-administration reported in literature.
Ref: Ledford AW et al. (2021) Nutrients 13(3):768.
• BH4 capacity at 31%: riboflavin (B2) reported as MTHFR cofactor supporting BH4
regeneration. Ref: McNulty H et al. (2017) Am J Clin Nutr 106(1):128-36.
• MTRR A66G: methylcobalamin preferred over cyanocobalamin per functional studies.
Ref: Olteanu H et al. (2002) Biochemistry 41(45):13378-85.
• BHMT R239Q: betaine and choline-rich foods reported as alternative methyl donors.
Ref: Slow S et al. (2004) Clin Chim Acta 340(1-2):57-67.
Some literature reports an association between BH4 deficiency and
ADHD/depression/anxiety phenotypes. This genotype indicates reduced BH4
production capacity. A clinician should contextualise this finding with
the patient's clinical history.
Where clinically relevant, a clinician may evaluate whether neurodevelopmental
symptoms correlate with BH4 capacity for potential non-pharmacological support.implementation (line 471) defaults to assuming normal activity for SNPs absent from the input. This produces an artificially high NMC. When key SNPs are missing, always expose coverage_pct and snps_missing so downstream consumers know the score is partial.
affect different MTHFR domains. Their combined effect (~15% activity) is greater than either variant alone. Do not compute as activity(677) × activity(1298).
derived from MTHFR activity and literature-based weights. It does not account for DHFR variation or dietary cofactor availability. Always include the RUO disclaimer.
(SAM consumption) and dopamine/catecholamine panels. Always note this — do not report it in isolation.
for most European-ancestry samples. 23andMe v3 and Ancestry v1 may not include rs1801394 (MTRR) or rs3733890 (BHMT). Always check snps_missing.
statin/warfarin risk belong to PharmGx Reporter, not this skill.
| Gene | rsID | Variant | Allele Assessed | Effect Direction |
|---|---|---|---|---|
| MTHFR | rs1801133 | C677T | T (risk) | Decreased MTHFR activity |
| MTHFR | rs1801131 | A1298C | C (risk) | Decreased MTHFR activity |
| MTRR | rs1801394 | A66G | G (risk) | Decreased MTRR activity |
| MTR | rs1805087 | A2756G | G (risk) | Decreased MTR activity |
| CBS | rs234706 | C699T | T (risk) | Increased CBS activity |
| BHMT | rs3733890 | R239Q | A (risk) | Decreased BHMT activity |
| SHMT1 | rs1979277 | C1420T | T (risk) | Decreased SHMT1 activity |
| COMT | rs4680 | Val158Met | A/Met (risk) | Decreased COMT activity |
| AHCY | rs819147 | AHCY | T (risk) | Decreased AHCY activity |
Activity is estimated as a percentage of normal function based on homozygous vs. heterozygous status of risk alleles. These are approximations derived from published functional studies — they are NOT direct enzyme assays.
| Genotype | Estimated Activity |
|---|---|
| 0 risk alleles (WT) | 100% |
| 1 risk allele (het) | 60–80% (gene-specific, see below) |
| 2 risk alleles (hom) | 15–40% (gene-specific, see below) |
Gene-specific estimates (homozygous risk):
Source: Nazki FH et al. (2014) Gene 533(1):11-20; Ledford AW et al. (2021) Nutrients 13(3):768.
NMC is a composite index (0–100) derived from weighted enzymatic activities:
NMC < 40: Severely reduced NMC 40–60: Moderately reduced NMC 60–80: Mildly reduced NMC > 80: Within normal range
Note (ACMG 2013): Routine population screening for MTHFR variants is not recommended for thrombosis risk assessment. This tool reports genotype facts for clinician contextualisation; NMC bands are descriptive outputs, not intervention triggers. Clinical decisions require individual patient evaluation.
BH4 (tetrahydrobiopterin) is an essential cofactor for tyrosine hydroxylase (dopamine) and tryptophan hydroxylase (serotonin). MTHFR activity directly constrains BH4 regeneration via the folate cycle.
BH4 thresholds:
MTHFR compound heterozygous (C677T + A1298C simultaneously) is the most clinically significant single-gene methylation finding. Total MTHFR activity is reduced more than either variant alone. Flagged explicitly in output.
Developed by Samuel Carmona Aguirre ([email protected]) as part of a contribution to the ClawBio open-source bioinformatics library.
Conflict of Interest (COI): The author develops clinical genomics workflows in a private practice context and may use tools derived from this skill as a component in those workflows. This skill is contributed as a standalone open-source genotype reporting tool; its output is not specific to any proprietary clinical platform. All clinical integration decisions rest with the qualified end-user clinician.
ACMG caveat on MTHFR testing (Green et al., Genet Med 2013, 15:153–156): Routine population screening for MTHFR variants is not currently recommended by ACMG for assessment of thrombosis risk, neural tube defect risk, or psychiatric phenotypes. Genotype findings from this tool should be interpreted in the context of the individual patient's clinical history by a qualified clinician.
(validated primarily in European-ancestry populations).
never assume wildtype.
not direct patient instructions.
python skills/claw-methylation-cycle/methylation_cycle.py \
--input path/to/genotype.txt \
--output results/| Version | Date | Change |
|---|---|---|
| 0.1.0 | 2026-04-07 | Initial release. Validated on ASES-2307-002. |
| 0.1.1 | 2026-04-14 | Fixed SKILL.md per PR #133: single YAML block, added Trigger, Workflow, Example Output, Gotchas. Removed unused pandas. Documented line-471 design decision. |
| 0.1.2 | 2026-05-12 | Framing revisions per Manuel Corpas review: reworded BH4 causal language to association-based; reformatted supplement list as clinician-review block with per-nutrient citations; added 6 DOIs; converted em-dashes to ASCII in test docstrings; removed duplicate top-level test file. |
| 0.1.3 | 2026-05-15 | Per PR #133 third review: (1) removed all specific dosages from recommendations; (2) stripped Holomedicina/CAPS/UNIMED/MH-AIAP branding from YAML, description, trigger, example output, Domain Decisions, report header — kept as author attribution only; (3) reframed NMC and BH4 bands as descriptive outputs, not intervention triggers; (4) added ACMG 2013 caveat on routine MTHFR testing; (5) added author COI disclosure; (6) removed obsolete Gotcha #5 (pandas); (7) softened compound het "strongly indicated" language. |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.