MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getPromptForCommand

Function getPromptForCommand

src/skills/bundled/claudeInChrome.ts:26–32  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

24 userInvocable: true,
25 isEnabled: () => shouldAutoEnableClaudeInChrome(),
26 async getPromptForCommand(args) {
27 let prompt = `${BASE_CHROME_PROMPT}\n${SKILL_ACTIVATION_MESSAGE}`
28 if (args) {
29 prompt += `\n## Task\n\n${args}`
30 }
31 return [{ type: 'text', text: prompt }]
32 },
33 })
34}
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected