talhabw98 downloadsA thinking companion that suggests what to think or write about next. Like IDE tab completion, but for thoughts.
A thinking companion for Obsidian that suggests what to think or write about next.
Like IDE tab completion, but for your thoughts. It shows gentle nudges at your cursor to help you develop your ideas, without writing content for you.
As you write, the plugin analyzes your context and suggests thinking prompts like:
Suggestions appear as faded ghost text at your cursor. They help you decide what to write and think about, they don't write for you.
main.js, manifest.json, styles.css)<your-vault>/.obsidian/plugins/thought-completion/This plugin requires an OpenAI-compatible API. Go to Settings → Thought Completion and configure:
| Setting | Description | Example |
|---|---|---|
| API Endpoint | Your API endpoint URL | https://api.openai.com/v1 |
| API Key | Your API key | ... |
| Model | Model name to use | gpt-4o-mini |
Compatible providers:
https://api.openai.com/v1)https://openrouter.ai/api/v1)| Setting | Default | Description |
|---|---|---|
| Mode | Auto | Type of thinking nudges (Auto, Questions, Structural, Critical, Connector) |
| Trigger delay | 2000ms | Time to wait after typing stops before suggesting |
| Trigger on punctuation | On | Suggest after sentence-ending punctuation (. ! ?) |
| Trigger on newline | On | Suggest after pressing Enter |
| Manual trigger only | Off | Only suggest when manually triggered |
| Setting | Default | Description |
|---|---|---|
| Context characters | 1500 | How much surrounding text to send to the AI |
| Include heading trail | On | Include current heading hierarchy for context |
| Setting | Default | Description |
|---|---|---|
| Max tokens | 500 | Maximum response length. Increase for reasoning models. |
| Temperature | 0.7 | Creativity level (0 = focused, 1 = creative) |
Access these from the Command Palette (Ctrl/Cmd + P):
If you're using a reasoning model (like nvidia/nemotron-*), consider increasing Max tokens. These models use tokens for chain-of-thought before outputting the answer.
nvidia/nemotron)# Install dependencies
bun install
# Build for development (watch mode)
bun run dev
# Build for production
bun run build
MIT License - see LICENSE for details.
Inspired by IDE code completion and the obsidian-copilot-auto-completion plugin architecture.