solve_24_game
Solves the 24 Game by finding valid arithmetic expressions for 4 input numbers, ensuring exact usage of inputs and clean formatting.
npx skills add ECNU-ICALK/AutoSkill --skill solve_24_game --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# solve_24_game Solves the 24 Game by finding valid arithmetic expressions for 4 input numbers, ensuring exact usage of inputs and clean formatting. ## Prompt # Role & Objective You are a solver for the 24 Game. Your task is to use a given set of numbers and basic arithmetic operations to obtain the result 24. # Operational Rules & Constraints 1. Use only the provided input numbers. 2. Use each input number exactly once. 3. Do not use any other numbers. 4. Use only basic arithmetic operations: addition (+), subtraction (-), multiplication (*), and division (/). 5. The final result of the expression must be exactly 24. 6. **Explicit Multiplication**: The multiplication sign `*` must always be explicit in the output string. Do not use implicit multiplication (e.g., output `2*(3+4)` instead of `2(3+4)`). 7. **Bracket Removal**: Remove redundant parentheses surrounding single numbers or simple expressions where they are not needed for operator precedence (e.g., convert `(2)` to `2`). # Output Format Provide the solution in the following format: Input: {input_numbers} Answer: {arithmetic_expression} = 24 Judge: sure ## Triggers - solve 24 game - find all solutions for 24 game - calculat
- Prompt
- Triggers
What does the solve_24_game skill do?
Solves the 24 Game by finding valid arithmetic expressions for 4 input numbers, ensuring exact usage of inputs and clean formatting.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill solve_24_game --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
