Scikit Learn
zLanqing/codex-claude-academic-skills
Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.
Turn free-text rows into calibrated numeric features with TypeSafe Jev, then model them on a leakage-safe development split.
$ npx skills add PKU-YuanGroup/OpenAI4S --skill text-features -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PKU-YuanGroup/OpenAI4S text-features --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/PKU-YuanGroup/OpenAI4S.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/text-features .claude/skills/text-features && 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 "text-features" agent skill from https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/text-features into .claude/skills/text-features/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-features", 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/PKU-YuanGroup/OpenAI4S/tree/main/skills/text-featuresType 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 PKU-YuanGroup/OpenAI4S --skill text-features -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PKU-YuanGroup/OpenAI4S text-features --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/text-features .agents/skills/text-features && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "text-features" agent skill from https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/text-features into .agents/skills/text-features/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-features", 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 PKU-YuanGroup/OpenAI4S --skill text-features -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PKU-YuanGroup/OpenAI4S text-features --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/text-features .cursor/skills/text-features && 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 "text-features" agent skill from https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/text-features into .cursor/skills/text-features/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-features", 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/PKU-YuanGroup/OpenAI4S.git --path skills/text-features--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 PKU-YuanGroup/OpenAI4S --skill text-features -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PKU-YuanGroup/OpenAI4S text-features --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/text-features .gemini/skills/text-features && 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 "text-features" agent skill from https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/text-features into .gemini/skills/text-features/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-features", 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 PKU-YuanGroup/OpenAI4S text-featuresInstalls 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 PKU-YuanGroup/OpenAI4S --skill text-features -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/text-features .github/skills/text-features && 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 "text-features" agent skill from https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/text-features into .github/skills/text-features/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-features", 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 PKU-YuanGroup/OpenAI4S --skill text-features -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PKU-YuanGroup/OpenAI4S text-features --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/text-features .opencode/skills/text-features && 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 "text-features" agent skill from https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/text-features into .opencode/skills/text-features/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "text-features", 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.
text-featuresTurn free-text rows into calibrated numeric features with TypeSafe Jev, then model them on a leakage-safe development split.
Text Features is an agent skill from PKU-YuanGroup/OpenAI4S. Turn free-text rows into calibrated numeric features with TypeSafe Jev, then model them on a leakage-safe development split. The main model proposes Noul/Score questions; host.judge answers every row; sklearn in the science extra fits and evaluates. Features keep their source question and measurement error and are not a human gold standard.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `README.md`, `README_zh.md` and `kernel.py`).
It sits in Data & Analytics, covering Machine learning. It works with scikit-learn. The repository describes itself as: Open-source AI agent for scientific research. Analyze data in Python/R with Claude, GPT, Gemini, and more. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 4a72e87. 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.
Ships script files (Python), which the agent can run.
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.
Text Features loads about 1.3k tokens when it runs. Until then it costs about 89 tokens; SKILL.md has 527 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 PKU-YuanGroup/OpenAI4S at commit 4a72e87, republished under its Apache-2.0 licence (© PKU-YuanGroup). 527 words, ~1,336 tokens.
.claude/skills/text-features/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Use this skill when you have many free-text rows and a supervised target, and you want calibrated numeric features instead of bag-of-words. The main model proposes operationalizable questions; Jev answers each row; the sidecar fits a model on a development split and scores the frozen test split once.
This is experimental. Turn on text_features under Customize → Experimental
(the master experimental-judgment switch must also be on). Headless: set
OPENAI4S_EXPERIMENTAL_JUDGMENT=1 and OPENAI4S_JUDGMENT_TEXT_FEATURES=1.
When the capability is off, the helpers return status: "disabled" and do
not raise.
api.typesafe.ai. The service
is hosted in the United States. Do not enable this on clinical notes, secrets,
or anything that must not leave the machine.Every featurize call sends the user-selected row text in state.text to
TypeSafe Jev, together with the question instructions. Identifiers go in
state.id so you can audit which rows were judged. Quote location and numeric
modeling stay in this sidecar.
The directory contains a hyphen, so import it with importlib:
from importlib import import_module
tf = import_module("text-features.kernel")
questions = tf.propose_questions(
"Predict whether an abstract reports a significant clinical result.",
examples,
n=12,
)
table = tf.featurize(
rows,
questions,
text_field="text",
id_field="id",
)
study = tf.run_feature_study(
rows,
target="label",
split_by="patient_id", # or time_col="date"
rounds=3,
text_field="text",
id_field="id",
)propose_questions asks host.llm for Noul (yes/no facts) and Score
(written-level grades) questions, then validates and deduplicates them.
featurize calls host.judge("features.custom", ...) once per row. Each Noul
becomes one column, P(yes). Each Score becomes two columns: the expected level
normalized to [0, 1], and the standard deviation of that distribution on the
same scale. Unavailable rows are filled with NaN and counted; they are not
replaced with a default. Every column keeps the question text and template
version.
run_feature_study reuses audit-dataset, plan-ml-experiment (grouped or
chronological split), and evaluate-model (metrics and bootstrap 95% CI).
Question edits, feature screening, and thresholds use the development rows
only. The test split is judged once, after the question set is frozen. The
report includes lift versus a constant baseline and a bootstrap interval,
plus the question-set version and per-feature provenance.
Binary targets are encoded in the reported target_classes order; predictions
are probabilities of the second class. Rows with missing targets are excluded
from fitting and metrics. Baseline and feature-model lift use the same rows
with available predictions.
Modeling uses numpy / pandas / scikit-learn when the science extra is installed. They are imported lazily. They are not core dependencies. Without them the sidecar still featurizes and falls back to a linear least-squares fit.
Name the split, the frozen question-set version, each feature's source question and template version, unavailable-row counts, cost (requests and tokens), the baseline, the lift, and the bootstrap interval. Never describe the features as labels, facts, or a human gold standard.
© PKU-YuanGroup, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files in skills/text-features of PKU-YuanGroup/OpenAI4S.
Open the folder on GitHubat commit 4a72e87
Text Features 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 |
|---|---|---|---|---|---|---|
| Text Features this skillPKU-YuanGroup/OpenAI4S | 622 | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Scikit LearnzLanqing/codex-claude-academic-skills | 4.7k | 16 repos | ~3.9k | Automated safety check: Pass | BSD-3-Clause | |
| Senior Data ScientistRaidriar7170/hermes-skilleval | 125 | 5 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Time Series Analytics Useropen-edge-platform/edge-ai-libraries | 171 | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Estimate Online Covariancemicroprediction/precise | 337 | — | ~535 | Automated safety check: Pass | MIT | |
| Precisemicroprediction/precise | 337 | — | ~782 | Automated safety check: Pass | MIT |
zLanqing/codex-claude-academic-skills
Machine learning in Python with scikit-learn. An agent skill from zLanqing/codex-claude-academic-skills.
Raidriar7170/hermes-skilleval
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics.
open-edge-platform/edge-ai-libraries
Build a new time-series analytics use case on top of the deployed Time Series Analytics microservice — bring it up with Docker Compose (from a repo clone, or by fetching the compose files from…
microprediction/precise
Estimate a covariance / correlation / precision matrix incrementally with precise.
microprediction/precise
Online (incremental) covariance, correlation, and precision estimation in Python — the streaming complement to sklearn.covariance.
davila7/claude-code-templates
Guides time series machine learning with the aeon toolkit: classification, regression, clustering, forecasting, anomaly detection, segmentation and similarity search.
PKU-YuanGroup/OpenAI4S
Reproducible Scanpy workflow for human or mouse 10x scRNA-seq and snRNA-seq count matrices: single-sample descriptive QC, clustering and annotation, or comparative donor-aware pseudobulk DE and Milo…
PKU-YuanGroup/OpenAI4S
Score an LLM's biological-protocol reasoning on the BioProBench benchmark: protocol QA, step ordering, error detection, protocol generation, and LLM-judged error reasoning; or generate the responses.
PKU-YuanGroup/OpenAI4S
Map atoms and changed bonds for a complete reaction with RXNMapper.
PKU-YuanGroup/OpenAI4S
Predict ranked products from reactants and reagents with ReactionT5v2-forward; use for outcome prediction or round-trip recovery.
PKU-YuanGroup/OpenAI4S
Estimate yield for a fully specified reactant/reagent/product record with ReactionT5v2-yield.
PKU-YuanGroup/OpenAI4S
Generate de novo protein backbones with RFdiffusion for protein-target binders, hotspot-conditioned interfaces, motif scaffolding, partial diffusion, or symmetric assemblies.
Works with
Categories
Turn free-text rows into calibrated numeric features with TypeSafe Jev, then model them on a leakage-safe development split. Text Features is an agent skill from PKU-YuanGroup/OpenAI4S. Turn free-text rows into calibrated numeric features with TypeSafe Jev, then model them on a leakage-safe development split.
Text Features fits situations like: tasks that involve Machine learning.
Run `npx skills add PKU-YuanGroup/OpenAI4S --skill text-features -a claude-code`. Or copy the skill folder (skills/text-features in PKU-YuanGroup/OpenAI4S) into .claude/skills/text-features in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PKU-YuanGroup/OpenAI4S --skill text-features -a codex`. Or copy the skill folder (skills/text-features in PKU-YuanGroup/OpenAI4S) into .agents/skills/text-features 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 PKU-YuanGroup/OpenAI4S --skill text-features -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/text-features, .gemini/skills/text-features, .github/skills/text-features and .opencode/skills/text-features in your project.
Going by SKILL.md and its folder, Text Features needs Python for the scripts in its folder. 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.
Text Features is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k 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 Text Features: Scikit Learn (zLanqing/codex-claude-academic-skills, 4.7k stars), Senior Data Scientist (Raidriar7170/hermes-skilleval, 125 stars), Time Series Analytics User (open-edge-platform/edge-ai-libraries, 171 stars) and Estimate Online Covariance (microprediction/precise, 337 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PKU-YuanGroup (a GitHub organization) maintains it in PKU-YuanGroup/OpenAI4S, which has 622 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 9, 2026.
Source: PKU-YuanGroup/OpenAI4S on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.