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 G1Joshi/Agent-Skills --skill xgboostgit clone --depth 1 https://github.com/G1Joshi/Agent-SkillsWrote 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/g1joshi/agent-skills/xgboost)<a href="https://agentmods.dev/skills/g1joshi/agent-skills/xgboost"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/xgboost/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/g1joshi/agent-skills/xgboost"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/xgboost.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.00045 | $0.01467 |
| Opus 5.5 | $0.00018 | $0.00587 |
| Sonnet 5.5 | $0.00009 | $0.00293 |
| Haiku 4.5 | $0.00005 | $0.00147 |
Grade A, and why
xgboost 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 2mo 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 — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
XGBoost
XGBoost is an optimized distributed gradient boosting library designed for high efficiency, speed, and predictive accuracy on tabular datasets.
When to Use
- Tabular Data Competitions & Industry Production: High-performance gradient boosted decision trees for classification and regression.
- GPU-Accelerated Tree Building: Training massive datasets on NVIDIA GPUs with
tree_method="hist"anddevice="cuda". - Handling Missing Values & Sparsity: Automatic direction assignment for missing values without manual imputation.
- Monotonic Feature Constraints: Enforcing domain-specific rules (e.g., higher credit score must never increase interest rate).
Quick Start
import xgboost as xgb
from sklearn.datasets import make_classification
from sklearn.model_selection import train_test_split
X, y = make_classification(n_samples=1000, n_features=20, random_state=42)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
# Scikit-learn compatible API with GPU histogram support
model = xgb.XGBClassifier(
n_estimators=100,
learning_rate=0.05,
max_depth=6,
tree_method="hist", # Ultra-fast histogram method
device="cuda" if xgb.rabit.get_rank() >= 0 else "cpu"
)
model.fit(X_train, y_train)
accuracy = model.score(X_test, y_test)
print(f"XGBoost Test Accuracy: {accuracy:.4f}")
Core Concepts
High-Performance XGBClassifier with Early Stopping
Training XGBoost using Scikit-Learn API with GPU acceleration:
import xgboost as xgb
from sklearn.model_selection import train_test_split
from sklearn.metrics import roc_auc_score
import pandas as pd
import numpy as np
# Sample dataset
X = pd.DataFrame(np.random.randn(20000, 10), columns=[f"feat_{i}" for i in range(10)])
y = (X["feat_0"] + X["feat_1"] * 2 > 0.5).astype(int)
X_train, X_val, y_train, y_val = train_test_split(X, y, test_size=0.2, random_state=42)
# Configure modern XGBoost 2.x classifier
clf = xgb.XGBClassifier(
n_estimators=1000,
learning_rate=0.03,
max_depth=6,
subsample=0.8,
colsample_bytree=0.8,
tree_method="hist",
device="cuda" if xgb.rabit.is_distributed() else "cpu",
early_stopping_rounds=30,
eval_metric="auc",
random_state=42
)
clf.fit(
X_train, y_train,
eval_set=[(X_val, y_val)],
verbose=50
)
preds = clf.predict_proba(X_val)[:, 1]
print(f"Validation AUC: {roc_auc_score(y_val, preds):.4f}")
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.
- 2mo ago Changed · +5 lines 5892d45c85d4
- 2mo ago Changed · +120 lines · +28 tokens per session 5fa79bba552c
- 3mo ago First seen · 44 lines · 17 tokens per session scan A b0d64d57f6ad
xgboost is a skill published in the GitHub repository G1Joshi/Agent-Skills (16 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 1,467 once invoked, about $0.0002 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-08-30.
xgboost compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| xgboostG1Joshi/Agent-Skills | Skill | 16 | 2mo ago | MIT | A | 45 | Claude Code, Codex |
| hallucination-preventionDevelopersGlobal/ai-agent-skills | Skill | 221 | 8d ago | MIT | A | 38 | Claude Code, Codex |
| rag-and-memoryDevelopersGlobal/ai-agent-skills | Skill | 221 | 8d ago | MIT | A | 36 | Claude Code, Codex |
| ai-opsborhen68/SkillEngine | Skill | 17 | 5mo ago | MIT | A | 50 | Claude Code |
| data-engineeringborhen68/SkillEngine | Skill | 17 | 5mo ago | MIT | A | 59 | Claude Code |
| using-agent-skillsaddyosmani/agent-skills | Skill | 122k | 9d ago | MIT | A | 54 | Claude Code |
| context-engineeringaddyosmani/agent-skills | Skill | 122k | 9d ago | MIT | A | 43 | Claude Code |