Matplotlib
zLanqing/codex-claude-academic-skills
Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.
Species distribution modeling with MaxEnt, SDM methods, and GBIF data
$ npx skills add wentorai/research-plugins --skill species-distribution-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins species-distribution-guide --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/ecology/species-distribution-guide .claude/skills/species-distribution-guide && rm -rf skills-srcUse ~/.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/
Install the "species-distribution-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ecology/species-distribution-guide into .claude/skills/species-distribution-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "species-distribution-guide", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wentorai/research-plugins/tree/main/skills/domains/ecology/species-distribution-guideType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wentorai/research-plugins --skill species-distribution-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins species-distribution-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/domains/ecology/species-distribution-guide .agents/skills/species-distribution-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "species-distribution-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ecology/species-distribution-guide into .agents/skills/species-distribution-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "species-distribution-guide", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill species-distribution-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins species-distribution-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/domains/ecology/species-distribution-guide .cursor/skills/species-distribution-guide && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "species-distribution-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ecology/species-distribution-guide into .cursor/skills/species-distribution-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "species-distribution-guide", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wentorai/research-plugins.git --path skills/domains/ecology/species-distribution-guide--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wentorai/research-plugins --skill species-distribution-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins species-distribution-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/domains/ecology/species-distribution-guide .gemini/skills/species-distribution-guide && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "species-distribution-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ecology/species-distribution-guide into .gemini/skills/species-distribution-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "species-distribution-guide", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wentorai/research-plugins species-distribution-guideInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wentorai/research-plugins --skill species-distribution-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/domains/ecology/species-distribution-guide .github/skills/species-distribution-guide && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "species-distribution-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ecology/species-distribution-guide into .github/skills/species-distribution-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "species-distribution-guide", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill species-distribution-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins species-distribution-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/domains/ecology/species-distribution-guide .opencode/skills/species-distribution-guide && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "species-distribution-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/ecology/species-distribution-guide into .opencode/skills/species-distribution-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "species-distribution-guide", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
species-distribution-guideSpecies distribution modeling with MaxEnt, SDM methods, and GBIF data
Species Distribution Guide is an agent skill from wentorai/research-plugins. Species distribution modeling with MaxEnt, SDM methods, and GBIF data
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Species Distribution Guide loads about 2.8k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 333 words of instructions outside code blocks.
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.
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.
The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 333 words, ~2,827 tokens.
.claude/skills/species-distribution-guide/SKILL.md (or your agent's skills folder).A skill for building and evaluating species distribution models (SDMs), covering occurrence data acquisition from biodiversity databases, environmental predictor preparation, model fitting with MaxEnt and ensemble methods, model evaluation, and projection under climate change scenarios.
The Global Biodiversity Information Facility (GBIF) is the primary source of species occurrence records:
from pygbif import occurrences, species
def download_occurrences(species_name: str, country: str = None,
limit: int = 5000,
has_coordinate: bool = True) -> dict:
"""
Download species occurrence records from GBIF.
species_name: scientific name (e.g., 'Panthera tigris')
Returns cleaned occurrence records with coordinates.
"""
# Get GBIF species key
name_result = species.name_backbone(name=species_name)
if "usageKey" not in name_result:
return {"error": f"Species not found: {species_name}"}
species_key = name_result["usageKey"]
# Search occurrences
params = {
"taxonKey": species_key,
"hasCoordinate": has_coordinate,
"hasGeospatialIssue": False,
"limit": limit,
}
if country:
params["country"] = country
results = occurrences.search(**params)
# Clean records
records = []
seen_coords = set()
for rec in results.get("results", []):
lat = rec.get("decimalLatitude")
lon = rec.get("decimalLongitude")
if lat is None or lon is None:
continue
# Remove exact duplicates
coord_key = (round(lat, 4), round(lon, 4))
if coord_key in seen_coords:
continue
seen_coords.add(coord_key)
records.append({
"species": rec.get("species", species_name),
"latitude": lat,
"longitude": lon,
"year": rec.get("year"),
"basis_of_record": rec.get("basisOfRecord"),
"institution": rec.get("institutionCode"),
"country": rec.get("country"),
})
return {
"species": species_name,
"gbif_key": species_key,
"n_records": len(records),
"records": records,
}import pandas as pd
import numpy as np
def clean_occurrences(records: pd.DataFrame,
study_extent: dict = None,
thin_distance_km: float = 10.0) -> pd.DataFrame:
"""
Clean occurrence records for species distribution modeling.
Removes outliers, duplicates, and applies spatial thinning.
study_extent: {min_lon, max_lon, min_lat, max_lat}
thin_distance_km: minimum distance between retained points
"""
df = records.copy()
# Remove records with missing coordinates
df = df.dropna(subset=["latitude", "longitude"])
# Remove records at (0,0) -- common data error
df = df[~((df.latitude == 0) & (df.longitude == 0))]
# Clip to study extent
if study_extent:
df = df[
(df.longitude >= study_extent["min_lon"]) &
(df.longitude <= study_extent["max_lon"]) &
(df.latitude >= study_extent["min_lat"]) &
(df.latitude <= study_extent["max_lat"])
]
# Spatial thinning (grid-based)
# Convert thinning distance to approximate degrees
thin_deg = thin_distance_km / 111.0
df["grid_x"] = (df.longitude / thin_deg).astype(int)
df["grid_y"] = (df.latitude / thin_deg).astype(int)
df = df.drop_duplicates(subset=["grid_x", "grid_y"])
df = df.drop(columns=["grid_x", "grid_y"])
return df.reset_index(drop=True)The standard predictor set for SDMs:
| Variable | Description | Unit |
|---|---|---|
| BIO1 | Annual Mean Temperature | C x 10 |
| BIO2 | Mean Diurnal Range | C x 10 |
| BIO4 | Temperature Seasonality | SD x 100 |
| BIO5 | Max Temperature of Warmest Month | C x 10 |
| BIO6 | Min Temperature of Coldest Month | C x 10 |
| BIO12 | Annual Precipitation | mm |
| BIO13 | Precipitation of Wettest Month | mm |
| BIO14 | Precipitation of Driest Month | mm |
| BIO15 | Precipitation Seasonality | CV |
import rasterio
from rasterio.sample import sample_gen
def extract_environmental_values(occurrence_coords: np.ndarray,
raster_paths: dict) -> pd.DataFrame:
"""
Extract environmental variable values at occurrence locations.
occurrence_coords: array of (longitude, latitude) pairs
raster_paths: {variable_name: filepath} for each predictor raster
"""
env_data = {}
for var_name, raster_path in raster_paths.items():
with rasterio.open(raster_path) as src:
values = []
for lon, lat in occurrence_coords:
row, col = src.index(lon, lat)
if 0 <= row < src.height and 0 <= col < src.width:
values.append(float(src.read(1)[row, col]))
else:
values.append(np.nan)
env_data[var_name] = values
df = pd.DataFrame(env_data)
df["longitude"] = occurrence_coords[:, 0]
df["latitude"] = occurrence_coords[:, 1]
# Remove points with nodata values
df = df.replace(src.nodata, np.nan).dropna()
return dfMaxEnt is the most widely used SDM algorithm for presence-only data:
import subprocess
def run_maxent(samples_csv: str, env_layers_dir: str,
output_dir: str, features: str = "auto",
regularization: float = 1.0,
n_background: int = 10000) -> dict:
"""
Run MaxEnt species distribution model.
samples_csv: CSV with columns species, longitude, latitude
env_layers_dir: directory containing .asc raster files
output_dir: directory for model outputs
"""
cmd = [
"java", "-jar", "maxent.jar",
"-s", samples_csv,
"-e", env_layers_dir,
"-o", output_dir,
f"betamultiplier={regularization}",
f"maximumbackground={n_background}",
"responsecurves=true",
"jackknife=true",
"writeplotdata=true",
"autorun=true",
]
result = subprocess.run(cmd, capture_output=True, text=True)
# Parse results from maxentResults.csv
import csv
results_file = f"{output_dir}/maxentResults.csv"
with open(results_file) as f:
reader = csv.DictReader(f)
row = next(reader)
return {
"training_auc": float(row.get("Training AUC", 0)),
"test_auc": float(row.get("Test AUC", 0)),
"n_training": int(row.get("X Training samples", 0)),
"regularized_gain": float(row.get("Regularized training gain", 0)),
"important_variables": row.get("Percent contribution", ""),
}from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import cross_val_predict
from sklearn.metrics import roc_auc_score
def ensemble_sdm(presence_env: pd.DataFrame,
background_env: pd.DataFrame,
predictor_cols: list[str]) -> dict:
"""
Build an ensemble SDM from multiple algorithms.
presence_env: environmental values at presence points
background_env: environmental values at background/pseudo-absence points
"""
# Prepare data
X_pres = presence_env[predictor_cols].values
X_bg = background_env[predictor_cols].values
X = np.vstack([X_pres, X_bg])
y = np.concatenate([np.ones(len(X_pres)), np.zeros(len(X_bg))])
models = {
"random_forest": RandomForestClassifier(n_estimators=500, max_depth=10),
"gbm": GradientBoostingClassifier(n_estimators=300, max_depth=5,
learning_rate=0.05),
"logistic": LogisticRegression(max_iter=1000),
}
results = {}
predictions = {}
for name, model in models.items():
# Cross-validated predictions
cv_pred = cross_val_predict(model, X, y, cv=5, method="predict_proba")[:, 1]
auc = roc_auc_score(y, cv_pred)
model.fit(X, y)
results[name] = {"auc": round(auc, 4), "model": model}
predictions[name] = cv_pred
# Weighted ensemble (weight by AUC)
total_auc = sum(r["auc"] for r in results.values())
ensemble_pred = sum(
predictions[name] * results[name]["auc"] / total_auc
for name in models
)
ensemble_auc = roc_auc_score(y, ensemble_pred)
results["ensemble"] = {"auc": round(ensemble_auc, 4)}
return results| Metric | Range | Interpretation |
|---|---|---|
| AUC | 0-1 | Discrimination ability (>0.7 useful, >0.8 good) |
| TSS (True Skill Statistic) | -1 to 1 | Sensitivity + Specificity - 1 |
| Boyce Index | -1 to 1 | Predicted-to-expected ratio consistency |
| Kappa | -1 to 1 | Agreement beyond chance |
def compute_tss(y_true: np.ndarray, y_pred_proba: np.ndarray) -> dict:
"""
Compute TSS (True Skill Statistic) at the optimal threshold.
TSS = Sensitivity + Specificity - 1
"""
from sklearn.metrics import roc_curve
fpr, tpr, thresholds = roc_curve(y_true, y_pred_proba)
specificity = 1 - fpr
tss_values = tpr + specificity - 1
optimal_idx = np.argmax(tss_values)
return {
"tss": round(tss_values[optimal_idx], 4),
"optimal_threshold": round(thresholds[optimal_idx], 4),
"sensitivity": round(tpr[optimal_idx], 4),
"specificity": round(specificity[optimal_idx], 4),
}SDMs can project future suitable habitat under climate scenarios:
Key considerations:
© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/domains/ecology/species-distribution-guide of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
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 wentorai/research-plugins, which our catalogue first saw on October 7, 2026.
Species Distribution Guide 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Species Distribution Guide this skillwentorai/research-plugins | 298 | 1 repos | ~2.8k | Automated safety check: Pass | MIT | |
| MatplotlibzLanqing/codex-claude-academic-skills | 4.7k | 17 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Exploratory Data Analysisspacering-net/codeg | 3.9k | 14 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Scikit LearnzLanqing/codex-claude-academic-skills | 4.7k | 16 repos | ~3.9k | Automated safety check: Pass | BSD-3-Clause | |
| Chart Visualizationbytedance/deer-flow | 84k | 1 repos | ~840 | Automated safety check: Pass | MIT | |
| TimesFM Forecastinggoogle-research/timesfm | 34k | — | ~4.7k | Automated safety check: Pass | Apache-2.0 |
zLanqing/codex-claude-academic-skills
Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.
spacering-net/codeg
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
zLanqing/codex-claude-academic-skills
Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.
bytedance/deer-flow
Picks a suitable chart type from 26 options for your data, maps the data to that chart's parameters and generates a chart image through a JavaScript script.
google-research/timesfm
Forecasts any univariate time series zero-shot with Google's TimesFM model, returning point forecasts and calibrated prediction intervals without training.
vercel/next.js
Benchmark React or Next.js changes on Vercel Sandbox VMs with paired A/B statistics: react PR/commit vs base, or Next.js PR/commit vs base, measured end-to-end through the bench/render-pipeline app…
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Categories
Species distribution modeling with MaxEnt, SDM methods, and GBIF data. Species Distribution Guide is an agent skill from wentorai/research-plugins.
Species Distribution Guide fits situations like: data & Analytics work in your project.
Run `npx skills add wentorai/research-plugins --skill species-distribution-guide -a claude-code`. Or copy the skill folder (skills/domains/ecology/species-distribution-guide in wentorai/research-plugins) into .claude/skills/species-distribution-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill species-distribution-guide -a codex`. Or copy the skill folder (skills/domains/ecology/species-distribution-guide in wentorai/research-plugins) into .agents/skills/species-distribution-guide in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill species-distribution-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/species-distribution-guide, .gemini/skills/species-distribution-guide, .github/skills/species-distribution-guide and .opencode/skills/species-distribution-guide in your project.
SKILL.md names no scripts, command-line tools or credentials: Species Distribution Guide is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Species Distribution Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Species Distribution Guide: Matplotlib (zLanqing/codex-claude-academic-skills, 4.7k stars), Exploratory Data Analysis (spacering-net/codeg, 3.9k stars), Scikit Learn (zLanqing/codex-claude-academic-skills, 4.7k stars) and Chart Visualization (bytedance/deer-flow, 84k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.
Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.