HumanoidClimb-RL: Instructions file for Claude Code

CLAUDE.md

HumanoidClimb-RL CLAUDE.md is an instructions file for Claude Code from s1ddh-rth/HumanoidClimb-RL. It costs 3,185 tokens per session, scanned A, original, MIT.

A set of coding instructions for a reinforcement-learning project that trains a simulated humanoid robot to climb using physics simulation and learned control policies.

In plain words
What is it for?
Use it to train, continue, test, and demonstrate humanoid-climbing models with PPO.
Why use it?
It explains the environment setup, training commands, checkpoint handling, and demonstrations so contributors can run the project consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is s1ddh-rth/HumanoidClimb-RL's own configuration. It tells Claude Code how to work on HumanoidClimb-RL itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything HumanoidClimb-RL configures →

Reuse

Borrowing it

Nothing to install: this file belongs to s1ddh-rth/HumanoidClimb-RL. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/s1ddh-rth/HumanoidClimb-RL/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/s1ddh-rth/HumanoidClimb-RL

Made for: Claude Code.

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 HumanoidClimb-RL CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/s1ddh-rth/humanoidclimb-rl/claude-md/github.svg)](https://agentmods.dev/instructions/s1ddh-rth/humanoidclimb-rl/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/s1ddh-rth/humanoidclimb-rl/claude-md"><img src="https://agentmods.dev/badge/instructions/s1ddh-rth/humanoidclimb-rl/claude-md/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 HumanoidClimb-RL CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/s1ddh-rth/humanoidclimb-rl/claude-md"><img src="https://agentmods.dev/badge/instructions/s1ddh-rth/humanoidclimb-rl/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,185 This file is loaded in full into every session.
When invoked 3,185 The same file — it is already loaded in full.
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.03185 $0.03185
Opus 5 $0.01592 $0.01592
Sonnet 5 $0.00637 $0.00637
Haiku 4.5 $0.00318 $0.00318

Measured 10d ago against content hash c4aec1d699b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

HumanoidClimb-RL CLAUDE.md 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 10d 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.

CLAUDE.md · 152 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Environment setup

conda create -n climb python=3.10
conda activate climb
conda install numpy pybullet gymnasium stable-baselines3 wandb --channel conda-forge
pip install stable-baselines3[extra]

Training uses CUDA when available (torch.cuda.is_available()), otherwise CPU. wandb is used for run tracking — wandb login must be configured before running train.py / autotrain.py.

Common commands

Train PPO from scratch with N parallel workers (uses SubprocVecEnv with start_method="spawn" — must run under if __name__ == '__main__':, which train.py already does):

python train.py HumanoidClimb-v0 PPO -w 4 -t

Continue training from an existing checkpoint:

python train.py HumanoidClimb-v0 PPO -w 4 -t -f path/to/model.zip

Test a trained single-stance model in the GUI (uses STANCE_14_1 hardcoded in train.py):

python train.py HumanoidClimb-v0 PPO -s path/to/model.zip

Run the full multi-stance climb demo (chains STANCE_1..STANCE_4 policies sequentially with GUI controls r/space/q):

python main.py        # single PPO model loaded from humanoid_climb/models/
python humanoid_climb/climb.py   # chains 4 PPO policies, one per stance

Generate end-of-stance state files (.npz saved under humanoid_climb/states/) by rolling out a trained model:

python collect_states.py   # edit STANCE / MODEL_FILE constants at top first

Inspect joint/part names from humanoid_symmetric.xml (PyBullet GUI):

python joint_test.py

There are no tests, linters, or build steps in this repo.

Architecture

This is a hierarchical climbing-RL setup: one PPO policy is trained per stance transition (a "stance" = which target hold each of the 4 effectors is gripping), then policies are chained at evaluation time.

Data flow

  1. config.json is the single source of truth for the simulation: assets (URDF/MJCF paths), climber joint forces and collision groups, holds (3D positions on the wall), and a stance_path (sequence of desired_holds / force_attach / ignore_holds). ClimbingConfig (humanoid_climb/climbing_config.py) loads it and resolves asset references.
  2. HumanoidClimbEnv (humanoid_climb/env/humanoid_climb_env.py, registered as HumanoidClimb-v0 in humanoid_climb/__init__.py) consumes the config, builds the PyBullet scene (plane, wall, holds, humanoid), and exposes a 21-dim action / 306-dim observation gym env. The motion path is read from the config's stance_path; each step advances desired_stance_index when current_stance == desired_stance.
  3. Humanoid (humanoid_climb/assets/humanoid.py) wraps the MJCF robot. The 21-dim action is split: first 17 are joint torques (scaled by power * joint_forces[name]), last 4 are grasp signals (one per effector — left/right hand/foot). Grasp > 0 triggers attach(), which creates a PyBullet JOINT_POINT2POINT constraint to the nearest hold within penetration distance (uses getClosestPoints with 0.0 threshold). force_attach constraints can be overridden per-stance via action_override/force_attach, and excluded holds via exclude_targets/ignore_holds.
  4. Asset (humanoid_climb/assets/asset.py) is a thin wrapper for static URDF/MJCF objects (wall, holds, plane). robot_util.addToScene (PyBullet's standard helper) populates parts/joints/ordered_joints.

Read the full file on GitHub · 152 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. 10d ago First seen · 152 lines · 3,185 tokens per session scan A c4aec1d699b9

Subscribe to this mod's changes

HumanoidClimb-RL CLAUDE.md is an instructions file published in the GitHub repository s1ddh-rth/HumanoidClimb-RL (10 stars, last pushed 4mo ago), licensed MIT. It adds 3,185 tokens to every session, about $0.0159 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.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens