Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import { composeSelectionPrompt } from '@inkeep/open-knowledge-core/handoff';
import { docNameToRelativePath } from '@/lib/workspace-paths';
export function composeTerminalSelectionPaste(docName: string, selectionMarkdown: string): string {
return composeSelectionPrompt({
relativePath: docNameToRelativePath(docName),
instruction: '',
selectionMarkdown,
target: 'claude-code',
});
}