Comandos de MAX para la cuenta personal
Chats, mensajes, contactos, búsqueda, archivos, envío y respuestas automáticas en tu cuenta.
Esta referencia reúne comandos de cuenta personal. Consulta argumentos y opciones de chats, mensajes, contactos, búsqueda, archivos y envío.
Chats, mensajes, contactos, búsqueda, archivos, envío y respuestas automáticas en tu cuenta.
Opciones globales
Se aplican a todos los comandos.
| Opción | Qué hace |
|---|---|
-V, --version | output the version number. |
-v, --verbose | more detail in what is shown: -v ids, -vv everything we know. Por defecto: 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. |
Comandos
max calls
the account's calls
max calls list
calls made and received, newest first; reading changes nothing
max calls list [query] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms; this list filters by none yet. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms; this list filters by none yet. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
query | opcional | 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
link | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats join <link>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
link | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats mark-read <chat> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats leave <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo solo en este equipo.
max chats tracking add <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo solo en este equipo.
max chats tracking remove <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
folder | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats folders create <title> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
title | obligatorio | the folder's name; the app may refuse a long one. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats folders update <folder> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
folder | obligatorio | folder id, or its title exactly. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats folders delete <folder>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
folder | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats folders order <folders>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
folders | obligatorio | 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo solo en este equipo.
max chats rules set <chat> <key> <value>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
key | obligatorio | one of: trusted, blocked, blockedNames, links, invites, forwards, blockedPeople, flood.messages, flood.minutes, flood.action, newAccount.days, newAccount.action, consent.delete, consent.remove. |
value | obligatorio | 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
Cambia algo solo en este equipo.
max chats rules unset <chat> <key>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
key | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats mute <chat> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats unmute <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats clear <chat> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats start <bot> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
bot | obligatorio | the chat with the bot — its id or its name — or the bot's link, even one never opened. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max chats app <bot> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
bot | obligatorio | the chat with the bot: its id or its name. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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. Por defecto: 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | their id, @username, or part of their name. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max contacts aliases set <person> <alias>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | the person's id, reference or known name. |
alias | obligatorio | 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
Cambia algo solo en este equipo.
max contacts aliases remove <person>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | the person's id, reference or known name. |
query | opcional | 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | the person's id, reference or known name. |
id | obligatorio | 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
Cambia algo solo en este equipo.
max contacts notes add <person> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | the person's id, reference or known name. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max contacts notes edit <person> <id> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | the person's id, reference or known name. |
id | obligatorio | the note id from contacts notes list. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max contacts notes remove <person> <id>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | the person's id, reference or known name. |
id | obligatorio | 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
Cambia algo solo en este equipo.
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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
phone | opcional | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max contacts add <person>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max contacts remove <person>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max contacts block <person>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max contacts unblock <person>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max contacts rename <person> <first-name> [last-name]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | person id — contacts lookup finds one — or part of a known name. |
first-name | obligatorio | the name you want to see for them. |
last-name | opcional | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max contacts import <file>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
file | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | their id, @username, or part of their name. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | their id, @username, or part of their name. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | their id, @username, or part of their name. |
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | their id, @username, or part of their name. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max contacts link <person> <other> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | their id, @username, or part of their name. |
other | obligatorio | the same in another messenger of the store, as : — max:Ana; me: it is you, as zoom: me. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max contacts unlink <person> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
person | obligatorio | their id, @username, or part of their name; : for another messenger. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
query | opcional | where to start or which window: id<42, date>=2026-10-01 date<2026-10-20. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | opcional | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | opcional | the message id. |
| Opción | Qué hace |
|---|---|
--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. Por defecto: 5. |
--after-n <n> | how many after it. Por defecto: 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | opcional | 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
Cambia algo solo en este equipo.
max messages download <chat> [message] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | opcional | the message id; left out with --all or a locator. |
| Opción | Qué hace |
|---|---|
--output-dir <dir> | where to save them; created if missing. Por defecto: .. |
--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. Por defecto: 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max messages sync [chat] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | opcional | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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. Por defecto: 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | chat id, or part of a chat name. |
message | obligatorio | id of a voice message. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max messages send <chat> [text] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
text | opcional | the message. |
| Opción | Qué hace |
|---|---|
--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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max messages edit <chat> <message> [text] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | the id of your own message. |
text | opcional | the new text; without it, read from stdin. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max messages delete <chat> <message> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | the message ids, by spaces or commas, at most 10. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max messages forward <chat> <message> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | the chat the message is in: a chat: its id, or part of its title. |
message | obligatorio | the message id. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max messages pin <chat> <message> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | the message id. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max messages unpin <chat> <message>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max messages press <chat> <message> <button>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | the id of the message with the buttons. |
button | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks add <message> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
message | obligatorio | a message locator, msg:///, or note:. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks update <task> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task's id or key, as tasks list shows it. |
| Opción | Qué hace |
|---|---|
--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:
Cambia algo solo en este equipo.
max tasks link <task> [targets] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task's id or key, as tasks list shows it. |
targets | opcional | msg: locators, person:, document:, note:, a URL; or task:, which links two project tasks. |
| Opción | Qué hace |
|---|---|
--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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task's id or key, as tasks list shows it. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks duplicates reject <task> <other-task>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task listed as the duplicate, by its id or key. |
other-task | obligatorio | 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
Cambia algo solo en este equipo.
max tasks duplicates defer <task> <other-task>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task listed as the duplicate, by its id or key. |
other-task | obligatorio | 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
Cambia algo solo en este equipo.
max tasks merge <task> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the duplicate, by its id or key; it must be open. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks unmerge <task>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks scan <chat> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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]| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks acknowledge <chat> <message> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | the id of the last message read, as tasks review shows it. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks claim <task> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task's id or key, as tasks list shows it. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks release <task> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task's id or key, as tasks list shows it. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks close <task> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task's id or key, as tasks list shows it. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tasks reject <task> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
task | obligatorio | the task's id or key, as tasks list shows it. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max projects evidence <project> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
project | obligatorio | an existing project's id, key, exact name or alias, or a new project's name. |
| Opción | Qué hace |
|---|---|
--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). Por defecto: 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. Por defecto: 2. |
--after-n <n> | messages after each message hit, at most 5. Por defecto: 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. Por defecto: 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
project | obligatorio | an existing project's id, key, exact name or alias. |
| Opción | Qué hace |
|---|---|
--since-time <time> | how far back: days (60d, at most 730d) or a start date (2026-09-01). Por defecto: 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
conversation | obligatorio | a conversation id from conversations list; or a chat: its id, or part of its title, with a message. |
message | opcional | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | a message id in that chat. |
| Opción | Qué hace |
|---|---|
--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]| Opción | Qué hace |
|---|---|
--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]| Opción | Qué hace |
|---|---|
--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]| Opción | Qué hace |
|---|---|
--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
Envía texto a un servicio externo.
max conversations links rebuild [options]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max conversations links add [options]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max conversations links clear [options]| Opción | Qué hace |
|---|---|
--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]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max conversations embeddings clear [options]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max conversations rebuild [options]| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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
Cambia algo solo en este equipo.
max conversations consents remove [options]| Opción | Qué hace |
|---|---|
--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
Envía texto a un servicio externo.
max conversations embed [options]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max attachments extract [options]| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title; or a msg: locator alone. |
message | opcional | the message id. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max attachments update <chat> [message] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title; or a msg: locator, with no message id after it. |
message | opcional | the message id. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max attachments download <dir> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | archive directory; created if missing. |
| Opción | Qué hace |
|---|---|
--chat <chat> | only this chat; repeat for more; a chat: its id, or part of its title. Por defecto: ``. |
--since-time <time> | include messages from this ISO timestamp with a time zone. |
--pause <duration> | pause between history pages. Por defecto: 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | 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
Cambia algo solo en este equipo.
max attachments jobs install <dir> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | archive directory, used with the same profile as install. |
| Opción | Qué hace |
|---|---|
--at <HH:mm> | daily start time. Por defecto: 03:00. |
--timezone <zone> | IANA time zone of the daily start time. Por defecto: UTC. |
--chat <chat> | only this chat; repeat for more; a chat: its id, or part of its title. Por defecto: ``. |
--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
Cambia algo solo en este equipo.
max attachments jobs start <dir>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | 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
Cambia algo solo en este equipo.
max attachments jobs stop <dir>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | 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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | 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
Cambia algo solo en este equipo.
max attachments jobs uninstall <dir>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | 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
Cambia algo solo en este equipo.
max attachments move <dir> <archive-dir> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
dir | obligatorio | source media archive directory. |
archive-dir | obligatorio | destination archive directory; created if needed. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tags rebuild [options]| Opción | Qué hace |
|---|---|
--chat <chat> | a stored group/channel; repeat to select several. Por defecto: ``. |
--limit <n> | process at most 1–500 chats. Por defecto: 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
Cambia algo solo en este equipo.
max tags add <tag> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
tag | obligatorio | one or more tags: 1–32 letters a–z, digits and hyphens; upper case is lowered. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max tags remove <tag> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
tag | obligatorio | one or more tags: 1–32 letters a–z, digits and hyphens; upper case is lowered. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | fields below; a bare word is a value, so a phone typed with 8 finds it written with +7. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | narrows the links counted: the fields below; dismissed links are never counted. |
| Opción | Qué hace |
|---|---|
--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]| Opción | Qué hace |
|---|---|
--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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
id | obligatorio | 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
Cambia algo solo en este equipo.
max mentions confirm <id> [person] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
id | obligatorio | the mention's id, from mentions list. |
person | opcional | person: or organization: that owns the phone or the e-mail address; person: a name means; a document or a street address needs none. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max mentions reject <id> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
id | obligatorio | the mention's id, from mentions list. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max mentions rebuild [kind]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
kind | opcional | only this kind: person-name after people were added or renamed. Uno de: 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
Cambia algo solo en este equipo.
max images embed [options]| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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
Lee de un servicio externo.
max images models download <model>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
model | obligatorio | 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]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max metadata sync [options]| Opción | Qué hace |
|---|---|
--chat <chat> | stored group/channel; repeat for several. Por defecto: ``. |
--only-missing | only chats with no metadata yet; without --chat, every stored group/channel. |
--limit <n> | process at most 1–500 chats. Por defecto: 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | obligatorio | strict Lucene query: words, "phrases", AND/OR/NOT, field groups and date ranges. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | strict Lucene query: words, "phrases", AND/OR/NOT, field groups and date ranges; with --saved, more words AND-ed to it. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | obligatorio | strict Lucene query: words, "phrases", AND/OR/NOT, tag:, source:internal (written in memo) or source:file (from a notes folder) and date ranges. |
| Opción | Qué hace |
|---|---|
--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
Lee de un servicio externo.
max search conversations <query> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | obligatorio | what to look for, in your own words, in any language the model reads. |
| Opción | Qué hace |
|---|---|
--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:[email protected]; 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
Cambia algo solo en este equipo.
max searches create <name> [query] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | obligatorio | up to 64 letters a–z, digits and hyphens, not only digits. |
query | opcional | the query, as for search messages; none matches every stored message. |
| Opción | Qué hace |
|---|---|
--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:[email protected]. |
--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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name|id | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max searches delete <name|id>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name|id | obligatorio | 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
Cambia algo solo en este equipo.
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>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max polls vote <chat> <message> [answers] [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | the id of the message that carries the poll. |
answers | opcional | answer ids, as polls show prints them. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max polls close <chat> <message>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max polls create <chat> <question> <answers> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
question | obligatorio | the question. |
answers | obligatorio | two answers or more. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max reactions add <chat> <message> <emoji>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | the message id. |
emoji | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max reactions remove <chat> <message>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | a chat: its id, or part of its title. |
message | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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
Cambia algo solo en este equipo.
max recipients add <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo solo en este equipo.
max recipients remove <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo solo en este equipo.
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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | field:value terms that narrow the list — the fields are below. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | from when: date>2h, date>2026-10-01; the saved point stays put. |
| Opción | Qué hace |
|---|---|
--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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | where the last review ended and which chat: date>2h, chat:"Book club"; 3 days ago if no date. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max replies add <id>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
id | obligatorio | 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
Cambia algo solo en este equipo.
max replies on <id>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
id | obligatorio | 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
Cambia algo solo en este equipo.
max replies off <id>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
id | obligatorio | 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
Cambia algo solo en este equipo.
max replies edit <id> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
id | obligatorio | the rule's id. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max replies audience [options]| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
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
Cambia algo solo en este equipo.
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
Cambia algo solo en este equipo.
max replies consents deny <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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
Cambia algo solo en este equipo.
max replies consents allow <chat>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
chat | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
rule | opcional | only this rule, by its id; every rule in file order if not given. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
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
Cambia algo solo en este equipo.
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
Cambia algo solo en este equipo.
max schedule command <name> <args> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | obligatorio | lowercase letters, digits and dashes. |
args | obligatorio | the max command after its name, e.g. -- messages list --limit 50. |
| Opción | Qué hace |
|---|---|
--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). Uno de: 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
Cambia algo solo en este equipo.
max schedule agent <name> <harness> <prompt> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | obligatorio | lowercase letters, digits and dashes. |
harness | obligatorio | the agent to start. Uno de: claude, codex. |
prompt | obligatorio | what to do, e.g. "run the daily follow-up review: max skill show follow-ups". |
| Opción | Qué hace |
|---|---|
--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). Uno de: 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
query | opcional | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max schedule run <name> [options]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | obligatorio | the schedule's name, as schedule list shows it. |
| Opción | Qué hace |
|---|---|
--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
Cambia algo solo en este equipo.
max schedule remove <name>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | obligatorio | 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
Cambia algo solo en este equipo.
max schedule pause <name>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | obligatorio | 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
Cambia algo solo en este equipo.
max schedule resume <name>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | obligatorio | 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
Cambia algo fuera de este equipo: en MAX o en un servicio externo.
max schedule exec <file>| Argumento | Obligatoriedad | Qué es |
|---|---|---|
file | obligatorio | 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]| Argumento | Obligatoriedad | Qué es |
|---|---|---|
name | opcional | 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
Códigos de salida
Los scripts deciden según el código de salida, no según el texto: el texto puede cambiar; el código no.
| Código | Cuándo |
|---|---|
0 | Operación completada |
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 | Cualquier otro caso |
0, y solo 0, significa que la operación se completó. 14, outcome_unknown, significa que
el mensaje podría haberse enviado: no se confirma éxito ni fallo. Solo puedes repetirlo con el mismo
--operation-id.