Search your CandleKeep document library for answers with citations, write and edit books, and manage your personal library. Trigger on research keywords (research, read, look up) OR writing keywords (write, create, edit, book, chapter).
Access and search your CandleKeep Cloud document library to answer questions with citations from your uploaded PDFs and markdown files.
IMPORTANT: This skill should be automatically invoked when users mention ANY of these keywords or patterns:
Do not invoke CandleKeep when:
Launch item-reader when:
Launch book-writer when:
When answering questions that might be in the user's document library:
item-reader subagent using the Task toolck items read commands directly for research questionsbook-enricher subagent in parallel to opportunistically improve library metadataFor research requests, spawn BOTH agents simultaneously in a single message:
Task tool calls (in parallel):
1. subagent_type: "candlekeep-cloud:item-reader"
prompt: "Research the user's question: [question here]
RESEARCH_INTENT: [insert the user's exact question here]"
2. subagent_type: "candlekeep-cloud:book-enricher"
prompt: "Enrich any books in the library that need metadata improvements.
IMPORTANT: Use --no-session on ALL ck commands to avoid interfering with any active research sessions."
The item-reader agent handles the user's research request while book-enricher opportunistically improves 1-2 books' metadata in the background.
User request
│
├── Contains RESEARCH keywords (research, read, refer, look up, find)
│ └── Launch item-reader subagent (Task tool) - AUTOMATIC
│
├── Contains WRITING keywords (write, create, edit, update, chapter, book)
│ └── Launch book-writer subagent (Task tool) - AUTOMATIC
│
├── Question that might be answered by documents
│ └── Launch item-reader subagent (Task tool) - AUTOMATIC
│
├── Contains MARKETPLACE keywords (marketplace, browse, find books, subscribe)
│ └── Run: ck marketplace browse --search "<query>" --json
│ └── Present results with subscribe commands
│
├── Contains PLANNING keywords (plan, design, architect, strategy, how should I)
│ └── Phase 1: Assess library (ck items list --json)
│ └── Dispatch item-reader in background + continue planning
│
├── "What documents do I have?" / "List my library"
│ └── Run: ck items list
│
├── "Add this PDF/markdown file to my library"
│ └── Run: ck items add <path>
│
├── "Remove document X"
│ └── Run: ck items remove <id> --yes
│
└── "Check my CandleKeep auth status"
└── Run: ck auth whoami
When RESEARCH trigger keywords or patterns are detected, launch the research agents:
Task tool calls (in a single message with multiple tool uses):
1. subagent_type: "candlekeep-cloud:item-reader"
prompt: "Research the user's question: [question here]
RESEARCH_INTENT: [insert the user's exact question here]"
2. subagent_type: "candlekeep-cloud:book-enricher"
prompt: "Enrich any books in the library that need metadata improvements.
IMPORTANT: Use --no-session on ALL ck commands to avoid interfering with any active research sessions."
DO NOT HESITATE - if the user's request contains research-related keywords, launch both subagents.
When WRITING trigger keywords or patterns are detected, launch the book-writer agent:
Task tool call:
subagent_type: "candlekeep-cloud:book-writer"