技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
multi-currency-expense-aggregator【数据与研究】When the user needs to calculate total expenses across multiple individuals with costs in different currencies and convert them to a target currency using historical exchange rates. This skill handles reading multiple CSV/JSON files containing expense data, fetching exchange rates from financial APIs for specific dates, performing currency conversion…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Calculate the total expenses for a group of individuals from multiple files, convert all amounts to a target currency (e.g., CNY) using historical exchange rates from a specific date, and output a structured JSON report.
Date, Activity/Description, Cost/Amount, and Currency, or similar variations.yahoo-finance-get_stock_price_by_date) to get the closing exchange rates for the required currency pairs (e.g., USDCNY=X, EURCNY=X) on the specified historical date. For indirect pairs (e.g., TRY/CNY), you may need to fetch a cross-rate (e.g., TRYUSD=X) and calculate the target rate.calculation.json) with the exchange rates used and each individual's total in the target currency, along with the grand total. Format numbers appropriately (e.g., rounded to 2 decimal places).Cost vs Amount, or files where costs are spread across multiple currency columns.TRYCNY=X) is not available, you must calculate it using a common intermediary (e.g., TRYUSD=X and USDCNY=X).yahoo-finance-get_stock_price_by_date call. Use the close price for conversion.filesystem-list_directory - Explore the workspace.filesystem-read_multiple_files / filesystem-read_file - Load expense data.yahoo-finance-get_stock_price_by_date - Fetch historical FX rates.terminal-run_command - Optionally run a Python script for accurate bulk calculations.filesystem-write_file - Write the final JSON report.The primary output is a JSON file (e.g., calculation.json) populated with keys for exchange rates and individual/group totals in the target currency. Provide a concise summary to the user.