context-mode 1.0.57 → 1.0.59
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-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.openclaw-plugin/openclaw.plugin.json +1 -1
- package/.openclaw-plugin/package.json +1 -1
- package/README.md +36 -14
- package/build/adapters/codex/index.d.ts +25 -15
- package/build/adapters/codex/index.js +162 -38
- package/build/adapters/cursor/hooks.d.ts +2 -0
- package/build/adapters/cursor/hooks.js +4 -0
- package/build/adapters/cursor/index.d.ts +15 -0
- package/build/adapters/cursor/index.js +48 -0
- package/build/adapters/opencode/index.d.ts +4 -0
- package/build/adapters/opencode/index.js +61 -33
- package/build/cli.js +44 -20
- package/build/db-base.d.ts +7 -6
- package/build/db-base.js +65 -1
- package/build/opencode-plugin.d.ts +1 -1
- package/build/opencode-plugin.js +6 -18
- package/build/store.d.ts +2 -0
- package/build/store.js +38 -5
- package/cli.bundle.mjs +93 -93
- package/configs/codex/hooks.json +25 -0
- package/configs/cursor/hooks.json +5 -0
- package/hooks/session-db.bundle.mjs +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/server.bundle.mjs +73 -73
- package/skills/context-mode-ops/SKILL.md +3 -1
- package/skills/context-mode-ops/marketing.md +124 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-mode-ops
|
|
3
|
-
description: Manage context-mode GitHub issues, PRs, and
|
|
3
|
+
description: Manage context-mode GitHub issues, PRs, releases, and marketing with parallel subagent army. Orchestrates 10-20 dynamic agents per task. Use when triaging issues, reviewing PRs, releasing versions, writing LinkedIn posts, announcing releases, fixing bugs, merging contributions, validating ENV vars, testing adapters, or syncing branches.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Context Mode Ops
|
|
@@ -49,6 +49,7 @@ For every task:
|
|
|
49
49
|
| "triage issue #N", "fix issue", "analyze issue" | Triage | [triage-issue.md](triage-issue.md) |
|
|
50
50
|
| "review PR #N", "merge PR", "check PR" | Review | [review-pr.md](review-pr.md) |
|
|
51
51
|
| "release", "version bump", "publish" | Release | [release.md](release.md) |
|
|
52
|
+
| "linkedin", "marketing", "announce", "write post" | Marketing | [marketing.md](marketing.md) |
|
|
52
53
|
|
|
53
54
|
## GitHub CLI (`gh`) Is Mandatory
|
|
54
55
|
|
|
@@ -96,6 +97,7 @@ Follow [communication.md](communication.md) — be warm, technical, and always p
|
|
|
96
97
|
- [Dynamic Agent Organization](agent-teams.md)
|
|
97
98
|
- [Validation Patterns](validation.md)
|
|
98
99
|
- [Communication Templates](communication.md)
|
|
100
|
+
- [Marketing & Announcements](marketing.md) — LinkedIn posts, release announcements, VC-targeted
|
|
99
101
|
|
|
100
102
|
## Installation
|
|
101
103
|
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Marketing workflow
|
|
2
|
+
|
|
3
|
+
## Trigger
|
|
4
|
+
|
|
5
|
+
User says: "linkedin post", "marketing", "announce release", "write post", "share update"
|
|
6
|
+
|
|
7
|
+
## Voice: Solo technical founder
|
|
8
|
+
|
|
9
|
+
You are Mert. You built context-mode alone. You write like an engineer who happens to run a product, not like a marketing team. Your audience is technical VCs, senior engineers, and open source maintainers.
|
|
10
|
+
|
|
11
|
+
<writing_rules>
|
|
12
|
+
MANDATORY. Every word you write must pass these rules.
|
|
13
|
+
|
|
14
|
+
1. NO em dashes. Not one. Use commas, periods, or rewrite the sentence.
|
|
15
|
+
2. NO promotional language: "groundbreaking", "revolutionary", "game-changing", "seamless", "cutting-edge"
|
|
16
|
+
3. NO significance inflation: "pivotal", "testament", "vital role", "evolving landscape"
|
|
17
|
+
4. NO negative parallelisms: "not just X, it's Y" or "not X but Y"
|
|
18
|
+
5. NO rule of three: stop forcing ideas into groups of three
|
|
19
|
+
6. NO vague attributions: "experts say", "industry observers"
|
|
20
|
+
7. NO filler: "in order to", "it is important to note", "at its core"
|
|
21
|
+
8. NO generic conclusions: "the future looks bright", "exciting times ahead"
|
|
22
|
+
9. NO sycophantic tone: "great question!", "I hope this helps!"
|
|
23
|
+
10. NO copula avoidance: use "is/are/has" instead of "serves as/stands as/represents"
|
|
24
|
+
11. NO excessive hedging: "could potentially possibly"
|
|
25
|
+
12. NO AI vocabulary: "delve", "tapestry", "interplay", "foster", "landscape" (abstract)
|
|
26
|
+
13. NO boldface headers in lists
|
|
27
|
+
14. NO emojis
|
|
28
|
+
|
|
29
|
+
DO:
|
|
30
|
+
- Start with a personal confession or specific frustration
|
|
31
|
+
- Use "I" freely. You are one person, not a company.
|
|
32
|
+
- Vary sentence length aggressively. Short. Then longer ones that breathe.
|
|
33
|
+
- Be specific: exact numbers, real platform names, actual pain points
|
|
34
|
+
- Acknowledge uncertainty and mixed feelings when they exist
|
|
35
|
+
- Let some mess in. Rougher transitions are more human.
|
|
36
|
+
- Close with a genuine belief, not a sales pitch
|
|
37
|
+
</writing_rules>
|
|
38
|
+
|
|
39
|
+
## Data verification: MANDATORY
|
|
40
|
+
|
|
41
|
+
<data_enforcement>
|
|
42
|
+
Every number in the post MUST come from a real source. Do NOT invent metrics.
|
|
43
|
+
Before writing, read these files and use ONLY verified numbers:
|
|
44
|
+
</data_enforcement>
|
|
45
|
+
|
|
46
|
+
| Data point | Source |
|
|
47
|
+
|-----------|--------|
|
|
48
|
+
| Total users | `stats.json` field `message` |
|
|
49
|
+
| npm installs | `stats.json` field `npm` |
|
|
50
|
+
| Marketplace installs | `stats.json` field `marketplace` |
|
|
51
|
+
| Current version | `package.json` field `version` |
|
|
52
|
+
| Platform count | `src/adapters/detect.ts` (count platforms in validPlatforms array) |
|
|
53
|
+
| Adapter count | `tests/adapters/` (count test files) |
|
|
54
|
+
| GitHub stars | `gh api repos/mksglu/context-mode --jq '.stargazers_count'` |
|
|
55
|
+
| GitHub forks | `gh api repos/mksglu/context-mode --jq '.forks_count'` |
|
|
56
|
+
| Open issues | `gh issue list --state open --json number --jq 'length'` |
|
|
57
|
+
| Recent release | `gh release list --limit 1` |
|
|
58
|
+
|
|
59
|
+
If you cannot verify a number, do not use it.
|
|
60
|
+
|
|
61
|
+
## Workflow
|
|
62
|
+
|
|
63
|
+
### 1. Gather real data (via agent)
|
|
64
|
+
|
|
65
|
+
Spawn a Data Engineer agent to collect all numbers from the sources above. Wait for verified data before writing anything.
|
|
66
|
+
|
|
67
|
+
### 2. Identify what changed
|
|
68
|
+
|
|
69
|
+
Read the latest commits, release notes, or user request to understand what is being announced.
|
|
70
|
+
|
|
71
|
+
### 3. Write draft
|
|
72
|
+
|
|
73
|
+
Follow the writing rules above. Structure:
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
Hook (personal, specific pain or confession)
|
|
77
|
+
Context (what is context-mode, real numbers)
|
|
78
|
+
Problem (specific frustration, not abstract)
|
|
79
|
+
Solution (what you built, how it works technically)
|
|
80
|
+
Technical details (casual, woven in, not a spec sheet)
|
|
81
|
+
Belief (where this is going, honest, not hype)
|
|
82
|
+
Links (repo + install command)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### 4. Anti-AI audit
|
|
86
|
+
|
|
87
|
+
After writing, ask yourself:
|
|
88
|
+
- Would a real founder post this or would they cringe?
|
|
89
|
+
- Is every number verified?
|
|
90
|
+
- Are there any em dashes? (search for the character)
|
|
91
|
+
- Any "pivotal", "testament", "landscape", "foster", "delve"?
|
|
92
|
+
- Any lists of exactly three items forced together?
|
|
93
|
+
- Does it sound like it was assembled or like someone actually wrote it?
|
|
94
|
+
|
|
95
|
+
Fix every issue found.
|
|
96
|
+
|
|
97
|
+
### 5. Output
|
|
98
|
+
|
|
99
|
+
Write the final post to a file: `linkedin-post-v{VERSION}.md`
|
|
100
|
+
|
|
101
|
+
Include three sections in the file:
|
|
102
|
+
1. Final post text (ready to paste into LinkedIn)
|
|
103
|
+
2. Data sources used (which files/commands provided which numbers)
|
|
104
|
+
3. AI pattern audit results (what was caught and fixed)
|
|
105
|
+
|
|
106
|
+
## Examples of good vs bad
|
|
107
|
+
|
|
108
|
+
Bad (AI-generated):
|
|
109
|
+
"We're thrilled to announce context-mode v1.0.57, a groundbreaking update that represents a pivotal moment in the evolution of AI-powered development tools. This release showcases our commitment to innovation, performance, and developer experience."
|
|
110
|
+
|
|
111
|
+
Good (founder voice):
|
|
112
|
+
"I have a confession. I built a tool used by 57,000+ developers and I was drowning in GitHub issues."
|
|
113
|
+
|
|
114
|
+
Bad:
|
|
115
|
+
"The technical architecture features a robust FTS5 search engine, a polyglot execution sandbox, and a dynamic agent orchestration layer, ensuring seamless integration across platforms."
|
|
116
|
+
|
|
117
|
+
Good:
|
|
118
|
+
"Some numbers on the tech side: FTS5 search with BM25 ranking, sandbox execution in 11 languages, session state survives context window compactions through SQLite event tracking."
|
|
119
|
+
|
|
120
|
+
Bad:
|
|
121
|
+
"This innovative solution serves as a testament to the transformative potential of AI-native infrastructure."
|
|
122
|
+
|
|
123
|
+
Good:
|
|
124
|
+
"Solo maintainers will run engineering orgs made of agents. Not because it sounds cool on a slide, but because the alternative is burnout."
|