rl-new-project

rl-new-project is a command for Claude Code from Aznatkoiny/zAI-Skills. It costs 40 tokens per session (1,175 once invoked), scanned A, original, MIT.

A command that creates a starter Python reinforcement-learning project, where an agent learns through rewards from an environment.

In plain words
What is it for?
Use it to scaffold a custom Gymnasium environment, an SB3 training script, an Optuna tuning stub, and Makefile validation targets.
Why use it?
It gives a new project a consistent structure for the environment, training, evaluation, tuning, and validation work.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ai-toolkit plugin — 6 skills, 4 commands, 2 agents shipped together

Good fit Use it to scaffold a custom Gymnasium environment, an SB3 training script, an Optuna tuning stub, and Makefile validation targets.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Aznatkoiny/zAI-Skills
Claude Code
/plugin install ai-toolkit

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 6 skills, 4 commands, 2 agents.

Wrote 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.

agentmods badge for rl-new-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/rl-new-project/github.svg)](https://agentmods.dev/commands/aznatkoiny/zai-skills/rl-new-project)
Your own site
<a href="https://agentmods.dev/commands/aznatkoiny/zai-skills/rl-new-project"><img src="https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/rl-new-project/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.

agentmods 80×15 button for rl-new-project

Your own site · 80×15
<a href="https://agentmods.dev/commands/aznatkoiny/zai-skills/rl-new-project"><img src="https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/rl-new-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,175 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01175
Opus 5.5 $0.00016 $0.00470
Sonnet 5.5 $0.00008 $0.00235
Haiku 4.5 $0.00004 $0.00118

Measured 25d ago against content hash 04b3bd337122, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rl-new-project 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 25d 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.

AI-Toolkit/commands/rl-new-project.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scaffold a new Python reinforcement-learning project with the reinforcement-learning skill bundled with this plugin.

What the user wants the agent to learn

$ARGUMENTS

If that's empty, ask one question: what should the agent learn, roughly what it observes, what it can do, and what success looks like. In the same message, offer to scaffold a worked example right away (a small grid-world "reach the goal" environment) so they can see the pieces run first. If they pick the example, go ahead without further questions.

If the description is thin, fill the gaps with sensible choices, mark them with TODO, and say what you assumed rather than asking a series of questions.

Get the guidance

Read ${CLAUDE_PLUGIN_ROOT}/skills/reinforcement-learning/SKILL.md. Consult references/environments.md (environment template and checks), references/algorithms.md (for the algorithm choice) and references/training.md (starting hyperparameters, reward design) under ${CLAUDE_PLUGIN_ROOT}/skills/reinforcement-learning/ as needed.

Choose the algorithm from the skill's table: action-space type first, then whether environment steps are expensive. Default to PPO when nothing points elsewhere, since it's the most forgiving. Say which you chose and why in one or two sentences.

Create the project

Create it in a new subfolder named after the task (kebab-case), unless the user asked for the current directory. If the target folder exists and isn't empty, ask before writing.

<task-name>/
├── requirements.txt     stable-baselines3[extra]>=2.4, gymnasium>=1.0, optuna
├── .gitignore           .venv/, models/, runs/, __pycache__/
├── Makefile
├── README.md            what each target does, first-run order
├── src/
│   ├── __init__.py
│   ├── env.py           the custom Gymnasium environment
│   ├── train.py         training entry point
│   └── tune.py          Optuna stub
├── scripts/             copies of the skill's validate_env.py, pretrain_check.py, eval_report.py
└── models/              checkpoints and VecNormalize statistics (gitignored)

Read the full file on GitHub · 67 lines

Changes

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.

  1. 25d ago Changed · -1 lines · +5 tokens per session 04b3bd337122
  2. 3mo ago First seen · 68 lines · 35 tokens per session scan A efe9f997bc46

Subscribe to this mod's changes

rl-new-project is a command published in the GitHub repository Aznatkoiny/zAI-Skills (10 stars, last pushed 26d ago), licensed MIT. It adds 40 tokens to every session and 1,175 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-31.

Related

rl-new-project compared with commands from other repositories

rl-new-project next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rl-new-projectAznatkoiny/zAI-SkillsCommand1026d agoMITA40Claude Code
python-devDmitriyYukhanov/claude-pluginsCommand81mo agoMITA17Claude Code
ccc-python-reviewKevinZai/commanderCommand6todayMITA48Claude Code
lintdavila7/claude-code-templatesCommand35kyesterdayMITA0Claude Code
setupzircote/python-lspCommand43d agoMITA8Claude Code
typescript-devDmitriyYukhanov/claude-pluginsCommand81mo agoMITA18Claude Code
conjurejohn-farina/claude-pluginsCommand11mo agoMITB62Claude Code