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

Function companionIntroText

src/buddy/prompt.ts:7–13  ·  view source on GitHub ↗
(name: string, species: string)

Source from the content-addressed store, hash-verified

5import { getCompanion } from './companion.js'
6
7export function companionIntroText(name: string, species: string): string {
8 return `# Companion
9
10A small ${species} named ${name} sits beside the user's input box and occasionally comments in a speech bubble. You're not ${name} — it's a separate watcher.
11
12When the user addresses ${name} directly (by name), its bubble will answer. Your job in that moment is to stay out of the way: respond in ONE line or less, or just answer any part of the message meant for you. Don't explain that you're not ${name} — they know. Don't narrate what ${name} might say — the bubble handles that.`
13}
14
15export function getCompanionIntroAttachment(
16 messages: Message[] | undefined,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected