Agent skill
csv-url-parser
Parse URLs in CSV files and extract query parameters as new columns. Use when working with CSV files containing URLs that need parameter extraction and analysis.
Install this agent skill to your Project
npx add-skill https://github.com/feed-mob/claude-code-marketplace/tree/main/plugins/csv-url-parser/skills
SKILL.md
CSV URL Parser
This skill extracts query parameters from URLs in CSV files and adds them as new columns.
Instructions
- Identify CSV files: Look for CSV files in the current directory or specified path
- Analyze URL column: Find the column containing URLs (looks for 'url' or 'URL' headers)
- Extract parameters: Parse all query parameters from URLs
- Create new columns: Add parameter names as new column headers
- Process data: Fill new columns with parameter values (multiple values joined with '|')
- Save results: Update the CSV file with new columns
Implementation
The skill uses Ruby to process CSV files. Run the processing script:
ruby scripts/process_csv.rb [file1.csv file2.csv ...]
If no files are specified, it processes all CSV files in the current directory.
The script will:
- Read CSV files with headers
- Extract query parameters from URLs using URI parsing
- Handle multiple values for the same parameter (joined with '|')
- Preserve original data while adding new parameter columns
- Handle malformed URLs gracefully
For detailed examples, see EXAMPLES.md.
Usage Examples
Process all CSV files in current directory:
Parse URLs in my CSV files
Process specific CSV file:
Extract URL parameters from data.csv
Analyze URL parameters:
Show me what parameters are in the URLs from this CSV
Requirements
- Ruby with standard libraries (CSV, URI, CGI)
- CSV files must have headers
- URL column should be named 'url' or 'URL'
Output
- Original CSV file updated with new parameter columns
- Multiple parameter values separated by '|'
- Preserves all original data
- Handles empty/missing parameters gracefully
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
direct-spend-visualizer
Visualize FeedMob direct spend data as ASCII line charts. Use this skill when users request to view, display, chart, or visualize direct spend metrics for one or more click URL IDs. Trigger when users ask to "show direct spend," "visualize spend data," "chart the spending," or similar requests involving FeedMob direct spend visualization.
ai-news-crawler
Trigger phrase \"watching news!\"; Create a JSON file named with the current timestamp only in the current directory, crawl 10 AI-related news in descending order of time and output Chinese summaries
skill-name
A clear, complete description of what this skill does and when Claude should use it
gemini-image-generator
Generate, edit, or transform images with Gemini Nano Banana using bundled Python scripts (Flash or Pro) including aspect ratio, resolution, image-to-image edits, logo overlays, and reference images. Use when users request image generation, image edits, image-to-image transformations, logo placement, or specific aspect ratios or resolutions.
feedmob-reporting-skills
MUST use this skill when using mcp__feedmob-reporting__* tools. Provides structured workflows for FeedMob reporting analysis. Key: All clients (Possible Finance, Koho Financial, TextNow, AppsFlyer MMP, etc.) use client_paid_action_count × gross_cpi (dynamic event field based on client_paid_action in click_url_histories). Critical for ensuring correct multi-step workflows and accurate data reconciliation. Trigger words: any feedmob-reporting MCP tool usage, Possible Finance, Koho Financial, TextNow, AppsFlyer, Singular reports, Adjust reports, direct spend, gross spend verification, spend reconciliation, client_paid_action.
feedmob-campaign-creator
Create FeedMob campaigns with guided workflow. Use when users request campaign creation, link generation, or new partner launches. Handles: (1) Campaign naming via feedmob-campaign-naming, (2) Client data retrieval, (3) App selection, (4) Campaign preview, (5) Campaign creation. Trigger keywords: create campaign, new campaign, generate campaign, campaign setup, link generation, partner launch, media plan campaign, 创建campaign, 生成活动, 新建campaign.
Didn't find tool you were looking for?