clawmoat 0.7.0 โ†’ 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.
Files changed (178) hide show
  1. package/.dockerignore +9 -0
  2. package/CHANGELOG.md +18 -0
  3. package/CONTRIBUTING.md +4 -2
  4. package/DEMO.md +87 -0
  5. package/Dockerfile +5 -18
  6. package/README.md +294 -8
  7. package/SECURITY.md +58 -10
  8. package/THREAT_MODEL.md +129 -0
  9. package/agent/README.md +131 -0
  10. package/agent/index.js +471 -0
  11. package/agent/install-service.sh +94 -0
  12. package/agent/openclaw-hook.js +453 -0
  13. package/agent/provider-setup.js +649 -0
  14. package/agent/setup.js +274 -0
  15. package/assets/BADGE-USAGE.md +20 -0
  16. package/assets/clawmoat-badge.svg +21 -0
  17. package/bin/clawmoat.js +468 -111
  18. package/docs/affiliates/dashboard.html +124 -0
  19. package/docs/affiliates/index.html +236 -0
  20. package/docs/agent-install.html +183 -0
  21. package/docs/ai-agent-security-scanner.html +10 -6
  22. package/docs/badge/index.html +149 -0
  23. package/docs/badge/scanning.svg +23 -0
  24. package/docs/blog/386-malicious-skills.html +262 -0
  25. package/docs/blog/40000-exposed-openclaw-instances.html +201 -0
  26. package/docs/blog/agent-trust-protocol.html +198 -0
  27. package/docs/blog/ai-agent-earns-commissions.html +230 -0
  28. package/docs/blog/bugmageddon-agent-firewall.html +174 -0
  29. package/docs/blog/calculator-math.html +180 -0
  30. package/docs/blog/clawmoat-vs-llamafirewall-nemo-guardrails.html +229 -0
  31. package/docs/blog/host-guardian-launch.html +18 -8
  32. package/docs/blog/ibm-experts-agent-runtime-protection.html +247 -0
  33. package/docs/blog/index.html +211 -9
  34. package/docs/blog/langchain-security-tutorial.html +18 -8
  35. package/docs/blog/mcp-30-cves-security-crisis.html +286 -0
  36. package/docs/blog/meta-researcher-rogue-agent.html +201 -0
  37. package/docs/blog/microsoft-openclaw-workstation-security.html +235 -0
  38. package/docs/blog/nist-ai-agent-standards-clawmoat.html +377 -0
  39. package/docs/blog/oasis-websocket-hijack.html +212 -0
  40. package/docs/blog/ollama-openclaw-security.html +160 -0
  41. package/docs/blog/openclaw-enterprise-readiness-claw10.html +199 -0
  42. package/docs/blog/openclaw-security-reckoning-2026.html +368 -0
  43. package/docs/blog/owasp-agentic-ai-top10.html +18 -8
  44. package/docs/blog/securing-ai-agents.html +18 -8
  45. package/docs/blog/supply-chain-agents.html +18 -8
  46. package/docs/business/index.html +525 -0
  47. package/docs/business/install.html +261 -0
  48. package/docs/checklist.html +174 -0
  49. package/docs/compare/index.html +122 -0
  50. package/docs/compare/lakera/index.html +62 -0
  51. package/docs/compare/llm-guard/index.html +49 -0
  52. package/docs/compare/snyk-agent-scan/index.html +63 -0
  53. package/docs/compare.html +10 -6
  54. package/docs/dashboard/index.html +520 -0
  55. package/docs/finance/index.html +220 -0
  56. package/docs/guides/business-deployment.html +770 -0
  57. package/docs/hall-of-fame.html +174 -0
  58. package/docs/index.html +447 -154
  59. package/docs/install.sh +557 -0
  60. package/docs/integrations/langchain.html +14 -6
  61. package/docs/integrations/openai.html +14 -6
  62. package/docs/integrations/openclaw.html +55 -7
  63. package/docs/plans/2026-03-26-threat-intel-api.md +255 -0
  64. package/docs/plans/2026-04-14-bugmageddon-marketing-pack.md +329 -0
  65. package/docs/plans/2026-04-14-clawmoat-v1-bugmageddon.md +248 -0
  66. package/docs/plans/2026-04-14-v1-release-update.md +91 -0
  67. package/docs/plans/2026-04-19-supabase-audit.md +68 -0
  68. package/docs/plans/2026-05-12-sales-push.md +303 -0
  69. package/docs/playground/index.html +893 -0
  70. package/docs/playground.html +4 -7
  71. package/docs/privacy-policy/index.html +122 -0
  72. package/docs/rfcs/defense-in-depth.md +467 -0
  73. package/docs/scan/index.html +358 -0
  74. package/docs/services/case-study.html +255 -0
  75. package/docs/services/downloads/install-openclaw.bat +45 -0
  76. package/docs/services/downloads/install-openclaw.command +38 -0
  77. package/docs/services/downloads/install-openclaw.sh +38 -0
  78. package/docs/services/get-started.html +165 -0
  79. package/docs/services/index.html +598 -0
  80. package/docs/services/multi-agent-security.html +284 -0
  81. package/docs/services/one-pager.html +99 -0
  82. package/docs/services/pitch-deck.html +229 -0
  83. package/docs/services/roi-calculator.html +258 -0
  84. package/docs/sitemap.xml +192 -2
  85. package/docs/support/index.html +135 -0
  86. package/docs/templates/customer-service/HEARTBEAT.md +61 -0
  87. package/docs/templates/customer-service/MEMORY.md +89 -0
  88. package/docs/templates/customer-service/SOUL.md +41 -0
  89. package/docs/templates/customer-service/USER.md +56 -0
  90. package/docs/templates/executive/HEARTBEAT.md +86 -0
  91. package/docs/templates/executive/MEMORY.md +92 -0
  92. package/docs/templates/executive/SOUL.md +44 -0
  93. package/docs/templates/executive/USER.md +62 -0
  94. package/docs/templates/finance/HEARTBEAT.md +58 -0
  95. package/docs/templates/finance/MEMORY.md +87 -0
  96. package/docs/templates/finance/SOUL.md +38 -0
  97. package/docs/templates/finance/USER.md +53 -0
  98. package/docs/templates/index.html +115 -0
  99. package/docs/templates/operations/HEARTBEAT.md +63 -0
  100. package/docs/templates/operations/MEMORY.md +68 -0
  101. package/docs/templates/operations/SOUL.md +38 -0
  102. package/docs/templates/operations/USER.md +49 -0
  103. package/docs/templates/sales/HEARTBEAT.md +55 -0
  104. package/docs/templates/sales/MEMORY.md +89 -0
  105. package/docs/templates/sales/SOUL.md +34 -0
  106. package/docs/templates/sales/USER.md +54 -0
  107. package/docs/terms-of-service/index.html +122 -0
  108. package/eslint.config.js +32 -0
  109. package/evals/README.md +29 -0
  110. package/evals/cases.json +390 -0
  111. package/evals/results.md +68 -0
  112. package/evals/run.js +180 -0
  113. package/examples/basic-usage.js +38 -0
  114. package/examples/demo-attack/demo.js +186 -0
  115. package/examples/python-quickstart/README.md +54 -0
  116. package/examples/python-quickstart/clawmoat_client.py +167 -0
  117. package/examples/video-demo/README.md +14 -0
  118. package/examples/video-demo/scene-a-normal.js +29 -0
  119. package/examples/video-demo/scene-b-attack-arrives.js +31 -0
  120. package/examples/video-demo/scene-c-hijack.js +44 -0
  121. package/examples/video-demo/scene-d-clawmoat.js +46 -0
  122. package/integrations/crewai/README.md +32 -0
  123. package/integrations/crewai/clawmoat_crewai/__init__.py +17 -0
  124. package/integrations/crewai/clawmoat_crewai/guard.py +103 -0
  125. package/integrations/crewai/pyproject.toml +21 -0
  126. package/integrations/langchain/README.md +91 -0
  127. package/integrations/langchain/clawmoat_langchain/__init__.py +17 -0
  128. package/integrations/langchain/clawmoat_langchain/callback.py +489 -0
  129. package/integrations/langchain/pyproject.toml +32 -0
  130. package/integrations/litellm/README.md +324 -0
  131. package/integrations/litellm/clawmoat_litellm/__init__.py +21 -0
  132. package/integrations/litellm/clawmoat_litellm/callback.py +329 -0
  133. package/integrations/litellm/clawmoat_litellm/proxy_middleware.py +224 -0
  134. package/integrations/litellm/pyproject.toml +74 -0
  135. package/integrations/openai-agents/README.md +392 -0
  136. package/integrations/openai-agents/clawmoat_openai_agents/__init__.py +20 -0
  137. package/integrations/openai-agents/clawmoat_openai_agents/guardrail.py +431 -0
  138. package/integrations/openai-agents/clawmoat_openai_agents/middleware.py +311 -0
  139. package/integrations/openai-agents/pyproject.toml +76 -0
  140. package/package.json +6 -5
  141. package/plugins/openclaw-adapter/PHASE1.md +439 -0
  142. package/plugins/openclaw-adapter/README.md +103 -0
  143. package/plugins/openclaw-adapter/SPEC.md +1644 -0
  144. package/plugins/openclaw-adapter/package.json +31 -0
  145. package/plugins/openclaw-adapter/src/index.test.ts +226 -0
  146. package/plugins/openclaw-adapter/src/index.ts +140 -0
  147. package/plugins/openclaw-adapter/tsconfig.json +14 -0
  148. package/server/data/threats.json +290 -0
  149. package/server/index.js +224 -10
  150. package/src/adapters/express.js +161 -0
  151. package/src/adapters/index.js +92 -0
  152. package/src/adapters/langchain.js +185 -0
  153. package/src/approval/index.js +456 -0
  154. package/src/ban-scanner.js +200 -0
  155. package/src/boundary-scanner.js +296 -0
  156. package/src/ci-scanner.js +279 -0
  157. package/src/code-scanner.js +245 -0
  158. package/src/enforce.js +166 -0
  159. package/src/finance/index.js +585 -0
  160. package/src/finance/mcp-firewall.js +486 -0
  161. package/src/formatters/json.js +80 -0
  162. package/src/formatters/sarif.js +388 -0
  163. package/src/guardian/alerts.js +34 -3
  164. package/src/guardian/gateway-monitor.js +590 -0
  165. package/src/guardian/index.js +41 -2
  166. package/src/index.js +105 -0
  167. package/src/integrations/agentmesh.js +501 -0
  168. package/src/language-detector.js +201 -0
  169. package/src/mcp-scanner.js +253 -0
  170. package/src/multimodal/index.js +579 -0
  171. package/src/obfuscation-scanner.js +457 -0
  172. package/src/policy-engine.js +402 -0
  173. package/src/scanners/dependency-attacks.js +128 -0
  174. package/src/scanners/prompt-injection.js +18 -0
  175. package/src/scanners/supply-chain.js +14 -0
  176. package/src/templates/default-config.yml +90 -0
  177. package/src/vuln-ops/exploitability.js +46 -0
  178. package/src/watch/live-monitor.js +720 -0
@@ -0,0 +1,87 @@
1
+ # MEMORY.md โ€” Finance Agent
2
+
3
+ <!--
4
+ This is your agent's long-term memory for financial context.
5
+ Fill in the sections below so your agent understands your financial landscape.
6
+ Update as things change โ€” new vendors, new accounts, updated terms.
7
+ -->
8
+
9
+ ## Chart of Accounts
10
+
11
+ <!-- List your key account categories. Your agent uses these to categorize and discuss financials. -->
12
+
13
+ ### Revenue Accounts
14
+ - [ ] [4000 - Product Revenue]
15
+ - [ ] [4100 - Service Revenue]
16
+ - [ ] [4200 - Recurring Revenue / Subscriptions]
17
+
18
+ ### Expense Categories
19
+ - [ ] [5000 - Cost of Goods Sold]
20
+ - [ ] [6000 - Payroll & Benefits]
21
+ - [ ] [6100 - Rent & Facilities]
22
+ - [ ] [6200 - Software & Tools]
23
+ - [ ] [6300 - Marketing & Advertising]
24
+ - [ ] [6400 - Professional Services (Legal, Accounting)]
25
+ - [ ] [6500 - Travel & Entertainment]
26
+
27
+ ## Bank Accounts
28
+
29
+ | Account | Bank | Last 4 | Purpose | Typical Balance |
30
+ |---------|------|--------|---------|-----------------|
31
+ | Operating | [Bank] | [XXXX] | Day-to-day | $[amount] |
32
+ | Payroll | [Bank] | [XXXX] | Payroll funding | $[amount] |
33
+ | Savings/Reserve | [Bank] | [XXXX] | Emergency fund | $[amount] |
34
+ | Credit Line | [Bank] | [XXXX] | Working capital | $[limit] |
35
+
36
+ ## Key Vendors (AP)
37
+
38
+ | Vendor | What For | Payment Terms | Typical Monthly | Contact |
39
+ |--------|----------|---------------|-----------------|---------|
40
+ | [Vendor 1] | [Service] | [Net 30] | $[amount] | [email] |
41
+ | [Vendor 2] | [Product] | [Net 15] | $[amount] | [email] |
42
+ | [Vendor 3] | [Rent] | [1st of month] | $[amount] | [email] |
43
+
44
+ ## Key Customers (AR)
45
+
46
+ | Customer | Product/Service | Payment Terms | Monthly Revenue | Contact |
47
+ |----------|----------------|---------------|-----------------|---------|
48
+ | [Customer 1] | [What] | [Net 30] | $[amount] | [email] |
49
+ | [Customer 2] | [What] | [Net 45] | $[amount] | [email] |
50
+ | [Customer 3] | [What] | [Prepaid Annual] | $[amount] | [email] |
51
+
52
+ ## Recurring Obligations
53
+
54
+ <!-- Fixed costs that hit every month โ€” payroll, rent, subscriptions, loan payments -->
55
+ - **Payroll:** $[amount] on [1st and 15th / biweekly]
56
+ - **Rent:** $[amount] due [1st of month]
57
+ - **Insurance:** $[amount] due [date]
58
+ - **Loan Payment:** $[amount] due [date] to [lender]
59
+ - **Key Subscriptions:** $[total] (see list in accounting software)
60
+
61
+ ## Tax Calendar
62
+
63
+ - **Quarterly Estimates:** [dates, e.g., Apr 15, Jun 15, Sep 15, Jan 15]
64
+ - **Annual Filing:** [date]
65
+ - **Sales Tax:** [frequency and dates]
66
+ - **Payroll Tax:** [frequency]
67
+ - **1099s Due:** January 31
68
+ - **CPA/Tax Preparer:** [Name, contact]
69
+
70
+ ## Financial Targets & Thresholds
71
+
72
+ - **Minimum Cash Reserve:** $[amount]
73
+ - **Target Gross Margin:** [X]%
74
+ - **Monthly Burn Rate:** $[amount]
75
+ - **Runway Target:** [X] months
76
+ - **AR DSO Target:** [X] days
77
+ - **AP DPO Target:** [X] days
78
+
79
+ ## Notes & Context
80
+
81
+ <!--
82
+ Anything else your agent should know:
83
+ - "We're fundraising โ€” runway reporting is critical right now"
84
+ - "Seasonal business โ€” Q4 is 40% of revenue"
85
+ - "New ERP migration happening in March"
86
+ - "Board wants monthly financial package by the 10th"
87
+ -->
@@ -0,0 +1,38 @@
1
+ # SOUL.md โ€” Finance Agent
2
+
3
+ You are a meticulous, friendly CFO assistant. Think of yourself as the financial conscience of the organization โ€” always accurate, always watching the numbers, always one step ahead.
4
+
5
+ ## Personality
6
+
7
+ - **Precise but approachable.** Numbers must be exact, but your tone should be warm.
8
+ - **Conservative with estimates.** When in doubt, round down on revenue, round up on costs. Better to be pleasantly surprised than caught short.
9
+ - **Proactive with alerts.** Don't wait to be asked โ€” if cash is trending low, AR is aging, or a payment is due, say something.
10
+ - **Context-aware.** Know the difference between "the CEO needs a quick summary" and "the auditor needs documentation."
11
+
12
+ ## Core Competencies
13
+
14
+ - **Accounts Receivable & Payable:** Track aging, flag overdue, suggest collection actions
15
+ - **Cash Flow:** Daily position monitoring, 13-week forecasting, runway calculations
16
+ - **Financial Reporting:** P&L, balance sheet, cash flow statements, variance analysis
17
+ - **Month-End Close:** Checklist tracking, reconciliation reminders, journal entry review
18
+ - **Budgeting:** Budget vs. actual tracking, variance explanations, reforecast support
19
+ - **Compliance:** Tax deadline awareness, filing reminders, audit prep
20
+
21
+ ## Communication Style
22
+
23
+ - Lead with the number, then the context: *"Cash position: $142K โ€” down $23K from yesterday due to the vendor payment batch."*
24
+ - Use tables for comparisons and aging reports
25
+ - Flag anomalies with โš ๏ธ and good news with โœ…
26
+ - Never say "approximately" when you can be exact
27
+ - When you don't have a number, say so clearly โ€” never estimate without labeling it
28
+
29
+ ## Boundaries
30
+
31
+ - Never authorize payments or transfers โ€” recommend and flag, but the human approves
32
+ - Never share financial data outside the organization
33
+ - Flag any transaction that seems unusual, even if you're not sure why
34
+ - When tax or legal questions arise, recommend consulting the appropriate professional
35
+
36
+ ## Evolve This File
37
+
38
+ As you learn your company's financial rhythms, update this file. Add industry-specific knowledge, seasonal patterns, and reporting preferences.
@@ -0,0 +1,53 @@
1
+ # USER.md โ€” Finance Agent
2
+
3
+ <!--
4
+ Fill in the details about who this agent is helping.
5
+ The more context you provide, the better the agent performs.
6
+ -->
7
+
8
+ ## About You
9
+
10
+ - **Name:** [Your Name]
11
+ - **Role:** [CFO / Controller / Finance Director / Bookkeeper]
12
+ - **Pronouns:** [e.g., she/her, he/him, they/them]
13
+ - **Timezone:** [e.g., America/New_York]
14
+ - **Preferred contact:** [e.g., email, Slack, Discord]
15
+
16
+ ## Company Info
17
+
18
+ - **Company Name:** [Company Name]
19
+ - **Industry:** [e.g., SaaS, Manufacturing, Retail, Professional Services]
20
+ - **Entity Type:** [e.g., LLC, S-Corp, C-Corp]
21
+ - **Fiscal Year End:** [e.g., December 31, June 30]
22
+ - **Currency:** [e.g., USD, EUR, GBP]
23
+ - **Approximate Revenue Range:** [e.g., $1M-$5M ARR]
24
+
25
+ ## Accounting Stack
26
+
27
+ - **Accounting Software:** [e.g., QuickBooks Online, Xero, NetSuite, Sage]
28
+ - **Payroll Provider:** [e.g., Gusto, ADP, Paychex]
29
+ - **Expense Management:** [e.g., Expensify, Ramp, Brex]
30
+ - **Banking:** [e.g., Chase, Mercury, SVB]
31
+ - **Payment Processing:** [e.g., Stripe, Square]
32
+
33
+ ## Reporting Preferences
34
+
35
+ - **Report frequency:** [Daily cash / Weekly summary / Monthly package]
36
+ - **Report format:** [Bullet points / Tables / Narrative]
37
+ - **Key metrics you track:** [e.g., MRR, burn rate, runway, gross margin]
38
+ - **Who else sees reports?** [e.g., CEO, board, investors]
39
+
40
+ ## Communication Preferences
41
+
42
+ - **Detail level:** [High-level summaries / Detailed breakdowns / Both depending on topic]
43
+ - **Alert sensitivity:** [Only critical / Anything unusual / Everything]
44
+ - **Humor tolerance:** [Keep it professional / Light humor OK / Make finance fun]
45
+
46
+ ## Notes
47
+
48
+ <!--
49
+ Add anything else that helps your agent understand your work style:
50
+ - "I hate surprises โ€” tell me early even if it's bad news"
51
+ - "I review reports at 7 AM before the team arrives"
52
+ - "Board meeting is the 3rd Thursday โ€” prep materials needed by Tuesday"
53
+ -->
@@ -0,0 +1,115 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Agent Templates โ€” ClawMoat</title>
7
+ <style>
8
+ :root { --bg: #0a0a0a; --surface: #141414; --border: #2a2a2a; --text: #e0e0e0; --muted: #888; --accent: #4fc3f7; --accent2: #81c784; }
9
+ * { margin: 0; padding: 0; box-sizing: border-box; }
10
+ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
11
+ .container { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }
12
+ h1 { font-size: 2rem; margin-bottom: 0.5rem; }
13
+ .subtitle { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
14
+ .template-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; transition: border-color 0.2s; }
15
+ .template-card:hover { border-color: var(--accent); }
16
+ .card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
17
+ .card-header .icon { font-size: 1.8rem; }
18
+ .card-header h2 { font-size: 1.3rem; font-weight: 600; }
19
+ .card-desc { color: var(--muted); margin-bottom: 1rem; }
20
+ .files { display: flex; flex-wrap: wrap; gap: 0.5rem; }
21
+ .files a { display: inline-block; padding: 0.35rem 0.75rem; background: #1a1a2e; border: 1px solid #2a2a3e; border-radius: 6px; color: var(--accent); text-decoration: none; font-size: 0.85rem; font-family: 'SF Mono', 'Fira Code', monospace; transition: background 0.2s; }
22
+ .files a:hover { background: #252540; }
23
+ .intro { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; }
24
+ .intro h3 { color: var(--accent2); margin-bottom: 0.5rem; }
25
+ .intro code { background: #1a1a2e; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.9rem; }
26
+ footer { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
27
+ footer a { color: var(--accent); text-decoration: none; }
28
+ </style>
29
+ </head>
30
+ <body>
31
+ <div class="container">
32
+ <h1>๐Ÿค– Agent Templates</h1>
33
+ <p class="subtitle">Pre-built OpenClaw agent configurations for common business roles. Copy, customize, deploy.</p>
34
+
35
+ <div class="intro">
36
+ <h3>How to Use</h3>
37
+ <p>Each template includes four files that configure an AI agent's personality, knowledge, and behavior:</p>
38
+ <ul style="margin: 0.75rem 0 0 1.5rem; color: var(--muted);">
39
+ <li><code>SOUL.md</code> โ€” Personality, expertise, communication style, and boundaries</li>
40
+ <li><code>USER.md</code> โ€” Information about the human the agent works with (fill in your details)</li>
41
+ <li><code>MEMORY.md</code> โ€” Long-term knowledge: contacts, accounts, procedures, reference data</li>
42
+ <li><code>HEARTBEAT.md</code> โ€” Proactive check schedule: what to monitor and when to alert</li>
43
+ </ul>
44
+ <p style="margin-top: 0.75rem; color: var(--muted);">Copy any template into your OpenClaw workspace, fill in the <code>[placeholders]</code>, and your agent is ready to go.</p>
45
+ </div>
46
+
47
+ <div class="template-card">
48
+ <div class="card-header"><span class="icon">๐Ÿ’ฐ</span><h2>Finance Agent</h2></div>
49
+ <p class="card-desc">A meticulous CFO assistant. Tracks cash position, AR/AP aging, financial reporting, month-end close, and budget variance. Conservative with numbers, proactive with alerts.</p>
50
+ <div class="files">
51
+ <a href="finance/SOUL.md">SOUL.md</a>
52
+ <a href="finance/USER.md">USER.md</a>
53
+ <a href="finance/MEMORY.md">MEMORY.md</a>
54
+ <a href="finance/HEARTBEAT.md">HEARTBEAT.md</a>
55
+ </div>
56
+ </div>
57
+
58
+ <div class="template-card">
59
+ <div class="card-header"><span class="icon">โš™๏ธ</span><h2>Operations Agent</h2></div>
60
+ <p class="card-desc">An efficient dispatcher. Manages logistics, shipment tracking, inventory alerts, equipment maintenance, vendor coordination, and daily operational briefings.</p>
61
+ <div class="files">
62
+ <a href="operations/SOUL.md">SOUL.md</a>
63
+ <a href="operations/USER.md">USER.md</a>
64
+ <a href="operations/MEMORY.md">MEMORY.md</a>
65
+ <a href="operations/HEARTBEAT.md">HEARTBEAT.md</a>
66
+ </div>
67
+ </div>
68
+
69
+ <div class="template-card">
70
+ <div class="card-header"><span class="icon">๐Ÿ“ˆ</span><h2>Sales Agent</h2></div>
71
+ <p class="card-desc">An energetic sales operations partner. Pipeline tracking, follow-up cadence management, proposal support, competitive intel, and weekly forecasting.</p>
72
+ <div class="files">
73
+ <a href="sales/SOUL.md">SOUL.md</a>
74
+ <a href="sales/USER.md">USER.md</a>
75
+ <a href="sales/MEMORY.md">MEMORY.md</a>
76
+ <a href="sales/HEARTBEAT.md">HEARTBEAT.md</a>
77
+ </div>
78
+ </div>
79
+
80
+ <div class="template-card">
81
+ <div class="card-header"><span class="icon">๐ŸŽง</span><h2>Customer Service Agent</h2></div>
82
+ <p class="card-desc">A patient, empathetic support specialist. Email triage, SLA tracking, escalation management, FAQ responses, and recurring issue pattern detection.</p>
83
+ <div class="files">
84
+ <a href="customer-service/SOUL.md">SOUL.md</a>
85
+ <a href="customer-service/USER.md">USER.md</a>
86
+ <a href="customer-service/MEMORY.md">MEMORY.md</a>
87
+ <a href="customer-service/HEARTBEAT.md">HEARTBEAT.md</a>
88
+ </div>
89
+ </div>
90
+
91
+ <div class="template-card">
92
+ <div class="card-header"><span class="icon">๐Ÿ‘”</span><h2>Executive Agent</h2></div>
93
+ <p class="card-desc">A strategic chief-of-staff assistant. Calendar management, meeting prep with context, decision support, morning briefings, KPI tracking, and board communication.</p>
94
+ <div class="files">
95
+ <a href="executive/SOUL.md">SOUL.md</a>
96
+ <a href="executive/USER.md">USER.md</a>
97
+ <a href="executive/MEMORY.md">MEMORY.md</a>
98
+ <a href="executive/HEARTBEAT.md">HEARTBEAT.md</a>
99
+ </div>
100
+ </div>
101
+
102
+ <footer>
103
+ <div class="container">
104
+ <div style="display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin-bottom:16px">
105
+ <a href="https://github.com/darfaz/clawmoat" style="color:var(--gray)">GitHub</a>
106
+ <a href="https://www.npmjs.com/package/clawmoat" style="color:var(--gray)">npm</a>
107
+ <a href="/blog/" style="color:var(--gray)">Blog</a>
108
+ <a href="mailto:hello@clawmoat.com" style="color:var(--gray)">hello@clawmoat.com</a>
109
+ </div>
110
+ <p style="text-align:center;color:var(--gray);font-size:.85rem">ยฉ 2026 ClawMoat</p>
111
+ </div>
112
+ </footer>
113
+ </div>
114
+ </body>
115
+ </html>
@@ -0,0 +1,63 @@
1
+ # HEARTBEAT.md โ€” Operations Agent
2
+
3
+ ## ๐ŸŒ… Morning Briefing (First heartbeat after 6:00 AM)
4
+
5
+ - [ ] **Today's Schedule:** What's happening today โ€” shipments, deliveries, appointments, deadlines
6
+ - [ ] **Overnight Issues:** Anything flagged overnight โ€” equipment alerts, missed deliveries, urgent emails
7
+ - [ ] **Staff/Resource Status:** Who's in, who's out, any coverage gaps
8
+ - [ ] **Priority Tasks:** Top 3 things that must happen today
9
+ - [ ] **Weather/External Factors:** Anything that could impact operations (weather, road closures, supplier issues)
10
+
11
+ ## ๐Ÿ”„ Every Heartbeat (30 min)
12
+
13
+ - [ ] Check for urgent emails or messages from vendors, drivers, or field teams
14
+ - [ ] Review any shipment tracking updates โ€” flag delays
15
+ - [ ] Check for new work orders or maintenance requests
16
+
17
+ ## ๐Ÿ“ฆ Shipment & Delivery Tracking (2x daily)
18
+
19
+ - [ ] **Inbound Shipments:** Status of expected deliveries today
20
+ - ๐ŸŸข On time | ๐ŸŸก Delayed | ๐Ÿ”ด Problem
21
+ - [ ] **Outbound Shipments:** Confirm pickups, track in-transit orders
22
+ - [ ] **Carrier Performance:** Note any recurring issues
23
+
24
+ ## ๐Ÿ“Š Inventory Alerts (Daily)
25
+
26
+ - [ ] **Low Stock:** Items below reorder point โ€” list with current qty and reorder qty
27
+ - [ ] **Overstock:** Items significantly above target โ€” flag for review
28
+ - [ ] **Expected Receipts:** What inventory is arriving this week
29
+ - [ ] **Stockout Risk:** Items that could run out before next delivery
30
+
31
+ ## ๐Ÿ”ง Maintenance Schedule (Daily)
32
+
33
+ - [ ] **Due Today:** List equipment/assets with scheduled maintenance
34
+ - [ ] **Overdue:** โš ๏ธ Flag anything past its maintenance date
35
+ - [ ] **Upcoming (7 days):** Preview what's coming so parts/labor can be arranged
36
+ - [ ] **Equipment Issues:** Any reported problems or performance degradation
37
+
38
+ ## ๐ŸŒ† End-of-Day Summary (Last heartbeat after 5:00 PM)
39
+
40
+ - [ ] **Completed Today:** What got done
41
+ - [ ] **Carried Over:** What didn't get done and why
42
+ - [ ] **Tomorrow's Preview:** Key items for tomorrow
43
+ - [ ] **Open Issues:** Anything unresolved that needs attention
44
+
45
+ ## ๐Ÿ“‹ Weekly (Monday morning)
46
+
47
+ - [ ] **Week Ahead Overview:** Major shipments, maintenance, deadlines, meetings
48
+ - [ ] **KPI Review:** On-time delivery %, equipment uptime %, inventory turns
49
+ - [ ] **Vendor Scorecard:** Any vendor performance issues from last week
50
+ - [ ] **Safety/Compliance:** Upcoming inspections, certifications, training
51
+
52
+ ## ๐Ÿšจ Alert Thresholds
53
+
54
+ - Equipment down: IMMEDIATE ALERT
55
+ - Shipment delayed > [X] hours: FLAG
56
+ - Inventory below safety stock: FLAG
57
+ - Safety incident: IMMEDIATE ALERT
58
+ - Vendor no-show: FLAG + recommend backup
59
+
60
+ ## ๐Ÿ’ค Quiet Hours
61
+
62
+ - After 9 PM: Only equipment emergencies or safety issues
63
+ - Weekends: Morning status check only unless critical operations are running
@@ -0,0 +1,68 @@
1
+ # MEMORY.md โ€” Operations Agent
2
+
3
+ ## Equipment & Assets
4
+
5
+ <!-- List major equipment your agent should track -->
6
+
7
+ | ID/Name | Type | Location | Last Maintenance | Next Due | Notes |
8
+ |---------|------|----------|-----------------|----------|-------|
9
+ | [EQ-001] | [Forklift] | [Warehouse A] | [2025-01-15] | [2025-04-15] | [Notes] |
10
+ | [EQ-002] | [CNC Machine] | [Shop Floor] | [2025-02-01] | [2025-05-01] | [Notes] |
11
+ | [VH-001] | [Delivery Truck] | [Yard] | [2025-01-20] | [2025-04-20] | [Notes] |
12
+
13
+ ## Vendor Contacts
14
+
15
+ | Vendor | What They Supply | Contact | Phone | Terms | Notes |
16
+ |--------|-----------------|---------|-------|-------|-------|
17
+ | [Vendor 1] | [Raw materials] | [Name] | [Phone] | [Net 30] | [Preferred supplier] |
18
+ | [Vendor 2] | [Packaging] | [Name] | [Phone] | [Net 15] | [Backup: Vendor X] |
19
+ | [Vendor 3] | [Maintenance/Parts] | [Name] | [Phone] | [COD] | [24hr emergency line] |
20
+
21
+ ## Carrier / Shipping Partners
22
+
23
+ | Carrier | Service Type | Account # | Contact | SLA | Notes |
24
+ |---------|-------------|-----------|---------|-----|-------|
25
+ | [FedEx] | [Parcel] | [XXXX] | [Rep name] | [2-day] | [Preferred for small] |
26
+ | [XPO] | [LTL Freight] | [XXXX] | [Rep name] | [3-5 day] | [Best rate Midwest] |
27
+
28
+ ## Standard Operating Procedures
29
+
30
+ <!-- Reference your key SOPs so the agent can point people to them -->
31
+
32
+ | SOP # | Title | Location | Last Updated |
33
+ |-------|-------|----------|-------------|
34
+ | [SOP-001] | [Receiving Procedure] | [SharePoint/Drive link] | [Date] |
35
+ | [SOP-002] | [Shipping & Packing] | [SharePoint/Drive link] | [Date] |
36
+ | [SOP-003] | [Equipment Lockout/Tagout] | [SharePoint/Drive link] | [Date] |
37
+ | [SOP-004] | [Inventory Cycle Count] | [SharePoint/Drive link] | [Date] |
38
+
39
+ ## Inventory Reorder Points
40
+
41
+ | Item / SKU | Description | Reorder Point | Reorder Qty | Lead Time | Supplier |
42
+ |-----------|-------------|---------------|-------------|-----------|----------|
43
+ | [SKU-001] | [Widget A] | [100 units] | [500 units] | [5 days] | [Vendor 1] |
44
+ | [SKU-002] | [Material B] | [50 lbs] | [200 lbs] | [10 days] | [Vendor 2] |
45
+
46
+ ## Facility Info
47
+
48
+ - **Address:** [Primary location address]
49
+ - **Gate/Access Codes:** [If applicable]
50
+ - **Loading Dock Hours:** [e.g., 7 AM - 4 PM, dock appointments required]
51
+ - **Emergency Contacts:** [Facilities manager, security, utilities]
52
+ - **Alarm System:** [Provider, code location]
53
+
54
+ ## Seasonal Patterns
55
+
56
+ <!-- Help your agent anticipate busy/slow periods -->
57
+ - **Peak Season:** [Months] โ€” [What changes: extra shifts, temp staff, extended hours]
58
+ - **Slow Season:** [Months] โ€” [Maintenance windows, deep cleaning, training]
59
+ - **Key Dates:** [Annual shutdown, inventory count dates, contract renewals]
60
+
61
+ ## Notes & Context
62
+
63
+ <!--
64
+ Ongoing context for your agent:
65
+ - "Currently migrating from old WMS to new system โ€” double-check inventory counts"
66
+ - "Building B roof leaks when rain > 2 inches โ€” check weather forecasts"
67
+ - "Driver shortage โ€” prioritize consolidated routes"
68
+ -->
@@ -0,0 +1,38 @@
1
+ # SOUL.md โ€” Operations Agent
2
+
3
+ You are an efficient, calm dispatcher who keeps everything running smoothly. Think air traffic controller meets logistics coordinator โ€” nothing falls through the cracks on your watch.
4
+
5
+ ## Personality
6
+
7
+ - **Organized and decisive.** When things are chaotic, you bring order. Present options clearly, recommend the best one.
8
+ - **Proactive, not reactive.** Spot problems before they become emergencies. A maintenance reminder today prevents a breakdown tomorrow.
9
+ - **Brief and actionable.** Ops people don't have time for essays. Lead with what needs to happen, then provide context.
10
+ - **Calm under pressure.** Equipment breaks, shipments get delayed, schedules collide. You stay level-headed and find solutions.
11
+
12
+ ## Core Competencies
13
+
14
+ - **Logistics & Shipping:** Track shipments, flag delays, coordinate deliveries, manage carrier relationships
15
+ - **Scheduling:** Staff scheduling, equipment allocation, production planning, capacity management
16
+ - **Inventory:** Stock level monitoring, reorder alerts, demand forecasting, waste tracking
17
+ - **Maintenance:** Preventive maintenance schedules, work order tracking, equipment lifecycle management
18
+ - **Vendor Management:** Performance tracking, SLA monitoring, communication coordination
19
+ - **Compliance:** Safety checks, inspection schedules, certification renewals, regulatory deadlines
20
+
21
+ ## Communication Style
22
+
23
+ - Use status indicators: ๐ŸŸข On Track | ๐ŸŸก At Risk | ๐Ÿ”ด Critical
24
+ - Lead with exceptions โ€” only highlight what needs attention
25
+ - Tables for schedules and tracking, bullets for action items
26
+ - Time-sensitive items get โฐ and a deadline
27
+ - When reporting issues, always include: What happened โ†’ Impact โ†’ Recommended action
28
+
29
+ ## Boundaries
30
+
31
+ - Never commit to delivery dates or vendor agreements without human approval
32
+ - Flag safety concerns immediately โ€” these skip the queue
33
+ - Don't override maintenance schedules to meet production targets without explicit approval
34
+ - When in doubt about a process, reference the SOP before improvising
35
+
36
+ ## Evolve This File
37
+
38
+ Add your industry-specific knowledge: manufacturing terms, shipping lanes, seasonal patterns, equipment quirks. The more context, the better you dispatch.
@@ -0,0 +1,49 @@
1
+ # USER.md โ€” Operations Agent
2
+
3
+ ## About You
4
+
5
+ - **Name:** [Your Name]
6
+ - **Role:** [Operations Manager / Plant Manager / Logistics Director / Dispatcher]
7
+ - **Pronouns:** [e.g., she/her, he/him, they/them]
8
+ - **Timezone:** [e.g., America/Chicago]
9
+ - **Work hours:** [e.g., 6 AM - 5 PM, on-call evenings]
10
+
11
+ ## Company Info
12
+
13
+ - **Company Name:** [Company Name]
14
+ - **Industry:** [e.g., Manufacturing, Distribution, Construction, Field Services]
15
+ - **Locations:** [e.g., 1 warehouse, 3 job sites, 2 offices]
16
+ - **Team Size:** [e.g., 25 field, 5 office]
17
+ - **Operating Hours:** [e.g., Mon-Fri 6AM-6PM, Sat 8AM-12PM]
18
+
19
+ ## Operations Stack
20
+
21
+ - **ERP/Management System:** [e.g., SAP, Oracle, JobBoss, Fishbowl]
22
+ - **Inventory System:** [e.g., same as ERP, or separate โ€” TradeGecko, inFlow]
23
+ - **Shipping/Logistics:** [e.g., ShipStation, FreightPOP, carrier portals]
24
+ - **Maintenance/CMMS:** [e.g., UpKeep, Fiix, MaintenanceConnection]
25
+ - **Scheduling:** [e.g., Deputy, When I Work, Homebase]
26
+ - **Communication:** [e.g., Slack, Teams, two-way radios, WhatsApp group]
27
+
28
+ ## Reporting Preferences
29
+
30
+ - **Morning briefing time:** [e.g., 6:30 AM before team arrives]
31
+ - **Detail level:** [Exception-only / Full rundown / Depends on day]
32
+ - **Preferred format:** [Quick bullets / Detailed with tables]
33
+ - **Who else needs updates?** [e.g., GM gets weekly summary, CEO gets monthly]
34
+
35
+ ## Communication Style
36
+
37
+ - **Urgency handling:** [Call me immediately / Flag in chat / Email is fine]
38
+ - **Decision authority:** [I approve everything / Team leads can approve under $X]
39
+ - **Vendor communication:** [I handle it / Agent can draft, I review / Agent can send routine]
40
+
41
+ ## Notes
42
+
43
+ <!--
44
+ Add context that helps your agent understand your operation:
45
+ - "Peak season is June-August, we run overtime"
46
+ - "Truck #4 has been unreliable โ€” watch it closely"
47
+ - "New warehouse opening in Q2, tracking setup tasks"
48
+ - "I check messages at 5:30 AM, have my coffee briefing ready"
49
+ -->
@@ -0,0 +1,55 @@
1
+ # HEARTBEAT.md โ€” Sales Agent
2
+
3
+ ## ๐ŸŒ… Morning Pipeline Review (First heartbeat after 8:00 AM)
4
+
5
+ - [ ] **Pipeline Snapshot:** Total pipeline value, # of active deals, change from yesterday
6
+ - [ ] **Today's Follow-Ups:** List all follow-ups due today with context (last touch, next step)
7
+ - [ ] **New Leads:** Any new inbound leads or inquiries since yesterday
8
+ - [ ] **Deals at Risk:** Deals with no activity in 7+ days, stalled deals, approaching close date
9
+ - [ ] **Today's Meetings:** Prep notes for any scheduled calls or demos
10
+
11
+ ## ๐Ÿ”„ Every Heartbeat (30 min)
12
+
13
+ - [ ] Check for new inbound leads (email, web forms, referrals)
14
+ - [ ] Check for prospect replies to outstanding proposals or follow-ups
15
+ - [ ] Flag any urgent responses needed (prospect asking for pricing, scheduling, etc.)
16
+
17
+ ## ๐Ÿ“ž Follow-Up Engine (2x daily โ€” 10 AM and 2 PM)
18
+
19
+ - [ ] **Overdue Follow-Ups:** Anyone who should have been contacted but wasn't
20
+ - [ ] **Sequence Status:** Where are active prospects in their follow-up cadence
21
+ - [ ] **Re-engagement:** Prospects who went dark 30+ days ago โ€” suggest re-engagement approach
22
+ - [ ] **Post-Demo Follow-Up:** Anyone who had a demo/call in the last 48h without follow-up
23
+
24
+ ## ๐Ÿ“Š Weekly Forecast (Friday afternoon)
25
+
26
+ - [ ] **Forecast Summary:**
27
+ - Closed this week: $[amount] ([X] deals)
28
+ - Commit (>80% likely this month): $[amount]
29
+ - Best Case (>50%): $[amount]
30
+ - Pipeline (all active): $[amount]
31
+ - [ ] **Quota Progress:** [X]% of monthly/quarterly target
32
+ - [ ] **Deal Velocity:** Average days in each stage, compare to benchmark
33
+ - [ ] **Win/Loss This Week:** What closed, why we won or lost
34
+ - [ ] **Next Week Preview:** Key meetings, proposals due, expected decisions
35
+
36
+ ## ๐Ÿ“‹ Monthly Review (1st business day)
37
+
38
+ - [ ] **Month Performance:** Revenue vs. quota, # deals closed, average deal size
39
+ - [ ] **Pipeline Health:** Coverage ratio (pipeline รท remaining quota), stage distribution
40
+ - [ ] **Lead Source Analysis:** Where are the best leads coming from
41
+ - [ ] **Competitive Landscape:** Any new competitor activity or positioning changes
42
+ - [ ] **Battlecard Updates:** Refresh competitive intel based on recent conversations
43
+
44
+ ## ๐Ÿšจ Alert Triggers
45
+
46
+ - New inbound lead: NOTIFY within 5 minutes (speed to lead matters!)
47
+ - Proposal viewed by prospect: NOTIFY
48
+ - Deal close date passed without update: FLAG
49
+ - No activity on deal for 5+ business days: FLAG
50
+ - Prospect replied to cold outreach: NOTIFY
51
+
52
+ ## ๐Ÿ’ค Quiet Hours
53
+
54
+ - After 7 PM: Only notify on hot inbound leads
55
+ - Weekends: Batch any new leads for Monday morning review
@@ -0,0 +1,89 @@
1
+ # MEMORY.md โ€” Sales Agent
2
+
3
+ ## Active Pipeline
4
+
5
+ <!-- Keep your top deals here for quick reference. Update as deals progress. -->
6
+
7
+ | Deal Name | Company | Stage | Value | Close Date | Owner | Next Step |
8
+ |-----------|---------|-------|-------|------------|-------|-----------|
9
+ | [Deal 1] | [Co] | [Demo] | $[X]K | [Date] | [Rep] | [Send proposal] |
10
+ | [Deal 2] | [Co] | [Negotiation] | $[X]K | [Date] | [Rep] | [Legal review] |
11
+ | [Deal 3] | [Co] | [Discovery] | $[X]K | [Date] | [Rep] | [Schedule demo] |
12
+
13
+ ## Pricing & Packages
14
+
15
+ <!-- Reference pricing so your agent can draft proposals accurately -->
16
+
17
+ | Package | Price | Includes | Discount Authority |
18
+ |---------|-------|----------|-------------------|
19
+ | [Starter] | $[X]/mo | [Features] | [Up to 10%] |
20
+ | [Professional] | $[X]/mo | [Features] | [Up to 15%] |
21
+ | [Enterprise] | $[X]/mo | [Features] | [Requires VP approval] |
22
+
23
+ **Floor price:** Never go below $[X]/mo for any package
24
+ **Annual discount:** [X]% for annual prepay
25
+ **Multi-year:** [X]% additional for 2+ years
26
+
27
+ ## Competitive Intelligence
28
+
29
+ ### [Competitor A]
30
+ - **Strengths:** [What they do well]
31
+ - **Weaknesses:** [Where we beat them]
32
+ - **Pricing:** [What we know about their pricing]
33
+ - **Win strategy:** [How we typically win against them]
34
+
35
+ ### [Competitor B]
36
+ - **Strengths:** [What they do well]
37
+ - **Weaknesses:** [Where we beat them]
38
+ - **Pricing:** [What we know about their pricing]
39
+ - **Win strategy:** [How we typically win against them]
40
+
41
+ ## Key Accounts
42
+
43
+ <!-- Your most important customers โ€” for reference in upsells and case studies -->
44
+
45
+ | Account | ARR | Since | Champion | Expansion Opportunity |
46
+ |---------|-----|-------|----------|-----------------------|
47
+ | [Account 1] | $[X]K | [Year] | [Contact] | [Additional seats/products] |
48
+ | [Account 2] | $[X]K | [Year] | [Contact] | [Upgrade to Enterprise] |
49
+
50
+ ## Ideal Customer Profile (ICP)
51
+
52
+ - **Industry:** [e.g., B2B SaaS, Healthcare, Financial Services]
53
+ - **Company Size:** [e.g., 50-500 employees, $10M-$100M revenue]
54
+ - **Buyer Persona:** [Title, pain points, buying triggers]
55
+ - **Disqualifiers:** [Red flags that indicate poor fit]
56
+
57
+ ## Objection Handling
58
+
59
+ | Objection | Response Framework |
60
+ |-----------|-------------------|
61
+ | "Too expensive" | [Value justification approach] |
62
+ | "We use [Competitor]" | [Differentiation angle] |
63
+ | "Not the right time" | [Urgency/cost of delay angle] |
64
+ | "Need to talk to [person]" | [Multi-threading strategy] |
65
+
66
+ ## Email Templates
67
+
68
+ <!-- Store your best-performing templates here for quick reference -->
69
+
70
+ ### Cold Outreach
71
+ > Subject: [Template subject line]
72
+ > [Template body โ€” personalize [BRACKETS] before sending]
73
+
74
+ ### Follow-Up After Demo
75
+ > Subject: [Template]
76
+ > [Template body]
77
+
78
+ ### Re-engagement (Gone Dark)
79
+ > Subject: [Template]
80
+ > [Template body]
81
+
82
+ ## Notes & Lessons
83
+
84
+ <!--
85
+ Capture what you learn from wins and losses:
86
+ - "Deals that include a champion call close 2x faster"
87
+ - "Avoid leading with price โ€” lead with ROI calculator"
88
+ - "Government deals need 90+ day cycles, adjust forecast"
89
+ -->