linear-digest
Each morning, one message lists the Linear issues still assigned to you.
Linear's hosted connector and MCP are the conversation you talk to. This plugin sends one model-free morning message.
The message is the open issues assigned to the personal API key. Each group has a heading and a count. A group with nothing in it is left out. The groups, in order, are overdue, due today, not updated for N days, and the rest. A blank line separates groups. Each issue line is the identifier, title, state, due date, and URL, separated by tabs. The default quiet window is 7 days (--stale-days, 1 through 90). At most 30 issue lines are listed. Headings are not part of that count. When more were read, the next line is +N more. When a later page was not read, the message says so and does not pretend the list is finished. When no open issue is assigned, the script's stdout is empty, and Hermes sends nothing.
Overdue and due today use the calendar date of the Hermes clock, the same clock cron uses for 08:00. That clock reads HERMES_TIMEZONE, then timezone in this profile's config.yaml, then the machine's local time. The morning script sets TZ from that clock before it builds the list. A due date Linear returns as YYYY-MM-DD is compared to that date. Quiet issues are those whose updatedAt is more than N times 24 hours before that same clock, and that are not already in the overdue or due-today group. A due date that is not YYYY-MM-DD is shown as due unreadable. A missing due date is due none.
Closed workflow types completed, canceled, and duplicate are left out. Archived issues are left out as well (includeArchived is false on the query). The schema names those three plus triage, backlog, unstarted, and started. A type that is not one of the three closed names is still listed.
Key
Put LINEAR_API_KEY in this profile's .env. Do not put it in a config file, a tool argument, or the cron prompt. The plugin reads it on every request with agent.secret_scope.get_secret and does not read os.environ itself. The value is not printed.
On the current Linear GraphQL page, OAuth says Authorization: Bearer <ACCESS_TOKEN>. Personal API keys say Authorization: <API key> with the key itself and no Bearer prefix. This plugin sends only that personal-key form, as HTTPS POSTs to host api.linear.app and path /graphql. One run sends at most 10 of those POSTs, one per page. It does not follow redirects. It does not use HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, or their lowercase names, so the key is not given to a proxy. A response larger than 1,000,000 bytes is a failure. Each POST stops if 15 seconds pass with no data, and is also cut off after 20 seconds. One run reads at most 10 pages of 50 issues and does not retry. HTTP 401 says to set LINEAR_API_KEY in this profile's .env and does not print the key.
LINEAR_DIGEST_REHEARSAL is optional. When it is unset, the only request is HTTPS to host api.linear.app and path /graphql. This plugin only POSTs. When it is set, the scheme must be http, the host must be 127.0.0.1, localhost, or ::1, a port is required, and the path must be empty or /graphql. Any other value fetches nothing. The key is still sent to that loopback process. Leave the variable unset for the real morning job.
A failure is one English line on stderr and a non-zero exit. Hermes delivers that as a failed run. The line does not include the key. HTTP 401, HTTP 429, a 5xx status, a timeout, a redirect, a body that is not the expected JSON, and a 200 response that contains an errors array are all failures, even when data is also present. An empty nodes array and hasNextPage: false is an empty morning, not a failure.
Titles are forced onto one line. Newlines and control characters become spaces. A title longer than 180 characters is cut. An issue URL is kept only when it is https on linear.app or a host ending in .linear.app. Anything else is shown as url refused and is not requested.
Schedule
hermes linear-digest schedule does not call Linear. It writes <HERMES_HOME>/scripts/linear-digest.py and creates one cron job named linear-digest with hermes cron create --no-agent --script. The schedule is 0 8 * * * (08:00 on the clock Hermes cron uses). The default deliver target is local, which does not send to chat. The job record stores one line, The script stdout is the message. An empty script stdout is [SILENT]. A no-agent run does not send that line to a model. Empty stdout is what makes the run silent. Running schedule again sets that same clock and deliver target on the saved job. Omitting --stale-days keeps a saved quiet window. The first schedule uses 7. If more than one cron job is already named linear-digest, schedule changes nothing and does not write the script.
hermes linear-digest schedule
hermes linear-digest schedule --stale-days 14 --deliver local
hermes linear-digest status
hermes cron run <id>
hermes linear-digest unschedule
When HERMES_HOME is unset, the directory is the Hermes default, HOME/.hermes on this platform, from hermes_constants.get_hermes_home(). The child hermes cron is started with that path set. status does not fetch. It prints the schedule and deliver target from hermes cron list for the saved id, and the stale-day number from settings. It does not invent 08:00 when the list shows something else. unschedule removes the saved job. It also removes the script, unless another cron job is named linear-digest, in which case the script stays. Settings stay in <HERMES_HOME>/plugin-data/linear-digest (per profile), including the stale-day number, and the job id is cleared. That folder remains after hermes plugins remove. Run unschedule first. If the plugin is already gone, remove a leftover job with hermes cron remove <id>, and add -p <name> when the profile is not default. That command removes the job only. scripts/linear-digest.py stays until you delete that file, and the settings file can still hold the old job id. The same -p is included on the command lines schedule prints when the profile is not default.
bot-chat puts the list into another model turn. That turn is not model-free. A platform name is a delivery target, not proof that the platform is set up on this machine. cli, cron, and api_server are rejected.
The script is started by Hermes cron, not by the plugin host, so plugins.isolation: host does not stop it. A local no-agent run costs 0 tokens. bot-chat starts another model turn, and the schedule message does not call that turn free. There is no daily cap. interpreter is not passed.
linear_digest takes no arguments and returns the same text. Unknown arguments are rejected before any request. The tool does not write the settings file. It does not create, edit, or comment on issues. Registering the plugin also registers the skill linear-issues, which points at that tool.
The tools are on for every surface, including gateways. Anyone you allow on your gateway can call linear_digest with your key. Turn a surface off with hermes tools. There is no slash command and no approval prompt, because the tool only reads.
Nothing is downloaded when the job runs. schema/schema.graphql ships in this repository (about 1.3 MB) for tests. It is the Linear SDK source schema at commit 8397645bc0a496f68896b18ec6453dddd5e51927, which matches the schema update published with @linear/sdk 100.0.0. The npm tarball does not contain that file. See schema/PROVENANCE.md.
requires_hermes is >=0.21.4. hermes cron create --no-agent is in the v0.21.4 tree (hermes_cli/__init__.py version 0.21.4, tag v2026.9.21). manifest_version is 2. python_dependencies is empty. The license is MIT. schema/schema.graphql is the upstream file unchanged. Its copyright notice is schema/NOTICE, copied from the Linear repository LICENSE (Copyright (c) 2019 Linear).
Offline check
This check does not call Linear. The real API was not used to write this plugin.
- Start
python3 tests/rehearsal_server.py. It listens on127.0.0.1and prints aLINEAR_DIGEST_REHEARSALline. - Use an empty home. Either leave
HERMES_HOMEunset and pointHOMEat a new directory, or setHERMES_HOMEto a new directory. - Copy this plugin to
<that home>/plugins/linear-digest. Copying alone does not register the command. - Run
hermes plugins enable linear-digest. The nexthermesprocess picks it up. - Write
<that home>/.envwithLINEAR_API_KEYset to any non-empty header-safe value, andLINEAR_DIGEST_REHEARSALset to the printed URL. - Run
hermes linear-digest schedule, thenhermes cron list, thenhermes cron run <id>. - The command prints that the run succeeded. The morning list is in
<that home>/cron/output/<id>/<timestamp>.mdunderMode: no_agent (script). It is a script, not an agent turn. - Stop the server and start
python3 tests/rehearsal_server.py --empty. PointLINEAR_DIGEST_REHEARSALat the new URL. Runhermes cron run <id>again. The new output file sayssilent (empty output), so nothing is delivered. - Run
hermes linear-digest unschedule. The job andscripts/linear-digest.pyare gone. Removing the job also removes that job's files undercron/output. Copy the morning file first if you want to keep it.
Not verified
The production Linear API was not called. HTTP 401, 429, and 5xx bodies were taken from the published GraphQL and rate-limit pages, not from a live account. No Linear account was created and no key was issued. Paid checkout was not opened. Delivery to a real chat platform was not run. The catalog image is a draft.
README from the reviewed commit cb8cac0; it updates when the author re-pins.

TakeshiTGAL

