rl-new-project

rl-new-project is a command for Claude Code from Aznatkoiny/zAI-Skills. It costs 35 tokens per session (1,313 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 35 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,313 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.00035 $0.01313
Opus 5 $0.00017 $0.00656
Sonnet 5 $0.00007 $0.00263
Haiku 4.5 $0.00003 $0.00131

Measured 9d ago against content hash efe9f997bc46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 68 lines

How it starts

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

You are scaffolding a new Python reinforcement learning project using the reinforcement-learning skill.

Arguments

$ARGUMENTS

The arguments describe the environment or task (e.g. "inventory management with discrete restock actions", "2D drone hover, continuous thrust"). If no arguments were given, ask the user what they want the agent to learn — specifically the observation the agent sees, the actions it can take (discrete or continuous), and what success looks like — before scaffolding anything.

Step 1: Load the skill

Read ${CLAUDE_PLUGIN_ROOT}/skills/reinforcement-learning/SKILL.md first. Then read:

  • ${CLAUDE_PLUGIN_ROOT}/skills/reinforcement-learning/references/environments.md — custom env template, validation checklist, wrappers, and the environment testing script.
  • ${CLAUDE_PLUGIN_ROOT}/skills/reinforcement-learning/references/algorithms.md — algorithm deep-dives, for justifying the algorithm choice.
  • ${CLAUDE_PLUGIN_ROOT}/skills/reinforcement-learning/references/training.md — hyperparameter starting points, reward engineering, normalization.
  • ${CLAUDE_PLUGIN_ROOT}/skills/reinforcement-learning/references/debugging.md — the pre-training sanity checklist to turn into a validation script.

Step 2: Choose the algorithm

Apply the SKILL.md Algorithm Decision Tree to the task description: action space type first (discrete vs. continuous), then sample-efficiency and stability requirements. State the chosen algorithm and cite the decision-tree branch and the relevant section of references/algorithms.md that justifies it. Default to PPO when the task description leaves the tradeoffs ambiguous — it is the stable choice per the skill's quick-selection table.

Step 3: Generate the project

Create this layout in the current directory (ask before writing if the directory is not empty):

<project>/
├── pyproject.toml            # or requirements.txt — gymnasium>=1.0, stable-baselines3>=2.0, tensorboard, optuna
├── Makefile
├── src/
│   ├── __init__.py
│   ├── env.py                # custom Gymnasium environment
│   ├── train.py              # SB3 training entry point
│   └── tune.py               # Optuna tuning stub
├── scripts/
│   ├── check_env.py          # Gymnasium API validation
│   └── sanity_checks.py      # pre-training sanity checklist
└── models/                   # checkpoints + VecNormalize stats (gitignored)

Read the full file on GitHub · 68 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. 9d 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 (9 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 1,313 once invoked, about $0.0002 per session on Opus 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.