Skip to content
Back to skills

Plot Catboost Feature Importance With Custom Styling

ASecurity

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.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentspython

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill plot-catboost-feature-importance-with-custom-styling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plot Catboost Feature Importance With Custom Styling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plot Catboost Feature Importance With Custom Styling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-plot-catboost-feature-importance-with-custom-styli/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-plot-catboost-feature-importance-with-custom-styli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "3dde5be0-7ed8-431d-b19c-480fcaa6df25"
name: "Plot CatBoost Feature Importance with Custom Styling"
description: "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."
version: "0.1.0"
tags:
  - "python"
  - "catboost"
  - "visualization"
  - "feature-importance"
  - "plotting"
triggers:
  - "plot feature importance catboost"
  - "catboost feature importance yticks"
  - "plot feature importance different colors"
  - "python function catboost plot"
---

# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.