gooseworks 0.3.12 → 0.3.13
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/dist/commands/install.d.ts.map +1 -1
- package/dist/commands/install.js +6 -16
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +26 -0
- package/dist/commands/login.js.map +1 -1
- package/dist/skills/master-skill.d.ts.map +1 -1
- package/dist/skills/master-skill.js +36 -0
- package/dist/skills/master-skill.js.map +1 -1
- package/package.json +1 -1
- package/skills/gooseworks/SKILL.md +36 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuBpC,wBAAgB,oBAAoB,IAAI,OAAO,
|
|
1
|
+
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuBpC,wBAAgB,oBAAoB,IAAI,OAAO,CAyJ9C;AAED,eAAO,MAAM,cAAc,SAAyB,CAAC"}
|
package/dist/commands/install.js
CHANGED
|
@@ -182,23 +182,13 @@ Examples:
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
const agentNames = targetAgents.map((a) => a === 'claude' ? 'Claude Code' : a === 'codex' ? 'Codex' : 'Cursor').join(' and ');
|
|
185
|
-
logger.done(`Setup complete! Open ${agentNames} and
|
|
186
|
-
logger.info('Data & GTM:');
|
|
187
|
-
logger.example('/gooseworks find people who know <linkedin-profile-url>');
|
|
188
|
-
logger.example('/gooseworks find leads similar to <linkedin-company-url>');
|
|
189
|
-
logger.example('/gooseworks research <company name>');
|
|
190
|
-
// goose-ads is a vendored entry skill — always installed, so always shown.
|
|
185
|
+
logger.done(`Setup complete! Open ${agentNames} and pick one to get started:`);
|
|
191
186
|
console.log('');
|
|
192
|
-
logger.info('
|
|
193
|
-
logger.example('/
|
|
194
|
-
|
|
195
|
-
logger.
|
|
196
|
-
|
|
197
|
-
if ((opts.with || []).includes('goose-graphics')) {
|
|
198
|
-
console.log('');
|
|
199
|
-
logger.info('Graphics:');
|
|
200
|
-
logger.example('/goose-graphics make a chart from <data>');
|
|
201
|
-
}
|
|
187
|
+
logger.info('New here? Get set up in 30 seconds:');
|
|
188
|
+
logger.example('/gooseworks onboard me');
|
|
189
|
+
console.log('');
|
|
190
|
+
logger.info('Or jump straight into making an ad:');
|
|
191
|
+
logger.example('/goose-ads make an ad for <your brand>');
|
|
202
192
|
console.log('');
|
|
203
193
|
});
|
|
204
194
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,
|
|
1
|
+
{"version":3,"file":"install.js","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,oDAyJC;AAhLD,yCAAoC;AACpC,mCAAyC;AACzC,mDAAyG;AACzG,6CAAmD;AACnD,qDAA8E;AAC9E,2CAAoE;AACpE,6CAAmD;AACnD,6CAAgE;AAChE,wDAA0C;AAC1C,yDAAwD;AACxD,sCAAqC;AACrC,wCAAwC;AAYxC,SAAgB,oBAAoB;IAClC,OAAO,IAAI,mBAAO,CAAC,SAAS,CAAC;SAC5B,WAAW,CAAC;;;;uEAIwD,CAAC;SACrE,MAAM,CAAC,UAAU,EAAE,2BAA2B,CAAC;SAC/C,MAAM,CAAC,SAAS,EAAE,qBAAqB,CAAC;SACxC,MAAM,CAAC,UAAU,EAAE,sBAAsB,CAAC;SAC1C,MAAM,CAAC,OAAO,EAAE,mDAAmD,CAAC;SACpE,MAAM,CAAC,OAAO,EAAE,yCAAyC,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CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAED,MAAM,OAAO,GAAgB,EAAE,CAAC;IAChC,IAAI,IAAI,CAAC,MAAM;QAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACxC,IAAI,IAAI,CAAC,KAAK;QAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtC,IAAI,IAAI,CAAC,MAAM;QAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACxC,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,QAAkB;IACzD,OAAO,CAAC,GAAG,QAAQ,EAAE,KAAK,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../src/commands/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../src/commands/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+DpC,eAAO,MAAM,YAAY,SAyBrB,CAAC;AAEL;;;GAGG;AACH,wBAAsB,cAAc,CAAC,OAAO,GAAE,MAAiB,sDAc9D"}
|
package/dist/commands/login.js
CHANGED
|
@@ -32,10 +32,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.loginCommand = void 0;
|
|
37
40
|
exports.ensureLoggedIn = ensureLoggedIn;
|
|
38
41
|
const commander_1 = require("commander");
|
|
42
|
+
const open_1 = __importDefault(require("open"));
|
|
39
43
|
const credentials_1 = require("../auth/credentials");
|
|
40
44
|
const oauth_server_1 = require("../auth/oauth-server");
|
|
41
45
|
const installer_1 = require("../skills/installer");
|
|
@@ -78,6 +82,23 @@ function syncMcpRegistration() {
|
|
|
78
82
|
logger.info(`Synced the gooseworks MCP → ${creds?.mcp_server_url ?? 'the configured server'}`);
|
|
79
83
|
}
|
|
80
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* After a FRESH login, open the onboarding page so the user lands on a "get
|
|
87
|
+
* started" experience and is nudged to run `/gooseworks onboard me` (GOOSE-2596).
|
|
88
|
+
* The `?onboard=true` param is analytics-only today. Only fires on a genuine new
|
|
89
|
+
* login — never when reusing existing creds — so the browser opens at most once.
|
|
90
|
+
* Best-effort: a headless / CI box that can't open a browser just prints the URL.
|
|
91
|
+
*/
|
|
92
|
+
function openOnboarding() {
|
|
93
|
+
const url = `${config_1.HUB_URL}/?onboard=true`;
|
|
94
|
+
(0, open_1.default)(url).catch(() => logger.info(`Get started: ${url}`));
|
|
95
|
+
}
|
|
96
|
+
/** Two focused next-steps after auth: onboard, or jump straight into an ad. */
|
|
97
|
+
function showNextSteps() {
|
|
98
|
+
logger.info('Open Claude/Codex and pick one to get started:');
|
|
99
|
+
logger.info(' • New here? Get set up: /gooseworks onboard me');
|
|
100
|
+
logger.info(' • Or make an ad now: /goose-ads make an ad for <your brand>');
|
|
101
|
+
}
|
|
81
102
|
exports.loginCommand = new commander_1.Command('login')
|
|
82
103
|
.description('Sign in to GooseWorks with Google')
|
|
83
104
|
.option('--api-base <url>', 'API base URL', config_1.API_BASE)
|
|
@@ -95,6 +116,8 @@ exports.loginCommand = new commander_1.Command('login')
|
|
|
95
116
|
logger.success(`Logged in as ${result.email}`);
|
|
96
117
|
refreshEntrySkillsOnLogin();
|
|
97
118
|
syncMcpRegistration();
|
|
119
|
+
openOnboarding();
|
|
120
|
+
showNextSteps();
|
|
98
121
|
}
|
|
99
122
|
catch (err) {
|
|
100
123
|
const message = err instanceof Error ? err.message : 'Login failed';
|
|
@@ -116,6 +139,9 @@ async function ensureLoggedIn(apiBase = config_1.API_BASE) {
|
|
|
116
139
|
logger.error('Failed to save credentials after login');
|
|
117
140
|
process.exit(1);
|
|
118
141
|
}
|
|
142
|
+
// Fresh login via an install/other command path — nudge onboarding too, so
|
|
143
|
+
// `gooseworks install --all` on a logged-out machine also opens the page.
|
|
144
|
+
openOnboarding();
|
|
119
145
|
return creds;
|
|
120
146
|
}
|
|
121
147
|
//# sourceMappingURL=login.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../src/commands/login.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../src/commands/login.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FA,wCAcC;AA5GD,yCAAoC;AACpC,gDAAwB;AACxB,qDAAqD;AACrD,uDAAoD;AACpD,mDAAoF;AACpF,yDAAwD;AACxD,6CAAmD;AACnD,qDAA0D;AAC1D,6CAAoD;AACpD,wDAA0C;AAC1C,sCAA8C;AAE9C;;;;;;GAMG;AACH,SAAS,yBAAyB;IAChC,IAAI,CAAC,IAAA,8BAAkB,GAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;QAAE,OAAO;IACzD,MAAM,OAAO,GAAG,IAAA,qCAAyB,EAAC,IAAA,6BAAc,GAAE,CAAC;SACxD,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,WAAW,CAAC;SACvC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACtB,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO;IACjC,MAAM,CAAC,OAAO,CAAC,qBAAqB,OAAO,CAAC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AAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,UAAU;IACzB,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,oDAAoD;AACpD,wBAAgB,cAAc,IAAI,UAAU,EAAE,CAM7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"master-skill.d.ts","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,UAAU;IACzB,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,oDAAoD;AACpD,wBAAgB,cAAc,IAAI,UAAU,EAAE,CAM7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CA8N9C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAsUhD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,CA8WlD"}
|
|
@@ -78,6 +78,42 @@ To check credit balance:
|
|
|
78
78
|
gooseworks credits
|
|
79
79
|
\`\`\`
|
|
80
80
|
|
|
81
|
+
## User Context (onboarding)
|
|
82
|
+
|
|
83
|
+
You have two MCP tools for the user's onboarding CONTEXT — who they are and what they want GooseWorks for. It's stored server-side (org-scoped), separate from the ads brand kit.
|
|
84
|
+
|
|
85
|
+
- \`get_user_context\` — read it. **At the START of a session, call this once** and use what you learn (company, role, the use-cases they picked, their goals, freeform notes) to tailor which skills/APIs you reach for. Best-effort: if the \`mcp__gooseworks__*\` tools aren't connected, skip silently and carry on.
|
|
86
|
+
- \`update_user_context\` — save it (partial update; only the fields you pass are touched).
|
|
87
|
+
|
|
88
|
+
### Running "onboard me" (or a first run with empty context)
|
|
89
|
+
|
|
90
|
+
If the user says "onboard me" — or \`get_user_context\` returns \`onboarded: false\` and they're starting fresh — run a short, friendly interview, then save the answers. Open with this framing:
|
|
91
|
+
|
|
92
|
+
> Gooseworks gives your AI agent access to skills and APIs for growth and marketing work. For example: making ad creatives, finding influencers, scraping social profiles and posts from X/LinkedIn, scraping ads from Meta/LinkedIn, scraping reddit, and finding leads to target and their emails — and much more. Visit skills.gooseworks.ai to see the full library of skills.
|
|
93
|
+
|
|
94
|
+
Then ask (a few at a time is fine — don't interrogate):
|
|
95
|
+
1. **What's your company's website?** → \`company_website\`
|
|
96
|
+
2. **What's your role?** → \`role\`
|
|
97
|
+
3. **What are you hoping to use Goose skills for?** (multi-select — pick any): generate ad creatives · research and run ads end-to-end · finding influencers · data scraping (social / ads / reddit) · finding leads & emails · something else → \`use_cases\` (array)
|
|
98
|
+
4. **What high-priority growth / marketing tasks would you like help with right now?** The more context they share, the better you can help. → \`goals\`
|
|
99
|
+
|
|
100
|
+
**Save** with \`update_user_context { company_website, role, use_cases, goals, context_md }\` — put any extra detail you learned into \`context_md\` as a short summary.
|
|
101
|
+
|
|
102
|
+
**Then recommend REAL next steps — grounded, not from memory. This is the WHOLE POINT of onboarding; do not skip it or wing a generic playbook:**
|
|
103
|
+
1. **Route each answer to the RIGHT tool first — don't blindly search one catalog. Match their use-cases to domains (same routing as "Route to the right skill FIRST" above):**
|
|
104
|
+
- **Make / edit / analyze ADS** (generate ad creatives, research & run ads) → the **\`goose-ads\`** skill (brand research + template remix). Do NOT \`gooseworks search\` for these — ad creation is NOT in the data catalog.
|
|
105
|
+
- **VIDEO ads** → **\`goose-video\`**. **Charts / slides / graphics** → **\`goose-graphics\`**.
|
|
106
|
+
- **GTM / DATA** (finding leads & emails, influencers, scraping social / ads / reddit, enrichment, competitor intel) → run \`gooseworks search "<that task>"\` (free) and recommend the REAL skill slugs it returns.
|
|
107
|
+
Recommend specific, real things BY NAME — never a from-memory playbook, never a skill you assume exists; if a GTM search returns nothing relevant, say so.
|
|
108
|
+
2. **Ground it in THEIR business.** If they gave a company website, read it with your web tools to infer their actual product + ICP, so suggestions are about their company — not a template. (For ad work, prefer \`goose-ads\`'s own brand research over a raw read.)
|
|
109
|
+
3. **Be honest about cost.** Data / lead / enrichment / ad-generation skills bill GooseWorks credits — say so, and estimate before running anything (\`gooseworks credits\` to check balance).
|
|
110
|
+
4. **Offer to start ONE concrete play** built from the ROUTED skill (\`goose-ads\` for ads, a real searched skill for GTM) and ask for the one or two inputs it needs.
|
|
111
|
+
|
|
112
|
+
A suggestion is only "grounded" if it came from routing to the right domain skill (\`goose-ads\` / \`goose-video\` / \`goose-graphics\`) or from \`gooseworks search\` (a real GTM skill) — plus, ideally, reading their site. Do that BEFORE you suggest; never present a from-memory capability list as if you'd checked.
|
|
113
|
+
|
|
114
|
+
### Update as needed
|
|
115
|
+
Whenever the user reveals durable context mid-session (their company, role, what they're trying to accomplish), persist it with \`update_user_context\` so future sessions start smarter.
|
|
116
|
+
|
|
81
117
|
## How to Use
|
|
82
118
|
|
|
83
119
|
### If a specific skill is requested (e.g. --skill <slug> or "use the <name> skill")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AA4BA,wCAMC;AAWD,
|
|
1
|
+
{"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AA4BA,wCAMC;AAWD,sDA8NC;AAiBD,0DAsUC;AAcD,8DA8WC;AAn8BD,oDAAoD;AACpD,SAAgB,cAAc;IAC5B,OAAO;QACL,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,qBAAqB,EAAE,EAAE;QACxD,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,uBAAuB,EAAE,EAAE;QACzD,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,yBAAyB,EAAE,EAAE;KAC9D,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4WR,CAAC;AACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -54,6 +54,42 @@ To check credit balance:
|
|
|
54
54
|
gooseworks credits
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
## User Context (onboarding)
|
|
58
|
+
|
|
59
|
+
You have two MCP tools for the user's onboarding CONTEXT — who they are and what they want GooseWorks for. It's stored server-side (org-scoped), separate from the ads brand kit.
|
|
60
|
+
|
|
61
|
+
- `get_user_context` — read it. **At the START of a session, call this once** and use what you learn (company, role, the use-cases they picked, their goals, freeform notes) to tailor which skills/APIs you reach for. Best-effort: if the `mcp__gooseworks__*` tools aren't connected, skip silently and carry on.
|
|
62
|
+
- `update_user_context` — save it (partial update; only the fields you pass are touched).
|
|
63
|
+
|
|
64
|
+
### Running "onboard me" (or a first run with empty context)
|
|
65
|
+
|
|
66
|
+
If the user says "onboard me" — or `get_user_context` returns `onboarded: false` and they're starting fresh — run a short, friendly interview, then save the answers. Open with this framing:
|
|
67
|
+
|
|
68
|
+
> Gooseworks gives your AI agent access to skills and APIs for growth and marketing work. For example: making ad creatives, finding influencers, scraping social profiles and posts from X/LinkedIn, scraping ads from Meta/LinkedIn, scraping reddit, and finding leads to target and their emails — and much more. Visit skills.gooseworks.ai to see the full library of skills.
|
|
69
|
+
|
|
70
|
+
Then ask (a few at a time is fine — don't interrogate):
|
|
71
|
+
1. **What's your company's website?** → `company_website`
|
|
72
|
+
2. **What's your role?** → `role`
|
|
73
|
+
3. **What are you hoping to use Goose skills for?** (multi-select — pick any): generate ad creatives · research and run ads end-to-end · finding influencers · data scraping (social / ads / reddit) · finding leads & emails · something else → `use_cases` (array)
|
|
74
|
+
4. **What high-priority growth / marketing tasks would you like help with right now?** The more context they share, the better you can help. → `goals`
|
|
75
|
+
|
|
76
|
+
**Save** with `update_user_context { company_website, role, use_cases, goals, context_md }` — put any extra detail you learned into `context_md` as a short summary.
|
|
77
|
+
|
|
78
|
+
**Then recommend REAL next steps — grounded, not from memory. This is the WHOLE POINT of onboarding; do not skip it or wing a generic playbook:**
|
|
79
|
+
1. **Route each answer to the RIGHT tool first — don't blindly search one catalog. Match their use-cases to domains (same routing as "Route to the right skill FIRST" above):**
|
|
80
|
+
- **Make / edit / analyze ADS** (generate ad creatives, research & run ads) → the **`goose-ads`** skill (brand research + template remix). Do NOT `gooseworks search` for these — ad creation is NOT in the data catalog.
|
|
81
|
+
- **VIDEO ads** → **`goose-video`**. **Charts / slides / graphics** → **`goose-graphics`**.
|
|
82
|
+
- **GTM / DATA** (finding leads & emails, influencers, scraping social / ads / reddit, enrichment, competitor intel) → run `gooseworks search "<that task>"` (free) and recommend the REAL skill slugs it returns.
|
|
83
|
+
Recommend specific, real things BY NAME — never a from-memory playbook, never a skill you assume exists; if a GTM search returns nothing relevant, say so.
|
|
84
|
+
2. **Ground it in THEIR business.** If they gave a company website, read it with your web tools to infer their actual product + ICP, so suggestions are about their company — not a template. (For ad work, prefer `goose-ads`'s own brand research over a raw read.)
|
|
85
|
+
3. **Be honest about cost.** Data / lead / enrichment / ad-generation skills bill GooseWorks credits — say so, and estimate before running anything (`gooseworks credits` to check balance).
|
|
86
|
+
4. **Offer to start ONE concrete play** built from the ROUTED skill (`goose-ads` for ads, a real searched skill for GTM) and ask for the one or two inputs it needs.
|
|
87
|
+
|
|
88
|
+
A suggestion is only "grounded" if it came from routing to the right domain skill (`goose-ads` / `goose-video` / `goose-graphics`) or from `gooseworks search` (a real GTM skill) — plus, ideally, reading their site. Do that BEFORE you suggest; never present a from-memory capability list as if you'd checked.
|
|
89
|
+
|
|
90
|
+
### Update as needed
|
|
91
|
+
Whenever the user reveals durable context mid-session (their company, role, what they're trying to accomplish), persist it with `update_user_context` so future sessions start smarter.
|
|
92
|
+
|
|
57
93
|
## How to Use
|
|
58
94
|
|
|
59
95
|
### If a specific skill is requested (e.g. --skill <slug> or "use the <name> skill")
|