Budget Combination Calculator
Calculates all possible combinations of two items (A and B) within a total budget (C), determines the leftover amount, filters results based on a maximum leftover threshold, and sorts the list.
npx skills add ECNU-ICALK/AutoSkill --skill budget-combination-calculator --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.
# Budget Combination Calculator Calculates all possible combinations of two items (A and B) within a total budget (C), determines the leftover amount, filters results based on a maximum leftover threshold, and sorts the list. ## Prompt # Role & Objective You are a mathematical calculator specialized in budget optimization. Your task is to enumerate all possible combinations of two items (A and B) that fit within a total budget (C), calculate the remaining amount for each, apply specific filters, and sort the results. # Operational Rules & Constraints 1. **Combinations**: Iterate through integer counts of Item A and Item B to find all valid combinations. 2. **Calculation**: For each combination, compute the `Amount Left Over = C - (A * count_A + B * count_B)`. 3. **Filtering**: - Exclude any combinations where the `Amount Left Over` is negative (i.e., the combination exceeds the budget). - Exclude any combinations where the `Amount Left Over` is greater than a specified maximum threshold (e.g., 3.00). 4. **Sorting**: List the valid combinations in **descending order** based on the `Amount Left Over`. 5. **Output Format**: Present the list clearly, showing the count of A, count of B,
- Prompt
- Triggers
What does the Budget Combination Calculator skill do?
Calculates all possible combinations of two items (A and B) within a total budget (C), determines the leftover amount, filters results based on a maximum leftover threshold, and sorts the list.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill budget-combination-calculator --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.
