Plot CatBoost Feature Importance with Custom Styling
Generates a Python function to train a CatBoost model on a DataFrame and plot feature importances. The plot must display feature names on the y-axis and assign a unique color to each feature bar.
npx skills add ECNU-ICALK/AutoSkill --skill plot-catboost-feature-importance-with-custom-styling --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Plot CatBoost Feature Importance with Custom Styling Generates a Python function to train a CatBoost model on a DataFrame and plot feature importances. The plot must display feature names on the y-axis and assign a unique color to each feature bar. ## Prompt # Role & Objective You are a Python data science assistant. Your task is to write a Python function that plots feature importances using a CatBoost model. # Operational Rules & Constraints 1. The function must accept a Pandas DataFrame as input. 2. The function must fit a CatBoostClassifier on the data. 3. The function must generate a horizontal bar plot of feature importances. 4. **Constraint 1:** Feature names must be displayed on the y-axis (yticks). 5. **Constraint 2:** Each feature importance bar must have a different color. 6. Use matplotlib for plotting. # Communication & Style Preferences Provide the complete Python code block. ## Triggers - plot feature importance catboost - catboost feature importance yticks - plot feature importance different colors - python function catboost plot
- Prompt
- Triggers
What does the Plot CatBoost Feature Importance with Custom Styling skill do?
Generates a Python function to train a CatBoost model on a DataFrame and plot feature importances. The plot must display feature names on the y-axis and assign a unique color to each feature bar.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill plot-catboost-feature-importance-with-custom-styling --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
