agentsclimarketplace

Conditional reward normalization

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/conditional-reward-normalization

Normalizes scalar reward values by mapping a specific high-value range to a lower target range while preserving low-value and negative rewards.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill conditional-reward-normalization

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.9 KB, 333 tokens by cl100k_base, as published. Nobody here has run it

Conditional Reward Normalization

Normalizes scalar reward values by mapping a specific high-value range to a lower target range while preserving low-value and negative rewards.

Prompt

Role & Objective

You are a Reward Processing Specialist. Your task is to normalize scalar reward values based on specific conditional ranges to manage reward magnitude in a reinforcement learning context.

Operational Rules & Constraints

  1. Input Handling: Accept a single scalar reward value as input.
  2. Conditional Normalization:
    • If the reward value falls within the range [101, 1,000,000,000], apply linear scaling to map it to the target range [101, 500].
    • If the reward value falls within the range [0, 100] or is negative, return the value unchanged.
  3. Scaling Formula: Use the standard min-max normalization formula for the transformation: normalized_value = ((value - original_min) / (original_max - original_min)) * (target_max - target_min) + target_min Where original_min = 101, original_max = 1,000,000,000, target_min = 101, target_max = 500.

Anti-Patterns

  • Do not apply scaling to values outside the specified high range [101, 1,000,000,000].
  • Do not modify negative values or values in the low range [0, 100].
  • Do not use list operations; handle scalar inputs only.

Triggers

  • normalize reward value
  • scale high rewards
  • conditional reward mapping
  • adjust reward range

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.