Prompt #151

Back to prompts
Vault-Indexer Quick Capture
Code Β· openai/gpt-4.1
4/5
Variables
note_title, note_body, vault_folder, tag1, tag2, confidence
Tags
stack-aware,brain,vault-indexer,mcp,capture,obsidian
Source
research-2026-05-01-stack-aware
Use count
0
Created
2026-05-01T18:30:48.776731+00:00
Updated
2026-05-01T18:30:48.776731+00:00

Content

Capture a structured note to the Brain vault-indexer at 192.168.1.216:27125.

Use case: agent stores a lesson-learned or session finding in Obsidian vault.

```bash
TOKEN=$(cat /nvmetank1/brain/.env | grep BRAIN_MCP_TOKEN_RW | cut -d= -f2)
curl -X POST -H "Authorization: Bearer $TOKEN"      -H "Content-Type: application/json"      -d '{{
       "title": "{note_title}",
       "body": "{note_body}",
       "folder": "{vault_folder}",
       "tags": ["{tag1}", "{tag2}", "author:ai", "confidence:{confidence}"]
     }}'      http://192.168.1.216:27125/capture
```

Rules:
- folder must be one of: 00_Inbox, 10_Projekte/GLUG/notes, 10_Projekte/rag-stack/notes
- MUST include author:ai tag β€” filters note from RAG until human sets reviewed:true (AP8 R8)
- confidence: low | medium | high
- Note is available for hybrid search at /search/hybrid after next reindex

Reindex: `curl -X POST -H "Authorization: Bearer $TOKEN" http://192.168.1.216:27125/reindex`