Команды CLI MAX для личного аккаунта
Чаты, сообщения, контакты, поиск, файлы, отправка и автоответы в своём аккаунте.
Здесь собраны команды личного аккаунта. Вы найдёте точную команду, аргументы и параметры для чатов, сообщений, контактов, поиска, файлов и отправки.
Чаты, сообщения, контакты, поиск, файлы, отправка и автоответы в своём аккаунте.
Общие опции
Действуют на любую команду.
| Опция | Что делает |
|---|---|
-V, --version | output the version number. |
-v, --verbose | more detail in what is shown: -v ids, -vv everything we know. По умолчанию: 0. |
--json | machine-readable output: one JSON value on stdout; --json=id,text keeps only those fields. |
--jsonl | machine-readable output: one JSON object per line, for streaming and jq. |
--quiet | diagnostics off. |
--trace | one line per request on stderr: ids and timings, never message content. |
--debug | on a failure, its whole record — cause and stack — in place of the short line. |
--timeout <duration> | give up on the whole command after this — 30s, 2m, 500ms. |
--offline | answer from what was recorded and never connect; fails if nothing was. |
--no-input | never prompt or open interactive login; piped input remains available. |
--max-input-bytes <bytes> | maximum buffered input bytes (default: 16777216). |
--max-output-bytes <bytes> | maximum machine output bytes (default: 4194304; 0 disables). |
--brief | found messages as reference, title, time, sender and excerpt only. |
--full | found messages with their whole text and every provider field. |
--compact | one line per item for an agent: reference first, text last, paging and next steps as # lines. |
--dry-run | preview parsed arguments and permissions before running the action. |
--yes | go ahead without the question an ask level puts before a write. |
--record | keep this run under max runs, with the command as typed and secrets hidden; record_input false leaves the typed words out. |
--no-record | do not keep this run, even if it fails. |
--serve | start max serve in the background if it is not running (the default). |
--no-serve | do not start it; log in on this command's own connection unless one is running. |
Команды
max calls
the account's calls
max calls list
calls made and received, newest first; reading changes nothing
max calls list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms; this list filters by none yet. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
Returns: call record — id, chat_id, caller_id, direction, outcome, kind, at, duration_seconds; every field: max commands info calls list
Example: max personal calls list
max stickers
the stickers the account has added
max stickers list
sticker sets, or with --set the stickers in one; reading changes nothing
max stickers list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms; this list filters by none yet. |
| Опция | Что делает |
|---|---|
--set <id> | the stickers in this set. |
Returns: sticker inventory — id, title, count, link, set_id, emoji, url; every field: max commands info stickers list
Example: max personal stickers list
max chats
the chats this account is in
max chats list
chats, newest first, archived ones included; the query is answered from the local store, so online, where the messenger filters nothing, it needs --offline
max chats list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
--all | every row, no paging. |
Returns: chat — ref, id, title, kind, unread_count, last_message_at, participants_count, provider, and 14 more; every field: max commands info chats list
Next usually: max chats show <chat>, max chats events <chat> [query], max chats media <chat>
Example: max personal chats list --limit 10
max chats show
one chat: its kind, unread count, last message time and who is in it
max chats show <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: chat — ref, id, title, kind, unread_count, last_message_at, participants_count, provider, and 14 more; every field: max commands info chats show
Next usually: max chats events <chat> [query], max chats media <chat>, max chats documents list <chat> [query]
Example: max personal chats show "Book club"
max chats documents
the Google Docs and Drive documents linked in a chat's stored messages
max chats documents list
every document link in the chat, newest first, and whether the store has it
max chats documents list <chat> [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
Returns: document link — ref, url, document_id, title, in_store, sent_at, sender; every field: max commands info chats documents list
Example: max personal chats documents list CHAT_ID --limit 20
max chats events
who joined, left, was added or removed, and by whom — from the chat's service messages; the last 7 days unless the query names time
max chats events <chat> [query]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
query | необязательный | field:value terms that narrow the list — the fields are below. |
Returns: chat event — chat_id, time, type, people, message_id, by, title, before; every field: max commands info chats events
Example: max personal chats events "Book club"
max chats inspect
what an invite or public link leads to, without joining it
max chats inspect <link>| Аргумент | Обязательность | Что это |
|---|---|---|
link | обязательный | an invite link or a public one. |
Returns: chat inspection — kind, title, id, username, participants_count, description, member, approval_needed; every field: max commands info chats inspect
Example: max personal chats inspect https://example.com/invite/book-club
max chats join
join a group or channel by its link; the others in it see that you joined
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats join <link>| Аргумент | Обязательность | Что это |
|---|---|---|
link | обязательный | an invite link, or a public one. |
Returns: chat group change — operation_id, chat, requested; every field: max commands info chats join
Example: max personal chats join https://example.com/invite/book-club
max chats mark-read
mark a chat read; the other side sees that you read it
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats mark-read <chat> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--until-id <id> | only up to this message id; the newest by default. |
Returns: chat read — operation_id, chat_id, until, thread_id; every field: max commands info chats mark-read
Example: max personal chats mark-read Team
max chats leave
leave a group or channel; the others in it see that you left
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats leave <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: chat removal — operation_id, chat_id; every field: max commands info chats leave
Example: max personal chats leave "Book club"
max chats tracking
the chats whose member lists serve fetches daily into the local store — chats members fetch --track adds one
max chats tracking list
every tracked chat: since when, and its last member count
max chats tracking list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
Returns: tracked chat — chat_id, title, tracked_at, last_count; every field: max commands info chats tracking list
Example: max personal chats tracking list
max chats tracking show
one chat: whether it is tracked, and its member count per day for the last 30 days
max chats tracking show <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: tracked chat history — chat_id, tracked_at, counts; every field: max commands info chats tracking show
Example: max personal chats tracking show "Book club"
max chats tracking add
fetch this chat's member list daily while serve runs, from its next run
Меняет что-то только на этом компьютере.
max chats tracking add <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: chat tracking — chat_id, tracked; every field: max commands info chats tracking add
Example: max personal chats tracking add "Book club"
max chats tracking remove
stop fetching it daily; the history already kept stays
Меняет что-то только на этом компьютере.
max chats tracking remove <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: chat tracking — chat_id, tracked; every field: max commands info chats tracking remove
Example: max personal chats tracking remove "Book club"
max chats folders
your chat folders
max chats folders list
your chat folders, in the order the app shows them
max chats folders list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms; this list filters by none yet. |
Returns: folder — id, title, chat_ids, emoji, include, skip, excluded_chat_ids, pinned_chat_ids, and 3 more; every field: max commands info chats folders list
Next usually: max chats folders show <folder>, max chats folders update <folder>, max chats folders delete <folder>
Example: max personal chats folders list
max chats folders show
one chat folder, with the names of the chats in it
max chats folders show <folder>| Аргумент | Обязательность | Что это |
|---|---|---|
folder | обязательный | the folder's id, or its title exactly. |
Returns: folder — id, title, chat_ids, emoji, include, skip, excluded_chat_ids, pinned_chat_ids, and 3 more; every field: max commands info chats folders show
Next usually: max chats folders update <folder>, max chats folders delete <folder>, max chats folders order <folders>
Example: max personal chats folders show "Reading"
max chats folders create
create a chat folder
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats folders create <title> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
title | обязательный | the folder's name; the app may refuse a long one. |
| Опция | Что делает |
|---|---|
--chat <chat> | a chat to put in it, by id or name; repeat it for more. |
Returns: chat folder change — operation_id, folder; every field: max commands info chats folders create
Example: max personal chats folders create "Reading" --chat "Book club"
max chats folders update
rename a folder, or change which chats are in it
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats folders update <folder> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
folder | обязательный | folder id, or its title exactly. |
| Опция | Что делает |
|---|---|
--title <title> | a new name. |
--add <chat> | put a chat in it; repeat it for more. |
--remove <chat> | take a chat out of it, and off its excluded and pinned lists; repeat it for more. |
Returns: chat folder change — operation_id, folder; every field: max commands info chats folders update
Example: max personal chats folders update "Reading" --title "Books"
max chats folders delete
delete a folder; the chats in it stay
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats folders delete <folder>| Аргумент | Обязательность | Что это |
|---|---|---|
folder | обязательный | folder id, or its title exactly. |
Returns: chat folder removal — operation_id, folder_id; every field: max commands info chats folders delete
Example: max personal chats folders delete "Reading"
max chats folders order
put folders in this order; the ones not named keep theirs after them
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats folders order <folders>| Аргумент | Обязательность | Что это |
|---|---|---|
folders | обязательный | folder ids, or titles exactly, first one first. |
Returns: chat folder order — operation_id, folders; every field: max commands info chats folders order
Example: max personal chats folders order "Reading" "Work"
max chats rules
what chats moderate judges a group by, kept in a file of this profile
max chats rules show
the group's rules; the defaults, marked not saved, if it has none yet
max chats rules show <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: chat rules — chat_id, title, file, saved, rules; every field: max commands info chats rules show
Example: max personal chats rules show "Book club"
max chats rules set
change one rule; the group's first change writes every rule with its default
Меняет что-то только на этом компьютере.
max chats rules set <chat> <key> <value>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
key | обязательный | one of: trusted, blocked, blockedNames, links, invites, forwards, blockedPeople, flood.messages, flood.minutes, flood.action, newAccount.days, newAccount.action, consent.delete, consent.remove. |
value | обязательный | the new value; a list is comma-separated. |
Returns: chat rules — chat_id, title, file, saved, rules; every field: max commands info chats rules set
Example: max personal chats rules set "Book club" links report
max chats rules unset
put one rule back to its default
Меняет что-то только на этом компьютере.
max chats rules unset <chat> <key>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
key | обязательный | one of: trusted, blocked, blockedNames, links, invites, forwards, blockedPeople, flood.messages, flood.minutes, flood.action, newAccount.days, newAccount.action, consent.delete, consent.remove. |
Returns: chat rules — chat_id, title, file, saved, rules; every field: max commands info chats rules unset
Example: max personal chats rules unset "Book club" links
max chats media
a chat's photos, videos, files, audio and links, from the messenger's server; reading marks nothing
max chats media <chat> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--type <type> | only these kinds, comma-separated: photo, video, file, audio, link. |
--limit <n> | how many to show. |
--cursor <cursor> | go on from where page.next says the last page stopped. |
Returns: a chat's photos, videos, files, audio and links, from the messenger's…
Example: max personal chats media Team
max chats mute
stop notifications from a chat, for good or until a time; nobody in it is told
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats mute <chat> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--until <time> | only until then: 2026-09-25T09:00 (local time), or 30m, 2h, 7d from now. |
Returns: chat muting — operation_id, chat_id, muted_until; every field: max commands info chats mute
Example: max personal chats mute "Book club", max personal chats mute "Book club" --until 2h
max chats unmute
hear a muted chat again
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats unmute <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: chat muting — operation_id, chat_id, muted_until; every field: max commands info chats unmute
Example: max personal chats unmute "Book club"
max chats clear
delete every message in a chat for this account; the others in it keep theirs
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats clear <chat> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--allow-dangerous | go ahead without the question an ask level puts before a deletion. |
Returns: chat removal — operation_id, chat_id; every field: max commands info chats clear
Example: max personal chats clear "Book club"
max chats start
start a bot, as its Start button does; the bot sees that you started it
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats start <bot> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
bot | обязательный | the chat with the bot — its id or its name — or the bot's link, even one never opened. |
| Опция | Что делает |
|---|---|
--start <param> | the start parameter the bot reads; a link's own ?start= when not given. |
Returns: start a bot, as its Start button does; the bot sees that you started it
Example: max personal chats start "Example Bot"
max chats app
the address that opens a bot's mini app, signed in as you — keep it to yourself
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max chats app <bot> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
bot | обязательный | the chat with the bot: its id or its name. |
| Опция | Что делает |
|---|---|
--start <param> | the start parameter the app reads. |
Returns: the address that opens a bot's mini app, signed in as you — keep it to yourself
Example: max personal chats app "Example Bot"
max contacts
people you have a one-to-one chat with
max contacts list
people you have a one-to-one chat with; name: matches the name, your local alias or the @username, notes: your private notes about them
max contacts list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
--all | every row, no paging. |
--order <recent|name> | newest conversation first, or alphabetical. По умолчанию: recent. |
Returns: contact — ref, id, name, username, description, last_messaged_at, alias, display_name, and 15 more; every field: max commands info contacts list
Next usually: max contacts show <person>, max contacts context <person>, max contacts prepare <person>
Example: max personal contacts list --limit 10
max contacts show
one person: what the messenger says about them — handles, flags, last seen, phone, when they registered — your alias, the chats you share, how many of their messages the store holds in each, and the earlier names and usernames the store saw them with; --offline answers from the store alone
max contacts show <person> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | their id, @username, or part of their name. |
| Опция | Что делает |
|---|---|
--with-notes | include your private notes, subject to contacts.notes.list permission. |
--hide-phone | leave the phone number out. |
Returns: contact — ref, id, name, username, description, last_messaged_at, alias, display_name, and 15 more; every field: max commands info contacts show
Next usually: max contacts context <person>, max contacts prepare <person>, max contacts events <person> [query]
Example: max personal contacts show "Alex Example"
max contacts aliases
a private local display name in the selected account
max contacts aliases set
your own name for a person in this account; kept on this machine, never sent
Меняет что-то только на этом компьютере.
max contacts aliases set <person> <alias>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | the person's id, reference or known name. |
alias | обязательный | the private name to use for this person. |
Returns: contact alias — person_id, alias; every field: max commands info contacts aliases set
Example: max personal contacts aliases set "Alex Example" "Reading partner"
max contacts aliases remove
drop your local name for a person; their own name shows again
Меняет что-то только на этом компьютере.
max contacts aliases remove <person>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | the person's id, reference or known name. |
Returns: contact alias — person_id, alias; every field: max commands info contacts aliases remove
Example: max personal contacts aliases remove "Alex Example"
max contacts notes
your private notes on a stored contact, the same in every account that sees them
max contacts notes list
every private note you keep on a person, oldest first
max contacts notes list <person> [query]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | the person's id, reference or known name. |
query | необязательный | field:value terms; this list filters by none yet. |
Returns: contact note — id, contact, text, revision, created_at, updated_at; every field: max commands info contacts notes list
Example: max personal contacts notes list "Alex Example"
max contacts notes show
one private note on a person, with its revision for edit
max contacts notes show <person> <id>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | the person's id, reference or known name. |
id | обязательный | the note id from contacts notes list. |
Returns: contact note — id, contact, text, revision, created_at, updated_at; every field: max commands info contacts notes show
Example: max personal contacts notes show "Alex Example" 1
max contacts notes add
add a private note on a person from stdin or --text-file; never sent
Меняет что-то только на этом компьютере.
max contacts notes add <person> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | the person's id, reference or known name. |
| Опция | Что делает |
|---|---|
--text-file <path> | read note text from a file; omitted or - reads stdin. |
Returns: contact note — id, contact, text, revision, created_at, updated_at; every field: max commands info contacts notes add
Example: max personal contacts notes add "Alex Example" --text-file ./note.txt
max contacts notes edit
replace a note's text; --revision must match the one you read
Меняет что-то только на этом компьютере.
max contacts notes edit <person> <id> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | the person's id, reference or known name. |
id | обязательный | the note id from contacts notes list. |
| Опция | Что делает |
|---|---|
--text-file <path> | read note text from a file; omitted or - reads stdin. |
--revision <n> | the revision you read before editing. |
Returns: contact note — id, contact, text, revision, created_at, updated_at; every field: max commands info contacts notes edit
Example: max personal contacts notes edit "Alex Example" 1 --revision 1 --text-file ./note.txt
max contacts notes remove
delete one private note on a person
Меняет что-то только на этом компьютере.
max contacts notes remove <person> <id>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | the person's id, reference or known name. |
id | обязательный | the note id from contacts notes list. |
Returns: contact note removal — id, person_id, removed; every field: max commands info contacts notes remove
Example: max personal contacts notes remove "Alex Example" 1
max contacts sync
forget where the last sync left off and take the whole list again
Меняет что-то только на этом компьютере.
max contacts syncReturns: contact sync — added, changed, known; every field: max commands info contacts sync
Example: max personal contacts sync
max contacts lookup
who MAX has under a phone number — asks for it, or reads it from stdin
max contacts lookup [phone]| Аргумент | Обязательность | Что это |
|---|---|---|
phone | необязательный | refused: the number is asked for, never typed here. |
Returns: contact lookup — id, name, username; every field: max commands info contacts lookup
Example: max personal contacts lookup
max contacts add
add a person to your contacts — contacts list still shows only people you have a dialog with
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max contacts add <person>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | person id — contacts lookup finds one — or part of a known name. |
Returns: contact update — operation_id, person; every field: max commands info contacts add
Example: max personal contacts add "Alex Example"
max contacts remove
remove a person from your contacts; the chat stays, a name you gave them may not
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max contacts remove <person>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | person id — contacts lookup finds one — or part of a known name. |
Returns: contact state change — operation_id, person_id; every field: max commands info contacts remove
Example: max personal contacts remove "Alex Example"
max contacts block
stop a person from writing to you — they need not be a contact
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max contacts block <person>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | person id — contacts lookup finds one — or part of a known name. |
Returns: contact state change — operation_id, person_id; every field: max commands info contacts block
Example: max personal contacts block "Alex Example"
max contacts unblock
let a blocked person write to you again
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max contacts unblock <person>| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | person id — contacts lookup finds one — or part of a known name. |
Returns: contact state change — operation_id, person_id; every field: max commands info contacts unblock
Example: max personal contacts unblock "Alex Example"
max contacts rename
rename the contact in the messenger address book; use contacts alias for a private local name
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max contacts rename <person> <first-name> [last-name]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | person id — contacts lookup finds one — or part of a known name. |
first-name | обязательный | the name you want to see for them. |
last-name | необязательный | the last name you want to see for them. |
Returns: contact update — operation_id, person; every field: max commands info contacts rename
Example: max personal contacts rename "Alex Example" Alex Example
max contacts import
upload phone numbers and add the people the messenger has under them
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max contacts import <file>| Аргумент | Обязательность | Что это |
|---|---|---|
file | обязательный | one person per line: number, then a comma, a tab or a semicolon, then the name. |
Returns: contact import — operation_id, sent, recognised; every field: max commands info contacts import
Example: max personal contacts import ./contacts.csv
max contacts context
what the store holds about one person, in every messenger linked to them, read only in accounts of this account's scope (personal or work): shared chats, the last messages each way, their recent messages, where others mentioned them — never connects
max contacts context <person> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | their id, @username, or part of their name. |
| Опция | Что делает |
|---|---|
--limit <n> | at most this many messages in each list; 10 if not given. |
--since-time <time> | nothing older than this ISO 8601 time, or 2h / 1d ago. |
--chat <chat> | a chat, by id or name; repeat it for more — then their newest messages in each, 20 unless --limit, short unless -v. |
--sync-first | with --chat, read their newest messages in each from the messenger first. |
Returns: contact context — person, accounts, shared, last, recent, mentions, limits, complete, and 3 more; every field: max commands info contacts context
Example: max personal contacts context "Alex Example" --limit 10
max contacts prepare
before you talk to someone: what contacts context gives, plus the one-to-one chats where they wrote last, open tasks, accepted facts, your notes and their recent meetings, each with its reference; never connects
max contacts prepare <person> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | their id, @username, or part of their name. |
| Опция | Что делает |
|---|---|
--limit <n> | at most this many messages, and items in each section; 10 if not given. |
--since-time <time> | no message or meeting older than this ISO 8601 time, or 2h / 1d ago. |
Returns: contact preparation — person, accounts, shared, last, recent, mentions, limits, complete, and 3 more; every field: max commands info contacts prepare
Example: max personal contacts prepare Ana
max contacts events
everything one person took part in, in every messenger linked to them — messages they wrote or were mentioned in, chats, mail, meetings, tasks — newest first, from the store; only in this account's scope, personal or work, and scope: of the other one is refused; never connects
max contacts events <person> [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | their id, @username, or part of their name. |
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | at most this many; 50 if not given. |
--cursor <cursor> | go on from where the last page stopped; page.next gives it, with the same filters. |
Returns: contact activity — at, subject, subject_id, role, scope, provider, account, chat_id, and 2 more; every field: max commands info contacts events
Example: max personal contacts events "Alex Example" --limit 10
max contacts check
whether one person looks like a bot, a fake or a spammer: their profile and what they wrote in the store — a hint, never a verdict; the public ban lists cover Telegram only, so nothing is sent
max contacts check <person> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | their id, @username, or part of their name. |
| Опция | Что делает |
|---|---|
--no-registries | do not ask the public ban lists; nothing about them leaves this machine. |
Returns: contact check — person, score, reasons, registries, unknown, checked_at; every field: max commands info contacts check
Example: max personal contacts check "Alex Example"
max contacts link
record that two people in the store are one person — the same name is never enough
Меняет что-то только на этом компьютере.
max contacts link <person> <other> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | their id, @username, or part of their name. |
other | обязательный | the same in another messenger of the store, as : — max:Ana; me: it is you, as zoom: me. |
| Опция | Что делает |
|---|---|
--reason <text> | why they are one person; an agent's link is a proposal and needs it. |
Returns: linked person — uid, name, identities, display_name, proposal; every field: max commands info contacts link
Example: max personal contacts link "Alex Example" zoom:101
max contacts unlink
undo contacts link for one identity: it is a person of its own again
Меняет что-то только на этом компьютере.
max contacts unlink <person> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
person | обязательный | their id, @username, or part of their name; : for another messenger. |
| Опция | Что делает |
|---|---|
--from <person> | the person it leaves, person: or person:me; refused when it sits on another. |
Returns: linked person — uid, name, identities, display_name, proposal; every field: max commands info contacts unlink
Example: max personal contacts unlink "Alex Example" --from person:me
max messages
read and send messages in a chat
max messages list
a chat's messages, oldest to newest
max messages list <chat> [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
query | необязательный | where to start or which window: id<42, date>=2026-10-01 date<2026-10-20. |
| Опция | Что делает |
|---|---|
--limit <n> | how many. |
--cursor <cursor> | go on from where the last page stopped; page.next gives it. |
--transcribe | turn voice messages not heard yet into text — by the messenger where it can, else by a model on this machine; can take minutes. |
--model <model> | which downloaded speech model hears them, with --transcribe; models list shows them. |
Returns: message — ref, id, chat_id, sender_id, sender_name, sender_is_me, timestamp, edited_at, and 31 more; every field: max commands info messages list
Next usually: max messages links <chat> <message>, max messages transcribe <chat> <message>, max stats messages evidence <message>
Example: max personal messages list "Book club" --limit 20
max messages show
one message, by its chat and id or by its msg: locator
max messages show <chat> [message]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | необязательный | the message id. |
Returns: message — ref, id, chat_id, sender_id, sender_name, sender_is_me, timestamp, edited_at, and 31 more; every field: max commands info messages show
Next usually: max messages links <chat> <message>, max messages transcribe <chat> <message>, max stats messages evidence <message>
Example: max personal messages show "Book club" 101
max messages context
a message and what came either side of it, oldest first
max messages context <chat> [message] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | необязательный | the message id. |
| Опция | Что делает |
|---|---|
--thread | the stored reply chain and replies instead of time neighbours; falls back when no graph exists. |
--thread-hops <n> | at most this many links from the hit (default: 8). |
--thread-messages <n> | at most this many messages in each thread context (default: 50). |
--thread-bytes <n> | at most this many bytes of whole messages and links in each context (default: 65536). |
--thread-within <duration> | messages within this long either side of the hit (default: 1d). |
--before-n <n> | how many before it. По умолчанию: 5. |
--after-n <n> | how many after it. По умолчанию: 5. |
Returns: message context — ref, id, chat_id, sender_id, sender_name, sender_is_me, timestamp, edited_at, and 42 more; every field: max commands info messages context
Example: max personal messages context "Book club" 101 --before-n 3 --after-n 3
max messages links
why a message is in its conversation: each link it has, and the chain of answers back to the start
max messages links <chat> <message>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the message id. |
Returns: message links — chat, message, links, chain; every field: max commands info messages links
Example: max personal messages links "Book club" 101
max messages link
a message permalink when supported, and its account-scoped locator
max messages link <chat> [message]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | необязательный | the message id. |
Returns: message link — ref, url, access, reason, files; every field: max commands info messages link
Next usually: max messages links <chat> <message>, max messages transcribe <chat> <message>, max stats messages evidence <message>
Example: max personal messages link "Book club" 101
max messages download
save a message's photos, files, videos and voice notes to a folder — or a whole chat's with --all; with --offline, copy the ones this computer already holds, one by --attachment
Меняет что-то только на этом компьютере.
max messages download <chat> [message] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | необязательный | the message id; left out with --all or a locator. |
| Опция | Что делает |
|---|---|
--output-dir <dir> | where to save them; created if missing. По умолчанию: .. |
--attachment <n> | which file of the message, from 1; needed when it has more than one. |
--all | every file of the chat, newest first; run it again to continue where it stopped. |
--pause <duration> | with --all, a pause between pages, to stay under the provider's limits. По умолчанию: 5s. |
--extract | read text layers from the files this download maps into the local content index. |
Returns: message download — files, extraction, complete, batch, chat, saved, existing, stopped; every field: max commands info messages download
Example: max personal messages download "Book club" 101 --output-dir ./downloads, max personal messages download msg:max/me/500/101 --attachment 1 --offline
max messages evidence
general chat context, newest first, with references, coverage and fingerprints for verification
max messages evidence <chat> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--limit <n> | how many, 1–100. |
--cursor <cursor> | go on from where page.next says the last packet stopped. |
Returns: evidence packet — schema_version, id, kind, source, fingerprint, limits, content_bytes, coverage, and 1 more; every field: max commands info messages evidence
Example: max personal messages evidence "Book club" --limit 10
max messages sync
bring a chat's history in the local store up to date, newest first; run it again to continue; --all syncs every chat; with --json, stderr carries progress lines: {"event":"progress","step":"sync","chats","chats_done","fetched"}, counts only
Меняет что-то только на этом компьютере.
max messages sync [chat] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | необязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--all | every chat, most recently active first — what search needs; the last 90d unless --since-time or --last; muted chats only with --with-muted or history_muted true. |
--limit <n> | at most this many messages in this run, per chat with --all; 1200 if not given. |
--page-size <n> | how many messages one request asks for; 30 if not given. |
--pause <duration> | the least pause between pages, to stay under the provider's limits; each is up to twice that. По умолчанию: 5s. |
--since-time <time> | stop once it reaches messages older than this: ISO 8601, or 2h / 1d ago. |
--last <n> | stop once the newest n messages are held. |
--catch-up | prepare local search after this run; overrides search_catch_up. |
--no-catch-up | skip local preparation after this run. |
--catch-up-chunks <n> | at most this many local vector chunks. |
--catch-up-messages <n> | skip a graph rebuild larger than this many messages. |
--catch-up-time <duration> | local preparation time budget, 30s by default. |
--full-history | read and keep this chat's history in full from now on, past the history limits (history_* settings). |
--with-muted | with --all: also read the chats the owner muted, as history_muted true does. |
--background | run as a job that outlives this command; store jobs show follows it. |
--dry-run | only estimate how many messages, requests and minutes a full fetch would still take — from the store, no request. |
Returns: message sync — chat, held, ranges, missing, requests, runs, seconds, fetched, and 17 more; every field: max commands info messages sync
Example: max personal messages sync "Book club" --last 100
max messages transcribe
turn a voice message into text, on this machine — the recording goes nowhere
max messages transcribe <chat> <message> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | chat id, or part of a chat name. |
message | обязательный | id of a voice message. |
| Опция | Что делает |
|---|---|
--model <model> | which downloaded speech model to use; max models list kind:audio shows them. |
Returns: message transcript — message_id, text, pending, via, model; every field: max commands info messages transcribe
Example: max personal messages transcribe Team 1234
max messages send
send a text message; without [text], the text is read from stdin
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max messages send <chat> [text] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
text | необязательный | the message. |
| Опция | Что делает |
|---|---|
--reply-to <message> | answer this message, by its id in the same chat. |
--send-as <id> | post as one of the identities chats send-as lists; required where the chat posts as someone else by default. |
--operation-id <id> | repeat a send whose outcome was unknown, without risking a second copy. |
--silent | deliver without a notification. |
--no-preview | no preview card for a link in the text. |
--md | read this messenger's Markdown; see its formatting guide for supported syntax. |
--file <file> | attach a file; the text becomes its caption; repeat it for an album. No files by default. |
--photo <file> | attach a .jpg, .png or .webp as a photo; the text becomes its caption; repeat it for an album. No files by default. |
--as-file | send each --file as a file to download, a video included. |
--voice <file> | send an Ogg Opus file as a voice message, alone, with no text. |
--allow-any-file | send a file even from credential folders or this CLI's own folders. |
--at-time <time> | let the messenger send it later, even with this machine off: 2026-09-25T09:00 (local time), or 30m, 2h, 1d from now. |
--sticker <id> | send this sticker, alone; stickers list finds its id. |
Returns: message write — operation_id, message, messages, scheduled_for; every field: max commands info messages send
Example: max personal messages send "Book club" "The meeting starts at 10."
max messages scheduled
messages waiting to be sent later in a chat, soonest first; cancel one in the app
max messages scheduled <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: message — ref, id, chat_id, sender_id, sender_name, sender_is_me, timestamp, edited_at, and 31 more; every field: max commands info messages scheduled
Next usually: max messages links <chat> <message>, max messages transcribe <chat> <message>, max stats messages evidence <message>
Example: max personal messages scheduled "Book club"
max messages edit
change the text of your own message; the other side may have read it already
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max messages edit <chat> <message> [text] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the id of your own message. |
text | необязательный | the new text; without it, read from stdin. |
| Опция | Что делает |
|---|---|
--md | read this messenger's Markdown; see its formatting guide for supported syntax. |
Returns: message write — operation_id, message, messages, scheduled_for; every field: max commands info messages edit
Example: max personal messages edit "Book club" 101 "The meeting starts at 11."
max messages delete
delete messages for you only; with --for-everyone, for everyone in the chat
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max messages delete <chat> <message> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the message ids, by spaces or commas, at most 10. |
| Опция | Что делает |
|---|---|
--for-everyone | delete for everyone in the chat, not only for you — they cannot get it back. |
--allow-dangerous | go ahead without the question an ask level puts before a deletion. |
Returns: message deletion — operation_id, chat_id, deleted, for_everyone; every field: max commands info messages delete
Example: max personal messages delete "Book club" 101
max messages forward
forward one message to another chat
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max messages forward <chat> <message> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | the chat the message is in: a chat: its id, or part of its title. |
message | обязательный | the message id. |
| Опция | Что делает |
|---|---|
--to <chat> | where it goes: a chat: its id, or part of its title. |
--silent | deliver it without a notification. |
--send-as <id> | post as one of the identities chats send-as lists for the --to chat; required where the chat posts as someone else by default. |
--operation-id <id> | repeat a forward whose outcome was unknown, without risking a second copy. |
Returns: message write — operation_id, message, messages, scheduled_for; every field: max commands info messages forward
Example: max personal messages forward "Book club" 101 --to "Project room"
max messages pin
pin a message in a chat, quietly unless --notify
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max messages pin <chat> <message> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the message id. |
| Опция | Что делает |
|---|---|
--notify | tell the chat's members about the pin. |
Returns: message pin — operation_id, chat_id, message_id, pinned; every field: max commands info messages pin
Example: max personal messages pin <chat> <message>, max personal messages pin <chat> <message> --notify
max messages unpin
unpin a message in a chat
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max messages unpin <chat> <message>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the message id. |
Returns: message pin — operation_id, chat_id, message_id, pinned; every field: max commands info messages unpin
Example: max personal messages unpin <chat> <message>
max messages press
press a bot's button under a message; the bot sees that you pressed it
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max messages press <chat> <message> <button>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the id of the message with the buttons. |
button | обязательный | its number as messages show prints it, or its exact text. |
Returns: press a bot's button under a message; the bot sees that you pressed it
Example: max personal messages press "Example Bot" 101 1
max tasks
what waits on you — unanswered questions, mentions, requests, promises — kept in the local store; review, inbox and messages sync add them, serve only the requests of auto-reply rules
max tasks list
tasks, oldest first, with their message or note source
max tasks list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many. |
Returns: task — ref, id, title, kind, state, created_at, key, description, and 26 more; every field: max commands info tasks list
Next usually: max tasks show <task>, max tasks related <task>, max tasks update <task>
Example: max personal tasks list --limit 10
max tasks add
add a task for a stored message or note — a promise, a request
Меняет что-то только на этом компьютере.
max tasks add <message> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
message | обязательный | a message locator, msg:///, or note:. |
| Опция | Что делает |
|---|---|
--type <type> | the task's type: question, request, mention or promise. |
--category <name> | what it is about, from the list tasks categories prints: money, documents, meeting, …. |
--into <id> | when tasks add listed tasks that may be the same job: link the message to this one instead of opening a task. |
--new | when tasks add listed tasks that may be the same job: open the task anyway. |
--open-new | open a task from a message the chat's task point already passed (a read again with tasks review --since-time); without it such a read only updates and closes tasks. |
--title <title> | one line: the action and its object — send Alex the API token. |
--description <text> | the detail, in Markdown: who owes whom, done when, next step, keywords. |
--due <time> | when it must be done: an ISO 8601 time or 2h, 3d from now; none clears it. |
--remind-time <time> | when to look at it again: an ISO 8601 time or 2h, 3d from now; none clears it. |
--assignee <person...> | who does it: sender (whoever sent the task's message) or person:; none clears it. Leave it out when unsure: a task with no assignee is better than none. |
Returns: task created — id, source, source_kind, account, group, kind, state, origin, and 16 more; every field: max commands info tasks add
Example: max personal tasks add note:101 --type promise --category documents --title "Review draft"
max tasks update
update a task's text, schedule, category, assignees, priority or parent; nothing reaches the messenger
Меняет что-то только на этом компьютере.
max tasks update <task> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
| Опция | Что делает |
|---|---|
--category <name> | what it is about, from the list tasks categories prints: money, documents, meeting, …; a change is kept in the task's history. |
--priority <n> | low, medium, high, critical or none; 0 (urgent) … 4 (low) still read as before. |
--parent <id> | parent task in the same project; none clears it. |
--title <title> | one line: the action and its object — send Alex the API token. |
--description <text> | the detail, in Markdown: who owes whom, done when, next step, keywords. |
--due <time> | when it must be done: an ISO 8601 time or 2h, 3d from now; none clears it. |
--remind-time <time> | when to look at it again: an ISO 8601 time or 2h, 3d from now; none clears it. |
--assignee <person...> | who does it: sender (whoever sent the task's message) or person:; none clears it. Leave it out when unsure: a task with no assignee is better than none. |
Returns: task card — id, ref, key, project, project_key, project_name, created_by, title, and 26 more; every field: max commands info tasks update
Example: max personal tasks update DOC-12 --title "Review draft"
max tasks link
link a task to messages, chats, people or URLs — or to another task: task:
Меняет что-то только на этом компьютере.
max tasks link <task> [targets] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
targets | необязательный | msg: locators, person:, document:, note:, a URL; or task:, which links two project tasks. |
| Опция | Что делает |
|---|---|
--chat <chat> | a chat it concerns, repeatable; a chat: its id, or part of its title. |
--kind <kind> | related-to (default), evidence — it shows the task is real — or created-from; for task:, related-to, blocked-by, follow-up-of, duplicate-of or discovered-from. |
Returns: task links — id, ref, key, project, project_key, project_name, created_by, title, and 28 more; every field: max commands info tasks link
Example: max personal tasks link DOC-12 https://example.com/draft
max tasks show
one task: its plan and everything linked to it
max tasks show <task>| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
Returns: task card — id, ref, key, project, project_key, project_name, created_by, title, and 26 more; every field: max commands info tasks show
Example: max personal tasks show DOC-12
max tasks related
tasks that may be the same job as this one, best first, each with a band — likely, maybe, different — and the reasons; merges nothing
max tasks related <task> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
| Опция | Что делает |
|---|---|
--limit <n> | how many, at most 40 (default 10). |
Returns: task similar — ref, key, title, status, created_at, found_by, score, band, and 3 more; every field: max commands info tasks related
Example: max personal tasks related PR-12
max tasks duplicates
pairs of tasks that may be one job
max tasks duplicates list
pairs of tasks a rule opened that may be one job, newest first, with score and reasons: merge, reject or defer each; decision:unsure lists the ones deferred to the owner
max tasks duplicates list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many. |
Returns: task pair — task, source, other, score, band, levels, reasons, decision, and 2 more; every field: max commands info tasks duplicates list
Example: max personal tasks duplicates list --limit 10, max personal tasks duplicates list decision:unsure
max tasks duplicates reject
two tasks are not the same job: the pair leaves the list and is never offered again
Меняет что-то только на этом компьютере.
max tasks duplicates reject <task> <other-task>| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task listed as the duplicate, by its id or key. |
other-task | обязательный | the task it was paired with. |
Returns: task pair — task, source, other, score, band, levels, reasons, decision, and 2 more; every field: max commands info tasks duplicates reject
Example: max personal tasks duplicates reject PR-14 PR-12
max tasks duplicates defer
the fields and the text cannot tell: leave the pair to the owner, who lists it with decision:unsure
Меняет что-то только на этом компьютере.
max tasks duplicates defer <task> <other-task>| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task listed as the duplicate, by its id or key. |
other-task | обязательный | the task it was paired with. |
Returns: task pair — task, source, other, score, band, levels, reasons, decision, and 2 more; every field: max commands info tasks duplicates defer
Example: max personal tasks duplicates defer PR-14 PR-12
max tasks merge
one job seen twice: link every message of the duplicate to the task and close the duplicate dismissed, duplicate-of the task; nothing is deleted, and tasks unmerge undoes it
Меняет что-то только на этом компьютере.
max tasks merge <task> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the duplicate, by its id or key; it must be open. |
| Опция | Что делает |
|---|---|
--into <id> | the task that stays, by its id or key. |
Returns: task merge — pair, linked, review, task; every field: max commands info tasks merge
Example: max personal tasks merge PR-14 --into PR-12
max tasks unmerge
undo a merge: reopen the task and remove its duplicate-of relation; messages the merge linked stay linked
Меняет что-то только на этом компьютере.
max tasks unmerge <task>| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the merged task, by its id or key. |
Returns: task unmerge — pair, task; every field: max commands info tasks unmerge
Example: max personal tasks unmerge PR-14
max tasks agenda
what needs a look today, from the local store and without message text: tasks overdue, due or to check, chats where you owe an answer, chats where you wait for one, open tasks someone else does
max tasks agenda [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--due-within <duration> | list tasks due within this: 30m, 2h, 1d (default 1d). |
--unanswered <duration> | list chats where someone else wrote last this long ago (default 1d). |
--waiting <duration> | list chats where you wrote last this long ago (default 7d). |
--within <duration> | leave out chats silent longer than this: they ended (default 30d). |
--holder <name> | who you are for claims: a session id or a chat id; default WIRECAT_HOLDER, else Claude Code's session, else the agent's name. |
Returns: agenda — at, account, stored_at, stale, tasks, owed, waiting, unsynced, and 2 more; every field: max commands info tasks agenda
Example: max personal tasks agenda
max tasks categories
the categories a task takes, with what each means and the words a rule picks it by
max tasks categoriesReturns: task categories — categories, unlisted, file; every field: max commands info tasks categories
Example: max personal tasks categories
max tasks scan
the task rules over a chat's newest stored messages: in a one-to-one chat a question you did not answer, in a group only a question in reply to you and a mention of you, open a task, and your answer closes one; a channel opens none — for a chat the first sync left alone (config task_first_pass_per_chat). Lists what would open and changes nothing unless --yes; with --yes the duplicate check runs as on a sync. Reads only the local store
Меняет что-то только на этом компьютере.
max tasks scan <chat> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--last <n> | read the newest n stored messages of each chat (default 50, at most 1000). |
Returns: task scan — chat, messages, added, closed, review, tasks, held, held_chats; every field: max commands info tasks scan
Example: max personal tasks scan <chat>, max personal tasks scan <chat> --last 300 --yes
max tasks status
every chat that can hold your tasks — not a channel or Saved Messages — with the point its messages were read for tasks through, who read them, how many stored messages wait after it, and how many arrived late inside the stretch already read (history fetched afterwards). Its own point: reading a chat, marking it read, inbox --new and review --new never move it; tasks acknowledge does. Reads only the local store
max tasks status [options]| Опция | Что делает |
|---|---|
--limit <n> | how many chats. |
Returns: task analysis — chat, title, kind, newest_at, mark, waiting, late, untrusted; every field: max commands info tasks status
Example: max personal tasks status
max tasks review
the stored messages after the chat's task point, oldest first, and the chat's open tasks, so one read can open new tasks and update or close the old ones. A chat never read starts 14 days back. Moves nothing: when done, tasks acknowledge records it. Reads only the local store; messages sync or backfill fetch what it lacks
max tasks review <chat> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
| Опция | Что делает |
|---|---|
--limit <n> | how many messages (default 100, 1000 with --since-time; at most 1000). |
--since-time <time> | read again from this ISO 8601 time, or 30d ago, whatever the point says; what the point already passed only updates and closes tasks, unless tasks add is given --open-new. |
Returns: task review — chat, from, mark, late, has_more, through, messages, open_tasks, and 1 more; every field: max commands info tasks review
Example: max personal tasks review <chat>, max personal tasks review <chat> --since-time 30d
max tasks acknowledge
moves the chat's task point to this message once its tasks are opened, updated or closed; it never moves back. With --since-time, the read started there: a read again from the start of the stretch clears what arrived late inside it
Меняет что-то только на этом компьютере.
max tasks acknowledge <chat> <message> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the id of the last message read, as tasks review shows it. |
| Опция | Что делает |
|---|---|
--since-time <time> | where the read started, when tasks review was given --since-time. |
Returns: task analysis mark — chat, from, through, through_id, by, checked_at, checked_through, at, and 1 more; every field: max commands info tasks acknowledge
Example: max personal tasks acknowledge <chat> <message>
max tasks claim
take an open task so no other agent works it at once; the claim lapses by itself
Меняет что-то только на этом компьютере.
max tasks claim <task> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
| Опция | Что делает |
|---|---|
--lease <duration> | how long the claim lasts: 30m, 2h (default 30m); claiming again extends it. |
--holder <name> | who you are for claims: a session id or a chat id; default WIRECAT_HOLDER, else Claude Code's session, else the agent's name. |
Returns: task card — id, ref, key, project, project_key, project_name, created_by, title, and 26 more; every field: max commands info tasks claim
Example: max personal tasks claim PR-12 --lease 2h
max tasks release
give back a task you claimed, before the claim lapses; the owner may release any
Меняет что-то только на этом компьютере.
max tasks release <task> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
| Опция | Что делает |
|---|---|
--holder <name> | who you are for claims: a session id or a chat id; default WIRECAT_HOLDER, else Claude Code's session, else the agent's name. |
Returns: task card — id, ref, key, project, project_key, project_name, created_by, title, and 26 more; every field: max commands info tasks release
Example: max personal tasks release PR-12
max tasks close
close a task: done, or dismissed when it needs no answer. An agent (AI_AGENT or CLAUDECODE set) states its --certainty; below config task_agent_close_min, or with task_agent_close off, the task stays open and the close waits on the owner, who confirms it with tasks close or refuses it with tasks reject. A closed task stays closed, unless tasks unmerge reopens a merged one
Меняет что-то только на этом компьютере.
max tasks close <task> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
| Опция | Что делает |
|---|---|
--as <state> | how it is closed: done, or dismissed — it needs no answer; the owner may leave it out to confirm an agent's close. |
--reason <text> | why, kept with the task — no-reply-needed, for example. |
--certainty <n> | an agent's: how sure it is, 0 to 1, that the task needs nothing more. |
--as-owner | close it as yours although an agent's terminal runs the tool (AI_AGENT or CLAUDECODE set). |
Returns: task closed — id, source, source_kind, account, group, kind, state, origin, and 13 more; every field: max commands info tasks close
Example: max personal tasks close Q-15 --as done --certainty 0.9 --reason answered-in-chat, max personal tasks close Q-15
max tasks reject
refuse the close an agent suggested: the task stays open and leaves close:suggested; the agent may close it again
Меняет что-то только на этом компьютере.
max tasks reject <task> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
task | обязательный | the task's id or key, as tasks list shows it. |
| Опция | Что делает |
|---|---|
--as-owner | refuse it as yours although an agent's terminal runs the tool (AI_AGENT or CLAUDECODE set). |
Returns: task card — id, ref, key, project, project_key, project_name, created_by, title, and 26 more; every field: max commands info tasks reject
Example: max personal tasks reject Q-15
max projects
what the store holds about the owner's projects
max projects evidence
cited references about a project in this profile's stored messages. The project's name, key, each alias and each --alias, --context-query and --contact name is its own search; their hits are joined. Every message of a chat confirmed as the project's is read too, and so is what a confirmed person member wrote. Reads what the store holds; with --sync-first it first syncs the project's linked chats the store does not hold for the window
Меняет что-то только на этом компьютере.
max projects evidence <project> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
project | обязательный | an existing project's id, key, exact name or alias, or a new project's name. |
| Опция | Что делает |
|---|---|
--alias <name> | another name of the project, searched on its own; repeat for more. По умолчанию: ``. |
--context-query <words> | more words that all appear in one text; repeat for another. По умолчанию: ``. |
--contact <person> | a name to search, or person: to read what that person wrote. По умолчанию: ``. |
--purpose <purposes> | the linked chats' purposes to read, comma separated (work, sales, support, other), or all; the configured defaults if not given, and a chat left out is counted, never dropped silently. По умолчанию: ``. |
--include-proposed | also read chats and members proposed for the project and not yet confirmed; each item they bring is marked. |
--since-time <time> | how far back: days (90d, at most 730d) or a start date (2026-09-01). По умолчанию: 60d. |
--before-time <time> | fixed exclusive end: ISO 8601 timestamp with UTC offset. |
--limit <n> | new references at most, up to 500; 100 if not given. |
--max-pages <pages> | store pages read at most this run, up to 512. |
--cursor <cursor> | continue a stopped search from its checkpoint, with the same options. |
--before-n <n> | messages before each message hit, at most 5. По умолчанию: 2. |
--after-n <n> | messages after each message hit, at most 5. По умолчанию: 2. |
--no-catch-up | read the search index as it is, without indexing new text first. |
--sync-first | first sync the linked chats this account does not hold back to --since-time; off by default. |
--sync-time <duration> | time for all of --sync-first's syncs together; 3m if not given. По умолчанию: 3m. |
Returns: what this account's stored messages hold about a project, linked chats included
Example: max personal projects evidence "Harbour" --since-time 30d --sync-first
max projects status
per chat confirmed as the project's (and its child projects'), from what the store holds: the last message, who replies next, open questions both ways, promises, amounts with their direction, payments recorded, how long each --context-query has been quiet on their side, and how much of the chat is held. Amounts, directions and promises found by words are marked pattern: read the cited message before trusting one. Others' questions in a group with no role, and others' word-found promises in a group, are counted on the chat's row as unlisted, not listed. Only this profile's account is read; the other linked chats are named, and memo projects status reads them
max projects status <project> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
project | обязательный | an existing project's id, key, exact name or alias. |
| Опция | Что делает |
|---|---|
--since-time <time> | how far back: days (60d, at most 730d) or a start date (2026-09-01). По умолчанию: 60d. |
--before-time <time> | fixed exclusive end: ISO 8601 timestamp with UTC offset. |
--purpose <purposes> | the linked chats' purposes to read, comma separated (work, sales, support, other), or all; the configured defaults if not given, and a chat left out is counted, never dropped silently. По умолчанию: ``. |
--context-query <words> | words that all appear in one text; reports their last mention per side. Repeat for another. По умолчанию: ``. |
Returns: project status — project, key, name, signals, money, chats, purposes, out_of_scope, and 7 more; every field: max commands info projects status
Example: max personal projects status HRB --context-query 1C
max conversations
the conversations inside a chat, found in the stored messages by replies, mentions and who wrote next
max conversations list
a chat's conversations, the newest first: when, how many messages, how many people
max conversations list <chat> [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many. |
Returns: conversation — id, chat, first_message, started_at, ended_at, messages_count, senders_count, built_at, and 1 more; every field: max commands info conversations list
Example: max personal conversations list "Book club"
max conversations show
one conversation's messages, oldest first — by its id, or the one a message is in
max conversations show <conversation> [message]| Аргумент | Обязательность | Что это |
|---|---|---|
conversation | обязательный | a conversation id from conversations list; or a chat: its id, or part of its title, with a message. |
message | необязательный | a message id in that chat: show the conversation it is in. |
Returns: conversation details — id, chat, first_message, started_at, ended_at, messages_count, senders_count, built_at, and 40 more; every field: max commands info conversations show
Example: max personal conversations show "Book club" 101
max conversations related
the conversations nearest in meaning to the one a message is in, in every built chat, best first — from the vectors conversations embed stored; runs no model
max conversations related <chat> <message> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | a message id in that chat. |
| Опция | Что делает |
|---|---|
--limit <n> | how many. |
--model <model> | local: a model id from models list (default: embeddinggemma); remote: the provider's model. |
--embedding-provider <provider> | embedding provider: local or openai; flags override profile settings. |
--base-url <url> | a server with OpenAI's /v1/embeddings: Gemini, Jina, or Ollama and LM Studio on this machine. |
--dims <n> | remote: the vector size — needed with --base-url; shortens an OpenAI model's. |
Returns: conversation hit — summary, chunk, score, by, stale, source, locator, matched_in; every field: max commands info conversations related
Example: max personal conversations related "Book club" 101
max conversations status
how fresh each built chat's conversations and vectors are: messages the build has not seen, chunks with a current, stale or missing vector
max conversations status [options]| Опция | Что делает |
|---|---|
--chat <chat> | only this chat: a chat: its id, or part of its title. |
--model <model> | local: a model id from models list (default: embeddinggemma); remote: the provider's model. |
--embedding-provider <provider> | embedding provider: local or openai; flags override profile settings. |
--base-url <url> | a server with OpenAI's /v1/embeddings: Gemini, Jina, or Ollama and LM Studio on this machine. |
--dims <n> | remote: the vector size — needed with --base-url; shortens an OpenAI model's. |
Returns: conversation readiness — chat, model, state, graph, pending, vectors; every field: max commands info conversations status
Example: max personal conversations status
max conversations batches
windows of a chat for your own AI agent to link: which earlier message each one answers
max conversations batches status
how many messages still wait for an answer, in how many batches, and how much text
max conversations batches status [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--size <n> | messages to answer per batch, 10–200; 50 by default. |
Returns: conversation batch status — chat, messages, characters, batches, tokens_estimate; every field: max commands info conversations batches status
Example: max personal conversations batches status --chat "Book club"
max conversations batches show
the next window to answer, with the messages before it; message text goes to stdout only
max conversations batches show [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--size <n> | messages to answer per batch, 10–200; 50 by default. |
Returns: conversation batch — batch, chat, messages, remaining; every field: max commands info conversations batches show
Example: max personal conversations batches show --chat "Book club"
max conversations links
message links and the conversations derived from them
max conversations links rebuild
find a chat's conversations in what the store holds, replacing the last build; without --chat, every chat that changed since its build and every group never built; never asks the messenger
Отправляет текст во внешний сервис.
max conversations links rebuild [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--analyze | link batches using the configured analysis provider; requires --chat and remembers consent for this chat/provider. |
--analysis-provider <provider> | analysis: agent, openai or anthropic. |
--model <model> | analysis model; overrides models.analysis.model. |
--base-url <url> | analysis API endpoint; overrides models.analysis.base_url. |
--size <n> | analysis answer messages per batch, 10–200; default 50. |
--max-tokens <n> | analysis input/output reservation cap per run; default 100000. |
--max-chats <n> | at most this many chats in one run; 20 if not given. |
Returns: conversation build — chat, messages, links, conversations, built_at, rules_version, model, model_available, and 10 more; every field: max commands info conversations links rebuild
Example: max personal conversations links rebuild --chat "Book club"
max conversations links add
store your agent's answer to a batch, read as JSON from stdin: { "model", "answers": [{ "message", "parent", "confidence" }] }; all or nothing
Меняет что-то только на этом компьютере.
max conversations links add [options]| Опция | Что делает |
|---|---|
--batch <id> | the batch id conversations batches show printed. |
Returns: conversation change — chat, stored, cleared; every field: max commands info conversations links add
Example: max personal conversations links add --batch "$batch"
max conversations links clear
drop your agent's answers for a chat, or only one model's; messages are never touched
Меняет что-то только на этом компьютере.
max conversations links clear [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--answer-model <model> | only the stored answers this model gave. |
Returns: conversation change — chat, stored, cleared; every field: max commands info conversations links clear
Example: max personal conversations links clear --chat "Book club"
max conversations embeddings
stored conversation vectors
max conversations embeddings status
how many chunks of a chat have a vector of the model, how many are left, and what is left costs
max conversations embeddings status [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--model <model> | local: a model id from models list (default: embeddinggemma); remote: the provider's model. |
--embedding-provider <provider> | embedding provider: local or openai; flags override profile settings. |
--base-url <url> | a server with OpenAI's /v1/embeddings: Gemini, Jina, or Ollama and LM Studio on this machine. |
--dims <n> | remote: the vector size — needed with --base-url; shortens an OpenAI model's. |
Returns: conversation embedding status — chat, model, chunks, embedded, left, estimate_seconds, tokens_at_most, price_at_most; every field: max commands info conversations embeddings status
Example: max personal conversations embeddings status --chat "Book club"
max conversations embeddings clear
drop a chat's conversation and message vectors, or only one model's; messages and conversations are never touched
Меняет что-то только на этом компьютере.
max conversations embeddings clear [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--model <model> | local: a model id from models list (default: embeddinggemma); remote: the provider's model. |
--embedding-provider <provider> | embedding provider: local or openai; flags override profile settings. |
--base-url <url> | a server with OpenAI's /v1/embeddings: Gemini, Jina, or Ollama and LM Studio on this machine. |
--dims <n> | remote: the vector size — needed with --base-url; shortens an OpenAI model's. |
Returns: conversation change — chat, stored, cleared; every field: max commands info conversations embeddings clear
Example: max personal conversations embeddings clear --chat "Book club"
max conversations rebuild
build, then embed with the model on this machine, the chats that changed since their build and the group chats never built — or only --chat; with the default model, also each message on its own, which search messages --discover reads; bounded per run, so run it again for the rest; never asks the messenger, downloads no model and sends no text anywhere
Меняет что-то только на этом компьютере.
max conversations rebuild [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--max-chats <n> | at most this many chats in one run; 20 if not given. |
--max-chunks <n> | at most this many chunks embedded in one run; 2000 if not given. |
Returns: conversation preparation — model, model_available, built, embedded, left, messages; every field: max commands info conversations rebuild
Example: max personal conversations rebuild --max-chats 5
max conversations consents
remembered analysis permissions for this account's chats and provider endpoints
max conversations consents list
which chats and provider endpoints you allowed to analyse, and when
max conversations consents list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
Returns: analysis consent — chat, provider, at; every field: max commands info conversations consents list
Example: max personal conversations consents list
max conversations consents remove
forget analysis permissions so the next analysis asks again
Меняет что-то только на этом компьютере.
max conversations consents remove [options]| Опция | Что делает |
|---|---|
--chat <chat> | revoke only this chat's consents; defaults to every chat. |
--consent-provider <identity> | exact provider identity from consents list; defaults to every provider. |
Returns: analysis consent revocation — revoked; every field: max commands info conversations consents remove
Example: max personal conversations consents remove --chat "Book club"
max conversations embed
compute a vector for each chunk of a chat's conversations for search by meaning — on this machine, or with --embedding-provider through a service and your key; resumes where it stopped; without --chat, every built chat with chunks left, on this machine only
Отправляет текст во внешний сервис.
max conversations embed [options]| Опция | Что делает |
|---|---|
--chat <chat> | a chat: its id, or part of its title. |
--model <model> | local: a model id from models list (default: embeddinggemma); remote: the provider's model. |
--embedding-provider <provider> | embedding provider: local or openai; flags override profile settings. |
--base-url <url> | a server with OpenAI's /v1/embeddings: Gemini, Jina, or Ollama and LM Studio on this machine. |
--dims <n> | remote: the vector size — needed with --base-url; shortens an OpenAI model's. |
--threads <n> | local: threads in all (default: min(8, cores)). |
--concurrency <n> | remote: requests at once (default: 4). |
--max-tokens <n> | remote: stop before a run that could send more tokens than this. |
--max-chats <n> | at most this many chats in one run; 20 if not given. |
--max-chunks <n> | at most this many chunks embedded in one run; 2000 if not given, and no limit with --chat. |
Returns: conversation embedding — chat, model, embedded, skipped, model_available, built, left, messages; every field: max commands info conversations embed
Example: max personal conversations embed --chat "Book club"
max attachments
the files of stored messages: their text in the local store, where search finds it
max attachments extract
read the text of downloaded files — text, PDF/DOCX text layers, ODT/ODS/XLSX/PPTX/EPUB — into the local store, where search finds them
Меняет что-то только на этом компьютере.
max attachments extract [options]| Опция | Что делает |
|---|---|
--chat <chat> | only this chat's files; a chat: its id, or part of its title. |
--from-dir <dir> | match files in this nonrecursive directory; needs --chat. |
--cursor <cursor> | continue from the cursor returned by a bounded extraction. |
--download | first save the files no download saved yet, from the messenger, into --output-dir. |
--output-dir <dir> | with --download, where to save them; created if missing. |
--limit <n> | read at most this many files; run it again to continue. |
--ocr | explicitly call models.ocr for bulk image and scanned-PDF text extraction. |
--concurrency <n> | remote: requests at once (default: 4). |
Returns: attachment extraction — extracted, failed, needs_agent, complete, unchanged, not_downloaded, unsupported, engines_missing, and 15 more; every field: max commands info attachments extract
Example: max personal attachments extract --chat "Book club" --limit 10
max attachments list
files of stored messages, newest first: where each was saved and whether its text is held — never the text
max attachments list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
--all | every row, no paging. |
Returns: attachment — kind, message, position, url, name, title, mime, size, and 8 more; every field: max commands info attachments list
Example: max personal attachments list --limit 10
max attachments show
read a bounded chunk of one retained attachment; JSON includes base64 bytes
max attachments show <chat> [message] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title; or a msg: locator alone. |
message | необязательный | the message id. |
| Опция | Что делает |
|---|---|
--attachment <n> | file position from 1; required for several files. |
--page <n> | render one PDF page as PNG, from 1; optional unpdf/canvas, no OCR. |
--offset-bytes <n> | byte offset from 0. |
--chunk-bytes <n> | bytes to return, 1–1048576 (default524288). |
--expected-fingerprint <hash> | require the whole file SHA-256 from the preceding chunk. |
Returns: attachment bytes — ref, attachment, name, mime_type, total_bytes, sha256, offset_bytes, read_bytes, and 4 more; every field: max commands info attachments show
Example: max personal attachments show "Book club" 101 --attachment 1
max attachments update
keep the text an agent read from a file — a scan, a photo — so search finds it; nothing is sent
Меняет что-то только на этом компьютере.
max attachments update <chat> [message] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | необязательный | the message id. |
| Опция | Что делает |
|---|---|
--attachment <n> | which file of the message, from 1; needed when it has more than one. |
--text-file <path> | read the text from this file; - or none reads stdin. |
Returns: attachment text change — ref, attachment, origin, chars, replaced; every field: max commands info attachments update
Example: max personal attachments update "Book club" 101 --text-file ./transcript.txt
max attachments download
archive media from selected chats; verify and keep existing copies
Меняет что-то только на этом компьютере.
max attachments download <dir> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | archive directory; created if missing. |
| Опция | Что делает |
|---|---|
--chat <chat> | only this chat; repeat for more; a chat: its id, or part of its title. По умолчанию: ``. |
--since-time <time> | include messages from this ISO timestamp with a time zone. |
--pause <duration> | pause between history pages. По умолчанию: 5s. |
Returns: media archive — directory, chats, saved, existing, complete; every field: max commands info attachments download
Example: max personal attachments download ./media-archive
max attachments check
rehash all archived files without connecting to the messenger
max attachments check <dir>| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | archive directory. |
Returns: media archive check — valid, checked, files; every field: max commands info attachments check
Example: max personal attachments check ./media-archive
max attachments jobs
daily media archive timers for this profile
max attachments jobs install
install a Linux daily archive timer for this directory; starts nothing
Меняет что-то только на этом компьютере.
max attachments jobs install <dir> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | archive directory, used with the same profile as install. |
| Опция | Что делает |
|---|---|
--at <HH:mm> | daily start time. По умолчанию: 03:00. |
--timezone <zone> | IANA time zone of the daily start time. По умолчанию: UTC. |
--chat <chat> | only this chat; repeat for more; a chat: its id, or part of its title. По умолчанию: ``. |
--since-time <time> | include messages from this ISO timestamp with a time zone. |
Returns: media archive timer — name, installed, service_path, timer_path, active, action; every field: max commands info attachments jobs install
Example: max personal attachments jobs install ./media-archive
max attachments jobs start
enable the installed archive timer at login and start its daily schedule
Меняет что-то только на этом компьютере.
max attachments jobs start <dir>| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | archive directory, used with the same profile as install. |
Returns: media archive timer — name, installed, service_path, timer_path, active, action; every field: max commands info attachments jobs start
Example: max personal attachments jobs start ./media-archive
max attachments jobs stop
disable the archive timer; a download already running finishes
Меняет что-то только на этом компьютере.
max attachments jobs stop <dir>| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | archive directory, used with the same profile as install. |
Returns: media archive timer — name, installed, service_path, timer_path, active, action; every field: max commands info attachments jobs stop
Example: max personal attachments jobs stop ./media-archive
max attachments jobs status
show whether this directory's archive timer is installed and active
max attachments jobs status <dir>| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | archive directory, used with the same profile as install. |
Returns: media archive timer — name, installed, service_path, timer_path, active, action; every field: max commands info attachments jobs status
Example: max personal attachments jobs status ./media-archive
max attachments jobs uninstall
remove this directory's stopped archive timer; keep archived files
Меняет что-то только на этом компьютере.
max attachments jobs uninstall <dir>| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | archive directory, used with the same profile as install. |
Returns: media archive timer — name, installed, service_path, timer_path, active, action; every field: max commands info attachments jobs uninstall
Example: max personal attachments jobs uninstall ./media-archive
max attachments move
move older images into another verified archive; remember their new locations
Меняет что-то только на этом компьютере.
max attachments move <dir> <archive-dir> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
dir | обязательный | source media archive directory. |
archive-dir | обязательный | destination archive directory; created if needed. |
| Опция | Что делает |
|---|---|
--before-time <time> | move images whose message date is before this ISO timestamp with zone. |
--dry-run | show counts and bytes without moving files or creating the destination. |
Returns: media archive move — directory, archive_directory, before_time, selected, selected_bytes, moved, moved_bytes, already_archived, and 3 more; every field: max commands info attachments move
Example: max personal attachments move ./media-archive ./older-images --before-time 2026-10-01T00:00:00Z --dry-run
max tags
your own labels on chats, people, messages and tasks, kept in the local store and never sent; tag: in a search finds them
max tags rebuild
derive local group/channel tags from cached metadata using keyword rules
Меняет что-то только на этом компьютере.
max tags rebuild [options]| Опция | Что делает |
|---|---|
--chat <chat> | a stored group/channel; repeat to select several. По умолчанию: ``. |
--limit <n> | process at most 1–500 chats. По умолчанию: 50. |
--sync-first | read current descriptions from the messenger before classifying. |
--dry-run | preview cached classification without changing the store. |
Returns: automatic tags — items, has_more, dry_run; every field: max commands info tags rebuild
Example: max personal tags rebuild --chat "Book club" --dry-run
max tags add
put tags on one chat, person, message or task
Меняет что-то только на этом компьютере.
max tags add <tag> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
tag | обязательный | one or more tags: 1–32 letters a–z, digits and hyphens; upper case is lowered. |
| Опция | Что делает |
|---|---|
--chat <chat> | the chat to tag, or the chat of --message; a chat: its id, or part of its title. |
--contact <person> | the person to tag: their id, @username or name, as the local store knows them. |
--message <message> | the message to tag: its id in --chat, or a msg: locator alone. |
--task <id> | the task to tag: its id or key, as tasks list shows it. |
Returns: tag change — target, unchanged, added, removed; every field: max commands info tags add
Example: max personal tags add reading --chat "Book club"
max tags remove
take tags off one chat, person, message or task
Меняет что-то только на этом компьютере.
max tags remove <tag> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
tag | обязательный | one or more tags: 1–32 letters a–z, digits and hyphens; upper case is lowered. |
| Опция | Что делает |
|---|---|
--chat <chat> | the chat to untag, or the chat of --message; a chat: its id, or part of its title. |
--contact <person> | the person to untag: their id, @username or name, as the local store knows them. |
--message <message> | the message to untag: its id in --chat, or a msg: locator alone. |
--task <id> | the task to untag: its id or key, as tasks list shows it. |
--claim <claim> | remove only this ownership claim: manual or auto. |
Returns: tag change — target, unchanged, added, removed; every field: max commands info tags remove
Example: max personal tags remove reading --chat "Book club"
max tags list
what is tagged: this account's chats, messages and tasks, and the people of its messenger
max tags list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
Returns: tagging — tag, type, target, name, sources, created_at; every field: max commands info tags list
Example: max personal tags list, max personal tags list tag:reading
max mentions
phones, e-mail, links, documents, names and addresses in stored messages
max mentions list
this account's mentions matching the query, newest first; --new for those found since the last review
max mentions list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | fields below; a bare word is a value, so a phone typed with 8 finds it written with +7. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
--new | undecided mentions found since the last --new run that showed them all; the first run shows every one. |
Returns: mention — id, kind, value, domain, confidence, status, field, author, and 5 more; every field: max commands info mentions list
Example: max personal mentions list kind:phone, max personal mentions list domain:google.com, max personal mentions list --new
max mentions domains
the sites this account's links point to, most linked first, with chats and first and last time
max mentions domains [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | narrows the links counted: the fields below; dismissed links are never counted. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
Returns: mention domain — domain, links, chats, first_at, last_at; every field: max commands info mentions domains
Example: max personal mentions domains, max personal mentions domains status:found
max mentions places
confirmed addresses, in every account, most mentioned first; mentions confirm <id> adds one
max mentions places [options]| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
Returns: place — id, address, mentions; every field: max commands info mentions places
Example: max personal mentions places
max mentions show
one mention, the text around it, and how many other places hold its value
max mentions show <id>| Аргумент | Обязательность | Что это |
|---|---|---|
id | обязательный | the mention's id, from mentions list. |
Returns: mention details — id, kind, value, domain, confidence, status, field, author, and 9 more; every field: max commands info mentions show
Example: max personal mentions show 12
max mentions confirm
say what a mention is: a phone's owner everywhere it is written, the stored document, who a name means, an address as a place
Меняет что-то только на этом компьютере.
max mentions confirm <id> [person] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
id | обязательный | the mention's id, from mentions list. |
person | необязательный | person: or organization: that owns the phone or the e-mail address; person: a name means; a document or a street address needs none. |
| Опция | Что делает |
|---|---|
--all-in-chat | a name: also every undecided place of the same name in its chat. |
--as-owner | record it as yours although an agent's terminal runs the tool (AI_AGENT or CLAUDECODE set). |
Returns: mention decision — kind, value, status, target, mentions, proposal; every field: max commands info mentions confirm
Example: max personal mentions confirm 12 person:7, max personal mentions confirm 15, max personal mentions confirm 31 person:7 --all-in-chat
max mentions reject
not a real mention: dismiss its value everywhere and on later syncs; a name only where it is
Меняет что-то только на этом компьютере.
max mentions reject <id> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
id | обязательный | the mention's id, from mentions list. |
| Опция | Что делает |
|---|---|
--all-in-chat | a name: also every undecided place of the same name in its chat. |
--as-owner | record it as yours although an agent's terminal runs the tool (AI_AGENT or CLAUDECODE set). |
Returns: mention decision — kind, value, status, target, mentions, proposal; every field: max commands info mentions reject
Example: max personal mentions reject 12
max mentions rebuild
find the mentions of every stored message again; decisions are kept
Меняет что-то только на этом компьютере.
max mentions rebuild [kind]| Аргумент | Обязательность | Что это |
|---|---|---|
kind | необязательный | only this kind: person-name after people were added or renamed. Одно из: phone, email, url, document, person-name, place. |
Returns: mention rebuild — messages, attachments, documents, notes, emails, mentions; every field: max commands info mentions rebuild
Example: max personal mentions rebuild, max personal mentions rebuild person-name
max images
search pictures by what they show, with a model on this machine
max images embed
compute a vector for each picture the store knows and has none for — downloading it through the messenger, keeping only the vector; needs picture_search on in the profile and images models download clip-b32; resumes where it stopped
Меняет что-то только на этом компьютере.
max images embed [options]| Опция | Что делает |
|---|---|
--chat <chat> | only this chat; a chat: its id, or part of its title. |
--limit <n> | at most this many pictures in one run; 100 if not given. |
Returns: image embedding — model, embedded, skipped, failed, more; every field: max commands info images embed
Example: max personal images embed, max personal images embed --limit 500
max images models
models that read pictures, for images embed and picture search
max images models list
the picture models, which are downloaded, and which one is the default
max images models list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms; this list filters by none yet. |
Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: max commands info images models list
Next usually: max models download <model>, max models set <model>, max images models download <model>
Example: max personal images models list
max images models download
download a picture model once, checked against the sha256 this version expects
Читает из внешнего сервиса.
max images models download <model>| Аргумент | Обязательность | Что это |
|---|---|---|
model | обязательный | a model id from images models list. |
Returns: model — id, kind, title, languages, size_bytes, downloaded, default, path, and 6 more; every field: max commands info images models download
Next usually: max models download <model>, max models set <model>
Example: max personal images models download clip-b32
max metadata
cached group/channel descriptions for local automatic tags
max metadata show
a stored chat's cached description, as automatic tags read it
max metadata show [options]| Опция | Что делает |
|---|---|
--chat <chat> | a stored chat. |
Returns: chat metadata — chat_id, metadata; every field: max commands info metadata show
Example: max personal metadata show --chat 7
max metadata sync
fetch group and channel descriptions again and cache them
Меняет что-то только на этом компьютере.
max metadata sync [options]| Опция | Что делает |
|---|---|
--chat <chat> | stored group/channel; repeat for several. По умолчанию: ``. |
--only-missing | only chats with no metadata yet; without --chat, every stored group/channel. |
--limit <n> | process at most 1–500 chats. По умолчанию: 50. |
Returns: chat metadata refresh — chats, has_more; every field: max commands info metadata sync
Example: max personal metadata sync --chat 7 --chat 8, max personal metadata sync --only-missing --limit 20
max search
find things by text: one resource when you know it (messages, notes), or search all across messages and notes; for mail, the separate memo CLI: memo search mail
max search all
search messenger messages and notes in the local store, and by default the messenger's server for messages too (notes and events are local only; --backend archive or --offline keeps it to the local store), calendar events when the store holds a calendar, and meeting transcripts, chat and summaries when it holds a meeting account — best match first; not mail (the separate memo CLI searches it: memo search mail), tasks, people, memories or projects. Use it when you do not know where something was written; search messages or notes reads one kind with all its fields
max search all <query> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | обязательный | strict Lucene query: words, "phrases", AND/OR/NOT, field groups and date ranges. |
| Опция | Что делает |
|---|---|
--only <resources> | only these resources, separated by commas: messages, notes, events, meetings. |
--source <accounts> | only these accounts, separated by commas: provider:account as a hit shows it, a provider, a kind or group:; each resource reads the ones of its kind. |
--limit <n> | how many. |
--page <n> | which page, starting at 1. |
--exact | bare words and quotes match their exact form only, as exact:word does. |
--timezone <zone> | the IANA timezone for calendar date boundaries. |
--backend <archive|server|both> | where to search: the local archive, the messenger's server (default: both; message discovery uses archive only), or both. |
--server-time <duration> | stop waiting for the server after this long (default: 5s). |
Returns: hit — kind, ref, provider, account, title, timestamp, excerpt, url, and 17 more; every field: max commands info search all
Example: max personal search all draft
max search messages
search messenger messages in the local store and on the messenger's server (--backend); optionally fetches new messages with --sync-first; --discover searches the archive only
max search messages [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | strict Lucene query: words, "phrases", AND/OR/NOT, field groups and date ranges; with --saved, more words AND-ed to it. |
| Опция | Что делает |
|---|---|
--sync-first | first fetch new messages within the chat, time and message bounds. |
--max-chats <n> | refresh at most this many chats (default: 5). |
--sync-time <duration> | stop fetching after this long (default: 30s). |
--max-messages <n> | fetch at most this many messages total (default: 500). |
--thread | the stored reply chain and replies instead of time neighbours; falls back when no graph exists. |
--thread-hops <n> | at most this many links from the hit (default: 8). |
--thread-messages <n> | at most this many messages in each thread context (default: 50). |
--thread-bytes <n> | at most this many bytes of whole messages and links in each context (default: 65536). |
--thread-within <duration> | messages within this long either side of the hit (default: 1d). |
--backend <archive|server|both> | where to search: the local archive, the messenger's server (default: both; message discovery uses archive only), or both. |
--server-time <duration> | stop waiting for the server after this long (default: 5s). |
--source <accounts> | every account of this messenger held in the store; personal, bots or all — the same as in: in the query; or a list: group:work,telegram:Alice. |
--limit <n> | how many. |
--page <n> | which page, starting at 1. |
--newest | newest first instead of best first. |
--exact | bare words and quotes match their exact form only, as exact:word does; text: still matches every form. |
--context <n> | messages before and after each hit; 2 in the terminal, 0 otherwise. |
--discover | find partial word matches, eligible replies and, once messages have vectors, messages close in meaning in the local archive; results are evidence, not confirmed answers. |
--timezone <zone> | the IANA timezone for calendar date boundaries. |
--saved <name|id> | run a saved search or an earlier run; options typed here replace its own. |
Returns: message hit — ref, timestamp, sender_name, sender_is_me, chat_title, excerpt, matched_in, score, and 9 more; every field: max commands info search messages
Next usually: max messages links <chat> <message>, max messages transcribe <chat> <message>, max stats messages evidence <message>
Example: max personal search messages draft --limit 10
max search notes
search the notes — written in memo, or imported from a notes folder — by words and, with the local text model, by meaning; each hit says which found it and what it links to
max search notes <query> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | обязательный | strict Lucene query: words, "phrases", AND/OR/NOT, tag:, source:internal (written in memo) or source:file (from a notes folder) and date ranges. |
| Опция | Что делает |
|---|---|
--source <accounts> | only these notes accounts, separated by commas: notes:internal for notes written in memo, notes: as a hit shows it, notes, documents or group:. |
--filter <query> | a query every hit must also match, found by words or by meaning. |
--limit <n> | how many. |
--page <n> | which page, starting at 1. |
--exact | words as written only; meaning is not searched. |
--timezone <zone> | the IANA timezone for calendar date boundaries. |
Returns: note hit — ref, source, folder_id, path, title, updated_at, kind, provider, and 6 more; every field: max commands info search notes
Example: max personal search notes draft --limit 10
max search conversations
the conversations nearest to a query in meaning and in words, best first, in one chat or every one — meaning after conversations embed; runs on this machine
Читает из внешнего сервиса.
max search conversations <query> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | обязательный | what to look for, in your own words, in any language the model reads. |
| Опция | Что делает |
|---|---|
--model <model> | local: a model id from models list (default: embeddinggemma); remote: the provider's model. |
--embedding-provider <provider> | embedding provider: local or openai; flags override profile settings. |
--base-url <url> | a server with OpenAI's /v1/embeddings: Gemini, Jina, or Ollama and LM Studio on this machine. |
--dims <n> | remote: the vector size — needed with --base-url; shortens an OpenAI model's. |
--max-chats <n> | at most this many chats; 5 with --sync-first, 20 with --catch-up if not given. |
--max-chunks <n> | at most this many chunks embedded in one run; 2000 if not given. |
--sync-first | first fetch new messages within the chat, time and message bounds. |
--sync-time <duration> | stop fetching after this long (default: 30s). |
--max-messages <n> | fetch at most this many messages total (default: 500). |
--chat <chat> | only this chat: a chat: its id, or part of its title. |
--since-time <time> | only those still going at this ISO 8601 time, or 30m / 2h / 1d ago, or later. |
--filter <query> | strict Lucene filter: any message in a conversation must match; does not change the meaning query. |
--source <accounts> | accounts to search: personal, bots, all, a provider, or a list like group:work,telegram:Alice,email:me@example.com; defaults to the active account. |
--timezone <zone> | IANA timezone for filter dates; system timezone by default. |
--limit <n> | how many. |
--catch-up | first build and embed, on this machine, the chats in scope that changed or were never built — within --max-chats and --max-chunks. |
Returns: conversation hit — summary, chunk, score, by, stale, source, locator, matched_in; every field: max commands info search conversations
Example: max personal search conversations "Reviewing the project draft"
max searches
saved searches and the history of search messages and stats messages show, kept in the local store; --saved runs one
max searches create
save a search under a name without running it; search messages --saved runs it
Меняет что-то только на этом компьютере.
max searches create <name> [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
name | обязательный | up to 64 letters a–z, digits and hyphens, not only digits. |
query | необязательный | the query, as for search messages; none matches every stored message. |
| Опция | Что делает |
|---|---|
--chat <chat> | only this chat — the same as chat: in the query; a chat: its id, or part of its title. |
--source <accounts> | every account of this messenger held in the store; personal, bots or all — the same as in: in the query; or a list: group:work,telegram:Alice,email:me@example.com. |
--limit <n> | how many. |
--newest | newest first instead of best first. |
--exact | bare words and quotes match their exact form only, as exact:word does; text: still matches every form. |
--context <n> | messages before and after each hit. |
--timezone <zone> | the IANA timezone for calendar date boundaries. |
--by <group> | count by chat, sender, day or hour for stats messages show --saved. |
--selection <json> | save the resolved parent ranking query and options from a drilldown. |
--replace | overwrite a saved search of the same name. |
Returns: saved search — id, name, command, params, language, version, fields_version, created_at, and 2 more; every field: max commands info searches create
Example: max personal searches create project-drafts draft --chat "Project room"
max searches show
one saved search or earlier run: its query, options and how often it ran
max searches show <name|id>| Аргумент | Обязательность | Что это |
|---|---|---|
name|id | обязательный | a saved search's name, or the id of any row of searches history. |
Returns: saved search — id, name, command, params, language, version, fields_version, created_at, and 2 more; every field: max commands info searches show
Example: max personal searches show project-drafts
max searches list
the saved searches, by name
max searches list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms; this list filters by none yet. |
Returns: saved search — id, name, command, params, language, version, fields_version, created_at, and 2 more; every field: max commands info searches list
Example: max personal searches list
max searches history
the searches and counts that ran, newest first — saved ones included; never their results
max searches history [options]| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
--all | every row, no paging. |
Returns: saved search — id, name, command, params, language, version, fields_version, created_at, and 2 more; every field: max commands info searches history
Example: max personal searches history --limit 10
max searches delete
delete a saved search, or one run from the history
Меняет что-то только на этом компьютере.
max searches delete <name|id>| Аргумент | Обязательность | Что это |
|---|---|---|
name|id | обязательный | a saved search's name, or the id of any row of searches history. |
Returns: saved search — id, name, command, params, language, version, fields_version, created_at, and 2 more; every field: max commands info searches delete
Example: max personal searches delete project-drafts
max searches clear
empty the history; saved searches stay
Меняет что-то только на этом компьютере.
max searches clearReturns: search history clear — cleared; every field: max commands info searches clear
Example: max personal searches clear
max polls
read a poll, vote in it, close your own, create one
max polls show
a poll and its answer ids, as the message carries it now
max polls show <chat> <message>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the id of the message that carries the poll. |
Returns: poll — chat_id, message_id, question, answers, closed, multiple, anonymous, voters, and 3 more; every field: max commands info polls show
Example: max personal polls show "Book club" 101
max polls vote
vote in a poll, or take your vote back; the others see it unless the poll is anonymous
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max polls vote <chat> <message> [answers] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the id of the message that carries the poll. |
answers | необязательный | answer ids, as polls show prints them. |
| Опция | Что делает |
|---|---|
--retract | take your vote back. |
Returns: poll change — operation_id, poll; every field: max commands info polls vote
Example: max personal polls vote "Book club" 101 0
max polls close
close your own poll; nobody can vote after that, and it cannot be reopened
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max polls close <chat> <message>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the id of your own message that carries the poll. |
Returns: poll change — operation_id, poll; every field: max commands info polls close
Example: max personal polls close "Book club" 101
max polls create
send a poll to a chat, as a message of its own; public unless --anonymous
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max polls create <chat> <question> <answers> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
question | обязательный | the question. |
answers | обязательный | two answers or more. |
| Опция | Что делает |
|---|---|
--multiple | people may pick several answers. |
--anonymous | nobody sees who voted for what. |
--revote | people may change their vote. |
--silent | send without a notification. |
--send-as <id> | post as one of the identities chats send-as lists; required where the chat posts as someone else by default. |
--operation-id <id> | repeat a create whose outcome was unknown, without risking a second poll. |
Returns: message write — operation_id, message, messages, scheduled_for; every field: max commands info polls create
Example: max personal polls create "Book club" "Which day?" Monday Tuesday
max reactions
react to messages
max reactions add
put your reaction on a message; it replaces the one you had
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max reactions add <chat> <message> <emoji>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the message id. |
emoji | обязательный | one emoji, for example 👍. |
Returns: reaction change — operation_id, chat_id, message_id, reaction; every field: max commands info reactions add
Example: max personal reactions add "Book club" 101 👍
max reactions remove
take your reaction off a message
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max reactions remove <chat> <message>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
message | обязательный | the message id. |
Returns: reaction change — operation_id, chat_id, message_id, reaction; every field: max commands info reactions remove
Example: max personal reactions remove "Book club" 101
max recipients
the chats this profile may send to, when the list is on
max recipients list
the chats on the list; empty and off until the first add
max recipients list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
Returns: recipient — id, title, added_at, partner_id; every field: max commands info recipients list
Example: max personal recipients list
max recipients add
allow sending to this chat; the first add turns the list on
Меняет что-то только на этом компьютере.
max recipients add <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | a chat: its id, or part of its title. |
Returns: recipient change added — id, title, added; every field: max commands info recipients add
Example: max personal recipients add "Book club"
max recipients remove
stop allowing this chat; the list stays on
Меняет что-то только на этом компьютере.
max recipients remove <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | chat id, or the title as the list shows it. |
Returns: recipient change removed — id, title, removed; every field: max commands info recipients remove
Example: max personal recipients remove "Book club"
max recipients clear
delete the list, which turns it off: this profile may send to any chat again
Меняет что-то только на этом компьютере.
max recipients clearReturns: recipient change off — off, was_on; every field: max commands info recipients clear
Example: max personal recipients clear
max sends
every attempt to send from this profile — never the text
max sends list
attempts to send, newest first: sent, refused, failed, or not known
max sends list [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
| Опция | Что делает |
|---|---|
--limit <n> | how many to show. |
--page <n> | which page, starting at 1. |
--all | every row, no paging. |
Returns: send attempt — at, profile, chat_id, outcome, kind, action, people, message_id, and 16 more; every field: max commands info sends list
Example: max personal sends list --limit 10
max inbox
other people's unread messages in every chat; --new for what arrived since the last check
max inbox [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | from when: date>2h, date>2026-10-01; the saved point stays put. |
| Опция | Что делает |
|---|---|
--new | what arrived since the last check, each message once — for scheduled runs. |
--limit <n> | at most this many per chat, the newest. |
--all | muted and archived chats too — left out unless they mention you or reply to you. |
--transcribe | turn voice messages not heard yet into text — by the messenger where it can, else by a model on this machine; can take minutes. |
--model <model> | which downloaded speech model hears them, with --transcribe; models list shows them. |
Returns: message summary — ref, chat_id, timestamp, sender_name, sender_is_me, outgoing, text, attachments, and 4 more; every field: max commands info inbox
Next usually: max messages links <chat> <message>, max messages transcribe <chat> <message>, max stats messages evidence <message>
Example: max personal inbox --limit 10
max review
every message, yours too, in chats that changed since a point — for reviewing who owes what
max review [query] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | where the last review ended and which chat: date>2h, chat:"Book club"; 3 days ago if no date. |
| Опция | Что делает |
|---|---|
--unanswered [duration] | only questions to you or a group's admins that nobody answered, asked at least this long ago — 4h, 1d; 24h if not given. |
--all | muted and archived chats too — left out unless they mention you or reply to you. |
--transcribe | turn voice messages not heard yet into text — by the messenger where it can, else by a model on this machine; can take minutes. |
--model <model> | which downloaded speech model hears them, with --transcribe; models list shows them. |
--new | what changed since the last review --new, a point per chat — for scheduled runs. |
Returns: message summary — ref, chat_id, timestamp, sender_name, sender_is_me, outgoing, text, attachments, and 4 more; every field: max commands info review
Next usually: max messages links <chat> <message>, max messages transcribe <chat> <message>, max stats messages evidence <message>
Example: max personal review "date>2h"
max replies
rules that answer messages for you, kept in a file of this profile
max replies add
add a rule with every default written out, off until you edit and enable it
Меняет что-то только на этом компьютере.
max replies add <id>| Аргумент | Обязательность | Что это |
|---|---|---|
id | обязательный | lower-case letters, digits and -; unique in this profile. |
Returns: add a rule with every default written out, off until you edit and enable it
Example: max personal replies add 1
max replies on
enable one reply rule; its template must be ready
Меняет что-то только на этом компьютере.
max replies on <id>| Аргумент | Обязательность | Что это |
|---|---|---|
id | обязательный | the rule's id. |
Returns: enable one reply rule; its template must be ready
Example: max personal replies on 1
max replies off
disable one reply rule
Меняет что-то только на этом компьютере.
max replies off <id>| Аргумент | Обязательность | Что это |
|---|---|---|
id | обязательный | the rule's id. |
Returns: disable one reply rule
Example: max personal replies off 1
max replies edit
change only the named fields of a reply rule; lists replace the whole list
Меняет что-то только на этом компьютере.
max replies edit <id> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
id | обязательный | the rule's id. |
| Опция | Что делает |
|---|---|
--do <actions> | actions: reply, task, or both, comma-separated. |
--kinds <kinds> | chat kinds: dialog, group; comma-separated, empty for any. |
--allow-chats <ids> | only these chat ids, comma-separated; empty for any. |
--deny-chats <ids> | leave these chat ids out, comma-separated; empty clears. |
--words <words> | match any of these whole words, comma-separated; empty clears. |
--question | match only questions. |
--no-question | do not require a question. |
--mentions-me | require a mention of you or a reply to you. |
--no-mentions-me | do not require a mention of you or a reply to you. |
--allow-people <ids> | only these sender ids, comma-separated; empty for any. |
--deny-people <ids> | leave these sender ids out, comma-separated; empty clears. |
--contacts-only | match only contacts. |
--no-contacts-only | do not require a contact. |
--template <text> | the reply template. |
--template-mode <mode> | legacy template mode: fill-only or may-reword; use ai blocks instead. |
--as-reply | send as a reply to the matched message. |
--no-as-reply | send without linking to the matched message. |
--per-chat <limit> | at most this many per chat, such as 1/12h. |
--per-person <limit> | at most this many per person, such as 1/1d. |
--outside <hours> | answer outside this 24-hour window, such as 09:00-19:00. |
--days <days> | days of the working window, such as mon-fri or sat,sun. |
--timezone <zone> | the IANA timezone for the working window. |
--no-hours | clear the working window. |
Returns: change only the named fields of a reply rule; lists replace the whole list
Example: max personal replies edit 1
max replies audience
show the reply audience, who the rules may answer, or replace its named fields; a new file answers everyone a rule matches
Меняет что-то только на этом компьютере.
max replies audience [options]| Опция | Что делает |
|---|---|
--reply <mode> | answer all or only listed senders and chats: all, listed. |
--allow-people <ids> | replace allowed sender ids, comma-separated; empty clears. |
--allow-chats <ids> | replace allowed chat ids, comma-separated; empty clears. |
--deny-people <ids> | replace denied sender ids, comma-separated; empty clears; deny wins. |
--deny-chats <ids> | replace denied chat ids, comma-separated; empty clears; deny wins. |
Returns: show the reply audience, who the rules may answer, or replace its named…
Example: max personal replies audience
max replies consents
consent for reply models once per profile and endpoint, with chat opt-outs
max replies consents show
show the reply model consent and chat opt-outs; never calls a model
max replies consents showReturns: show the reply model consent and chat opt-outs; never calls a model
Example: max personal replies consents show
max replies consents grant
allow incoming message data to go to the configured reply model for this profile; chat opt-outs remain
Меняет что-то только на этом компьютере.
max replies consents grantReturns: allow incoming message data to go to the configured reply model for this…
Example: max personal replies consents grant
max replies consents revoke
revoke the profile's reply model consent immediately; chat opt-outs remain
Меняет что-то только на этом компьютере.
max replies consents revokeReturns: revoke the profile's reply model consent immediately; chat opt-outs remain
Example: max personal replies consents revoke
max replies consents deny
keep this chat's incoming data away from the reply model
Меняет что-то только на этом компьютере.
max replies consents deny <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | the native chat id, used as written; never resolved over the network. |
Returns: keep this chat's incoming data away from the reply model
Example: max personal replies consents deny Team
max replies consents allow
remove this chat's model opt-out; does not grant profile consent
Меняет что-то только на этом компьютере.
max replies consents allow <chat>| Аргумент | Обязательность | Что это |
|---|---|---|
chat | обязательный | the native chat id, used as written; never resolved over the network. |
Returns: remove this chat's model opt-out; does not grant profile consent
Example: max personal replies consents allow Team
max replies test
what the rules would have answered in the stored messages, to whom and why — sends nothing, changes nothing, never connects
max replies test [rule] [options]| Аргумент | Обязательность | Что это |
|---|---|---|
rule | необязательный | only this rule, by its id; every rule in file order if not given. |
| Опция | Что делает |
|---|---|
--since-time <time> | from this ISO 8601 time, or 2h / 1d ago; 7d ago if not given. |
--ai | call the configured reply model with stored message data; requires reply consent, otherwise uses fallback. |
Returns: what the rules would have answered in the stored messages, to whom and why —…
Example: max personal replies test
max replies pause
stop every reply rule of this profile at once, a running serve too; resume undoes it
Меняет что-то только на этом компьютере.
max replies pauseReturns: stop every reply rule of this profile at once, a running serve too; resume…
Example: max personal replies pause
max replies resume
let the reply rules answer again after pause
Меняет что-то только на этом компьютере.
max replies resumeReturns: let the reply rules answer again after pause
Example: max personal replies resume
max replies status
whether the rules may send, which are on, and who they may answer
max replies statusReturns: whether the rules may send, which are on, and who they may answer
Example: max personal replies status
max schedule
run a max command or an agent later or on a timer (systemd, launchd, Task Scheduler); an agent cannot send
max schedule command
run max <args…> on a timer — reads save what they read, so this is how a chat's history fills the store
Меняет что-то только на этом компьютере.
max schedule command <name> <args> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
name | обязательный | lowercase letters, digits and dashes. |
args | обязательный | the max command after its name, e.g. -- messages list --limit 50. |
| Опция | Что делает |
|---|---|
--every <duration> | repeat: 30m, 2h, 1d. |
--at <HH:MM> | every day at this local time; 'mon 09:00' once a week, 'mon,fri 09:00' on several days (mon, tue, wed, thu, fri, sat, sun); repeat it for more times. |
--at-time <time> | one run: 30m, 2d from now, or an ISO time; the schedule removes itself after it. |
--notify-on <when> | desktop notice after a run (default failures for an agent that repeats with --every, else always). Одно из: always, failures, never. |
--deliver-to <route> | also send the result, when --notify-on says so, by the owner's own tg or mail: telegram-bot:/, or email:/; repeat it for more. |
Returns: run max <args…> on a timer — reads save what they read, so this is how a…
Example: max personal schedule command health --every 1h -- doctor, max personal schedule command morning-check --at 08:00 -- doctor
max schedule agent
start an agent (claude or codex) with a prompt on a timer; it runs with MAX_READ_ONLY=1, so it reads and drafts and cannot send — its answer is kept and you are notified
Меняет что-то только на этом компьютере.
max schedule agent <name> <harness> <prompt> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
name | обязательный | lowercase letters, digits and dashes. |
harness | обязательный | the agent to start. Одно из: claude, codex. |
prompt | обязательный | what to do, e.g. "run the daily follow-up review: max skill show follow-ups". |
| Опция | Что делает |
|---|---|
--model <model> | the model it runs on: an alias such as sonnet, or a model id; "" for the harness's default (default sonnet for claude, codex's own for codex, or the config file's). |
--max-cost <usd> | claude only: stop a run that costs more than this, in US dollars. |
--max-cost-per-day <usd> | claude only: start no run for the rest of the day once its runs cost this much, in US dollars; 0 for no cap (default 5, or the config file's). |
--every <duration> | repeat: 30m, 2h, 1d. |
--at <HH:MM> | every day at this local time; 'mon 09:00' once a week, 'mon,fri 09:00' on several days (mon, tue, wed, thu, fri, sat, sun); repeat it for more times. |
--at-time <time> | one run: 30m, 2d from now, or an ISO time; the schedule removes itself after it. |
--notify-on <when> | desktop notice after a run (default failures for an agent that repeats with --every, else always). Одно из: always, failures, never. |
--deliver-to <route> | also send the result, when --notify-on says so, by the owner's own tg or mail: telegram-bot:/, or email:/; repeat it for more. |
Returns: start an agent (claude or codex) with a prompt on a timer; it runs with…
Example: max personal schedule agent review claude "review what came in overnight and draft replies" --at 08:30, max personal schedule agent triage codex "list what needs an answer today" --every 2h --max-cost 1, max personal schedule agent weekly claude "review the week's open threads" --at 09:00 --model opus
max schedule list
the schedules, when they run and how their last run went
max schedule list [query]| Аргумент | Обязательность | Что это |
|---|---|---|
query | необязательный | field:value terms that narrow the list — the fields are below. |
Returns: scheduled job — name, kind, when, last, paused, notify, deliver_to, spent_today_usd, and 2 more; every field: max commands info schedule list
Example: max personal schedule list, max personal schedule list kind:agent
max schedule run
run a schedule now, as its timer would, and wait for it; a paused one runs too
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max schedule run <name> [options]| Аргумент | Обязательность | Что это |
|---|---|---|
name | обязательный | the schedule's name, as schedule list shows it. |
| Опция | Что делает |
|---|---|
--no-notify | keep the result here: send it along none of its routes. |
--deliver-to <route> | send it along only this one of its own routes; repeat it for more. |
Returns: run a schedule now, as its timer would, and wait for it; a paused one runs too
Example: max personal schedule run health
max schedule remove
stop a schedule and remove its timer; its past output stays
Меняет что-то только на этом компьютере.
max schedule remove <name>| Аргумент | Обязательность | Что это |
|---|---|---|
name | обязательный | the schedule's name, as schedule list shows it. |
Returns: stop a schedule and remove its timer; its past output stays
Example: max personal schedule remove health
max schedule pause
take a schedule off its timer and keep it; run runs it, resume puts it back
Меняет что-то только на этом компьютере.
max schedule pause <name>| Аргумент | Обязательность | Что это |
|---|---|---|
name | обязательный | the schedule's name, as schedule list shows it. |
Returns: take a schedule off its timer and keep it; run runs it, resume puts it back
Example: max personal schedule pause health
max schedule resume
put a paused schedule back on its timer
Меняет что-то только на этом компьютере.
max schedule resume <name>| Аргумент | Обязательность | Что это |
|---|---|---|
name | обязательный | the schedule's name, as schedule list shows it. |
Returns: put a paused schedule back on its timer
Example: max personal schedule resume health
max schedule exec
what a timer runs, given the schedule's file; to run one by hand, use run
Меняет что-то вне этого компьютера: в MAX или во внешнем сервисе.
max schedule exec <file>| Аргумент | Обязательность | Что это |
|---|---|---|
file | обязательный | the schedule's schedule.json in the state folder, as the timer passes it. |
Returns: what a timer runs, given the schedule's file; to run one by hand, use run
Example: max personal schedule exec ~/.local/share/max-cli/schedules/health/schedule.json
max guide
scenarios: the commands for a common task, in order, and why each
max guide [name]| Аргумент | Обязательность | Что это |
|---|---|---|
name | необязательный | one scenario; without it, the list. |
Returns: scenarios: the commands for a common task, in order, and why each
Example: max guide, max guide agent-on-a-timer --json
Коды возврата
Скрипт ветвится по коду, а не по тексту: текст меняется, код — нет.
| Код | Когда |
|---|---|
0 | получилось |
2 | validation_error |
3 | configuration_error |
4 | authentication_error |
5 | permission_error |
6 | not_found |
7 | confirmation_required |
8 | rate_limited |
9 | timeout |
10 | network_error |
11 | provider_error |
12 | provider_unavailable |
13 | invalid_response |
14 | outcome_unknown |
15 | conflict |
130 | cancelled |
1 | всё остальное |
0 и только 0 означает, что операция выполнена. 14 — outcome_unknown — означает, что
сообщение могло уйти: не отправлено и не провалено, и повторять его можно только с тем же
--operation-id.