hydr0pon1c/skills-on-the-fly/16511
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/16511SKILL.md
The same SKILL.md was published earlier as hydr0pon1c/skills-on-the-fly/16511.
SKILL.md
When to use
Use this skill when the target task requires creating an Excel formula that increments a sequential number (track number, sequence ID, etc.) per group based on values in another column (e.g., album name, category). The formula must be placed in a specified cell range (answer_position). The task context explicitly provides the spreadsheet path, sheet content preview, instruction, and output path. Before acting, gather:
- The column that defines the groups (the “grouping column”) – from the instruction and the spreadsheet content preview.
- The column that will receive the sequential numbers (the “target column”) – from
answer_position. - The starting point of the formula (first cell of
answer_position). - Whether the data has gaps or empty cells that should be handled.
Possible Failure Modes
- Incorrect group‑column reference: Using a column that does not contain the grouping key (e.g., using column B instead of album name column). Always confirm column identity by reading the header row and matching the instruction.
- Wrong formula logic: Using
ROW()or a simple+1without grouping restarts. This will produce a global counter instead of per‑group resetting numbers. - Mixed absolute/relative references: Using
COUNTIF($D$2:D2,D2)correctly (absolute start, relative end). A common mistake is usingCOUNTIF(D$2:D2,D2)which breaks when copied to other rows. - Overwriting existing data: Accidentally modifying cells outside
answer_position, or clearing original values that should be preserved. - Empty cells / gaps: Not accounting for blank rows. The formula should output an empty string (
"") when the grouping cell is empty, or skip those rows entirely. - Wrong output path or file format: Saving to a different location or not overwriting the original file. Always use the supplied
output_path.
Possible procedures
- Load the workbook using
openpyxl(or equivalent). Activate the sheet that contains the data (usually the active sheet or the first sheet). - Identify the grouping column by inspecting the first row (header) and matching the instruction’s description (e.g., “Album Name”). Store its column letter (e.g.,
'D'). - Identify the target column from
answer_position(e.g.,F2:F10→ columnF). Determine the start row and end row. - Build the formula based on the selected column:
- For each row from start to end, create a formula that counts occurrences of the grouping value from the absolute start up to the current row.
- Example:
=IF(D2="","",COUNTIF($D$2:D2,D2)) - Adjust the absolute start reference (
$D$2) and the relative current cell (D2) to match actual column letters. - If the grouping column might have empty cells, wrap with
IF(grouping_cell="" , "" , COUNTIF(…) ).
- Apply the formula to every cell in the target range. Do not modify cells outside
answer_position. - Save the workbook to the given
output_path. Ensure no other files are changed. - Recovery check: If the initial approach fails (e.g., formula produces
#REF!), verify column letters, row numbers, and sheet name. Re‑inspect the spreadsheet content if necessary.
Verification Checklist
- [ ] Formula is placed in every cell of
answer_position(no missing cells). - [ ] The grouping column reference (e.g.,
D) matches the instruction’s “Album Name” or equivalent. - [ ] The
COUNTIFrange correctly starts with an absolute reference (e.g.,$D$2) and ends with a relative reference (e.g.,D2). - [ ] Empty grouping cells result in an empty string (
"") in the target cell, not an error or a number. - [ ] No cells outside
answer_positionare modified (check adjacent columns and rows). - [ ] The output file is saved to the exact
output_pathand is a valid.xlsxfile. - [ ] The solution does not copy any concrete values (album names, paths, numbers) from retrieved examples – it uses the target task’s own data.
- [ ] If errors occur during execution, the code has a recovery step (e.g., re‑load the workbook, check column names, adjust formula logic).
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/16511/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/16511)