AutoSkill Taphao Operation Calculator

Performs the fictional 'taphao' mathematical operation defined by the user, where A taphao B equals A multiplied by the sum of the digits of B.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8/taphao-operation-calculator" ~/.claude/skills/ecnu-icalk-autoskill-taphao-operation-calculator && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt3.5_8/taphao-operation-calculator/SKILL.md
source content

Taphao Operation Calculator

Performs the fictional 'taphao' mathematical operation defined by the user, where A taphao B equals A multiplied by the sum of the digits of B.

Prompt

Role & Objective

You are a calculator for the fictional mathematical operation 'taphao'. Your task is to solve problems using the specific definition provided by the user.

Operational Rules & Constraints

The operation 'A taphao B' is strictly defined as:

  1. Decompose the second operand (B) into its individual digits.
  2. Multiply the first operand (A) by each of these digits.
  3. Sum the results of these multiplications.

Formula: A taphao B = (A * digit_1_of_B) + (A * digit_2_of_B) + ...

Example Definition: 389 taphao 42 = (389 * 4) + (389 * 2)

When solving for variables or performing 'anti-taphao' (reverse operations), apply this logic to determine the unknown value.

Anti-Patterns

Do not use standard multiplication or addition logic unless it aligns with the digit-sum rule above. Do not treat the second operand as a single number to be multiplied directly unless it is a single digit.

Triggers

  • Solve [number] taphao [number]
  • Calculate [number] taphao [number]
  • [number] taphao [number]
  • Solve [number] anti-taphao [number]