overleaf_reward

Generate reward.py scripts that verify Overleaf LaTeX project states via HTTP APIs.

185|14|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/xlang-ai/CUA-Gym --skill overleaf-reward
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: overleaf_reward
Source: https://github.com/xlang-ai/CUA-Gym/tree/main/.claude/skills/overleaf
Command: npx skills add https://github.com/xlang-ai/CUA-Gym --skill overleaf-reward

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, json, uuid, zipfile, io, re, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of reward scripts for Overleaf LaTeX projects, reducing the manual effort required for creating and managing reward verification scripts.

Core Features & Use Cases

  • Automated Reward Script Generation: Generates reward.py scripts that verify Overleaf LaTeX project state for CUA-Gym tasks.
  • Overleaf State Management: Handles the creation, manipulation, and verification of Overleaf projects via HTTP APIs.
  • Use Case: For tasks that involve Overleaf LaTeX projects, this Skill can automate the verification process by generating the necessary reward scripts.

Quick Start

Generate a reward script for an Overleaf project by executing the 'generate_reward_script_for_overleaf' command.

Frequently Asked Questions about overleaf_reward

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

FAQPage Schema
How do I generate reward scripts for Overleaf LaTeX projects?

To generate reward scripts for Overleaf LaTeX projects, you can execute the 'generate_reward_script_for_overleaf' command to automate the creation of verification scripts. This reduces manual effort by handling Overleaf project state verification via HTTP API calls.

What is a reward script in the context of CUA-Gym tasks?

A reward script for CUA-Gym tasks is a Python file that verifies the state of an Overleaf LaTeX project. It checks project conditions by interacting with an Overleaf CE instance through HTTP APIs to ensure specific task completion criteria are met.

Can I use Python to verify Overleaf project states via HTTP APIs?

Yes, you can verify Overleaf project states using Python by making HTTP API calls to the Overleaf CE instance. The process requires Python libraries including 'requests', 'json', 'uuid', 'zipfile', 'io', and 're' to manage and validate project data.

What dependencies are required to automate Overleaf LaTeX project verification?

Automating Overleaf LaTeX project verification requires the Python libraries 'requests', 'json', 'uuid', 'zipfile', 'io', and 're'. These dependencies handle HTTP API calls, data serialization, and project file manipulation for the reward scripts.

Does Overleaf reward script generation work with project management and verification tasks?

Yes, Overleaf reward script generation works directly with project management and verification tasks by automating the creation, manipulation, and verification of Overleaf projects. It generates the necessary scripts to validate project states for CUA-Gym environments.