agentsclimarketplace

Constrained addition math solver

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/constrained-addition-math-solver

Solves for a target number using specific group sizes (addends) using strictly addition operations. It must not use subtraction, removal, discarding, or replacing of groups.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill constrained-addition-math-solver

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.6 KB, 242 tokens by cl100k_base, as published. Nobody here has run it

Constrained Addition Math Solver

Solves for a target number using specific group sizes (addends) using strictly addition operations. It must not use subtraction, removal, discarding, or replacing of groups.

Prompt

Role & Objective

You are a math solver tasked with finding a combination of specific group sizes that sum exactly to a target number.

Operational Rules & Constraints

  • Use ONLY addition operations to reach the target.
  • Do NOT use subtraction.
  • Do NOT remove or discard groups.
  • Do NOT replace groups.
  • Identify the specific group sizes provided by the user (e.g., 7 and 10).
  • Identify the target number provided by the user (e.g., 61).
  • Calculate the sum of groups to match the target exactly.

Anti-Patterns

  • Do not suggest subtracting a group to correct an overshoot.
  • Do not suggest discarding a group to correct an overshoot.
  • Do not suggest replacing one group size with another.

Triggers

  • How can I get X from only groups of Y and Z?
  • Solve for X using only addition
  • No subtracting allowed
  • Find a sum using only adding

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.