Commit Conventions
areal-project/AReaL
AReaL commit message conventions. An agent skill from areal-project/AReaL.
Guide for adding a new RolloutWorkflow to AReaL. An agent skill from areal-project/AReaL.
$ npx skills add areal-project/AReaL --skill add-workflow -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install areal-project/AReaL add-workflow --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/areal-project/AReaL.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-workflow .claude/skills/add-workflow && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-workflow" agent skill from https://github.com/areal-project/AReaL/tree/main/.agents/skills/add-workflow into .claude/skills/add-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-workflow", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/areal-project/AReaL/tree/main/.agents/skills/add-workflowType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add areal-project/AReaL --skill add-workflow -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install areal-project/AReaL add-workflow --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/areal-project/AReaL.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/add-workflow .agents/skills/add-workflow && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-workflow" agent skill from https://github.com/areal-project/AReaL/tree/main/.agents/skills/add-workflow into .agents/skills/add-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-workflow", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add areal-project/AReaL --skill add-workflow -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install areal-project/AReaL add-workflow --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/areal-project/AReaL.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/add-workflow .cursor/skills/add-workflow && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-workflow" agent skill from https://github.com/areal-project/AReaL/tree/main/.agents/skills/add-workflow into .cursor/skills/add-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-workflow", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/areal-project/AReaL.git --path .agents/skills/add-workflow--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add areal-project/AReaL --skill add-workflow -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install areal-project/AReaL add-workflow --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/areal-project/AReaL.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/add-workflow .gemini/skills/add-workflow && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-workflow" agent skill from https://github.com/areal-project/AReaL/tree/main/.agents/skills/add-workflow into .gemini/skills/add-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-workflow", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install areal-project/AReaL add-workflowInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add areal-project/AReaL --skill add-workflow -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/areal-project/AReaL.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/add-workflow .github/skills/add-workflow && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-workflow" agent skill from https://github.com/areal-project/AReaL/tree/main/.agents/skills/add-workflow into .github/skills/add-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-workflow", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add areal-project/AReaL --skill add-workflow -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install areal-project/AReaL add-workflow --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/areal-project/AReaL.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/add-workflow .opencode/skills/add-workflow && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-workflow" agent skill from https://github.com/areal-project/AReaL/tree/main/.agents/skills/add-workflow into .opencode/skills/add-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-workflow", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-workflowGuide for adding a new RolloutWorkflow to AReaL. An agent skill from areal-project/AReaL.
Add Workflow is an agent skill from areal-project/AReaL. Guide for adding a new RolloutWorkflow to AReaL. Use when user wants to create a new workflow.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: The RL Bridge for LLM-based Agent Applications. Made Simple & Flexible. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a642540. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Workflow loads about 1.1k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 178 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from areal-project/AReaL at commit a642540, republished under its Apache-2.0 licence (© areal-project). 178 words, ~1,104 tokens.
.claude/skills/add-workflow/SKILL.md (or your agent's skills folder).Add a new RolloutWorkflow implementation to AReaL.
This skill is triggered when:
Before starting, ensure you understand:
Create areal/workflow/<name>.py:
import uuid
from typing import Any, Callable
import torch
from areal.api.cli_args import GenerationHyperparameters
from areal.api.engine_api import InferenceEngine
from areal.api.io_struct import ModelRequest, ModelResponse
from areal.api.reward_api import AsyncRewardWrapper
from areal.api.workflow_api import RolloutWorkflow
from areal.utils import logging
logger = logging.getLogger("MyWorkflow")
class MyWorkflow(RolloutWorkflow):
"""Description of your workflow."""
def __init__(
self,
gconfig: GenerationHyperparameters,
tokenizer,
reward_fn: Callable,
):
self.gconfig = gconfig.new_with_stop_and_pad_token_ids(tokenizer)
self.tokenizer = tokenizer
self.async_reward_fn = AsyncRewardWrapper(reward_fn)
async def arun_episode(
self,
engine: InferenceEngine,
data: dict[str, Any],
) -> dict[str, Any] | None | dict[str, InteractionWithTokenLogpReward]:
"""Run a single episode. MUST be async and non-blocking."""
# 1. Prepare input_ids from data
input_ids = self.tokenizer.apply_chat_template(
data["messages"],
tokenize=True,
add_generation_prompt=True,
)
# 2. Build ModelRequest
req = ModelRequest(
rid=uuid.uuid4().hex,
input_ids=list(input_ids),
gconfig=self.gconfig.new(n_samples=1),
tokenizer=self.tokenizer,
)
# 3. Generate completion (async)
resp: ModelResponse = await engine.agenerate(req)
# 4. Compute reward (async)
prompt_str = self.tokenizer.decode(input_ids)
completion_str = self.tokenizer.decode(resp.output_tokens)
reward = await self.async_reward_fn(
prompt_str,
completion_str,
resp.input_tokens,
resp.output_tokens,
**data,
)
# 5. Return results in expected format
return {
"input_ids": torch.tensor(resp.input_tokens),
"output_ids": torch.tensor(resp.output_tokens),
"reward": torch.tensor(reward),
}Add to areal/workflow/__init__.py:
from areal.workflow.<name> import MyWorkflow
__all__ = [
# ... existing exports
"MyWorkflow",
]Update your training script to use the new workflow:
trainer.train(
workflow="areal.workflow.<name>.MyWorkflow",
# ... other args
)Create tests/test_<name>_workflow.py:
import pytest
from areal.workflow.<name> import MyWorkflow
@pytest.mark.asyncio
async def test_workflow_basic():
# Test basic functionality
pass| Workflow | File | Description |
|---|---|---|
| MultiTurnWorkflow | areal/workflow/multi_turn.py | Multi-turn conversation |
| RLVRWorkflow | areal/workflow/rlvr.py | RL with verifiable rewards |
| VisionRLVRWorkflow | areal/workflow/vision_rlvr.py | Vision + RLVR |
arun_episode must be async def and non-blockingaiofiles for file operationsAsyncRewardWrapper for reward functions[batch, seq_len, ...]concat_padded_tensors for combining outputsopen() instead of aiofiles.open()await async callsAsyncRewardWrapper© areal-project, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/add-workflow of areal-project/AReaL.
Open the folder on GitHubat commit a642540
Add Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Workflow this skillareal-project/AReaL | 5.8k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Commit Conventionsareal-project/AReaL | 5.8k | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Add Unit Testsareal-project/AReaL | 5.8k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Upgrade Depsareal-project/AReaL | 5.8k | — | ~6k | Automated safety check: Pass | Apache-2.0 | |
| Add Datasetareal-project/AReaL | 5.8k | 1 repos | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Add Rewardareal-project/AReaL | 5.8k | 1 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 |
areal-project/AReaL
AReaL commit message conventions. An agent skill from areal-project/AReaL.
areal-project/AReaL
Guide for adding unit tests to AReaL. An agent skill from areal-project/AReaL.
areal-project/AReaL
Upgrade focused runtime dependencies in AReaL. An agent skill from areal-project/AReaL.
areal-project/AReaL
Guide for adding a new dataset loader to AReaL. An agent skill from areal-project/AReaL.
areal-project/AReaL
Guide for adding a new reward function to AReaL. An agent skill from areal-project/AReaL.
areal-project/AReaL
Guide for debugging distributed training issues in AReaL. An agent skill from areal-project/AReaL.
areal-project/AReaL
Guide for adding a new model to the Archon engine. An agent skill from areal-project/AReaL.
areal-project/AReaL
Read-only pull request review workflow with risk analysis, targeted checklists, and Codex subagent consultation.
areal-project/AReaL
Rebase the current branch onto the latest base branch, squash local commits, generate a Conventional Commit message, and create or update the GitHub pull request.
areal-project/AReaL
Translate an English document under docs/en/ into the matching Chinese document under docs/zh/.
Guide for adding a new RolloutWorkflow to AReaL. An agent skill from areal-project/AReaL. Add Workflow is an agent skill from areal-project/AReaL. Guide for adding a new RolloutWorkflow to AReaL.
Add Workflow fits situations like: user wants to create a new workflow.
Run `npx skills add areal-project/AReaL --skill add-workflow -a claude-code`. Or copy the skill folder (.agents/skills/add-workflow in areal-project/AReaL) into .claude/skills/add-workflow in your project. Claude Code loads it when a task matches its description.
Run `npx skills add areal-project/AReaL --skill add-workflow -a codex`. Or copy the skill folder (.agents/skills/add-workflow in areal-project/AReaL) into .agents/skills/add-workflow in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add areal-project/AReaL --skill add-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-workflow, .gemini/skills/add-workflow, .github/skills/add-workflow and .opencode/skills/add-workflow in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Workflow is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add Workflow is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Workflow: Commit Conventions (areal-project/AReaL, 5.8k stars), Add Unit Tests (areal-project/AReaL, 5.8k stars), Upgrade Deps (areal-project/AReaL, 5.8k stars) and Add Dataset (areal-project/AReaL, 5.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
areal-project (a GitHub organization) maintains it in areal-project/AReaL, which has 5,817 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 8, 2026.
Source: areal-project/AReaL on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.