skills/claude-skills-open/skills/finance/invoice-generator-agent/SKILL.md
Automatic invoice generation with CRM integration
npx skillsauth add aaaaqwq/agi-super-skills invoice-generator-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generates professional invoices for WeLabelData Inc. with CRM integration
By Deal ID:
cd $AGENTS_PATH/invoice-generator
python3 invoice_generator_agent.py --deal deal-enterprise-002
By client name:
python3 invoice_generator_agent.py --client "Enterprise Corp"
Interactive mode (shows all deals with stage='delivered'):
python3 invoice_generator_agent.py --interactive
Dry-run (check without writing):
python3 invoice_generator_agent.py --dry-run --deal deal-enterprise-002
✓ Invoice #100 generated
Client: Client D Inc.
Amount: $1,000.00 USD
Description: Training services
Files: docs/invoices/Invoice_100_WeLabelData_ClientD.pdf
Review the invoice and choose:
1. Open PDF for review
2. Send to client now
3. Skip sending (manual delivery)
4. Cancel (delete invoice)
Email sending is not yet implemented; the agent will show instructions:
Email sending not yet implemented in this version.
Please send the invoice manually using your email client.
To: [email protected]
Subject: Invoice #100 - WeLabelData - Training services
Attachment: docs/invoices/Invoice_100_WeLabelData_ClientD.pdf
Use skill /email-send-direct or google-tools to send.
IMPORTANT: The agent ALWAYS requires human review before sending.
If the user chooses "Cancel":
The agent automatically maps CRM companies → client keys for generate_invoice.py:
| Client Key | Company patterns | |-----------|-----------------| | clienta | clienta, doe, clientk | | clientb | clientb | | clientc | clientc | | clientd | clientd | | cliente | cliente, clientetech |
Unknown clients → custom client with company.name
sales/crm/relationships/deals.csvsales/crm/relationships/clients.csvsales/crm/contacts/companies.csvsales/crm/contacts/people.csvdocs/company/invoice_tracker.jsondocs/invoices/Invoice_{n}_WeLabelData_{Client}.htmldocs/invoices/Invoice_{n}_WeLabelData_{Client}.pdfsales/crm/relationships/deals.csv (update: stage, invoice_date, invoice_number)sales/crm/activities.csv (append)docs/company/invoice_tracker.json (increment)agents/data/invoice_generator_log.json| Error | Behavior | |-------|----------| | Deal not found | Exit with message, suggest --interactive | | Deal already has invoice | Warn, ask for confirmation to regenerate | | Invalid stage | Exit, explain which stages are valid ('delivered', 'in_progress') | | generate_invoice.py fail | Show stderr, exit without CRM update | | PDF generation fail | Save HTML, continue with CRM update | | CRM write fail | Critical, save files but warn about manual CRM fix | | Telegram fail | Warning, continue (non-critical) |
python3 invoice_generator_agent.py --dry-run --deal deal-enterprise-002
Shows parameters without creating files or CRM updates.
python3 invoice_generator_agent.py --interactive
# Select deal
# Review invoice
# Choose "4. Cancel"
# Verify that files are deleted, invoice_tracker unchanged
python3 invoice_generator_agent.py --deal deal-enterprise-002
python3 invoice_generator_agent.py --client "Client D"
python3 invoice_generator_agent.py --interactive
python3 invoice_generator_agent.py --no-approve --deal deal-enterprise-002
Auto-skip sending, just generates and logs.
Invoice numbering uses fcntl.flock() for atomic increment:
Generating invoice #100...
==================================================
✓ Invoice #100 generated
==================================================
Client: Client D Inc.
Contact: Bob
Amount: $1,000.00 USD
Description: Training services
==================================================
Files:
PDF: /Users/.../docs/invoices/Invoice_100_WeLabelData_ClientD.pdf
HTML: /Users/.../docs/invoices/Invoice_100_WeLabelData_ClientD.html
==================================================
Review the invoice and choose:
1. Open PDF for review
2. Send to client now
3. Skip sending (manual delivery)
4. Cancel (delete invoice)
Choice [3]: 3
✓ Done! Invoice #100 generated successfully.
Telegram notification:
Invoice Generated
Invoice #100 | $1,000.00 USD
Client: Client D Inc. (Bob)
Description: Training services
Status: Skipped
Files: /Users/.../Invoice_100_WeLabelData_ClientD.pdf
Deal: deal-clientd-001 → stage updated to 'invoiced'
/invoice - original skill (direct call to generate_invoice.py)/email-send-direct - for sending email/log-activity - for logging CRM activities/telegram-send - for notificationstesting
AI驱动的智能浏览器自动化工具。使用LLM理解页面并自动执行任务,比传统Playwright更智能、更省token。适用于复杂交互、动态页面、需要智能决策的浏览器操作。Chrome浏览器优先。
tools
网页登录态管理。使用 fast-browser-use (fbu) 管理各平台登录状态,定期检查可用性,新平台授权时自动保存 profile。
development
Monitor and report on API provider quotas, balances, and usage. Query official providers (Moonshot, DeepSeek, xAI, Google AI Studio) and relay/proxy providers (Xingjiabiapi, Aixn, WoW) via their billing APIs. Also checks subscription services (Brave Search, OpenRouter). Generates quota reports. Triggers on "查额度", "API余额", "quota check", "billing report", "api balance", "供应商额度", "中转站余额", "费用报告", "check balance", "how much credit".
development
# A股基金监控 Skill A股基金净值监控,支持实时估值和盘后净值,自动判断交易日/节假日。 ## 用法 ### 快速监控(命令行) ```bash # 默认配置,输出到控制台 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh # 推送到群(使用--push参数) bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --push # 监控指定基金 bash ~/clawd/skills/a-fund-monitor/scripts/monitor.sh --codes "000979 002943" ``` ### Agent调用 ``` 执行A股基金监控任务。 1. 读取配置文件: ~/clawd/skills/a-fund-monitor/config.json 2. 获取实时净值数据 3. 非交易日自动切换为简短报告 配置文件格式: { "funds": [ {"code": "000979", "name": "景顺长城沪港深精选股票