@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
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: social-content
2
+ name: social
3
3
  description: "When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' or 'viral content.' This skill covers content creation, repurposing, and platform-specific strategies."
4
4
  metadata:
5
5
  version: 1.0.0
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "businesskit": {
4
+ "command": "{{BUSINESSKIT_BIN}}",
5
+ "args": ["--mcp", "--profile", "{{PROFILE_ID}}"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "businesskit": {
4
+ "command": "{{BUSINESSKIT_BIN}}",
5
+ "args": ["--mcp", "--profile", "{{PROFILE_ID}}"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "businesskit": {
4
+ "command": "{{BUSINESSKIT_BIN}}",
5
+ "args": ["--mcp", "--profile", "{{PROFILE_ID}}"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "servers": {
3
+ "businesskit": {
4
+ "type": "stdio",
5
+ "command": "{{BUSINESSKIT_BIN}}",
6
+ "args": ["--mcp", "--profile", "{{PROFILE_ID}}"]
7
+ }
8
+ }
9
+ }
@@ -1,7 +0,0 @@
1
- # /analytics-agent — Analytics Snapshot
2
-
3
- 1. `analyticsAgent.snapshot()` -> full picture: traffic, revenue, products, links, forms
4
- 2. `analyticsAgent.revenueReport()` -> product revenue breakdown
5
- 3. `analyticsAgent.trafficReport()` -> clicks by day, country, referrer, top links
6
-
7
- ATLAS is read-only. Use `/ceo` for strategy derived from this data.
@@ -1,9 +0,0 @@
1
- # /blog-writer — Write Blog Post
2
-
3
- 1. Load brand context. Check last 3 posts for tone.
4
- 2. Ask: title (required), key points or full content, publish now or draft?
5
- 3. Auto-generate 155-char excerpt for SEO.
6
- 4. `blake.create({ title, content, excerpt, publish })`
7
- 5. Confirm: title, slug, status.
8
-
9
- After: `/seo-agent` to audit SEO | `/social-agent` to distribute if published.
@@ -1,7 +0,0 @@
1
- # /cbo — CBO Revenue Report
2
-
3
- 1. `rex.revenueReport()` → total, trend, top products, by-type breakdown, strategy
4
- 2. `rex.pricingAudit()` → all product prices
5
- 3. `rex.conversionAnalysis()` → product clicks vs purchases
6
-
7
- Handoff: update price → LEO | new product type → LEO | copy refresh → COPY
@@ -1,10 +0,0 @@
1
- # /ceo — CEO Briefing
2
-
3
- 1. `aria.weeklyBriefing()` → revenue, traffic, inventory, top products, recommendations
4
- 2. Display cleanly. Ask: send to n8n? → `aria.sendBriefing()`
5
-
6
- Handoff after briefing:
7
- - Drafts pending -> `/coo` (OTTO)
8
- - Revenue low -> `/cbo` (REX)
9
- - No content plan -> `/cmo` (NOVA)
10
- - Need content created -> `/blog-writer`, `/course-creator`, or `/store-manager`
@@ -1,7 +0,0 @@
1
- # /cmo — CMO Content Calendar
2
-
3
- 1. `nova.contentCalendar(4)` → 4-week blog/newsletter/social plan
4
- 2. `nova.growthAudit()` → content gaps and conversion rate
5
- 3. Ask: start executing? Route each item to the right creator agent.
6
-
7
- Handoff: blog -> `/blog-writer` | newsletter -> `/newsletter-writer` | course -> `/course-creator` | product -> `/store-manager`
@@ -1,73 +0,0 @@
1
- ---
2
- description: Compress session context into a structured log before /compact
3
- ---
4
-
5
- # /compress — Compress and Save Session
6
-
7
- Save what matters before running /compact. Uses pi's proven compaction format.
8
-
9
- ## Steps
10
-
11
- 1. Ask the user what to keep (or infer from conversation):
12
-
13
- ```
14
- What should I save? (numbers, comma-separated — or 'all')
15
- 1. Goal and what we were trying to accomplish
16
- 2. Decisions made and why
17
- 3. Agent actions taken (posts published, contacts added, etc)
18
- 4. Files or DB rows changed
19
- 5. Next steps
20
- 6. Open questions
21
- ```
22
-
23
- 2. Ask: "Anything specific to highlight? (or 'skip')"
24
-
25
- 3. Suggest a topic from the conversation: "Suggested: [slug]. Accept or rename:"
26
-
27
- 4. Write to `CC-Session-Logs/YYYY-MM-DD-HH-MM-[topic].md`:
28
-
29
- ```markdown
30
- # [topic]
31
- Date: [ISO timestamp]
32
- Agent: [which agent was active]
33
-
34
- ## Goal
35
- [What we were trying to accomplish — 1-2 sentences]
36
-
37
- ## Constraints & Preferences
38
- - [user said: always/never do X]
39
- - [preference discovered this session]
40
-
41
- ## Progress
42
- ### Done
43
- - [specific action with IDs or file paths]
44
- - [DB writes: table, id, what changed]
45
-
46
- ### In Progress
47
- - [anything mid-way]
48
-
49
- ## Next Steps
50
- 1. [most important — be specific]
51
- 2. [second]
52
-
53
- ## Open Questions
54
- - [unresolved]
55
-
56
- ---
57
- Raw Log
58
- [optional: paste key exchanges for searchability]
59
- ```
60
-
61
- 1. Log to agent_memory:
62
-
63
- ```ts
64
- import { logMemory } from './lib/memory.ts'
65
- await logMemory('session', 'Compressed: [topic]', { file: 'CC-Session-Logs/...' })
66
- ```
67
-
68
- 2. Tell user: "Saved to [filename]. Run /compact now."
69
-
70
- ## Key rule
71
-
72
- /resume reads ONLY the sections above "---\nRaw Log" — make them dense and actionable.
73
- Raw log is for search, never loaded into context.
@@ -1,11 +0,0 @@
1
- # /coo — COO Pipeline & Scheduling
2
-
3
- 1. `coo.draftPipeline()` -> show all drafts across every content type
4
- 2. `coo.publishQueue()` -> preview content due to go live right now
5
- 3. Ask: run the queue? -> `coo.runPublishQueue()` -> flips published=1, notifies n8n
6
- 4. Ask: schedule something? -> `coo.schedule(table, id, new Date('...'))`
7
-
8
- Pipeline view groups by type: blog posts, products, pages, jobs, forms.
9
- Shows: title, scheduled date, how long it's been a draft.
10
-
11
- Handoff: content needs edits before publish -> route to the right creator agent.
@@ -1,15 +0,0 @@
1
- # /copywriter — Copywriter
2
-
3
- Handles: landing pages, about pages, product descriptions, profile bio/tagline, link copy.
4
-
5
- 1. Ask: what needs writing? (page | product description | bio | tagline | link)
6
- 2. Load brand context -> match voice from `profile.bio` and `profile.tagline`
7
- 3. Route to the right method:
8
- - New landing/about page -> `copywriter.createPage({ title, slug, hero_section, cta_section, ... })`
9
- - Product description -> `copywriter.updateProductCopy(productId, { description, excerpt, button_text })`
10
- - Profile bio/tagline -> `copywriter.updateProfileCopy({ bio, tagline, title })`
11
- 4. Ask: publish the page now or save as draft?
12
- 5. Confirm: what was written, where it lives, URL
13
-
14
- Pages: check `copywriter.listPages()` first to avoid duplicates.
15
- Profile copy updates take effect immediately on the public profile.
@@ -1,9 +0,0 @@
1
- # /course-creator — Create Course
2
-
3
- 1. Ask: title, price (dollars), description, lesson count
4
- 2. Per lesson: title, content or video_url, duration_minutes, free_preview?
5
- 3. `sage.create({ title, price_cents, description })` → get courseId
6
- 4. `sage.addLesson(courseId, lesson)` for each lesson
7
- 5. Confirm: slug, total_lessons, price.
8
-
9
- Students/progress: `sage.getStudents(courseId)`