@businesskit/agent 1.0.1 → 1.0.3
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.
- package/.claude/commands/crm.md +552 -43
- package/.claude-plugin/marketplace.json +36 -0
- package/.claude-plugin/plugin.json +7 -28
- package/ABOUT-ME.md +96 -0
- package/CLAUDE.md +37 -190
- package/HEARTBEAT.md +105 -0
- package/PLAN.md +225 -94
- package/PRD-Agent-Composition.md +149 -0
- package/README.md +120 -162
- package/REFERENCE.md +124 -0
- package/SOUL.md +148 -0
- package/SYSTEM.md +22 -0
- package/bin/businesskit.js +17 -11
- package/brand-voice.md +127 -0
- package/ingest.md +110 -0
- package/package.json +1 -1
- package/{.agents/skills/analytics.md → skills/analytics/SKILL.md} +6 -1
- package/{.agents/skills/brand.md → skills/brand/SKILL.md} +14 -1
- package/skills/ceo/SKILL.md +25 -0
- package/skills/cmo/SKILL.md +8 -0
- package/skills/humanizer/SKILL.md +270 -0
- package/working-style.md +87 -0
- package/.agents/skills/schema.md +0 -45
- package/.agents/skills/store.md +0 -46
- package/.claude/skills/agents.md +0 -56
- package/.claude/skills/analytics.md +0 -7
- package/.claude/skills/brand.md +0 -44
- package/.claude/skills/humanizer.md +0 -474
- /package/{.claude/skills → skills}/README.md +0 -0
- /package/{.agents/skills/agents.md → skills/agents/SKILL.md} +0 -0
- /package/{.claude/skills/blog-writing.md → skills/blog-writer/SKILL.md} +0 -0
- /package/{.claude/skills/store-copywriting.md → skills/copywriting/SKILL.md} +0 -0
- /package/{.claude/skills/schema.md → skills/schema/SKILL.md} +0 -0
- /package/{.claude/skills/social-content.md → skills/social/SKILL.md} +0 -0
- /package/{.claude/skills → skills/social}/content-seo.md +0 -0
- /package/{.claude/skills/store.md → skills/store/SKILL.md} +0 -0
package/working-style.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Working Style
|
|
2
|
+
|
|
3
|
+
> Fill this in. Agents adapt to how you actually work.
|
|
4
|
+
> Be honest — the more specific, the better the output.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## How I like to work with agents
|
|
9
|
+
|
|
10
|
+
<!--
|
|
11
|
+
Examples:
|
|
12
|
+
- Show me drafts before publishing anything
|
|
13
|
+
- Always give me 3 options, I'll pick one
|
|
14
|
+
- Just do it, don't ask — I'll review at the end
|
|
15
|
+
- Morning is my review time, schedule posts for afternoon
|
|
16
|
+
-->
|
|
17
|
+
|
|
18
|
+
[How you prefer to work with agents]
|
|
19
|
+
|
|
20
|
+
## Approval preferences
|
|
21
|
+
|
|
22
|
+
<!--
|
|
23
|
+
What needs my sign-off? What can agents do automatically?
|
|
24
|
+
Examples:
|
|
25
|
+
- Blog posts: always show me draft first
|
|
26
|
+
- Social posts: auto-publish on LinkedIn, show me Twitter first
|
|
27
|
+
- Emails/newsletters: never send without approval
|
|
28
|
+
- CRM outreach: draft and queue, I'll approve in batches
|
|
29
|
+
-->
|
|
30
|
+
|
|
31
|
+
| Action | Auto | Draft first | Always ask |
|
|
32
|
+
|---|---|---|---|
|
|
33
|
+
| Blog post | | ✓ | |
|
|
34
|
+
| Social post | | ✓ | |
|
|
35
|
+
| Newsletter | | | ✓ |
|
|
36
|
+
| CRM outreach | | ✓ | |
|
|
37
|
+
| Product update | | | ✓ |
|
|
38
|
+
|
|
39
|
+
## Publishing schedule
|
|
40
|
+
|
|
41
|
+
<!--
|
|
42
|
+
When do you publish what? Agents use this for scheduling.
|
|
43
|
+
Examples:
|
|
44
|
+
- Blog: Tuesday and Thursday
|
|
45
|
+
- Newsletter: every Friday 9am
|
|
46
|
+
- Social: daily 8am, 12pm, 6pm
|
|
47
|
+
- YouTube: Sunday
|
|
48
|
+
-->
|
|
49
|
+
|
|
50
|
+
[Your publishing schedule]
|
|
51
|
+
|
|
52
|
+
## Review windows
|
|
53
|
+
|
|
54
|
+
<!--
|
|
55
|
+
When do you actually check and approve things?
|
|
56
|
+
Example: I review drafts every morning 9-10am. Don't schedule outside that.
|
|
57
|
+
-->
|
|
58
|
+
|
|
59
|
+
[When you review and approve]
|
|
60
|
+
|
|
61
|
+
## Things agents should never do without asking
|
|
62
|
+
|
|
63
|
+
<!--
|
|
64
|
+
Hard stops. Examples:
|
|
65
|
+
- Never delete content — archive it instead
|
|
66
|
+
- Never change prices without asking
|
|
67
|
+
- Never publish to LinkedIn on weekends
|
|
68
|
+
- Never send emails to more than 100 people without approval
|
|
69
|
+
-->
|
|
70
|
+
|
|
71
|
+
- Never delete — archive instead
|
|
72
|
+
- [Add your own]
|
|
73
|
+
|
|
74
|
+
## Things agents can always do without asking
|
|
75
|
+
|
|
76
|
+
<!--
|
|
77
|
+
Safe defaults. Examples:
|
|
78
|
+
- Can always save drafts
|
|
79
|
+
- Can always add to agent_notes for later
|
|
80
|
+
- Can always generate options/variants
|
|
81
|
+
- Can always push reports to agent_reports
|
|
82
|
+
-->
|
|
83
|
+
|
|
84
|
+
- Can always save to drafts
|
|
85
|
+
- Can always push to agent_reports
|
|
86
|
+
- Can always add to agent_notes inbox
|
|
87
|
+
- [Add your own]
|
package/.agents/skills/schema.md
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Schema — Table Reference
|
|
2
|
-
|
|
3
|
-
## Content tables (all share: id, profile_id, user_id, slug, title, content, excerpt, published, hidden, collection_id, created_at, updated_at)
|
|
4
|
-
|
|
5
|
-
| Table | Route | Use |
|
|
6
|
-
|---|---|---|
|
|
7
|
-
| `posts` | /blog | Blog: listicle, how-to, checklist, qa, versus, roundup, news, ultimate-guide |
|
|
8
|
-
| `newsletter` | /newsletter | Email newsletter issues |
|
|
9
|
-
| `notes` | /notes | Short-form notes |
|
|
10
|
-
| `guides` | /guides | Long-form step-by-step guides |
|
|
11
|
-
| `compare` | /compare | "X vs Y" programmatic SEO |
|
|
12
|
-
| `alternative` | /alternative | "Best alternatives to X" |
|
|
13
|
-
| `prompt` | /prompt | Prompt library articles |
|
|
14
|
-
| `skills` | /skills | Published skill articles |
|
|
15
|
-
|
|
16
|
-
posts extras: seo_title (≤60), seo_description (≤160), seo_keywords, content_type, word_count, reading_time_mins, internal_links JSON, sources JSON
|
|
17
|
-
|
|
18
|
-
## Products
|
|
19
|
-
type: download|course|meeting|webinar|event|listing|sponsorship|service
|
|
20
|
-
cols: price_cents, sale_price_cents, slug UNIQUE, published, hidden, lessons JSON, calendar_link, webinar_link, file_url
|
|
21
|
-
|
|
22
|
-
## CRM (crm.ts)
|
|
23
|
-
crm_contacts: lead_score 0-100, icp_match (strong|moderate|weak|unknown), outreach_status, agent_status (pending→researching→enriched→outreach_ready→closed), agent_context JSON, auto_approve INT, suggested_dm, email_draft
|
|
24
|
-
crm_activities: type, direction (inbound|outbound), sender (agent|you|contact), body, approval_status (pending|approved|auto_sent|rejected)
|
|
25
|
-
crm_deals: contact_id, title, value_cents, stage (new|contacted|proposal|negotiation|won|lost)
|
|
26
|
-
crm_analytics: DB triggers keep this in sync — never update manually
|
|
27
|
-
|
|
28
|
-
## Social (social.ts)
|
|
29
|
-
social_accounts: platform, connection_mode (zernio_byok|zernio_platform|direct|n8n), zernio_account_id
|
|
30
|
-
social_posts: content, status, scheduled_for, scheduled_via, zernio_post_id
|
|
31
|
-
social_post_platforms: one row per platform per post, platform_post_id indexed
|
|
32
|
-
social_inbox: type (dm|comment|review), status (unread|read|replied|archived), crm_contact_id FK
|
|
33
|
-
|
|
34
|
-
## Memory
|
|
35
|
-
agent_memory: rolling 20 rows per profile — auto-trimmed
|
|
36
|
-
agent_skills: UNIQUE(profile_id,slug) — upsert safe
|
|
37
|
-
|
|
38
|
-
## Analytics — READ ONLY, never write
|
|
39
|
-
profile_analytics: total_clicks, analytics_7d/30d/12m/lifetime JSON, revenue_30d/12m/lifetime JSON
|
|
40
|
-
product_analytics: total_sales, total_revenue_cents, sales_30d JSON
|
|
41
|
-
|
|
42
|
-
## ID and timestamp rules
|
|
43
|
-
IDs: ulid() for most | omit id for doc_collections, doc_articles (AUTOINCREMENT)
|
|
44
|
-
INT cols: now() = Math.floor(Date.now()/1000)
|
|
45
|
-
TEXT cols (posts, jobs, forms, docs): iso() = new Date().toISOString().slice(0,19)+'Z'
|
package/.agents/skills/store.md
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# Store Skill — Products and Commerce
|
|
2
|
-
|
|
3
|
-
## Product types and required fields
|
|
4
|
-
|
|
5
|
-
| type | Required | Optional |
|
|
6
|
-
|---|---|---|
|
|
7
|
-
| `download` | title, price_cents, file_url | thumbnail_url, excerpt |
|
|
8
|
-
| `course` | title, price_cents, lessons JSON, total_lessons | duration_minutes, calendar_link |
|
|
9
|
-
| `meeting` | title, price_cents, calendar_link, scheduling_provider | duration_minutes, meeting_settings |
|
|
10
|
-
| `webinar` | title, price_cents, webinar_link, webinar_platform, webinar_schedule | webinar_settings |
|
|
11
|
-
| `event` | title, price_cents, event_settings JSON | location, date |
|
|
12
|
-
| `listing` | title, price_cents | description, tags |
|
|
13
|
-
| `sponsorship` | title, price_cents, billing_interval | features JSON |
|
|
14
|
-
| `service` | title, price_cents | description, button_text |
|
|
15
|
-
|
|
16
|
-
## Lessons JSON structure (courses)
|
|
17
|
-
```json
|
|
18
|
-
[
|
|
19
|
-
{ "id": "l1", "title": "Introduction", "duration_mins": 15, "video_url": "...", "order": 1 },
|
|
20
|
-
{ "id": "l2", "title": "Module 1", "duration_mins": 30, "video_url": "...", "order": 2 }
|
|
21
|
-
]
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Pricing rules
|
|
25
|
-
- price_cents: always in cents (USD default). $49 → 4900
|
|
26
|
-
- sale_price_cents: must be less than price_cents
|
|
27
|
-
- billing_interval: 'month' | 'year' | 'once' (default: 'once')
|
|
28
|
-
- currency: 'usd' default
|
|
29
|
-
|
|
30
|
-
## Product lifecycle
|
|
31
|
-
- Create: published=0, hidden=0 (draft)
|
|
32
|
-
- Launch: published=1, hidden=0
|
|
33
|
-
- Archive: hidden=1 (never DELETE)
|
|
34
|
-
- slug must be UNIQUE — check before insert
|
|
35
|
-
|
|
36
|
-
## product_analytics seed
|
|
37
|
-
When creating a new product, seed its analytics row:
|
|
38
|
-
```ts
|
|
39
|
-
await db.execute({
|
|
40
|
-
sql: `INSERT OR IGNORE INTO product_analytics (id, product_id, profile_id) VALUES (?,?,?)`,
|
|
41
|
-
args: [productId, productId, profileId]
|
|
42
|
-
})
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Approval flow for store items with meetings/slots
|
|
46
|
-
purchases.approval_status: 'pending' → agent reviews → 'approved' (sends calendar link)
|
package/.claude/skills/agents.md
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Agent Roster
|
|
2
|
-
|
|
3
|
-
Every agent has a name, title, and clear domain. C-Suite orchestrates. Creators write. Growth distributes.
|
|
4
|
-
|
|
5
|
-
## C-Suite — Strategy & Intelligence
|
|
6
|
-
|
|
7
|
-
| Name | Title | Call when... |
|
|
8
|
-
|---|---|---|
|
|
9
|
-
| **ARIA** | CEO | Weekly briefing, cross-agent priorities, `aria.weeklyBriefing()` |
|
|
10
|
-
| **NOVA** | CMO | Content calendar, growth gaps, `nova.contentCalendar()` |
|
|
11
|
-
| **OTTO** | COO | Publish queue, draft pipeline, scheduling, `otto.draftPipeline()` |
|
|
12
|
-
| **REX** | CBO | Revenue report, pricing audit, upsell strategy, `rex.revenueReport()` |
|
|
13
|
-
|
|
14
|
-
## Creators — Content Production
|
|
15
|
-
|
|
16
|
-
| Name | Title | Table | Key method |
|
|
17
|
-
|---|---|---|---|
|
|
18
|
-
| **BLAKE** | Blog Writer | `posts` | `blake.create({ title, content })` |
|
|
19
|
-
| **PEARL** | Newsletter Writer | `subscribers` | `pearl.send({ subject, body_html })` |
|
|
20
|
-
| **COPY** | Copywriter | `pages`, `products.description` | `copy.createPage()`, `copy.updateProductCopy()` |
|
|
21
|
-
| **SAGE** | Course Creator | `products` (type=course) | `sage.create()`, `sage.addLesson()` |
|
|
22
|
-
| **LEO** | Store Manager | `products` (all other types) | `leo.create({ type, ... })` |
|
|
23
|
-
| **JOB** | Jobs Manager | `job_listings` | `job.create()` |
|
|
24
|
-
| **FELIX** | Forms Builder | `forms`, `questions` | `felix.create({ title, questions })` |
|
|
25
|
-
| **DOC** | Docs Writer | `doc_collections`, `doc_articles` | `doc.createArticle()` |
|
|
26
|
-
|
|
27
|
-
## Growth — Distribution & Intelligence
|
|
28
|
-
|
|
29
|
-
| Name | Title | Role |
|
|
30
|
-
|---|---|---|
|
|
31
|
-
| **SCOUT** | SEO Agent | Audits slugs/meta, sets collection SEO |
|
|
32
|
-
| **ATLAS** | Analytics Agent | Read-only analytics across all tables |
|
|
33
|
-
| **HERMES** | Social Agent | Posts to n8n → social platforms |
|
|
34
|
-
| **CRON** | Scheduler | Runs hourly/daily/weekly jobs (Phase 3: CF Workflows) |
|
|
35
|
-
|
|
36
|
-
## Store — Product Types via LEO
|
|
37
|
-
|
|
38
|
-
LEO handles all digital commerce. Pass `type` to select:
|
|
39
|
-
|
|
40
|
-
| Type | What it is |
|
|
41
|
-
|---|---|
|
|
42
|
-
| `download` | Digital file (PDF, ZIP, video) |
|
|
43
|
-
| `course` | Multi-lesson course — use SAGE instead for lesson management |
|
|
44
|
-
| `meeting` | 1:1 call (calendar_link required) |
|
|
45
|
-
| `webinar` | Live or recorded webinar |
|
|
46
|
-
| `event` | Ticketed event |
|
|
47
|
-
| `listing` | Platform listing (newsletter, community, etc.) |
|
|
48
|
-
| `sponsorship` | Sponsor slot with billing_interval |
|
|
49
|
-
| `service` | Custom or on-demand service |
|
|
50
|
-
|
|
51
|
-
## Composition Pattern
|
|
52
|
-
|
|
53
|
-
Agents call each other. Example: `/ceo` calls `analyticsAgent.snapshot()` + `blogWriter.summary()` + `storeManager.storeOverview()`.
|
|
54
|
-
NOVA calls BLAKE to draft posts. OTTO calls HERMES after publishing.
|
|
55
|
-
|
|
56
|
-
Never call C-Suite methods inside Creator agents. Dependency direction: C-Suite → Growth → Creators.
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# /analytics-agent — Analytics Snapshot
|
|
2
|
-
|
|
3
|
-
1. `atlas.snapshot()` → full picture: traffic, revenue, products, links, forms
|
|
4
|
-
2. `atlas.revenueReport()` → product revenue breakdown
|
|
5
|
-
3. `atlas.trafficReport()` → clicks by day, country, referrer, top links
|
|
6
|
-
|
|
7
|
-
ATLAS is read-only. Use ARIA for strategy derived from this data.
|
package/.claude/skills/brand.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# Brand Context
|
|
2
|
-
|
|
3
|
-
Load before writing ANY content:
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { getBrandContext } from '../../lib/profile.ts'
|
|
7
|
-
const { profile, settings } = await getBrandContext()
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
## What Brand Context Gives You
|
|
11
|
-
|
|
12
|
-
- `profile.title` — business name (use in headlines, subject lines)
|
|
13
|
-
- `profile.bio` — who they are (match this tone and focus)
|
|
14
|
-
- `profile.tagline` — one-liner (use as style guide for brevity and punch)
|
|
15
|
-
- `profile.social_links` — platforms they're on (informs content format)
|
|
16
|
-
- `settings.site_title` — override for the brand name if set
|
|
17
|
-
|
|
18
|
-
## Writing Rules for All Content Agents
|
|
19
|
-
|
|
20
|
-
**Voice**: Match `profile.bio`. If it's casual, write casually. If it's authoritative, write with authority.
|
|
21
|
-
|
|
22
|
-
**Tone consistency**: Before writing a blog post, check the last 3 published posts (`blake.list({ published: true, limit: 3 })`). Match the reading level and style.
|
|
23
|
-
|
|
24
|
-
**Tagline rule**: `profile.tagline` is the style compass. If the tagline is punchy and short, headlines should be too. If it's descriptive, long-form is appropriate.
|
|
25
|
-
|
|
26
|
-
**Never**: Write content that contradicts `profile.bio`. Don't change the brand voice between pieces.
|
|
27
|
-
|
|
28
|
-
**Always**:
|
|
29
|
-
- Include a clear call-to-action
|
|
30
|
-
- Write the excerpt/meta description separately from the body (it's for search engines + previews)
|
|
31
|
-
- Keep titles under 60 characters for SEO
|
|
32
|
-
- Use the brand name (`profile.title`) naturally in content, not generically
|
|
33
|
-
|
|
34
|
-
## Content Quality Bars
|
|
35
|
-
|
|
36
|
-
| Type | Minimum length | Must include |
|
|
37
|
-
|---|---|---|
|
|
38
|
-
| Blog post | 600 words | Intro, 3+ sections with headings, conclusion, CTA |
|
|
39
|
-
| Newsletter | 200 words | Greeting, 1 main story/value, CTA, sign-off |
|
|
40
|
-
| Product description | 150 words | What it is, who it's for, what they get, price anchor |
|
|
41
|
-
| Page copy | 300 words | Headline, problem/solution, social proof hook, CTA |
|
|
42
|
-
| Job listing | 200 words | Role summary, responsibilities, requirements, culture signal |
|
|
43
|
-
| Doc article | 400 words | Problem context, step-by-step or explanation, summary |
|
|
44
|
-
| Form | 3–10 questions | Clear purpose, progress indicator text, thank-you message |
|