@businesskit/agent 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.cursor-plugin/plugin.json +25 -0
  3. package/.cursorrules +10 -0
  4. package/.superconsole-plugin/plugin.json +32 -0
  5. package/AGENTS.md +94 -63
  6. package/CLAUDE.md +11 -65
  7. package/GEMINI.md +11 -34
  8. package/README.md +106 -153
  9. package/assets/logo.svg +3 -0
  10. package/bin/businesskit.js +11 -17
  11. package/commands/add-contact.md +47 -0
  12. package/commands/add-inventory-from-invoice.md +80 -0
  13. package/commands/adjust-stock.md +46 -0
  14. package/commands/capabilities.md +33 -0
  15. package/commands/check-stock.md +43 -0
  16. package/commands/create-component.md +109 -0
  17. package/commands/create-invoice.md +69 -0
  18. package/commands/create-new-bill.md +65 -0
  19. package/commands/create-page.md +96 -0
  20. package/commands/list-components.md +41 -0
  21. package/commands/list-content.md +46 -0
  22. package/commands/list-pages.md +45 -0
  23. package/commands/publish-page.md +64 -0
  24. package/commands/send-invoice.md +42 -0
  25. package/commands/seo-audit.md +36 -0
  26. package/commands/update-contact.md +46 -0
  27. package/commands/update-content.md +47 -0
  28. package/commands/update-page.md +55 -0
  29. package/commands/update-price.md +47 -0
  30. package/commands/write-blog.md +52 -0
  31. package/commands/write-docs.md +84 -0
  32. package/commands/write-guide.md +46 -0
  33. package/commands/write-newsletter.md +46 -0
  34. package/mcp_config.json +8 -0
  35. package/package.json +34 -23
  36. package/plugin.json +32 -0
  37. package/scripts/generate-schema.ts +244 -0
  38. package/scripts/setup.sh +134 -0
  39. package/scripts/setup.ts +92 -0
  40. package/server.json +21 -0
  41. package/skills/README.md +19 -27
  42. package/skills/billing/SKILL.md +64 -0
  43. package/skills/brand/SKILL.md +30 -86
  44. package/skills/copywriting/SKILL.md +1 -1
  45. package/skills/crm/SKILL.md +38 -0
  46. package/skills/docs-cms/SKILL.md +53 -0
  47. package/skills/docs-cms/references/how-to.md +383 -0
  48. package/skills/inbox/SKILL.md +49 -0
  49. package/skills/inventory/SKILL.md +69 -0
  50. package/skills/pages/SKILL.md +169 -0
  51. package/skills/pages/references/sections-catalog.json +950 -0
  52. package/skills/social/SKILL.md +1 -1
  53. package/templates/antigravity.json +8 -0
  54. package/templates/claude-code.mcp.json +8 -0
  55. package/templates/cursor.mcp.json +8 -0
  56. package/templates/vscode.mcp.json +9 -0
  57. package/.claude/commands/analytics.md +0 -7
  58. package/.claude/commands/blog-writer.md +0 -9
  59. package/.claude/commands/cbo.md +0 -7
  60. package/.claude/commands/ceo.md +0 -10
  61. package/.claude/commands/cmo.md +0 -7
  62. package/.claude/commands/compress.md +0 -73
  63. package/.claude/commands/coo.md +0 -11
  64. package/.claude/commands/copywriter.md +0 -15
  65. package/.claude/commands/course-creator.md +0 -9
  66. package/.claude/commands/crm.md +0 -591
  67. package/.claude/commands/deep.md +0 -50
  68. package/.claude/commands/docs-writer.md +0 -8
  69. package/.claude/commands/forms-builder.md +0 -10
  70. package/.claude/commands/jobs-manager.md +0 -8
  71. package/.claude/commands/kb.md +0 -107
  72. package/.claude/commands/newsletter-writer.md +0 -9
  73. package/.claude/commands/preserve.md +0 -64
  74. package/.claude/commands/resume.md +0 -67
  75. package/.claude/commands/scheduler.md +0 -8
  76. package/.claude/commands/seo.md +0 -60
  77. package/.claude/commands/social.md +0 -51
  78. package/.claude/commands/store-manager.md +0 -11
  79. package/.env.example +0 -2
  80. package/.mcp.json +0 -3
  81. package/ABOUT-ME.md +0 -96
  82. package/HEARTBEAT.md +0 -105
  83. package/PLAN.md +0 -384
  84. package/PRD-Agent-Composition.md +0 -149
  85. package/PRD-Agent-Harness.md +0 -316
  86. package/REFERENCE.md +0 -124
  87. package/SOUL.md +0 -148
  88. package/SYSTEM.md +0 -71
  89. package/agents/_base.ts +0 -63
  90. package/agents/creators/blog-writer.ts +0 -347
  91. package/agents/creators/copywriter.ts +0 -89
  92. package/agents/creators/course-creator.ts +0 -106
  93. package/agents/creators/crm-agent.ts +0 -479
  94. package/agents/creators/docs-writer.ts +0 -77
  95. package/agents/creators/forms-builder.ts +0 -90
  96. package/agents/creators/jobs-manager.ts +0 -82
  97. package/agents/creators/newsletter-writer.ts +0 -91
  98. package/agents/creators/store-manager.ts +0 -138
  99. package/agents/csuite/cbo.ts +0 -109
  100. package/agents/csuite/ceo.ts +0 -121
  101. package/agents/csuite/cmo.ts +0 -109
  102. package/agents/csuite/coo.ts +0 -115
  103. package/agents/growth/analytics-agent.ts +0 -52
  104. package/agents/growth/scheduler.ts +0 -68
  105. package/agents/growth/seo-agent.ts +0 -282
  106. package/agents/growth/social-agent.ts +0 -346
  107. package/brand-voice.md +0 -127
  108. package/cli.ts +0 -125
  109. package/context/brand.md +0 -80
  110. package/context/business.md +0 -66
  111. package/ingest.md +0 -110
  112. package/lib/analytics.ts +0 -81
  113. package/lib/db.adapter.ts +0 -30
  114. package/lib/db.ts +0 -16
  115. package/lib/id.ts +0 -15
  116. package/lib/kb.ts +0 -337
  117. package/lib/memory.ts +0 -219
  118. package/lib/pattern-detector.ts +0 -169
  119. package/lib/profile.ts +0 -119
  120. package/lib/slug.ts +0 -30
  121. package/setup.ts +0 -127
  122. package/skills/agents/SKILL.md +0 -56
  123. package/skills/analytics/SKILL.md +0 -52
  124. package/skills/blog-writer/SKILL.md +0 -452
  125. package/skills/ceo/SKILL.md +0 -25
  126. package/skills/cmo/SKILL.md +0 -8
  127. package/skills/schema/SKILL.md +0 -45
  128. package/skills/store/SKILL.md +0 -62
  129. package/tsconfig.json +0 -13
  130. package/working-style.md +0 -87
@@ -0,0 +1,47 @@
1
+ ---
2
+ id: "cmd_update_content"
3
+ name: "Update Blog, Docs or Guide"
4
+ slash: "/update-content"
5
+ description: "Edit body, metadata, collection, or publish status on an existing post, doc, guide, or newsletter"
6
+ domain_tags: ["content"]
7
+ required_tools: ["content_get", "content_update", "content_list"]
8
+ ---
9
+
10
+ # Update Content (`/update-content`)
11
+
12
+ Fetch, revise, and update an existing post, documentation article, guide, or newsletter.
13
+
14
+ ## Available Tools
15
+ - `content_get(id: string)`: Retrieves current article body HTML, metadata, and status.
16
+ - `content_update(id: string, title?: string, body_html?: string, excerpt?: string, collection_id?: string, seo_title?: string, seo_description?: string, published?: boolean)`: Saves edits.
17
+ - `content_list(category_id?: string, content_type?: string)`: Discovers article IDs.
18
+
19
+ ## Accepted Arguments
20
+ - `/update-content <id>` e.g. `/update-content post_821`
21
+ - `/update-content <id> publish` to toggle an article live.
22
+ - Instructions: `/update-content post_821 add callout note about v2 migration`
23
+
24
+ ## Execution Protocol
25
+
26
+ ### Step 1: Fetch Existing Article
27
+ 1. Call `content_get(id: "<id>")` to load the current `body_html`, `title`, and collection metadata.
28
+ 2. If ID is unknown, call `content_list` to find matching articles by title.
29
+
30
+ ### Step 2: Apply Edits to HTML
31
+ - Preserve existing valid HTML elements and classes (`tech-callout`, `tech-steps`, `tech-accordion`).
32
+ - Apply the user's specific requested changes (e.g. rewrite a paragraph, add a code block, fix typos).
33
+ - Keep pure semantic HTML — never insert raw Markdown syntax.
34
+
35
+ ### Step 3: Save Updates
36
+ Call `content_update`:
37
+ ```json
38
+ {
39
+ "id": "<article_id>",
40
+ "body_html": "<updated_html>",
41
+ "title": "<optional_title>",
42
+ "published": true
43
+ }
44
+ ```
45
+
46
+ ### Step 4: Confirmation
47
+ Output updated article title, slug, publish state, and preview link.
@@ -0,0 +1,55 @@
1
+ ---
2
+ id: "cmd_update_page"
3
+ name: "Update Website Page"
4
+ slash: "/update-page"
5
+ description: "Update sections, copy, or settings on an existing page"
6
+ domain_tags: ["pages"]
7
+ required_tools: ["page_get", "page_update", "page_list"]
8
+ ---
9
+
10
+ # Update Website Page (`/update-page`)
11
+
12
+ Fetch, revise, and update copy, visual sections, styling, or metadata on an existing website page.
13
+
14
+ ## Available Tools
15
+ - `page_get(page_id_or_slug: string)`: Retrieves the full current page structure, sections array, and metadata.
16
+ - `page_update(page_id_or_slug: string, title?: string, slug?: string, excerpt?: string, sections?: array, published?: boolean)`: Saves updates.
17
+ - `page_list(published_only?: boolean)`: Discovers page IDs/slugs if target is ambiguous.
18
+
19
+ ## Accepted Arguments
20
+ - `/update-page <slug>` e.g. `/update-page home` or `/update-page about`
21
+ - Instructions on what to update, e.g.:
22
+ - `/update-page home add FAQ section with 3 questions`
23
+ - `/update-page pricing change pro plan price to $49`
24
+ - `/update-page about change hero headline to "Building the Future of Retail"`
25
+
26
+ ## Execution Protocol
27
+
28
+ ### Step 1: Fetch Existing Page
29
+ 1. Identify the target page from user arguments. If ambiguous, call `page_list()` to find matching titles/slugs.
30
+ 2. Call `page_get` with `page_id_or_slug`:
31
+ ```json
32
+ { "page_id_or_slug": "<slug_or_id>" }
33
+ ```
34
+ 3. Inspect existing `sections` and metadata.
35
+
36
+ ### Step 2: Apply Targeted Modifications
37
+ 1. **Preserve Intact Sections**: Never wipe out existing sections that the user didn't ask to change.
38
+ 2. **Modify Requested Section**: Update specific fields within the matching section object (e.g. modify headline in `sc_hero`, or add an item to `faq`).
39
+ 3. **Add New Sections**: Append or insert new section objects in the appropriate layout order.
40
+ 4. **Remove Sections**: Only remove a section if the user explicitly requested its removal.
41
+
42
+ ### Step 3: Execute Update
43
+ Call `page_update` with:
44
+ ```json
45
+ {
46
+ "page_id_or_slug": "<slug_or_id>",
47
+ "sections": <updated_sections_array>,
48
+ "title": "<optional_updated_title>",
49
+ "excerpt": "<optional_updated_excerpt>"
50
+ }
51
+ ```
52
+
53
+ ### Step 4: Confirmation
54
+ 1. Detail the exact changes applied (e.g. "Updated hero headline", "Appended 3 FAQs").
55
+ 2. Provide page status (Draft or Live) and link: `/pages/<slug>`.
@@ -0,0 +1,47 @@
1
+ ---
2
+ id: "cmd_update_pricing"
3
+ name: "Update Product Pricing"
4
+ slash: "/update-price"
5
+ description: "Directly update item cost, selling price or margins"
6
+ domain_tags: ["shop"]
7
+ required_tools: ["product_update_pricing"]
8
+ ---
9
+
10
+ # Update Product Pricing (`/update-price`)
11
+
12
+ Update item cost price, outward selling price (retail / MRP), or minimum floor price on catalog items.
13
+
14
+ ## Available Tools
15
+ - `product_update_pricing(sku: string, price?: number, cost_price?: number, min_price?: number)`: Updates item catalog pricing and recalculates profit margins.
16
+
17
+ ## Accepted Arguments
18
+ - Single price change: `/update-price sku:WDG-01 price:59.99`
19
+ - Cost & selling change: `/update-price item:"Tellzy 40" cost:1100 price:1450`
20
+ - Margin update: `/update-price sku:SHIRT-01 20% margin`
21
+
22
+ ## Execution Protocol
23
+
24
+ ### Step 1: Identify Product & Price Points
25
+ 1. Match item by SKU, ID, or product name.
26
+ 2. Identify which prices are being updated:
27
+ - `price`: Standard retail selling price (MRP).
28
+ - `cost_price`: Inward wholesale cost.
29
+ - `min_price`: Discount floor price.
30
+
31
+ ### Step 2: Execute Pricing Update
32
+ Call `product_update_pricing`:
33
+ ```json
34
+ {
35
+ "sku": "<sku_or_item_name>",
36
+ "price": 59.99,
37
+ "cost_price": 32.00
38
+ }
39
+ ```
40
+
41
+ ### Step 3: Confirmation & Margin Calculation
42
+ Report the updated pricing structure:
43
+ - **Product Name & SKU**
44
+ - **New Cost Price**: e.g. $32.00
45
+ - **New Selling Price**: e.g. $59.99
46
+ - **Gross Profit Margin**: `((59.99 - 32.00) / 59.99) * 100` = 46.66%
47
+ - **Status**: Live on catalog and POS billing.
@@ -0,0 +1,52 @@
1
+ ---
2
+ id: "cmd_draft_post"
3
+ name: "Write Blog Post"
4
+ slash: "/write-blog"
5
+ description: "Draft or publish a formatted blog article with clean HTML"
6
+ domain_tags: ["content"]
7
+ cms_id: "cc55cc55-0001-4000-8000-000000000035"
8
+ cms_slug: "blog"
9
+ required_tools: ["blog_post_create", "content_list"]
10
+ ---
11
+
12
+ # Write Blog Post (`/write-blog`)
13
+
14
+ Draft or publish an engaging, SEO-optimized blog article with clean semantic TipTap HTML, pull quotes, callouts, and comparisons.
15
+
16
+ ## Available Tools
17
+ - `blog_post_create(title: string, body_html: string, category_id?: string, content_type?: string, excerpt?: string, seo_title?: string, seo_description?: string, seo_keywords?: string, published?: boolean)`: Creates or publishes a post.
18
+ - `content_list(category_id?: string, content_type?: string)`: Checks existing posts for tone and topic overlap.
19
+
20
+ ## Accepted Arguments
21
+ - Topic or title: `/write-blog 5 Ways to Automate Retail Invoicing`
22
+ - Outlines, drafts, or marketing briefs.
23
+
24
+ ## Formatting Contract
25
+ 1. **Target Hub**: Blog (`content_type: "blog"`, `cms_id: "cc55cc55-0001-4000-8000-000000000035"`).
26
+ 2. **HTML Rules**:
27
+ - Write clean semantic HTML in `body_html` — NEVER Markdown syntax (`##`, `*`, ``` ```).
28
+ - NEVER emit `<h1>` in `body_html` (`title` automatically renders as `<h1>`).
29
+ - Use `<h2>`, `<h3>`, `<p>`, `<blockquote><p>...</p></blockquote>`, `<ul data-type="taskList">`, `<div data-type="info-card">`, and `<table>`.
30
+ 3. **SEO & Discovery**:
31
+ - Compelling 1–2 sentence `excerpt` and `ai_summary`.
32
+ - `seo_title` prefixed with store or brand name (e.g. `BusinessKit | 5 Ways to Automate Billing`).
33
+ - `seo_description` (150–160 chars) and relevant `seo_keywords`.
34
+ 4. **Draft Mode**: Save as draft (`published: false`) unless the user explicitly requests immediate publishing.
35
+
36
+ ## Execution Protocol
37
+ 1. Formulate title, excerpt, and engaging opening paragraph.
38
+ 2. Structure sections using `<h2>`, `<h3>`, and relevant widgets.
39
+ 3. Call `blog_post_create`:
40
+ ```json
41
+ {
42
+ "category_id": "cat_35",
43
+ "content_type": "blog",
44
+ "title": "5 Ways to Automate Retail Invoicing",
45
+ "excerpt": "Discover how modern point-of-sale and automated invoices save hours each week.",
46
+ "seo_title": "5 Ways to Automate Invoicing | BusinessKit",
47
+ "seo_description": "Streamline your retail store billing with automated invoicing workflows.",
48
+ "body_html": "<p>Running a retail store...</p><h2>1. Digitize Inward Invoices</h2>...",
49
+ "published": false
50
+ }
51
+ ```
52
+ 4. Output draft confirmation, preview link, and publish command: `/update-content <id> publish`.
@@ -0,0 +1,84 @@
1
+ ---
2
+ id: "cmd_write_docs"
3
+ name: "Write Docs Article"
4
+ slash: "/write-docs"
5
+ description: "Write structured documentation (steps, file code blocks, kbd, info-cards, accordions)"
6
+ domain_tags: ["content"]
7
+ required_tools: ["blog_post_create", "content_list"]
8
+ cms_id: "cc55cc55-0001-4000-8000-000000000032"
9
+ cms_slug: "docs"
10
+ ---
11
+
12
+ # Write Docs Article (`/write-docs`)
13
+
14
+ Create or update structured technical reference and knowledge base documentation with interactive widgets, multi-step instructions, and syntax-highlighted code.
15
+
16
+ ## Available Tools
17
+ - `content_list(category_id?: string, content_type?: string)`: Checks existing collections and articles in the Docs hub.
18
+ - `blog_post_create(title: string, body_html: string, category_id?: string, collection_id?: string, content_type?: string, excerpt?: string, seo_title?: string, seo_description?: string, published?: boolean)`: Publishes the documentation article.
19
+
20
+ ## Accepted Arguments
21
+ - `/write-docs <title>` e.g. `/write-docs Setup MCP Server`
22
+ - With collection: `/write-docs collection:col_pg_start title:"Pages Architecture"`
23
+ - With full outline: Provide the technical guide requirements directly.
24
+
25
+ ## Core Rules & Constraints
26
+ 1. **Target Hub**: Knowledge Base / Docs (`category_id: "cat_32"`, `content_type: "docs"`).
27
+ 2. **Title Constraint**: Strictly **$\le$ 3 words** (e.g. `What Are Pages`, `Install BusinessKit`). The title automatically renders as the page `<h1>`.
28
+ 3. **Never Emit `<h1>` in HTML**: Top-level headings inside `body_html` must start with `<h2>`, followed by `<h3>`.
29
+ 4. **Pure Semantic HTML in `body_html`**: Never write Markdown syntax (`##`, `*`, ``` ```, `- `).
30
+ 5. **Collection Scoping**: Always associate with a child collection (e.g. `col_pg_start`, `col_crm`). Call `content_list(category_id: "cat_32")` first to discover active collections.
31
+
32
+ ## Supported HTML Blocks
33
+ - **Section Headings**: `<h2>Section Title</h2>`, `<h3>Subtopic</h3>`
34
+ - **Prerequisites / Notes**:
35
+ ```html
36
+ <div data-type="info-card" class="tech-callout tech-callout--info" role="note">
37
+ <div class="tech-callout__content"><p>Important prerequisite...</p></div>
38
+ </div>
39
+ ```
40
+ - **Checklist**:
41
+ ```html
42
+ <ul data-type="taskList"><li data-type="taskItem" data-checked="false"><label><input type="checkbox" /></label><div><p>Prerequisite step</p></div></li></ul>
43
+ ```
44
+ - **Multi-step Walkthrough**:
45
+ ```html
46
+ <div data-type="steps" class="tech-steps">
47
+ <div data-type="step-item" class="tech-step">
48
+ <div data-type="step-title" class="tech-step__title">1. Connect Your Account</div>
49
+ <div data-type="step-content" class="tech-step__content"><p>Step instructions...</p></div>
50
+ </div>
51
+ </div>
52
+ ```
53
+ - **Code & Named Files**:
54
+ ```html
55
+ <pre data-filename="config.json"><code class="language-json">{ "profile": "default" }</code></pre>
56
+ ```
57
+ - **Keyboard Shortcuts**: `<kbd class="tech-kbd">⌘</kbd> + <kbd class="tech-kbd">K</kbd>`
58
+ - **Accordion FAQ (Collapsed by default)**:
59
+ ```html
60
+ <div data-type="accordion-group" class="tech-accordion">
61
+ <div data-type="accordion-item" class="tech-accordion__item" aria-expanded="false">
62
+ <div data-type="accordion-title" class="tech-accordion__summary">Frequently asked question?</div>
63
+ <div data-type="accordion-content" class="tech-accordion__content" hidden="hidden"><p>Answer details...</p></div>
64
+ </div>
65
+ </div>
66
+ ```
67
+
68
+ ## Execution Protocol
69
+ 1. Call `content_list(category_id: "cat_32")` to find matching child collections.
70
+ 2. Compose article with concise `excerpt` and prefixed SEO title (e.g. `Pages: Visual Site Architecture`).
71
+ 3. Call `blog_post_create`:
72
+ ```json
73
+ {
74
+ "category_id": "cat_32",
75
+ "collection_id": "col_pg_start",
76
+ "content_type": "docs",
77
+ "title": "Pages Architecture",
78
+ "excerpt": "Learn how BusinessKit visual pages and components work together.",
79
+ "seo_title": "Pages Architecture | BusinessKit Docs",
80
+ "body_html": "<h2>Overview</h2><p>...</p>",
81
+ "published": true
82
+ }
83
+ ```
84
+ 4. Output published URL and summary: `https://<domain>/docs/pages-architecture`.
@@ -0,0 +1,46 @@
1
+ ---
2
+ id: "cmd_write_guide"
3
+ name: "Write Step-by-Step Guide"
4
+ slash: "/write-guide"
5
+ description: "Create an actionable how-to guide with prerequisites, numbered steps, and FAQ"
6
+ domain_tags: ["content"]
7
+ cms_id: "cc55cc55-0001-4000-8000-000000000036"
8
+ cms_slug: "guides"
9
+ required_tools: ["blog_post_create", "content_list"]
10
+ ---
11
+
12
+ # Write Step-by-Step Guide (`/write-guide`)
13
+
14
+ Create an actionable how-to walkthrough with clear prerequisites, numbered step walkthroughs, code samples, and troubleshooting FAQs.
15
+
16
+ ## Available Tools
17
+ - `content_list(category_id?: string, content_type?: string)`: Checks existing guide collections.
18
+ - `blog_post_create(title: string, body_html: string, category_id?: string, collection_id?: string, content_type?: string, excerpt?: string, seo_title?: string, seo_description?: string, published?: boolean)`: Publishes the guide.
19
+
20
+ ## Accepted Arguments
21
+ - `/write-guide How to Connect Stripe Terminal`
22
+ - With collection: `/write-guide collection:col_payments title:"Configure Bank Feeds"`
23
+
24
+ ## Guide Structure Rules
25
+ 1. **Target Hub**: Guides (`content_type: "guides"`, `category_id: "cat_36"`).
26
+ 2. **Outcome Opener**: First paragraph `<p>` explains exactly what the user will accomplish.
27
+ 3. **Prerequisites**: Highlight required tools, permissions, or accounts inside `<div data-type="info-card">` or `<ul data-type="taskList">`.
28
+ 4. **Step Sequence**: Numbered tutorial inside `<div data-type="steps" class="tech-steps">` with code blocks `<pre data-filename="...">` and `<kbd class="tech-kbd">`.
29
+ 5. **Troubleshooting FAQ**: Closing FAQ accordion using `<div data-type="accordion-group" class="tech-accordion">`.
30
+ 6. **Metadata**: Set `additional_details` like `[{"key": "Difficulty", "value": "Beginner"}, {"key": "Time", "value": "10 mins"}]`.
31
+
32
+ ## Execution Protocol
33
+ 1. Call `content_list(category_id: "cat_36")` to discover existing guide categories.
34
+ 2. Draft semantic HTML following the step sequence structure.
35
+ 3. Call `blog_post_create`:
36
+ ```json
37
+ {
38
+ "category_id": "cat_36",
39
+ "content_type": "guides",
40
+ "title": "Configure Bank Feeds",
41
+ "excerpt": "Connect your business bank account for automated statement reconciliation.",
42
+ "body_html": "<p>In this guide, you will connect...</p><div data-type=\"info-card\">...</div>",
43
+ "published": true
44
+ }
45
+ ```
46
+ 4. Output live guide link: `https://<domain>/guides/<slug>`.
@@ -0,0 +1,46 @@
1
+ ---
2
+ id: "cmd_write_newsletter"
3
+ name: "Write Newsletter"
4
+ slash: "/write-newsletter"
5
+ description: "Draft or publish a newsletter issue with sections, highlights, and CTA"
6
+ domain_tags: ["content"]
7
+ cms_id: "cc55cc55-0001-4000-8000-000000000020"
8
+ cms_slug: "n"
9
+ required_tools: ["blog_post_create"]
10
+ ---
11
+
12
+ # Write Newsletter (`/write-newsletter`)
13
+
14
+ Draft or publish a conversational email newsletter issue with curated highlights, tips, and a prominent call-to-action button.
15
+
16
+ ## Available Tools
17
+ - `blog_post_create(title: string, body_html: string, category_id?: string, content_type?: string, excerpt?: string, cta_button_text?: string, cta_button_url?: string, published?: boolean)`: Creates or publishes a newsletter issue.
18
+
19
+ ## Accepted Arguments
20
+ - `/write-newsletter Issue #14: Holiday Inventory Planning`
21
+ - With theme/notes: `/write-newsletter Weekly digest with 3 top tips and product update`
22
+
23
+ ## Newsletter Format Rules
24
+ 1. **Target Hub**: Newsletter (`content_type: "n"`, `category_id: "cat_20"`).
25
+ 2. **Conversational Tone**: Warm 1–2 paragraph opener `<p>` addressed directly to the reader.
26
+ 3. **Sections**: 2–4 scannable sections (`<h2>Main Story</h2>`, `<h2>Quick Reads</h2>` with `<ul>`, `<h2>Tip of the Week</h2>`).
27
+ 4. **Callout Tip**: Use `<div data-type="info-card">` or checklist `<ul data-type="taskList">`.
28
+ 5. **Call-to-Action (CTA)**: Provide explicit button label and URL (`cta_button_text: "Read Full Release"`, `cta_button_url: "https://..."`).
29
+
30
+ ## Execution Protocol
31
+ 1. Compose issue title and lead copy.
32
+ 2. Structure sections using semantic HTML.
33
+ 3. Call `blog_post_create`:
34
+ ```json
35
+ {
36
+ "category_id": "cat_20",
37
+ "content_type": "n",
38
+ "title": "Holiday Inventory Planning",
39
+ "excerpt": "How to prepare your warehouse stock for Q4 holiday demand spikes.",
40
+ "body_html": "<p>Hey everyone,</p><h2>Main Story</h2>...",
41
+ "cta_button_text": "View Stock Checklist",
42
+ "cta_button_url": "https://example.com/checklist",
43
+ "published": false
44
+ }
45
+ ```
46
+ 4. Output draft confirmation, preview link, and send options.
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "businesskit": {
4
+ "command": "businesskit",
5
+ "args": ["--mcp"]
6
+ }
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,38 +1,49 @@
1
1
  {
2
2
  "name": "@businesskit/agent",
3
- "version": "1.0.3",
4
- "description": "Autonomous business agent team — CEO, CRM, Social, SEO, Blog Writer and more. Powered by your own Turso database. Works with Claude Code, Claude Cowork, Gemini CLI, and Codex.",
3
+ "version": "1.0.5",
4
+ "description": "Universal BusinessKit Agent Kit — Antigravity, Cursor, Claude Code, VS Code, and Gemini CLI via BusinessKit native MCP tools.",
5
5
  "type": "module",
6
+ "mcpName": "io.github.businesskitai/agent",
6
7
  "bin": {
7
- "bk": "./bin/businesskit.js",
8
- "businesskit": "./bin/businesskit.js"
8
+ "bk": "bin/businesskit.js",
9
+ "businesskit": "bin/businesskit.js"
9
10
  },
11
+ "files": [
12
+ "bin",
13
+ "commands",
14
+ "skills",
15
+ "templates",
16
+ "scripts",
17
+ "rules",
18
+ "assets",
19
+ "plugin.json",
20
+ "mcp_config.json",
21
+ "server.json",
22
+ "AGENTS.md",
23
+ "CLAUDE.md",
24
+ "GEMINI.md",
25
+ "LICENSE",
26
+ "README.md",
27
+ ".cursorrules",
28
+ ".claude-plugin",
29
+ ".cursor-plugin",
30
+ ".superconsole-plugin"
31
+ ],
10
32
  "scripts": {
11
- "setup": "npx tsx setup.ts",
12
- "cli": "npx tsx cli.ts",
13
- "ceo": "npx tsx cli.ts ceo",
14
- "cmo": "npx tsx cli.ts cmo",
15
- "coo": "npx tsx cli.ts coo",
16
- "cbo": "npx tsx cli.ts cbo",
17
- "analytics": "npx tsx cli.ts analytics",
18
- "seo": "npx tsx cli.ts seo",
19
- "scheduler:hourly": "npx tsx cli.ts scheduler hourly",
20
- "scheduler:daily": "npx tsx cli.ts scheduler daily",
21
- "scheduler:weekly": "npx tsx cli.ts scheduler weekly"
33
+ "setup": "bash ./scripts/setup.sh",
34
+ "setup:ts": "npx tsx scripts/setup.ts"
22
35
  },
23
36
  "keywords": [
24
37
  "claude-code",
25
38
  "claude-cowork",
39
+ "antigravity",
40
+ "cursor",
41
+ "mcp",
42
+ "model-context-protocol",
26
43
  "ai-agent",
27
44
  "business-agent",
28
- "turso",
29
- "crm",
30
- "social-media",
31
45
  "businesskit"
32
46
  ],
33
- "dependencies": {
34
- "@libsql/client": "^0.15.15"
35
- },
36
47
  "devDependencies": {
37
48
  "@types/node": "^22.0.0",
38
49
  "tsx": "^4.19.0",
@@ -43,8 +54,8 @@
43
54
  },
44
55
  "repository": {
45
56
  "type": "git",
46
- "url": "https://github.com/businesskit-io/businesskit-agent"
57
+ "url": "git+https://github.com/businesskitai/businesskit-agent.git"
47
58
  },
48
- "homepage": "https://github.com/businesskit-io/businesskit-agent",
59
+ "homepage": "https://github.com/businesskitai/businesskit-agent#readme",
49
60
  "license": "MIT"
50
61
  }
package/plugin.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "$schema": "https://antigravity.google/schemas/v1/plugin.json",
3
+ "name": "businesskit",
4
+ "displayName": "BusinessKit",
5
+ "version": "1.0.5",
6
+ "description": "Universal BusinessKit autonomous agent kit — POS billing, B2B invoices, inventory restocking, CRM contacts, customer support triage, and website publishing via native MCP tools.",
7
+ "logo": "assets/logo.svg",
8
+ "author": {
9
+ "name": "BusinessKit Team",
10
+ "url": "https://businesskit.ai"
11
+ },
12
+ "homepage": "https://businesskit.ai",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/businesskitai/businesskit-agent"
16
+ },
17
+ "suggestedPrompts": [
18
+ "Draft a customer invoice for Acme Corp with 10 units of consulting",
19
+ "Restock inventory items from this supplier purchase invoice",
20
+ "Create a new landing page with hero, features, and pricing sections"
21
+ ],
22
+ "keywords": [
23
+ "businesskit",
24
+ "mcp",
25
+ "billing",
26
+ "pos",
27
+ "invoicing",
28
+ "inventory",
29
+ "crm",
30
+ "website-builder"
31
+ ]
32
+ }