Skip to content
Agentmart
Submit a tool

claw-methylation-cycle

Methylation cycle analysis — enzymatic activity profiles, Net Methylation Capacity, BH4 axis estimates, compound heterozygosity detection from SNP genotype…

Skill by Samuel Carmona Aguirre <samuel@unimed-consulting.es>

IndexedMIT★ 1,166
Write a review

Chalk Labs

Need help deploying claw-methylation-cycle?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/clawbio-claw-methylation-cycle

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Methylation cycle analysis — enzymatic activity profiles, Net Methylation Capacity, BH4 axis estimates, compound heterozygosity detection from SNP genotype data.

Use cases: data, data-analysis

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/claw-methylation-cycle

What's inside

Skill name
claw-methylation-cycle
Description
Methylation cycle analysis — enzymatic activity profiles, Net Methylation Capacity, BH4 axis estimates, compound heterozygosity detection from SNP genotype data.
License
MIT
Metadata
author: Samuel Carmona Aguirre <samuel@unimed-consulting.es> · version: 0.1.3 · input_format: 23andme, adntro, ancestry · guideline_doi: 10.3390/nu13030768 · output_format: markdown, json · demo_data_path: demo_input.txt · validation_tier: community · dependencies_python: >=3.9
Instructions
354 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (5)

  • SKILL.md
  • demo_input.txt
  • methylation_cycle.py
  • test_methylation_cycle.py · tests/
  • test_reproducibility_bundle.py · tests/

SKILL.md (first lines)

# claw-methylation-cycle

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.

---

## Trigger

**Fire this skill when:**

- The user asks about methylation, MTHFR variants, folate cycle, or
  homocysteine risk from a genotype file.
- A raw SNP file (23andMe / ADNTRO / Ancestry format) is provided and the
  clinical question involves methylation, BH4, dopamine/serotonin synthesis
  capacity, or neurodevelopmental contexts (ADHD, depression, anxiety).
- The upstream workflow (PharmGx Reporter, NutriGx Advisor) has flagged
  MTHFR or MTRR and the clinician needs the full methylation panel.
- Keywords present: `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:**

- The question is purely about folic acid supplementation without a genotype file.
- The user is asking about MTHFR in the context of thrombophilia/clotting
  only — use PharmGx Reporter for warfarin/anticoagulation questions.
- Only N-GENE polygenic risk data is available (no raw SNP file) — this skill
  requires genotype-level input; PRS percentiles are not sufficient.
- The SNP file format is VCF, FASTQ, BAM, or PLINK binary — these require
  preprocessing before this skill can run.
- The clinical question is exclusively pharmacogenomic (CYP enzymes) — use
  PharmGx Reporter instead.

---

## Workflow

1. **Receive input** — Accept either a raw genotype file path or a pre-parsed
   `snp_dict`. If a file is provided, call `parse_genotype_file()` to extract
   the rsID → genotype mapping.

2. **Panel coverage check** — Compare detected rsIDs against the 9-gene
   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).

3. **Enzymatic activity scoring** — For each gene, map the diplotype to an
   estimated activity percentage. Heterozygous risk variants reduce activity
   by their assigned weight; homozygous variants apply the full reduction.

4. **Compound heterozygosity detection** — Check MTHFR C677T (rs1801133) and
   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).

5. **Net Methylation Capacity (NMC)** — Compute the weighted average of all
   enzyme activities. Clamp to [0, 100]. Expose `coverage_pct` and
   `snps_missing`; flag NMC as partial if key SNPs are absent.

6. **BH4 axis capacity** — Derive BH4 from MTHFR activity and MTRR modifier.
   Report clinical implications for dopamine and serotonin synthesis in
   neurodevelopmental presentations.

7. **Prioritised recommendations** — Generate PRIORITY 1 / 2 / 3
   recommendations based on active findings. Lead with highest clinical
   impact (compound het MTHFR or severely reduced BH4).

8. **Output** — Write `report.md` (human-readable) and `result.json`
   (structured, for downstream integration).

---

## Example Output

```
╔══════════════════════════════════════════════════════════════╗
║  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.

From ClawBio/ClawBio, MIT.

More from ClawBio/ClawBio

Signals

Stars
1,166
Forks
288
Open issues
27
Last commit (this folder)
Oct 13, 2026 (17 days ago)
Last release
Sep 11, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
0.1.3
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get claw-methylation-cycle running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying claw-methylation-cycle?

CallGet help
Cite this page

claw-methylation-cycle skill. Agent Mart. https://agentmart.dev/skills/clawbio-claw-methylation-cycle (last updated 2026-10-24)