@businesskit/agent 1.0.0
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/.agents/skills/agents.md +56 -0
- package/.agents/skills/analytics.md +47 -0
- package/.agents/skills/brand.md +87 -0
- package/.agents/skills/schema.md +45 -0
- package/.agents/skills/store.md +46 -0
- package/.claude/commands/analytics.md +7 -0
- package/.claude/commands/blog-writer.md +9 -0
- package/.claude/commands/cbo.md +7 -0
- package/.claude/commands/ceo.md +10 -0
- package/.claude/commands/cmo.md +7 -0
- package/.claude/commands/compress.md +73 -0
- package/.claude/commands/coo.md +11 -0
- package/.claude/commands/copywriter.md +15 -0
- package/.claude/commands/course-creator.md +9 -0
- package/.claude/commands/crm.md +82 -0
- package/.claude/commands/deep.md +50 -0
- package/.claude/commands/docs-writer.md +8 -0
- package/.claude/commands/forms-builder.md +10 -0
- package/.claude/commands/jobs-manager.md +8 -0
- package/.claude/commands/kb.md +107 -0
- package/.claude/commands/newsletter-writer.md +9 -0
- package/.claude/commands/preserve.md +64 -0
- package/.claude/commands/resume.md +67 -0
- package/.claude/commands/scheduler.md +8 -0
- package/.claude/commands/seo.md +60 -0
- package/.claude/commands/social.md +51 -0
- package/.claude/commands/store-manager.md +11 -0
- package/.claude/skills/README.md +33 -0
- package/.claude/skills/agents.md +56 -0
- package/.claude/skills/analytics.md +7 -0
- package/.claude/skills/blog-writing.md +452 -0
- package/.claude/skills/brand.md +44 -0
- package/.claude/skills/content-seo.md +0 -0
- package/.claude/skills/humanizer.md +474 -0
- package/.claude/skills/schema.md +45 -0
- package/.claude/skills/social-content.md +278 -0
- package/.claude/skills/store-copywriting.md +519 -0
- package/.claude/skills/store.md +62 -0
- package/.claude-plugin/plugin.json +33 -0
- package/.cursorrules +0 -0
- package/.env.example +2 -0
- package/.mcp.json +3 -0
- package/AGENTS.md +63 -0
- package/CLAUDE.md +221 -0
- package/GEMINI.md +37 -0
- package/LICENSE +21 -0
- package/PLAN.md +253 -0
- package/PRD-Agent-Harness.md +316 -0
- package/README.md +237 -0
- package/SYSTEM.md +49 -0
- package/agents/_base.ts +63 -0
- package/agents/creators/blog-writer.ts +347 -0
- package/agents/creators/copywriter.ts +89 -0
- package/agents/creators/course-creator.ts +106 -0
- package/agents/creators/crm-agent.ts +479 -0
- package/agents/creators/docs-writer.ts +77 -0
- package/agents/creators/forms-builder.ts +90 -0
- package/agents/creators/jobs-manager.ts +82 -0
- package/agents/creators/newsletter-writer.ts +91 -0
- package/agents/creators/store-manager.ts +138 -0
- package/agents/csuite/cbo.ts +109 -0
- package/agents/csuite/ceo.ts +121 -0
- package/agents/csuite/cmo.ts +109 -0
- package/agents/csuite/coo.ts +115 -0
- package/agents/growth/analytics-agent.ts +52 -0
- package/agents/growth/scheduler.ts +68 -0
- package/agents/growth/seo-agent.ts +282 -0
- package/agents/growth/social-agent.ts +346 -0
- package/bin/businesskit.js +17 -0
- package/cli.ts +125 -0
- package/context/brand.md +80 -0
- package/context/business.md +66 -0
- package/lib/analytics.ts +81 -0
- package/lib/db.adapter.ts +30 -0
- package/lib/db.ts +16 -0
- package/lib/id.ts +15 -0
- package/lib/kb.ts +337 -0
- package/lib/memory.ts +219 -0
- package/lib/pattern-detector.ts +169 -0
- package/lib/profile.ts +119 -0
- package/lib/slug.ts +30 -0
- package/package.json +50 -0
- package/setup.ts +127 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# /kb — Knowledge Base (Karpathy LLM Wiki)
|
|
2
|
+
|
|
3
|
+
Persistent, compounding knowledge base. Agents maintain it. Users only read it.
|
|
4
|
+
|
|
5
|
+
## How it works
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
agent_notes (inbox) → agent reads → agent_kb (wiki)
|
|
9
|
+
user drops anything integrates compiled knowledge
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
One new note can update 10-15 existing KB pages.
|
|
13
|
+
Your questions + answers get filed back as new entries — knowledge compounds.
|
|
14
|
+
|
|
15
|
+
## Session start
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import { kbContext } from './lib/kb.ts'
|
|
19
|
+
const index = await kbContext(50)
|
|
20
|
+
// Shows: [type] slug: summary — token-efficient, no full content loaded
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Process inbox notes (periodic — not every session)
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
import { getInboxNotes, upsertEntry, markNoteProcessed } from './lib/kb.ts'
|
|
27
|
+
|
|
28
|
+
const notes = await getInboxNotes(10)
|
|
29
|
+
for (const note of notes) {
|
|
30
|
+
// Read note.content
|
|
31
|
+
// Decide: new KB entry OR update existing one
|
|
32
|
+
// Check index first: does a related entry exist?
|
|
33
|
+
const existing = await searchKB(extractKeyTerm(note.content))
|
|
34
|
+
|
|
35
|
+
if (existing.length) {
|
|
36
|
+
// Update existing entry — integrate new info
|
|
37
|
+
// If new info contradicts: markStale(existing[0].slug) first
|
|
38
|
+
await upsertEntry({ slug: existing[0].slug, ... })
|
|
39
|
+
} else {
|
|
40
|
+
// Create new entity/concept/source entry
|
|
41
|
+
await upsertEntry({ entry_type: 'concept', slug, title, content, summary })
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
await markNoteProcessed(note.id, 'Integrated into KB as: [slug]')
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Answer a question + file it back
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
import { searchKB, getEntry, fileAnswer } from './lib/kb.ts'
|
|
52
|
+
|
|
53
|
+
// 1. Read index — find relevant entries
|
|
54
|
+
const index = await kbContext()
|
|
55
|
+
|
|
56
|
+
// 2. Search for relevant pages
|
|
57
|
+
const hits = await searchKB('email deliverability')
|
|
58
|
+
|
|
59
|
+
// 3. Load content only for relevant ones
|
|
60
|
+
const entry = await getEntry(hits[0].slug)
|
|
61
|
+
|
|
62
|
+
// 4. Synthesize answer using entry.content
|
|
63
|
+
|
|
64
|
+
// 5. File answer back as KB entry (Karpathy: explorations compound)
|
|
65
|
+
await fileAnswer(
|
|
66
|
+
'What affects email deliverability?',
|
|
67
|
+
answerText,
|
|
68
|
+
['email-deliverability', 'ses-setup']
|
|
69
|
+
)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Mark stale when info contradicts
|
|
73
|
+
|
|
74
|
+
```ts
|
|
75
|
+
import { markStale } from './lib/kb.ts'
|
|
76
|
+
|
|
77
|
+
// New note says ConvertKit raised prices → mark old pricing entry stale
|
|
78
|
+
await markStale('convertkit-pricing')
|
|
79
|
+
// Agent will update it next time it processes that entry
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Review stale entries
|
|
83
|
+
|
|
84
|
+
```ts
|
|
85
|
+
import { getStaleEntries } from './lib/kb.ts'
|
|
86
|
+
const stale = await getStaleEntries()
|
|
87
|
+
// stale entries show ⚠️ in kbContext output
|
|
88
|
+
// Process: load note → update entry → version increments, stale clears
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Entry types
|
|
92
|
+
|
|
93
|
+
| type | What | Example slug |
|
|
94
|
+
|---|---|---|
|
|
95
|
+
| `entity` | Person, product, tool, company | `convertkit` `resend-api` `sarah-chen` |
|
|
96
|
+
| `concept` | Strategy, pattern, framework | `email-deliverability` `icp-match` |
|
|
97
|
+
| `source` | Processed note/article summary | `src-article-2026-04` |
|
|
98
|
+
| `synthesis` | Agent cross-reference or analysis | `qa-best-email-tool` |
|
|
99
|
+
| `index` | Auto-maintained index page | `index-email-marketing` |
|
|
100
|
+
|
|
101
|
+
## Rules
|
|
102
|
+
|
|
103
|
+
- Agents maintain the KB — users never write directly
|
|
104
|
+
- Load index first (cheap) → drill into content only when needed
|
|
105
|
+
- summary ≤ 2 sentences — what the page is about in plain terms
|
|
106
|
+
- related_ids = links to other KB entries (cross-references)
|
|
107
|
+
- source_note_ids = which agent_notes this was compiled from
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# /newsletter-writer — Write Newsletter
|
|
2
|
+
|
|
3
|
+
1. `pearl.subscriberStats()` → show audience size first
|
|
4
|
+
2. Ask: subject line, preview text, content or topic to write about
|
|
5
|
+
3. Write in brand voice: 200+ words, greeting, main value, CTA, sign-off
|
|
6
|
+
4. Ask: send now or schedule? (ISO date/time if scheduling)
|
|
7
|
+
5. `pearl.send({ subject, preview_text, body_html, schedule_at })`
|
|
8
|
+
|
|
9
|
+
n8n handles delivery via SES or Resend. Audience breakdown: `pearl.audienceBreakdown()`
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Save current session state to memory before context fills up
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /preserve — Preserve Session
|
|
6
|
+
|
|
7
|
+
Save session state to CC-Session-Logs/. Run before context gets full — not after.
|
|
8
|
+
Uses the same structured format as /compress for consistency.
|
|
9
|
+
|
|
10
|
+
## Steps
|
|
11
|
+
|
|
12
|
+
1. Infer from conversation (don't ask unless genuinely ambiguous):
|
|
13
|
+
- What was the goal?
|
|
14
|
+
- What did we accomplish?
|
|
15
|
+
- What decisions were made?
|
|
16
|
+
- What's next?
|
|
17
|
+
|
|
18
|
+
2. Generate topic slug from the work done: `crm-outreach-2026-04` `blog-seo-audit` etc
|
|
19
|
+
|
|
20
|
+
3. Write to `CC-Session-Logs/YYYY-MM-DD-HH-MM-[topic].md`:
|
|
21
|
+
|
|
22
|
+
```markdown
|
|
23
|
+
# [topic]
|
|
24
|
+
Date: [ISO timestamp]
|
|
25
|
+
Agent: [agent that was running]
|
|
26
|
+
|
|
27
|
+
## Goal
|
|
28
|
+
[1-2 sentences — what were we doing]
|
|
29
|
+
|
|
30
|
+
## Constraints & Preferences
|
|
31
|
+
- [any user preferences stated this session]
|
|
32
|
+
|
|
33
|
+
## Progress
|
|
34
|
+
### Done
|
|
35
|
+
- [list every agent action: table written, post published, contact added]
|
|
36
|
+
- Include IDs where possible: post_id: 01JXX, contact_id: 01JYY
|
|
37
|
+
|
|
38
|
+
### In Progress
|
|
39
|
+
- [anything not finished]
|
|
40
|
+
|
|
41
|
+
## Next Steps
|
|
42
|
+
1. [specific next action]
|
|
43
|
+
2. [second]
|
|
44
|
+
|
|
45
|
+
## Files Changed
|
|
46
|
+
- [file path]: [what changed]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
1. Log to agent_memory AND update memory.md preferences section if user stated any:
|
|
50
|
+
|
|
51
|
+
```ts
|
|
52
|
+
await logMemory('session', 'Preserved: [topic]', { file: 'CC-Session-Logs/...' })
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
2. Tell user: "Preserved to [filename]. Safe to run /compact now."
|
|
56
|
+
|
|
57
|
+
## When to run /preserve
|
|
58
|
+
|
|
59
|
+
- Context bar approaching 70%
|
|
60
|
+
- Before switching to a different task
|
|
61
|
+
- After any significant batch of work
|
|
62
|
+
- Before ending a session
|
|
63
|
+
|
|
64
|
+
Run /compact AFTER /preserve, never before.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Restore context from last session log and agent memory
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /resume — Resume Last Session
|
|
6
|
+
|
|
7
|
+
Reload context at the start of a new session. Run this first.
|
|
8
|
+
|
|
9
|
+
## Steps
|
|
10
|
+
|
|
11
|
+
1. Load agent memory from Turso:
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { sessionContext } from './lib/memory.ts'
|
|
15
|
+
const { memory, skills } = await sessionContext()
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
2. Find the most recent session log:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
CC-Session-Logs/
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Read the most recent file (by date in filename).
|
|
25
|
+
Load ONLY the Summary section (everything above "---\nRaw Session Log").
|
|
26
|
+
Never load the raw log — it wastes tokens.
|
|
27
|
+
|
|
28
|
+
3. If user specifies a topic:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
/resume api-auth-refactor
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Find the log file matching that topic slug.
|
|
35
|
+
|
|
36
|
+
4. Display the restored context:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
══════════════════════════════════════════════
|
|
40
|
+
RESUMING: [topic]
|
|
41
|
+
══════════════════════════════════════════════
|
|
42
|
+
LAST SESSION: [date]
|
|
43
|
+
|
|
44
|
+
[Summary content]
|
|
45
|
+
|
|
46
|
+
RECENT MEMORY:
|
|
47
|
+
[last 5 agent_memory entries]
|
|
48
|
+
|
|
49
|
+
READY. What would you like to continue?
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
5. If no session logs exist, read memory.md preferences section and agent_memory.
|
|
53
|
+
|
|
54
|
+
## Folder structure
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
businesskit-agent/
|
|
58
|
+
├── CC-Session-Logs/ ← session logs live here (gitignored)
|
|
59
|
+
│ ├── 2026-04-07-09-00-crm-outreach.md
|
|
60
|
+
│ ├── 2026-04-06-14-30-blog-seo-audit.md
|
|
61
|
+
│ └── ...
|
|
62
|
+
└── memory.md ← preferences (always loaded)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Add CC-Session-Logs/ to .gitignore
|
|
66
|
+
|
|
67
|
+
Session logs are local only — they contain session-specific context, not committed.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# /scheduler — Scheduler Jobs
|
|
2
|
+
|
|
3
|
+
1. `scheduler.hourly()` -> run publish queue for content due now
|
|
4
|
+
2. Show list to user. Confirm before proceeding.
|
|
5
|
+
3. Use `scheduler.daily()` for pipeline health and `scheduler.weekly()` for CEO briefing delivery.
|
|
6
|
+
4. Show: what was published and job status.
|
|
7
|
+
|
|
8
|
+
Direct COO methods (advanced): `coo.draftPipeline()`, `coo.schedule('posts', id, new Date('2026-04-01T09:00:00Z'))`
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# /seo — SEO Agent + LLM Visibility
|
|
2
|
+
|
|
3
|
+
Audits content in Turso DB and tracks LLM visibility.
|
|
4
|
+
For technical SEO (crawlability, Core Web Vitals, schema markup) → use claude-seo.md alongside this agent.
|
|
5
|
+
|
|
6
|
+
## Session start
|
|
7
|
+
```
|
|
8
|
+
seoAgent.audit() // find SEO issues across posts, compare, alternative, guides
|
|
9
|
+
seoAgent.contentGaps() // missing formats, thin posts, no compare/alternative pages
|
|
10
|
+
seoAgent.checkLLMSTxt() // confirm llms.txt is live (app generates it, agent checks it)
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Fix content issues
|
|
14
|
+
```
|
|
15
|
+
"Fix all missing excerpts"
|
|
16
|
+
→ for each issue: seoAgent.fixPost(id, { excerpt })
|
|
17
|
+
|
|
18
|
+
"Fix titles that are too long"
|
|
19
|
+
→ seoAgent.fixPost(id, { seo_title: shortenedTitle })
|
|
20
|
+
|
|
21
|
+
"Set SEO for the blog collection"
|
|
22
|
+
→ seoAgent.setCollectionSEO('blog', { seo_title, seo_description })
|
|
23
|
+
|
|
24
|
+
"Suggest a slug"
|
|
25
|
+
→ seoAgent.suggestSlug(title, primaryKeyword)
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## LLM Visibility (Arvow pattern)
|
|
29
|
+
Track whether ChatGPT, Claude, Gemini, Perplexity cite your brand.
|
|
30
|
+
```
|
|
31
|
+
"Check my LLM visibility"
|
|
32
|
+
→ seoAgent.checkLLMVisibility()
|
|
33
|
+
→ seoAgent.llmVisibilityAdvice(visibility)
|
|
34
|
+
|
|
35
|
+
"Update scores after checking manually"
|
|
36
|
+
→ seoAgent.updateLLMVisibility({ chatgpt: 3, claude: 1, perplexity: 2 })
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Strategy to improve LLM citations:
|
|
40
|
+
- Write ultimate guides (3000+ words) — LLMs prefer comprehensive sources
|
|
41
|
+
- Add cited statistics with source URLs in posts.sources JSON
|
|
42
|
+
- FAQ-format articles rank high for LLM citations
|
|
43
|
+
- compare + alternative pages get cited heavily
|
|
44
|
+
- Your app generates llms.txt — keep it current with latest products/posts
|
|
45
|
+
|
|
46
|
+
## Content gaps
|
|
47
|
+
```
|
|
48
|
+
"What am I missing?"
|
|
49
|
+
→ seoAgent.contentGaps()
|
|
50
|
+
// Returns: missing content types, thin posts, missing compare/alternative tables
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Technical SEO (server-side — not agent's job)
|
|
54
|
+
These are handled by the live app or via claude-seo.md:
|
|
55
|
+
- robots.txt ← app serves it
|
|
56
|
+
- llms.txt ← app generates it (agent just checks it's live)
|
|
57
|
+
- sitemap.xml ← app generates it
|
|
58
|
+
- Core Web Vitals, schema markup, crawlability → install claude-seo.md for this:
|
|
59
|
+
git clone https://github.com/AgriciDaniel/claude-seo.git && bash claude-seo/install.sh
|
|
60
|
+
then: /seo audit https://yourslug.businesskit.io
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# /social — Agent-First SMM
|
|
2
|
+
|
|
3
|
+
Posts, schedules, and analyzes social media via Zernio API.
|
|
4
|
+
Reads `social_accounts`, `social_posts`, `connections` tables from user's Turso.
|
|
5
|
+
|
|
6
|
+
## Session start
|
|
7
|
+
1. `socialAgent.socialSummary()` — connected accounts, post counts, drafts
|
|
8
|
+
2. `socialAgent.listAccounts()` — platforms + connection mode per account
|
|
9
|
+
|
|
10
|
+
## Posting
|
|
11
|
+
```
|
|
12
|
+
"Post my latest blog post to LinkedIn and X"
|
|
13
|
+
→ socialAgent.crossPostBlog(postId, title, slug, excerpt)
|
|
14
|
+
|
|
15
|
+
"Announce my new course on all platforms"
|
|
16
|
+
→ socialAgent.announceProduct(productId, title, slug, priceCents)
|
|
17
|
+
|
|
18
|
+
"Post this to Twitter: [content]"
|
|
19
|
+
→ socialAgent.post({ content, platforms: ['twitter'] })
|
|
20
|
+
|
|
21
|
+
"Schedule this for Monday 9am"
|
|
22
|
+
→ socialAgent.post({ content, scheduledFor: '2026-04-07T09:00:00', timezone })
|
|
23
|
+
|
|
24
|
+
"Add to queue"
|
|
25
|
+
→ socialAgent.post({ content, useQueue: true })
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Inbox + Analytics
|
|
29
|
+
```
|
|
30
|
+
"Show my unread DMs" → socialAgent.getInbox({ status: 'unread' })
|
|
31
|
+
"Show my scheduled posts" → socialAgent.getScheduled()
|
|
32
|
+
"How are my accounts doing" → socialAgent.getAnalytics(accountId) per account
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Connection modes
|
|
36
|
+
- `zernio_byok` → posts directly via user's own Zernio key
|
|
37
|
+
- `zernio_platform` → free tier, must use dashboard POST /api/social/schedule
|
|
38
|
+
- `n8n` → fires n8n webhook
|
|
39
|
+
|
|
40
|
+
Platform key (ZERNIO_API_KEY) is never used locally — only through the Worker endpoint.
|
|
41
|
+
|
|
42
|
+
## Credentials needed per platform (optional if Zernio not used)
|
|
43
|
+
|
|
44
|
+
| Platform | Credentials required |
|
|
45
|
+
|---|---|
|
|
46
|
+
| X / Twitter | twitter_api_key, twitter_api_secret, twitter_access_token, twitter_access_secret |
|
|
47
|
+
| LinkedIn | linkedin_access_token, linkedin_person_urn |
|
|
48
|
+
| Facebook | facebook_page_id, facebook_page_token |
|
|
49
|
+
| Instagram | instagram_account_id, instagram_access_token |
|
|
50
|
+
|
|
51
|
+
User adds these in: BusinessKit dashboard → Settings → Connections
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# /store-manager — Add Product to Store
|
|
2
|
+
|
|
3
|
+
Types: download | meeting | webinar | event | listing | sponsorship | service
|
|
4
|
+
(For courses, use `/course-creator`)
|
|
5
|
+
|
|
6
|
+
1. Ask: product type (show list)
|
|
7
|
+
2. Ask required fields per type (ref: .claude/skills/store.md)
|
|
8
|
+
3. Price in dollars → convert to cents ($29 → 2900)
|
|
9
|
+
4. `leo.create({ type, title, price_cents, ...type_fields })`
|
|
10
|
+
|
|
11
|
+
After: COPY for description copy | SCOUT for SEO meta
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Skills — Load On Demand
|
|
2
|
+
|
|
3
|
+
Skills live in `.agents/skills/` (universal) and `.claude/skills/` (Claude Code).
|
|
4
|
+
|
|
5
|
+
**Do NOT load all skills at session start.** Load only what the current task needs.
|
|
6
|
+
Each skill costs tokens. Unused skills waste money and bust the prompt cache.
|
|
7
|
+
|
|
8
|
+
## Load pattern
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
Writing content (blog, newsletter, copy) → load brand.md
|
|
12
|
+
SEO work (audit, meta, LLM visibility) → load brand.md + schema.md (posts section)
|
|
13
|
+
Store/products/pricing → load store.md
|
|
14
|
+
Reading analytics JSON → load analytics.md
|
|
15
|
+
Routing to correct agent → load agents.md
|
|
16
|
+
DB queries / table structure → load schema.md
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Available skills
|
|
20
|
+
|
|
21
|
+
| File | Load when |
|
|
22
|
+
|---|---|
|
|
23
|
+
| `brand.md` | Any content writing task |
|
|
24
|
+
| `store.md` | Product creation, pricing, commerce |
|
|
25
|
+
| `analytics.md` | Reading analytics columns |
|
|
26
|
+
| `agents.md` | Routing requests, dependency direction |
|
|
27
|
+
| `schema.md` | DB queries, table structure questions |
|
|
28
|
+
|
|
29
|
+
## Never load
|
|
30
|
+
|
|
31
|
+
- All skills at once
|
|
32
|
+
- A skill "just in case"
|
|
33
|
+
- Skills for tasks the user didn't ask for
|
|
@@ -0,0 +1,56 @@
|
|
|
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.
|
|
@@ -0,0 +1,7 @@
|
|
|
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.
|