rnow-train-jsonl

Format and validate train.jsonl entries for ReinnowNow RL and SFT datasets.

31|4|Updated Oct 8, 2025
One-click install
npx skills add https://github.com/ReinforceNow/reinforcenow-cli --skill rnow-train-jsonl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rnow-train-jsonl
Source: https://github.com/ReinforceNow/reinforcenow-cli/tree/main/project8/.claude/skills/rnow-train-jsonl
Command: npx skills add https://github.com/ReinforceNow/reinforcenow-cli --skill rnow-train-jsonl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill formats and validates train.jsonl data for ReinforceNow, ensuring each line is a properly structured JSON object ready for RL or SFT workflows.

Core Features & Use Cases

  • Format: standardizes each line as a JSON object with fields like messages, rewards, metadata, variables, tools, docker, and docker_env.
  • Validation: enforces required fields and cross-checks rewards/tools names against rewards.py and tools.py.
  • Use Case: prepare large train.jsonl datasets for agent training and evaluation, including sandbox/docker entries when needed.

Quick Start

Prepare a train.jsonl file with one JSON object per line. Example format: {"messages": [{"role": "user", "content": "Hello"}], "rewards": ["accuracy"]}

Frequently Asked Questions about rnow-train-jsonl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format train.jsonl data for reinforcement learning workflows?

To format train.jsonl data for reinforcement learning, each line must be a structured JSON object containing fields like messages, rewards, metadata, variables, and tools. This validation ensures schema consistency across your entire RL or SFT dataset.

How do I validate rewards and tools names in my train.jsonl dataset?

Validating rewards and tools names in your train.jsonl dataset requires cross-checking entries against the defined functions in rewards.py and tools.py. This ensures only valid reward mechanisms and tool configurations are included in your training data.

When do I need to include docker or sandbox configuration in my train.jsonl entries?

Docker or sandbox configuration in train.jsonl entries is needed when your training environment requires containerized execution. The formatting process surfaces guidance for sandbox or Docker usage, applying docker and docker_env fields to isolate agent training and evaluation tasks.

What are the required fields for an SFT train.jsonl file?

Required fields for an SFT train.jsonl file include a messages array with role and content, plus a rewards array listing evaluation metrics. Optional fields like metadata, variables, tools, and docker configurations can be added to enrich the training context.

Does this train.jsonl formatting approach work for both RL and SFT datasets?

Yes, this train.jsonl formatting approach works for both RL and SFT datasets. It standardizes each line as a JSON object and enforces schema consistency, applying the same validation rules to required fields, rewards names, and tool configurations across both training methods.

Why does my train.jsonl schema validation fail when preparing agent training data?

Train.jsonl schema validation fails when entries lack required fields, contain improperly structured JSON objects, or reference rewards and tools names that do not exist in your rewards.py and tools.py files. Formatting standardizes each line to enforce this consistency.