hydr0pon1c/skills-on-the-fly/15387
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/15387SKILL.md
The same SKILL.md was published earlier as hydr0pon1c/skills-on-the-fly/15387.
SKILL.md
When to use
This skill applies to Excel cell-level manipulation tasks where the user describes a desired behavior (often conditional lookup, filtering, or fill) and specifies input and output cell ranges. The agent must interpret the user’s high-level instruction in terms of spreadsheet mechanics, then write a formula or populate values in the given answer_position. Before acting, gather:
- The exact location and content of input cells mentioned (e.g., cells where the user will type values).
- The structure of the relevant rows/columns: headers, data rows, and empty cells.
- The expected output cells and whether they should contain formulas or static results.
- Any ambiguity in the instruction (e.g., the user may miscount columns or describe a different layout), resolve by inspecting the actual spreadsheet.
Possible Failure Modes
- Misinterpreting the table orientation: The user may refer to “columns” but the data is actually arranged with row headers or in multiple blocks. Always dump the first few rows and columns to confirm layout.
- Assuming static column letters: When the user says “column F”, the actual data in that column may not be the one intended; check the row headers and column labels.
- Using Excel functions without verifying they work with the actual cell types: e.g., MATCH on dates vs numbers, or COUNTA on cells that appear blank but contain empty strings.
- Overlooking empty or error rows in data sheets: The user may expect blank results for missing items, not #N/A or 0.
- Writing values instead of formulas: If the user wants dynamic updates when input cells change, the answer must be formulas, not static numbers.
- Modifying cells outside the answer_position: The evaluator only checks the specified range; extra changes may cause mismatches.
Possible procedures
- Inspect the data schema.
- Use openpyxl or pandas to print the first ~10 rows of every sheet.
- Identify header rows (row 1 is often headers), data rows, and note any repeated patterns (e.g., a date block followed by name/value blocks).
- Determine which column contains the lookup key (e.g., customer names, dates, IDs) and which columns hold the values to retrieve.
- Translate the user’s instruction into a concrete operation.
- “Input ‘0’ in cells B1:F1” means the user will type a specific value (here ‘0’) into a range of input cells. The formula must react to the value(s) in those cells.
- “Display corresponding list of customers” indicates a filtered list or a lookup that returns the customer names that satisfy a condition (e.g., the associated value equals the input value).
- If the answer_position is a vertical range like A13:A14, the formula likely needs to return an array or be an array formula (CSE) or a sequence of IF statements.
- Choose between formula and static fill.
- If the user wants the output to update when input cells change, use Excel formulas. For multiple output cells, consider:
- IF functions with AND/OR conditions.
- INDEX/MATCH or XLOOKUP for two‑dimensional lookups.
- FILTER function (if Excel version supports it) for dynamic arrays.
- If the user wants a one‑time result, compute the values via Python and write them directly.
- Construct the formula piecewise.
- Start with a single output cell; test the logic mentally against the spreadsheet content.
- Use absolute references ($) for fixed ranges and relative references for per‑cell adjustments.
- Handle missing matches: wrap with IFERROR or IF(condition, ... , "") to return blank instead of #N/A or 0.
- For multiple criteria (e.g., row and column matches), nest MATCH inside INDEX.
- Write the formula to the answer_position cells.
- In openpyxl, assign a string beginning with ‘=’ to each cell.
- For a range of cells, loop over rows (and columns) building the appropriate formula for each cell.
- Ensure the formula references the correct input cells from the target sheet (e.g.,
B$1for the first input column,$A2for the current row’s label).
- Save and verify.
- Open the saved workbook (e.g., with pandas) and check that the computed values match expectations.
- If the result is a formula, manually inspect a few cells to confirm the references are correct.
Verification Checklist
- [ ] The answer cells are exactly at the specified answer_position.
- [ ] For formula‑based solutions: each formula string begins with ‘=’ and is syntactically correct (e.g., balanced parentheses).
- [ ] The formulas reference the correct input cells (e.g.,
$B$1when the user types there, not a different row). - [ ] When input cells contain the trigger value (e.g., ‘0’), the formulas produce the expected output (checked with known data).
- [ ] For missing conditions (e.g., no customer with value 0), the formulas return blank, not #N/A or 0.
- [ ] No cells outside the answer_position were modified (use openpyxl to compare with original).
- [ ] The output workbook is saved to the specified output_path without errors.
- [ ] If the solution uses a static fill, the values match the ground truth for all rows in the answer range.
- [ ] The solution does not copy any code or data from retrieved examples; it is independently derived from the target task context and 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
- SKILL.md in the repositoryCheckingprompt_optimizer/runs/example/spreadsheet/task_skills/15387/SKILL.md
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
[](https://verified-skill.com/skills/hydr0pon1c/skills-on-the-fly/15387)