Agent skill

Methylation Clock

by ClawBio in ClawBio/ClawBio

Compute epigenetic age from DNA methylation arrays using PyAging clocks from GEO accessions or local files.

MITAuto-check passedResearch & Science

Install Methylation Clock

skills CLI
$ npx skills add ClawBio/ClawBio --skill methylation-clock -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ClawBio/ClawBio methylation-clock --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/methylation-clock .claude/skills/methylation-clock && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
methylation-clock
GitHub stars
1.2k
Used in
1 other repo
Token cost
~922 tokens
SKILL.md length
246 words
Files
6
Skills in repo
104
Repo updated
First seen
Licence
MIT

At a glance

Compute epigenetic age from DNA methylation arrays using PyAging clocks from GEO accessions or local files.

  • Works in 4 steps: Accepts exactly one input source: GEO… → Applies notebook-aligned preprocessing… → Converts tabular data to AnnData and… → …
  • Research & Science work in your project
  • SKILL.md covers Domain Decisions, Safety Rules and Agent Boundary
  • Runs Python scripts from its folder; calls python and pip

What it does

Methylation Clock is an agent skill from ClawBio/ClawBio. Compute epigenetic age from DNA methylation arrays using PyAging clocks from GEO accessions or local files.

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files (for example `data/PROVENANCE.md`, `methylation_clock.py` and `tests/test_methylation_clock.py`).

It sits in Research & Science. The repository describes itself as: 🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free. The licence is MIT.

When your agent uses it

  • Research & Science work in your project

Example prompts

  • “/methylation-clock”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Accepts exactly one input source: GEO accession (--geo-id) or local methylation file (--input).
  2. Applies notebook-aligned preprocessing (female derivation and EPICv2 aggregation by default).
  3. Converts tabular data to AnnData and runs one or more methylation clocks.
  4. Exports predictions, missing-feature diagnostics, metadata, figures, and reproducibility artifacts.

What it can do on your machine

Read from SKILL.md and the folder at commit 5e045e3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Methylation Clock loads about 922 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 246 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~922

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ClawBio/ClawBio at commit 5e045e3, republished under its MIT licence (© ClawBio). 246 words, ~922 tokens.

Download SKILL.mdSave it as .claude/skills/methylation-clock/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
methylation-clock
description
Compute epigenetic age from DNA methylation arrays using PyAging clocks from GEO accessions or local files.
license
MIT
metadata.version
0.1.0
metadata.tags
epigenetics, methylation, aging, clock, pyaging, GEO, illlumina-450k, EPIC

Methylation Clock

Domain Decisions

Epigenetic age workflows are difficult to reproduce because preprocessing and clock inputs differ across tools and publications. This skill standardizes a PyAging-first pipeline from ingestion to report generation, with explicit reproducibility outputs.

Core Capabilities
  1. Accepts exactly one input source: GEO accession (--geo-id) or local methylation file (--input).
  2. Applies notebook-aligned preprocessing (female derivation and EPICv2 aggregation by default).
  3. Converts tabular data to AnnData and runs one or more methylation clocks.
  4. Exports predictions, missing-feature diagnostics, metadata, figures, and reproducibility artifacts.
Input Contract
  • Exactly one input source:
    • GEO accession with --geo-id (example: GSE139307)
    • Local file with --input (.pkl, .pickle, .csv, .tsv, .csv.gz, .tsv.gz)
  • Required output directory via --output
  • Optional clock list via --clocks
Demo And Usage

Demo fixture provenance and checksum are documented in skills/methylation-clock/data/PROVENANCE.md.

Install optional methylation-clock dependency (not part of the global base requirements):

bash
pip install pyaging>=0.1
bash
# Demo
python skills/methylation-clock/methylation_clock.py \
  --input skills/methylation-clock/data/GSE139307_small.csv.gz \
  --output /tmp/methylation_clock_demo

# GEO input
python skills/methylation-clock/methylation_clock.py \
  --geo-id GSE139307 \
  --output /tmp/methylation_clock_geo

# Local methylation file
python skills/methylation-clock/methylation_clock.py \
  --input my_methylation.pkl \
  --clocks Horvath2013,AltumAge,PCGrimAge,GrimAge2,DunedinPACE \
  --output /tmp/methylation_clock_local
Output Structure
methylation_clock_report/
├── report.md
├── figures/
│   ├── clock_distributions.png
│   └── clock_correlation.png
├── tables/
│   ├── predictions.csv
│   ├── prediction_summary.csv
│   ├── missing_features.csv
│   └── clock_metadata.json
└── reproducibility/
    ├── commands.sh
    ├── environment.yml
    └── checksums.sha256

Safety Rules

  1. ClawBio is local-first: user methylation data must remain on-device.
  2. The skill refuses non-empty output directories to avoid silent overwrite.
  3. Reports must include this disclaimer: "ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions."

Agent Boundary

  1. Route methylation clock requests to skills/methylation-clock/methylation_clock.py.
  2. Do not infer clinical diagnosis or treatment from clock estimates.
  3. Trigger terms include: epigenetic age, methylation clock, Horvath, GrimAge, DunedinPACE, GEO, GSE.
  4. Valid downstream chaining: rnaseq-de for transcriptomic-aging contrasts and equity-scorer for cohort context.

© ClawBio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files in skills/methylation-clock of ClawBio/ClawBio.

  • SKILL.md
  • data/GSE139307_small.csv.gz
  • data/PROVENANCE.md
  • methylation_clock.py
  • tests/test_methylation_clock.py
  • tests/test_sha256_delegation.py

Open the folder on GitHubat commit 5e045e3

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in ClawBio/ClawBio, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Methylation Clock next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Methylation Clock compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Methylation Clock this skillClawBio/ClawBio1.2k1 repos~922Automated safety check: PassMIT
Hypothesis Generationspacering-net/codeg3.8k15 repos~3.6kAutomated safety check: NotesMIT
GitHub Deep Researchbytedance/deer-flow83k5 repos~1.3kAutomated safety check: PassMIT
Nature Paper CardYuan1z0825/nature-skills46k2 repos~2.1kAutomated safety check: PassApache-2.0
Read arXiv Paperkarpathy/nanochat58k2 repos~494Automated safety check: PassMIT
Content Research Writerweapp-tailwindcss/weapp-tailwindcss1.9k25 repos~3.5kAutomated safety check: PassMIT

Similar skills

  • Hypothesis Generation

    spacering-net/codeg

    Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.

    3.8k GitHub starsUsed in 15 repos~3.6k tokens
    Research & ScienceAuto-check: notes
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    83k GitHub starsUsed in 5 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Nature Paper Card

    Yuan1z0825/nature-skills

    Builds a structured deep-reading card for one scientific paper, covering methods, how experiments support claims, limitations and research ideas, with a script to prepare the source.

    46k GitHub starsUsed in 2 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • Read arXiv Paper

    karpathy/nanochat

    Fetches the TeX source of an arXiv paper from its URL, reads it and writes a markdown summary tied to the nanochat project.

    58k GitHub starsUsed in 2 repos~494 tokens
    Research & ScienceAuto-check passed
  • Content Research Writer

    weapp-tailwindcss/weapp-tailwindcss

    Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.

    1.9k GitHub starsUsed in 25 repos~3.5k tokens
    Research & ScienceAuto-check passed
  • Peer Review

    spacering-net/codeg

    Structured manuscript/grant review with checklist-based evaluation.

    3.8k GitHub starsUsed in 18 repos~5.9k tokens
    Research & ScienceAuto-check: notes

More from ClawBio/ClawBio

All 104 skills in this repo
  • Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~4.3k tokens
    Auto-check passed
  • Xena Tcga Gene Query

    ClawBio/ClawBio

    Query TCGA tumor biology through the ucscxenatoolspy API. An agent skill from ClawBio/ClawBio.

    1.2k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Dnasp

    ClawBio/ClawBio

    Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.

    1.2k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Compute pairwise r² between a lead variant and every variant in a window using the 1000 Genomes Phase 3 GRCh38 reference panel, ancestry-stratified.

    1.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Ncbi Datasets

    ClawBio/ClawBio

    Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.

    1.2k GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed

Questions about Methylation Clock

What does Methylation Clock do?

Compute epigenetic age from DNA methylation arrays using PyAging clocks from GEO accessions or local files. Methylation Clock is an agent skill from ClawBio/ClawBio. Compute epigenetic age from DNA methylation arrays using PyAging clocks from GEO accessions or local files.

When should I use Methylation Clock?

Methylation Clock fits situations like: research & Science work in your project.

How do I install Methylation Clock in Claude Code?

Run `npx skills add ClawBio/ClawBio --skill methylation-clock -a claude-code`. Or copy the skill folder (skills/methylation-clock in ClawBio/ClawBio) into .claude/skills/methylation-clock in your project. Claude Code loads it when a task matches its description.

How do I install Methylation Clock in Codex?

Run `npx skills add ClawBio/ClawBio --skill methylation-clock -a codex`. Or copy the skill folder (skills/methylation-clock in ClawBio/ClawBio) into .agents/skills/methylation-clock in your project. Codex loads it when a task matches its description.

Can I use Methylation Clock in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ClawBio/ClawBio --skill methylation-clock -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/methylation-clock, .gemini/skills/methylation-clock, .github/skills/methylation-clock and .opencode/skills/methylation-clock in your project.

What does Methylation Clock need to run?

Going by SKILL.md and its folder, Methylation Clock needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Methylation Clock access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Methylation Clock safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Methylation Clock use?

Methylation Clock is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Methylation Clock use?

About 922 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Methylation Clock?

Skills that share tags, products or a category with Methylation Clock: Hypothesis Generation (spacering-net/codeg, 3.8k stars), GitHub Deep Research (bytedance/deer-flow, 83k stars), Nature Paper Card (Yuan1z0825/nature-skills, 46k stars) and Read arXiv Paper (karpathy/nanochat, 58k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Methylation Clock?

ClawBio (a GitHub organization) maintains it in ClawBio/ClawBio, which has 1,154 GitHub stars. The repository holds 104 skills in this directory. The repository was last updated on October 7, 2026.

Source: ClawBio/ClawBio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.