reinforcenow/reinforcenow-cli/rnow-train-jsonl
Claude Code and agent skill by reinforcenow/reinforcenow-cli
- community
Checking that the SKILL.md file is still in the repository.
Format train.jsonl training data for ReinforceNow. Use when creating train.jsonl, formatting training entries, using tools/rewards per entry, or setting up sandbox/docker. Triggers on "train.jsonl", "training data", "docker", "sandbox", "entry format".
Install
npx vskill@latest install reinforcenow/reinforcenow-cli/rnow-train-jsonlSKILL.md
train.jsonl Format
One JSON object per line. Each entry is a training example.
Fields
| Field | Required | Description | |
|---|---|---|---|
messages | Yes | Conversation array | |
rewards | RL only | List of reward function names | |
metadata | No | Data accessible via args.metadata in rewards | |
variables | No | Template variables via args.variables | |
tools | No | Filter which tools are available for this entry | |
docker | If sandbox | Docker image for sandbox execution | |
docker_env | No | Environment variables for sandbox |
Message Roles
| Role | Description | |
|---|---|---|
system | System instructions (optional, must be first) | |
user | User message (at least one required) | |
assistant | Assistant response (for multi-turn context) | |
tool | Tool call result (for tool use context) |
Basic Examples
RL Entry
SFT Entry
SFT with Tool Calls (Agentic Distillation)
SFT supports training on conversations with tool calls (e.g., from teacher model distillation):
Tool call format (OpenAI-compatible):
Notes:
argumentsmust be a JSON string, not an objectcontentcan be empty string""when assistant makes tool calls- Tool results use
role: "tool"with matchingtool_call_id - Works with all model renderers (Qwen3, DeepSeek, Kimi, etc.)
With System Prompt
Using Tools
Filter which tools are available for a specific entry with the tools field:
If tools is omitted, ALL defined tools in tools.py are available.
For writing tool functions, see the rnow-tools skill.
Sandbox Entries
For entries that need isolated execution (code execution, file operations), use the docker field. This spawns a Modal sandbox where state persists between tool calls within the same rollout.
Required when: Any reward or tool uses sandbox=True.
Basic Sandbox
Custom Docker Image
Building Custom Images
CRITICAL: Docker images must be built for linux/amd64:
Modal runs on x86_64 Linux servers. Images built on ARM Macs without --platform linux/amd64 will fail.
Multi-Turn Context
Provide conversation history for multi-turn training:
Validation Rules
- Rewards must exist - Names in
rewardsmust match@rewardfunctions in rewards.py - Tools must exist - Names in
toolsmust match@toolfunctions in tools.py - sandbox=True requires docker - If any reward/tool uses
sandbox=True, the entry needs adockerfield - Messages format - Must have at least one
usermessage;systemmust be first if present
Related Skills
- rnow-tools - Writing tool functions (@tool decorator)
- rnow-rewards - Writing reward functions (@reward decorator)
- rnow-config - config.yml settings and HuggingFace dataset conversion
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrnow/skills/rnow-train-jsonl/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/reinforcenow/reinforcenow-cli/rnow-train-jsonl)