Skip to content
Back to skills

Recbole

ASecurity

"Use RecBole for recommender-system data preparation, model

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspythonbashapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill recbole --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Recbole?

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

Security grade badge for Recbole
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-recbole/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-recbole)

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
---
name: recbole
description: "Use RecBole for recommender-system data preparation, model
  selection, training, evaluation, tuning, and customization workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# RecBole

Use this repo skill when the task is about RecBole, the `recbole` Python
package, or recommender-system experiments that need RecBole-style atomic data,
configuration, models, training/evaluation, hyperparameter tuning, or extension
points.

RecBole is a PyTorch-based recommendation library covering general,
sequential, context-aware/CTR, and knowledge-aware recommendation. This skill is
self-contained operating guidance for using the installed package; do not rely
on the original repository checkout at runtime.

## Start here

1. Confirm the active environment can import RecBole and PyTorch:

   ```bash
   python -c "import recbole, torch; print(recbole.__version__); print(torch.__version__)"
   ```

2. For a richer smoke check, run the bundled helper from this skill:

   ```bash
   python scripts/check_recbole_env.py --models BPR SASRec --check-optional
   ```

3. Route the task to the narrowest sub-skill below. Read
   [references/repo-provenance.md](references/repo-provenance.md) before
   deciding whether this skill is current for a different RecBole checkout.

## Sub-skill routes

### Configuration and data

Read [configuration-and-data](sub-skills/configuration-and-data/SKILL.md) when
the user needs to:

- create or debug `Config(model, dataset, config_file_list, config_dict)`;
- understand YAML/dict/CLI priority;
- prepare RecBole atomic files such as `.inter`, `.user`, `.item`, `.kg`,
  `.link`, or `.net`;
- fix `load_col`, `data_path`, field-type headers, dataset filtering/splitting,
  saved dataset, or saved dataloader issues;
- validate a dataset with the bundled atomic-file checker.

### Training, evaluation, and tuning

Read [training-evaluation-and-tuning](sub-skills/training-evaluation-and-tuning/SKILL.md)
when the user needs to:

- run `BPR`, `SASRec`, `FM`, `KGAT`, or another model with `run` or
  `run_recbole`;
- build a no-checkpoint CPU smoke run or a saved experiment run;
- interpret valid/test metrics, grouped model results, or significance tests;
- use `load_data_and_model`, `full_sort_topk`, or `full_sort_scores`;
- run HyperTuning/Hyperopt/Ray or diagnose HPO/GPU/distributed failures.

### Models and customization

Read [models-and-customization](sub-skills/models-and-customization/SKILL.md)
when the user needs to:

- choose among general, sequential, context-aware/CTR, knowledge-aware, or
  external-library model families;
- resolve model class names with `get_model`/`get_trainer`;
- understand model-property defaults and task-specific data prerequisites;
- implement or diagnose custom recommenders, trainers, dataloaders, samplers,
  or metrics.

## Shared references and helpers

- [references/api-surface.md](references/api-surface.md) lists verified public
  API signatures and how root/sub-skill guidance uses them.
- [references/troubleshooting.md](references/troubleshooting.md) covers
  cross-cutting install/import, optional dependency, backend, and route-choice
  failures.
- [scripts/check_recbole_env.py](scripts/check_recbole_env.py) is a safe
  import/model/backend diagnostic helper.

## Default operating stance

- Prefer CPU-safe examples first: set `use_gpu: False`, small `epochs`,
  `show_progress: False`, and `saved=False` unless the user explicitly wants
  checkpoints.
- Treat CUDA, multi-GPU/distributed training, Ray GPU trials, W&B, and long HPO
  as optional/budget-sensitive paths. Verify hardware, credentials, and output
  directories before enabling them.
- Put complex data layout and `load_col` work in the configuration/data route
  before training.
- Put model-family decisions before experiment execution. CTR/side-feature
  requests usually belong to context-aware models; knowledge-graph requests
  require KG/link data; sequence/session requests belong to sequential models.
- If a workflow spans multiple areas, handle it in this order: data/config →
  model selection/customization → training/evaluation/tuning.

## Do not use this skill for

- Generic PyTorch training not using RecBole.
- Editing RecBole source internals as a maintainer task; use a repository
  maintenance route if the user asks to modify the repo itself.
- Recommendation frameworks outside RecBole unless the user is translating a
  workflow into RecBole terms.

Files in this skill

  • SKILL.md4.4 KB
  • references/api-surface.md3.8 KB
  • references/repo-provenance.md2.3 KB
  • references/repo-routing-metadata.json315 B
  • references/troubleshooting.md3.5 KB
  • scripts/check_recbole_env.py6.7 KB
  • sub-skills/configuration-and-data/SKILL.md6.6 KB
  • sub-skills/configuration-and-data/references/configuration-and-data.md13.9 KB
  • sub-skills/configuration-and-data/references/troubleshooting.md9.4 KB
  • sub-skills/configuration-and-data/scripts/validate_atomic_dataset.py17.8 KB
  • sub-skills/models-and-customization/SKILL.md3.8 KB
  • sub-skills/models-and-customization/references/customization-guide.md9.4 KB
  • sub-skills/models-and-customization/references/model-families-and-selection.md8.3 KB
  • sub-skills/models-and-customization/references/troubleshooting.md6.6 KB
  • sub-skills/models-and-customization/scripts/inspect_model_registry.py8.4 KB
  • sub-skills/training-evaluation-and-tuning/SKILL.md5.5 KB
  • sub-skills/training-evaluation-and-tuning/references/hyperparameter-tuning.md7.1 KB
  • sub-skills/training-evaluation-and-tuning/references/training-and-evaluation.md10.8 KB
  • sub-skills/training-evaluation-and-tuning/references/troubleshooting.md8.9 KB
  • sub-skills/training-evaluation-and-tuning/scripts/recbole_hyperopt_template.py13.9 KB

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.

Comments

Loading comments…

Newsletter

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