/agi-super-team:invoice-generator-agentfrom agi-super-team
Generates professional invoices from deal data with CRM status updates and Telegram notifications. Use when a deal is delivered and needs invoicing.
Ships in agi-super-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 notificationsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aaaaqwq/agi-super-team --plugin agi-super-team869 skills in this plugin
/5minbtcBTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准), 概率=P(close>open|ofi) 经验校准表+Bayesian shrink, edge=EV=p−ask 错价检测, 方向二选一无中性。13因子自v5.9起收敛到3个有证据信号且不再决定bias。黑天鹅防护: ATR spike+FNG<25。launchd 常驻 realtime/watch/trader。⚠️ Binance 端点**人工**双向切换(引擎为单端点硬依赖,无自动故障切换;2026-09-11 曾因 data-api SSL 失败静默断档 6h)。/sales-enablementWhen the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps.' Use this for any document or asset that helps a sales team close deals. For competitor comparison pages and battle cards, see competitor-alternatives. For marketing website copy, see copywriting. For cold outreach emails, see cold-email./accessibility-compliance-accessibility-auditYou are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.Other plugins' skills for the same job