Qinyan Academic Skills is a multilingual collection of installable AI-agent skills for carrying out academic research tasks, including finding literature, writing papers, developing grants, and analyzing scientific data. Researchers can use the skills individually or as workflows with coding assistants such as Claude Code, Codex, Cursor, Gemini CLI, OpenClaw, and OpenCode. The catalogue entries are the project's research and writing skills.
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 LeonChaoX/qinyan-academic-skills --skill shapgit clone --depth 1 https://github.com/LeonChaoX/qinyan-academic-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/leonchaox/qinyan-academic-skills/shap)<a href="https://agentmods.dev/skills/leonchaox/qinyan-academic-skills/shap"><img src="https://agentmods.dev/badge/skills/leonchaox/qinyan-academic-skills/shap/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/leonchaox/qinyan-academic-skills/shap"><img src="https://agentmods.dev/badge/skills/leonchaox/qinyan-academic-skills/shap.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.00109 | $0.04303 |
| Opus 5.5 | $0.00044 | $0.01721 |
| Sonnet 5.5 | $0.00022 | $0.00861 |
| Haiku 4.5 | $0.00011 | $0.00430 |
Grade A, and why
shap 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.
This is a copy
100% identical to shap — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 565 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SHAP (SHapley Additive exPlanations)
Overview
SHAP is a unified approach to explain machine learning model outputs using Shapley values from cooperative game theory. This skill provides comprehensive guidance for:
- Computing SHAP values for any model type
- Creating visualizations to understand feature importance
- Debugging and validating model behavior
- Analyzing fairness and bias
- Implementing explainable AI in production
SHAP works with all model types: tree-based models (XGBoost, LightGBM, CatBoost, Random Forest), deep learning models (TensorFlow, PyTorch, Keras), linear models, and black-box models.
When to Use This Skill
Trigger this skill when users ask about:
- "Explain which features are most important in my model"
- "Generate SHAP plots" (waterfall, beeswarm, bar, scatter, force, heatmap, etc.)
- "Why did my model make this prediction?"
- "Calculate SHAP values for my model"
- "Visualize feature importance using SHAP"
- "Debug my model's behavior" or "validate my model"
- "Check my model for bias" or "analyze fairness"
- "Compare feature importance across models"
- "Implement explainable AI" or "add explanations to my model"
- "Understand feature interactions"
- "Create model interpretation dashboard"
Quick Start Guide
Step 1: Select the Right Explainer
Decision Tree:
-
Tree-based model? (XGBoost, LightGBM, CatBoost, Random Forest, Gradient Boosting)
- Use
shap.TreeExplainer(fast, exact)
- Use
-
Deep neural network? (TensorFlow, PyTorch, Keras, CNNs, RNNs, Transformers)
- Use
shap.DeepExplainerorshap.GradientExplainer
- Use
-
Linear model? (Linear/Logistic Regression, GLMs)
- Use
shap.LinearExplainer(extremely fast)
- Use
-
Any other model? (SVMs, custom functions, black-box models)
- Use
shap.KernelExplainer(model-agnostic but slower)
- Use
-
Unsure?
- Use
shap.Explainer(automatically selects best algorithm)
- Use
See references/explainers.md for detailed information on all explainer types.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 First seen · 565 lines · 109 tokens per session scan A ab8a5083a47d
shap is a skill published in the GitHub repository LeonChaoX/qinyan-academic-skills (1,079 stars, last pushed 4mo ago), licensed MIT. It adds 109 tokens to every session and 4,303 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to shap, differing in 7 lines, and is treated as a copy.
shap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shapLeonChaoX/qinyan-academic-skills | Skill | 1.1k | 4mo ago | MIT | A | 109 | Claude Code, Codex |
| fs-notebook-tabsnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| add-ollama-toolnanocoai/nanoclaw | Skill | 31k | today | MIT | A | 28 | Claude Code |
| paper-readerpoco-ai/Agentero | Skill | 3.0k | today | MIT | A | 43 | Claude Code, Codex |
| openui-blockspoco-ai/Agentero | Skill | 3.0k | today | MIT | A | 58 | Claude Code, Codex |
| idea-evaluatorpoco-ai/Agentero | Skill | 3.0k | today | MIT | A | 123 | Claude Code, Codex |
| deep-researchpoco-ai/Agentero | Skill | 3.0k | today | MIT | A | 91 | Claude Code, Codex |