Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LeoLin990405/r-analytics-skill --skill lme4git clone --depth 1 https://github.com/LeoLin990405/r-analytics-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/leolin990405/r-analytics-skill/lme4)<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/lme4"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/lme4/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/leolin990405/r-analytics-skill/lme4"><img src="https://agentmods.dev/badge/skills/leolin990405/r-analytics-skill/lme4.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00779 |
| Opus 5.5 | $0.00010 | $0.00312 |
| Sonnet 5.5 | $0.00005 | $0.00156 |
| Haiku 4.5 | $0.00003 | $0.00078 |
Grade A, and why
lme4 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
lme4
Linear mixed-effects models.
Linear Mixed Models
library(lme4)
# Random intercept
model <- lmer(y ~ x + (1 | group), data = df)
# Random intercept and slope
model <- lmer(y ~ x + (1 + x | group), data = df)
# Uncorrelated random effects
model <- lmer(y ~ x + (1 | group) + (0 + x | group), data = df)
# Multiple grouping factors
model <- lmer(y ~ x + (1 | group1) + (1 | group2), data = df)
# Nested groups
model <- lmer(y ~ x + (1 | group1/group2), data = df)
# Crossed random effects
model <- lmer(y ~ x + (1 | subject) + (1 | item), data = df)
Generalized Linear Mixed Models
# Logistic
model <- glmer(y ~ x + (1 | group), data = df, family = binomial)
# Poisson
model <- glmer(count ~ x + (1 | group), data = df, family = poisson)
# Negative binomial
library(MASS)
model <- glmer.nb(count ~ x + (1 | group), data = df)
Model Summary
# Summary
summary(model)
# Fixed effects
fixef(model)
coef(summary(model))
# Random effects
ranef(model)
VarCorr(model)
# Confidence intervals
confint(model)
confint(model, method = "boot", nsim = 1000)
Model Comparison
# Likelihood ratio test
model1 <- lmer(y ~ x + (1 | group), data = df)
model2 <- lmer(y ~ x + z + (1 | group), data = df)
anova(model1, model2)
# AIC/BIC
AIC(model1, model2)
BIC(model1, model2)
Predictions
# Predictions with random effects
predict(model)
predict(model, newdata = new_df)
# Predictions without random effects (population level)
predict(model, re.form = NA)
# Predictions for new groups
predict(model, newdata = new_df, allow.new.levels = TRUE)
Diagnostics
# Residuals
residuals(model)
residuals(model, type = "pearson")
# Fitted values
fitted(model)
# Influence measures
influence(model)
# Plot diagnostics
plot(model)
qqnorm(resid(model))
Bootstrapping
# Bootstrap confidence intervals
boot_ci <- confint(model, method = "boot", nsim = 500)
# Bootstrap predictions
bootMer(model, FUN = fixef, nsim = 100)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 151 lines · 25 tokens per session scan A 5dbb62c343a7
lme4 is a skill published in the GitHub repository LeoLin990405/r-analytics-skill (5 stars, last pushed 7mo ago), licensed MIT. It adds 25 tokens to every session and 779 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
bio-applied-cancer-transcriptomics
Classify tumor RNA-seq into subtypes (melanoma Tirosh/Harbst on TCGA-SKCM): log1p/z-score, PCA/t-SNE, hierarchical clustering, random forest, Kaplan-Meier survival. Use when subtyping cBioPortal expression data.
bio-applied-deep-learning-for-biology
Train PyTorch CNN/LSTM/Transformer/VAE on DNA/protein sequences: one-hot encoding, motif filters, saliency. Use when classifying sequences, predicting TF binding sites, denoising scRNA-seq, or choosing DL vs ML.
bio-applied-gene-regulatory-networks
Infer TF-target regulatory networks via correlation, ARACNE mutual information, and GENIE3 random-forest importance; find feed-forward loops; validate against TRRUST. Use when building a GRN or asked about GENIE3, ARACNE, or regulons.
biopython-databases
Fetch sequences from NCBI Entrez/UniProt/PDB/Ensembl REST APIs via BioPython SeqIO; read/write FASTA/GenBank/FASTQ. Use when downloading by accession/gene name, batch-fetching records, or converting sequence file formats.
ai-science-diffusion-generative-models
Code DDPM/DDIM diffusion samplers, linear/cosine noise schedules, and DDRM inverse-problem solving (denoising, inpainting, super-resolution) in NumPy/PyTorch. Use for forward/reverse diffusion, score matching, or DDIM sampling.
ai-science-enformer-regulatory
Predict CAGE/DNase/ATAC/ChIP-seq tracks from raw DNA with Enformer/Borzoi, run in-silico mutagenesis (ISM), and score noncoding variant effects. Use when predicting enhancer/promoter activity from sequence, running ISM, scoring a noncoding SNP, or prioritizing GWAS/eQTL variants.