MCPcopy Create free account

hub / github.com/Lin-jun-xiang/agent-line-bot / functions

Functions183 in github.com/Lin-jun-xiang/agent-line-bot

↓ 130 callersMethodappend
(self, id: str, role: str, content: str)
chatgpt_linebot/memory.py:46
↓ 97 callersMethodget
(self, id: str)
chatgpt_linebot/memory.py:55
↓ 25 callersFunctionget_emoji
Get emoji for a category.
skills/finance-tracker-2.0.0/lib/categories.py:188
↓ 20 callersFunctionget_storage
Get or create the global storage instance.
skills/finance-tracker-2.0.0/lib/storage.py:325
↓ 16 callersMethodget_transactions
Get transactions with optional filters.
skills/finance-tracker-2.0.0/lib/storage.py:134
↓ 14 callersMethodget_currency
Get the configured currency.
skills/finance-tracker-2.0.0/lib/storage.py:174
↓ 10 callersFunction_parse_amount_for_user
Parse amount with per-user currency settings.
chatgpt_linebot/modules/finance_tool.py:57
↓ 10 callersFunctionparse_cli_amount
Parse amount from CLI, supporting k suffix and currency.
skills/finance-tracker-2.0.0/bin/finance.py:64
↓ 9 callersMethod_load_json
Load data from JSON file.
skills/finance-tracker-2.0.0/lib/storage.py:70
↓ 8 callersMethodget_report
Generate a goals report.
skills/finance-tracker-2.0.0/lib/goals.py:203
↓ 7 callersFunction_run_with_user_storage
Temporarily replace global storage/recurring/goals/portfolio/converter with per-user instances, then run func(). This is needed for modul
chatgpt_linebot/modules/finance_tool.py:385
↓ 7 callersFunctiondetect_category
Detect category from description text. Returns category key (e.g., 'food', 'transport'). Falls back to 'other' if no match.
skills/finance-tracker-2.0.0/lib/categories.py:169
↓ 7 callersMethodget_goal_progress
Calculate progress details for a goal.
skills/finance-tracker-2.0.0/lib/goals.py:165
↓ 6 callersMethod_save
(self, data: Dict[str, Any])
skills/finance-tracker-2.0.0/lib/goals.py:45
↓ 6 callersMethod_save_json
Save data to JSON file.
skills/finance-tracker-2.0.0/lib/storage.py:78
↓ 6 callersMethodconvert
Convert amount between currencies. Returns (converted_amount, exchange_rate).
skills/finance-tracker-2.0.0/lib/currency.py:128
↓ 5 callersMethod_load
(self)
skills/finance-tracker-2.0.0/lib/goals.py:38
↓ 5 callersMethodget_due_today
Get recurring expenses due today.
skills/finance-tracker-2.0.0/lib/recurring.py:162
↓ 5 callersMethodget_portfolio_report
Generate portfolio report.
skills/finance-tracker-2.0.0/lib/portfolio.py:133
↓ 5 callersFunctionsend_text_reply
Sends a text message to the user.
chatgpt_linebot/urls.py:90
↓ 4 callersMethod_load
(self)
skills/finance-tracker-2.0.0/lib/recurring.py:49
↓ 4 callersMethod_load_portfolio
(self)
skills/finance-tracker-2.0.0/lib/portfolio.py:62
↓ 4 callersMethod_save
(self, data: Dict[str, Any])
skills/finance-tracker-2.0.0/lib/recurring.py:56
↓ 4 callersFunctiondiscover_skills
Discover skills by scanning for directories containing SKILL.md. Searches both direct children and one level deeper (skills/<name>/SKILL.md).
chatgpt_linebot/modules/skill_loader.py:18
↓ 4 callersMethodformat_amount
Format amount with currency symbol.
skills/finance-tracker-2.0.0/lib/currency.py:159
↓ 4 callersFunctionformat_error
Format an error message.
skills/finance-tracker-2.0.0/lib/parser.py:106
↓ 4 callersFunctionget_portfolio
(data_dir: Optional[Path] = None)
skills/finance-tracker-2.0.0/lib/portfolio.py:240
↓ 4 callersMethodsearch
Search transactions by description.
skills/finance-tracker-2.0.0/lib/storage.py:162
↓ 3 callersFunction_get_user_instances
Get or create per-user finance instances.
chatgpt_linebot/modules/finance_tool.py:40
↓ 3 callersMethod_initialize
(self, id: str)
chatgpt_linebot/memory.py:36
↓ 3 callersMethod_load_income
(self)
skills/finance-tracker-2.0.0/lib/portfolio.py:74
↓ 3 callersMethod_remove_from_markdown
Remove a transaction from the markdown file.
skills/finance-tracker-2.0.0/lib/storage.py:212
↓ 3 callersMethod_save_portfolio
(self, data: Dict[str, Any])
skills/finance-tracker-2.0.0/lib/portfolio.py:69
↓ 3 callersMethodadd_transaction
Add a new transaction. Returns the created transaction.
skills/finance-tracker-2.0.0/lib/storage.py:103
↓ 3 callersFunctioncompare_to_last_period
Compare current period to previous period.
skills/finance-tracker-2.0.0/lib/insights.py:71
↓ 3 callersFunctionget_converter
(data_dir: Optional[Path] = None)
skills/finance-tracker-2.0.0/lib/currency.py:284
↓ 3 callersMethodget_goals
Get all goals.
skills/finance-tracker-2.0.0/lib/goals.py:150
↓ 3 callersFunctionget_goals_manager
(data_dir: Optional[Path] = None)
skills/finance-tracker-2.0.0/lib/goals.py:269
↓ 3 callersMethodget_rates
Get current exchange rates (cached or fresh).
skills/finance-tracker-2.0.0/lib/currency.py:112
↓ 3 callersMethodget_recurring
Get all recurring expenses.
skills/finance-tracker-2.0.0/lib/recurring.py:152
↓ 3 callersFunctionget_recurring_manager
(data_dir: Optional[Path] = None)
skills/finance-tracker-2.0.0/lib/recurring.py:288
↓ 3 callersFunctionget_spending_velocity
Calculate spending velocity and project end-of-period totals.
skills/finance-tracker-2.0.0/lib/insights.py:22
↓ 3 callersFunctionlist_categories
Return formatted list of all categories.
skills/finance-tracker-2.0.0/lib/categories.py:198
↓ 2 callersMethod_append_markdown
Add transaction to markdown file.
skills/finance-tracker-2.0.0/lib/storage.py:83
↓ 2 callersMethod_calculate_next_due
Calculate the next due date.
skills/finance-tracker-2.0.0/lib/recurring.py:106
↓ 2 callersMethod_save_income
(self, data: Dict[str, Any])
skills/finance-tracker-2.0.0/lib/portfolio.py:81
↓ 2 callersMethodadd_asset
Add or update an asset.
skills/finance-tracker-2.0.0/lib/portfolio.py:87
↓ 2 callersMethodadd_goal
Add a new savings goal. Args: name: Name of the goal (e.g., "New Laptop") target_amount: Target amou
skills/finance-tracker-2.0.0/lib/goals.py:49
↓ 2 callersMethodadd_income
Log income.
skills/finance-tracker-2.0.0/lib/portfolio.py:172
↓ 2 callersMethodadd_recurring
Add a recurring expense. Args: amount: Amount in currency units description: Description of the expe
skills/finance-tracker-2.0.0/lib/recurring.py:60
↓ 2 callersFunctionanalyze_trends
Analyze spending trends over the given period. Returns insights about patterns.
skills/finance-tracker-2.0.0/lib/trends.py:18
↓ 2 callersFunctionchat_completion
Use ZhipuAI API for chat completion
chatgpt_linebot/modules/chat.py:11
↓ 2 callersFunctioncompare_periods
Compare spending between two periods. Period 1 is the recent period, Period 2 is before that.
skills/finance-tracker-2.0.0/lib/trends.py:107
↓ 2 callersMethoddelete_transaction
Delete a specific transaction by ID.
skills/finance-tracker-2.0.0/lib/storage.py:263
↓ 2 callersFunctiondetect_anomalies
Detect unusual spending patterns.
skills/finance-tracker-2.0.0/lib/insights.py:130
↓ 2 callersMethodedit_transaction
Edit an existing transaction. Returns updated transaction or None.
skills/finance-tracker-2.0.0/lib/storage.py:226
↓ 2 callersMethodexport_csv
Export all transactions as CSV.
skills/finance-tracker-2.0.0/lib/storage.py:185
↓ 2 callersFunctiongenerate_report
Generate a spending report for the given period. Supports: today, yesterday, week, last-week, month, last-month, last-2-months
skills/finance-tracker-2.0.0/lib/reports.py:180
↓ 2 callersMethodget_assets
Get all assets.
skills/finance-tracker-2.0.0/lib/portfolio.py:123
↓ 2 callersFunctionget_budget_status
Check spending against a daily budget.
skills/finance-tracker-2.0.0/lib/trends.py:152
↓ 2 callersMethodget_rate_info
Get formatted rate information.
skills/finance-tracker-2.0.0/lib/currency.py:221
↓ 2 callersMethodget_rates_report
Generate a report of common exchange rates.
skills/finance-tracker-2.0.0/lib/currency.py:245
↓ 2 callersMethodget_url
(self, search_query: str)
chatgpt_linebot/modules/image_crawler.py:107
↓ 2 callersFunctionlist_recent
List recent transactions. Args: n: Number of transactions to show storage: Optional storage instance Returns:
skills/finance-tracker-2.0.0/lib/reports.py:268
↓ 2 callersMethodparse_amount
Parse amount string that might include currency. Returns (amount_in_default_currency, original_currency). Examples:
skills/finance-tracker-2.0.0/lib/currency.py:170
↓ 2 callersMethodprocess_due
Process all due recurring expenses. Returns list of logged transactions.
skills/finance-tracker-2.0.0/lib/recurring.py:202
↓ 2 callersMethodremove_asset
Remove an asset.
skills/finance-tracker-2.0.0/lib/portfolio.py:112
↓ 2 callersMethodremove_goal
Remove a goal.
skills/finance-tracker-2.0.0/lib/goals.py:135
↓ 2 callersMethodremove_recurring
Remove or deactivate a recurring expense.
skills/finance-tracker-2.0.0/lib/recurring.py:140
↓ 2 callersFunctionsearch_transactions
Search transactions and return formatted results. Args: query: Search query storage: Optional storage instance
skills/finance-tracker-2.0.0/lib/reports.py:303
↓ 2 callersMethodset_currency
Set the currency.
skills/finance-tracker-2.0.0/lib/storage.py:179
↓ 2 callersMethodset_goal_amount
Set the current amount of a goal (not add).
skills/finance-tracker-2.0.0/lib/goals.py:117
↓ 2 callersMethodundo_last
Remove the last transaction. Returns the removed transaction or None.
skills/finance-tracker-2.0.0/lib/storage.py:196
↓ 2 callersMethodupdate_goal
Add to the current amount of a goal.
skills/finance-tracker-2.0.0/lib/goals.py:98
↓ 1 callersFunction_build_env_override
Build per-user environment overrides for skill data isolation.
chatgpt_linebot/urls.py:58
↓ 1 callersFunction_build_stats
Build stats dict from a filtered list of transactions.
skills/finance-tracker-2.0.0/lib/reports.py:156
↓ 1 callersFunction_dispatch_tool
Execute a tool and return the result string to feed back to LLM.
chatgpt_linebot/modules/agent.py:168
↓ 1 callersMethod_drop_message
(self, id: str)
chatgpt_linebot/memory.py:41
↓ 1 callersFunction_fetch_page_content
Fetch and extract main text content from a URL (free, no API key).
chatgpt_linebot/modules/web_search.py:111
↓ 1 callersMethod_fetch_rates
Fetch current exchange rates from API.
skills/finance-tracker-2.0.0/lib/currency.py:83
↓ 1 callersFunction_format_deep_results
Format search results with full page content scraped from each URL.
chatgpt_linebot/modules/web_search.py:152
↓ 1 callersFunction_format_results
Format a list of {title, body, href} dicts into readable text.
chatgpt_linebot/modules/web_search.py:35
↓ 1 callersFunction_get_allowed_binaries
Build set of allowed binary paths from registered skills (cached).
chatgpt_linebot/modules/execute_command.py:22
↓ 1 callersMethod_get_article_details
Extract the article's title, time, and content. Args: article_url: The URL of the article. Returns:
chatgpt_linebot/modules/business_channel.py:46
↓ 1 callersMethod_get_latest_article_url
Retrieve the latest article URL. Returns: The full URL of the latest article or None if not found.
chatgpt_linebot/modules/business_channel.py:25
↓ 1 callersFunction_get_user_data_dir
Get per-user data directory.
chatgpt_linebot/modules/finance_tool.py:33
↓ 1 callersMethod_icrawler
Icrawler for google search images (Free)
chatgpt_linebot/modules/image_crawler.py:84
↓ 1 callersMethod_init_file
(self)
skills/finance-tracker-2.0.0/lib/recurring.py:42
↓ 1 callersMethod_init_file
(self)
skills/finance-tracker-2.0.0/lib/goals.py:31
↓ 1 callersMethod_init_files
Initialize data files if they don't exist.
skills/finance-tracker-2.0.0/lib/storage.py:36
↓ 1 callersMethod_init_files
(self)
skills/finance-tracker-2.0.0/lib/portfolio.py:47
↓ 1 callersMethod_init_markdown
Create initial markdown file.
skills/finance-tracker-2.0.0/lib/storage.py:49
↓ 1 callersMethod_is_img_url
Check the image url is valid or invalid
chatgpt_linebot/modules/image_crawler.py:50
↓ 1 callersMethod_is_url_already_processed
Check if the given URL already exists in the text file. Args: url: The article URL to check. Returns:
chatgpt_linebot/modules/business_channel.py:88
↓ 1 callersMethod_load_cached_rates
Load rates from cache if still valid.
skills/finance-tracker-2.0.0/lib/currency.py:56
↓ 1 callersFunction_load_skill_meta
Load skill metadata (name, description, paths) from a skill directory.
chatgpt_linebot/modules/skill_loader.py:41
↓ 1 callersFunction_parse_period
Parse period string into (start_date, end_date, title). Supports: - today, yesterday, week, month, year, all - last-N-days,
skills/finance-tracker-2.0.0/lib/reports.py:18
↓ 1 callersMethod_save_article_url
Save the article URL to the text file. Args: url: The article URL to save.
chatgpt_linebot/modules/business_channel.py:104
↓ 1 callersMethod_save_rates
Save rates to cache.
skills/finance-tracker-2.0.0/lib/currency.py:74
↓ 1 callersMethod_serpapi
Serpapi for google search images
chatgpt_linebot/modules/image_crawler.py:61
next →1–100 of 183, ranked by callers