hydr0pon1c/skills-on-the-fly/18645

Claude Code and agent skill by hydr0pon1c/skills-on-the-fly

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install hydr0pon1c/skills-on-the-fly/18645

SKILL.md

The same SKILL.md was published earlier as hydr0pon1c/skills-on-the-fly/18645.

SKILL.md

When to use

Use this skill when you need to add a calculated column in an Excel spreadsheet where a value from one cell must be multiplied by a percentage that comes from a lookup table on another sheet. The lookup table maps categorical identifiers (e.g., pipeline stage names) to fixed numeric rates (percentages). The target task typically requires:

  • Identifying which columns contain the value to multiply (e.g., revenue) and the category to match (e.g., pipeline stage).
  • Locating the lookup table on a different sheet, with categories in one column and rates in an adjacent column.
  • Writing a formula that can be copied down to fill multiple rows, using absolute references for the lookup range.
  • Preserving any existing data or formatting outside the output range.

Before acting, gather the following evidence from the spreadsheet:

  1. The exact sheet names and column headers for both the output sheet and the lookup sheet.
  2. Which columns hold the numeric value to multiply and the category identifier.
  3. The exact layout of the lookup table: which columns contain the category names and the corresponding percentages, and whether the match should be exact (likely “Exact Match” i.e., FALSE in VLOOKUP).
  4. Whether the output cells already contain any formulas or static values that must be preserved or will be overwritten.
  5. Any formatting requirements (e.g., background color) mentioned in the instruction.

Possible Failure Modes

  • Misidentifying lookup columns: Assuming the lookup table is oriented differently (rows vs columns). Always verify the exact column indexes for the category and the rate.
  • Using approximate match (`TRUE` in VLOOKUP) when exact match is needed. Pipeline stages are text categories, so always use FALSE.
  • Not using absolute references ($A$1:$B$10) for the lookup range, causing the formula to shift incorrectly when copied down.
  • Forgetting to reference the correct sheet (e.g., Data!$A$2:$B$10 instead of just $A$2:$B$10).
  • Overwriting existing formulas or values in cells outside the specified answer_position (e.g., modifying header rows or other columns).
  • Incorrect cell range for the lookup table: Only include header rows if they are not part of the data; otherwise start from the first data row.
  • Not handling empty or missing categories (e.g., if a pipeline stage has no match, VLOOKUP returns #N/A; consider IFERROR to show blank or 0).
  • Error when the answer_position includes cells that originally had formulas referencing other columns – those formulas may become invalid if overwritten; must preserve them unless instructed otherwise.

Possible procedures

  1. Open the spreadsheet (e.g., with openpyxl) and load the relevant worksheets.
  2. Identify the lookup table location:
  • Find the sheet containing the stage-to-percentage mapping (e.g., "Data").
  • Determine the exact cell range: e.g., column A contains stage names, column B contains percentages, starting from row 2 (if row 1 is header).
  • Note any extra rows or columns that are not part of the mapping.
  1. Identify the output columns:
  • In the output sheet (e.g., "Opportunities"), find the column with the revenue (e.g., column E), the column with the stage name (e.g., column D), and the column to fill with the weighted value (e.g., column G).
  • The answer_position tells you which cells to modify (e.g., 'Opportunities'!G2:G3). Do not modify cells outside this range.
  1. Construct the formula:
  • Use VLOOKUP or INDEX/MATCH. For exact text match: =VLOOKUP(D2, Data!$A$2:$B$100, 2, FALSE).
  • Multiply by the revenue cell: =E2 * VLOOKUP(D2, Data!$A$2:$B$100, 2, FALSE).
  • If the stage might not exist, wrap with IFERROR to avoid #N/A errors: =IFERROR(E2 * VLOOKUP(D2, Data!$A$2:$B$100, 2, FALSE), 0) or leave blank.
  1. Apply the formula to the answer range:
  • For each row in the answer range, write the formula with the appropriate row references.
  • For the first cell, use relative references for the row numbers of revenue and stage (e.g., E2, D2) and absolute references for the lookup table.
  • For subsequent cells, the formula can be the same as it will automatically adjust row numbers when copied down.
  1. Preserve existing content:
  • If a cell in the answer range already contains a correct static value or formula (like a pre-filled example), leave it unchanged unless the instruction explicitly says to replace it.
  • Only modify cells that are blank or explicitly need to be filled.
  1. Apply any specified formatting (e.g., background color) if the instruction includes such a requirement. Do not alter formatting of other cells.
  2. Save the workbook to the specified output path.

Verification Checklist

  • [ ] The formula references the correct lookup sheet and cell range (absolute references, e.g., Data!$A$2:$B$100).
  • [ ] The formula uses exact match (FALSE or 0) for text-based categories.
  • [ ] The formula multiplies the correct revenue cell (check column letter and row number).
  • [ ] The formula is written as an Excel formula string (starting with =) and not as a computed value.
  • [ ] The answer_range (e.g., G2:G3) is fully filled with formulas (or static values if appropriate).
  • [ ] Cells outside the answer_range are not modified.
  • [ ] If present, any pre-filled header row or example cell in the answer_range is preserved unless the task requires overwriting it.
  • [ ] No error values (#N/A, #VALUE!, etc.) appear when the spreadsheet is opened – consider using IFERROR for missing matches.
  • [ ] The output workbook is saved to the correct output path.
  • [ ] If formatting was requested (e.g., background color), verify it is applied only to the answer cells.
  • [ ] The solution does not copy any concrete names, numbers, or paths from the retrieved examples – all references come from the target task's own spreadsheet content.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hydr0pon1c/skills-on-the-fly/18645/badge)](https://verified-skill.com/skills/hydr0pon1c/skills-on-the-fly/18645)

Something wrong with this skill or its page? Tell us.