Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changes/docs-skill-search-or.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Fixed

- **The agent skill says that every word of `search messages` must match, and to join variants with a capital OR**
(`invoice OR счёт`) when it is unsure which word a message uses. Several spellings in one search found only the
messages that hold all of them.
3 changes: 2 additions & 1 deletion skills/tg-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Choose a path from the user's task rather than reading recent messages by defaul
named); do not cut it to one word. When the owner says "I advised / I wrote", add `from:me`.
2. Then `tg personal search messages "<question>" --discover --json`, then key words with
`tg personal search messages "<words>"` (this machine's copy plus Telegram's own search). Add
`--backend archive` when the owner wants nothing to leave the machine.
`--backend archive` when the owner wants nothing to leave the machine. Every word must match; unsure which
word the message uses, join the variants with a capital OR: `invoice OR счёт`, `colour OR color`.
3. **Never filter the results yourself** (`grep -v`, `jq select`) by chat or sender: a hit in a chat you did
not expect is often the answer. The first result and its score do not establish an answer.
4. **Read around a hit:** `tg personal messages context <hit ref>`. `messages show` and `messages context`
Expand Down
Loading