跳到正文Skip to content
Agent J Beta
菜单Menu
中文EN
登录Sign in

搜索文档和页面Search docs and pages

文档Docs

卡片怎么用Using cards

打开和管理卡片,记一条、复制、编辑、删除,查看自动化,以及给卡片换颜色。Open and manage cards, copy or edit notebook entries, view automations and change card colours.

打开与开关

点左上角 logo,展开卡片堆叠,再点要看的那张。前五张是聊天、工作流、技能、记忆和 Agent J;你打开的官方卡和自己做的卡排在后面。

在设置 → Agent 的功能 → Cards 卡片里打开或关闭卡片。记事本、待办和自动化是自带的官方卡,默认打开,不想要可以关掉;文件管理和 Obsidian 也是自带的,默认关闭。没手动关过的,升级后也按默认显示。前五张系统页关不掉。关闭只收起入口,已有内容还在;升级也保留你的内容。

记事本:一条一张

把常用地址、电话号码、预约地点和 memo 留在记事本。每条记录单独一张小卡,右上角有复制、编辑和删除图标。

  • 点复制,把这一条放进剪贴板。
  • 点编辑,改好后保存;取消或按 Escape 退出。
  • 点删除,确认后才删除这一条。
  • 点页面右上角的 + 或底下的记一条,打开多行输入弹窗,可手动输入或点粘贴;⌘/Ctrl+Enter 保存,Esc 关闭。内容带日期直接存到 Agent J 主机,不经过 AI、不耗 token;成功显示「已记下(未经过 AI)」并定位最新一条。像密钥的内容会被拦截。
  • 点请 Agent J 协作,把 /agentj-add-note 放进输入框,光标留在末尾;用自然语言说想增加、修改、删除或整理什么,再发送给 Agent。协作会经过 AI。

要找某一条,点右上角的放大镜输入词语,只会留下含这个词的记录,词会标亮;按 Esc 恢复全部。待办和自动化卡片也一样。

每条记事的标题(可空)、内容、日期分开保存在主机上同一份可读的 notes.md 中。有标题时加粗显示,日期单独显示为小字;复制、编辑、删除图标在每条右下角。复制只拷内容,不含标题和日期。新增和编辑都有标题(可空)与内容两个框。旧文件首次转换前会逐字节备份;行首 YYYY-MM-DD 或 YYYY-MM-DD · 提取为日期,标题留空。原来没有日期的条目保持空日期。不要把密码或 API Key 存在记事本;用手机上的密钥卡交给 Agent。

如果另一台遥控器刚改过同一条,先刷新再编辑,避免覆盖刚保存的内容。主机断线或保存失败时,留在页面查看提示,重新连接后再试。

待办

接近容量上限时,已完成和已取消的事项会自动归档,内容和备注都保留。想查旧事项,可让 Agent J 查待办归档;在 Agent J 主机上运行 agentj card todo archive --page 0(每页 200 条,下一页用 --page 1)。仍能按原编号补备注,重新打开后会回到卡片。未完成事项接近容量上限时会提示。

待办由你和 Agent J 共同维护。Agent J 答应你之后再做的事,比如明天做、下周做、等某件事完成后再做,都会当场记到这张卡上,你看得见,也能随时督促。需要提醒你的事,它也会记进来。

每条都写明谁负责(Agent J 或你)、什么时候可以开始、什么时候截止。开始和截止可以是一个时间,也可以是另一条做完(写作 after:t3),或一句话写明的条件。已过期、快到期、可以开始的条目带醒目标记并排在最前,接着是进行中和其余未完成的;做完的划线放到后面,已取消的放最后。

顶部的筛选有全部、Agent J 负责、我负责三项,一次只看一方,方便你检查 Agent J 还欠着哪些事。

点 + 或加一条,打开直存弹窗,手动输入或粘贴后保存,不经过 AI。单条待办可直接编辑、删除,删除前需确认。点请 Agent J 协作把 /agentj-add-todo 放进输入框,再说明责任人、开始时间、截止条件或整理要求;此入口经过 AI。

点一条切换完成与未完成;点请 Agent J 协作,让 Agent 检查未完成的条目,补上缺少的负责人、开始或截止,卡片随后自动排序。这些操作都交给同一个待办管理技能,发送前仍会让你查看并确认。

每次新对话、压缩后恢复、心跳醒来和晨报,Agent J 都会先运行 agentj card todo due,到期的先办,做完自己标完成。旧版本的待办照常打开,原有条目算作你负责,没有开始和截止。

查看自动化

先在设置里的 Cards 卡片打开自动化,再从 logo 卡片堆叠进入。每个后台自动化单独一张小卡,显示唯一名称、做什么、运行时间和重复周期;能识别时还显示使用的 AI 编程工具和模型,未提供的字段会显示暂无信息。

这里用来看,不在卡片里启动、停止或改定时任务。点某条的 @,把它的唯一名称带到聊天,补一句想问什么,再发给 Agent J。列表包含 Linux 当前用户的 systemd 定时器和 cron、macOS 用户的 launchd 和 cron、Windows 任务计划,以及 Agent J 自己的计划任务;以主机实际读到的内容为准;空列表不代表所有后台程序都不存在。

文件管理

在设置里的 Cards 卡片打开文件管理,它默认关闭。它浏览 Agent J 主机上的文件夹:Agent 的工作目录,以及你在 Agent J 主机上用 agentj card files add <文件夹> 加进来的文件夹。点文件夹进入,用顶部的路径返回上一层。隐藏项、链接和像密钥的东西都不会出现。

点下载图标,把文档存到手机。图片、PDF、Office 文件、文本等文档可以下载;像密钥或含密钥的文件会被拒绝。也可以点 @,把文件路径放进聊天输入框,补一句想问什么再发送,Agent J 会在主机上读这个文件。

Obsidian

如果你用 Obsidian 记笔记,在设置里的 Cards 卡片打开 Obsidian 卡,它默认关闭。点 + 或选笔记,告诉 Agent J 想在这里看哪些笔记:它会在 Agent J 主机上找到你的 vault(需要时经你同意装好 Obsidian),并记住你的选择。每篇选中的笔记单独一张小卡。

要改哪篇,点它的 @,说清楚改什么再发送,Agent J 会在主机上改 vault 里的这篇笔记。手机上只看不改;vault 里的链接和隐藏文件夹一律不跟进,像密钥的内容会被隐藏。

学习卡

在设置 → Agent 的功能 → Cards 卡片里点唐诗宋词卡的开关,显示下载地址和 SHA-256。核对后再点一次开启。下载并校验后,可以从左上角 logo 打开。主机从 GitHub 上 chinese-poetry 的固定版本取 30 首原文。前三首附有对照出处校过的解读,每首都有出处和数据源许可。英语单词卡也在同一处开启,五个词的课程随主机安装。

正文默认显示简体。在「出处」中点「繁体原文」可以看原文字形,再点「简体」切回。解读和逐字表跟着切换,复制得到的是当前显示的正文。

可以翻到上一首、下一首或按编号跳转。标记已学后自动进入下一条,已学标记可以撤销。英语例句会换行,完整例句可以复制。主机按卡片和遥控器分别保存进度。开启卡内每日提醒后,如果当天还没标记已学且课程未完成,打开卡片就会看到提示。

用两份配置做一张学习卡

运行 agentj card export tang-song-learning ~/agentj-cards/my-course。换 card.json 的卡片 ID,保留 "template": "learning",按 data.file 指定的文件改写 sample/ 里的课程。用 "unit_label": {"zh":"词","en":"word"} 设置进度单位。调整顺序时保留各课 ID。全部自写正文时删除原有 learningSources。

需要简繁切换时,在清单里加 "learningScript": "t2s",课程文件保留原文字形。不需要切换的课程可省略此项。

用 agentj card schema --learning 查数据格式。编辑后用 agentj card validate 校验,再用 agentj card apply 应用。用同一 ID 更新课程,也可以回滚。用 agentj card pack 打包分享,个人进度留在主机。

使用公开课程源和按需解读

用 learningSources 固定 GitHub 仓库、提交、JSON 路径和 SHA-256,配置字段映射、署名和许可。用 remote 选来源记录,参考导出的唐诗宋词卡。点击开关查看来源和 SHA-256。核对后再点一次,主机下载并校验,成功才缓存并启用。广场包只带配置和随包样例。

设 "learningAnnotations": true 即可在没有解读的条目点「请 Agent 生成解读」。确认发送后,你自己的 Agent 只为当前一首写解读、背景、轶事和拆解,原文照常显示。Agent 保存后重新打开条目就能查看,解读缓存在主机。

健身卡

在同一处打开健身卡后,可以用周计划安排锻炼,记录活动和时长,查看本周进度。分享或导入的是计划模板,个人打卡留在主机。

调色彩蛋

按住卡片堆叠中一张卡的右上角,手指和鼠标都可以,屏幕中央会打开取色器。这个入口没有图案。上面的方块选深浅和鲜艳程度,下面的彩条选色相,任何颜色都可以;推荐一行是 Agent J 调色板里的颜色,点一下就用。也可以直接输入 HEX / RGB 数值,两边会同步。选好再保存;取消或按 Escape 退出。

颜色单独保存在你的配置里,升级不会覆盖;官方卡和自己做的卡都能用。卡片标题和图标平时用浅色字;底色比主菜单的卡片还浅时,字会自动换成深色,照样能保存。数值没填对时保存按钮会变灰,上面写着原因。恢复默认只清除这张卡的自选色。

快捷键打开卡片

在电脑浏览器里按 Alt+Shift(Mac 是 ⌥⇧)再加卡片英文名里的一个字母,直接打开那张卡片:比如记事本(Notebook)是 Alt+Shift+N,待办(To-do)是 Alt+Shift+T。先取英文名的首字母;已经被别的快捷键占用就取下一个字母,字母都被占了用数字 1–9、0。在输入框里打字时也能按。再按一次或按 Esc 回到对话。

卡片堆叠里,英文界面会在标题里那个字母下面画一条线,中文界面在标题旁边显示按键;只用手指的手机上不显示。每张卡片现在是哪个键,看键盘快捷键页最上面的卡片一节;新加的卡片会自动分到一个。

做自己的卡片

在设置里的 Cards 卡片点让 Agent J 帮我做一张卡,或直接说想在手机上看什么。Agent 会先问清内容和需要的操作,再制作、校验和装上。

推荐一条记录一张卡的堆叠布局;适合其他布局的内容也可以另选。给有添加、整理等操作的卡片配同一个管理技能。你只管说要加什么、改什么。

分享卡片,或用别人分享的卡

想把自己的一张卡分享出去,就让 Agent J 发到广场。它只打包这张卡和样例数据,绝不带你自己的数据,并先检查:卡片本身合格、按钮消息都能正常显示,需要主机上程序的卡要写明程序的源码和确切版本。发布前你会看到整个包。

想用别人分享的卡,就让 Agent J 在广场里找到并安装;装之前你会先看到它能做什么。装好的卡先关着,并标明来自广场。在设置 → Cards 卡片里打开时,手机会先列出它能做的一切:数据从哪里来、每个按钮发出的完整消息或调用的程序、链接,以及程序的源码。你确认后它才会打开。装新版本后同样先关着,也可以让 Agent J 换回上一版。

由主机上的程序供数据的卡

有些内容本来就在 Agent J 主机上的某个程序里,比如本地看板、定时工具,或 Agent 帮你装好的工具。让 Agent 给它做一张卡:卡上的列表或笔记可以直接从那个程序取,按钮也可以请它做一件事,比如刷新。

手机从不直接连那个程序。Agent J 只在主机本机的回环地址上、按卡片声明的端口和路径去问,而且只有对方表明自己就是这张卡的程序时才显示。回答有大小和时间上限,和其他卡片数据一样先过滤密钥。会调用程序的按钮先显示要去哪里,你点运行才执行。

卡上提示服务没在运行时,让 Agent 重新启动它。

指给 Agent 看、让它打开

聊天里输入 @,选卡片,再说要问的事。名字相同时,用卡片的唯一地址区分,例如 card/notes。Agent 回复里的卡片地址可以点开;也可以直接说打开记事本,或打开某张卡的某一条。

卡片里的站外链接会先显示完整地址,确认后才打开新标签页。设置和确认窗口打开时,Agent 的定位消息不会强行切走当前页面。

更多手机操作见完整手册,定时任务的创建和权限见长程任务。

日历:与 Agent J 共同管理

官方日历卡默认展开,可在设置 → 卡片关闭。不连接任何服务也能用。月视图下方显示所选日期日程;点空白日期打开添加弹窗, 填写标题、开始/结束、全天、提前提醒和备注,保存直接写入 Agent J 主机,不经过模型。可编辑、删除本地日程,ESC 关闭弹窗。 「请 Agent J 协作」把 /agentj-calendar 放入输入框,复杂安排交给 Agent J。文字和图标沿用 Lotion。 全天结束日期不含当天;带时间的日程按手机时区输入、以明确时区存储。冲突时先关闭弹窗、重新打开日历再编辑。 待办有时间的未完成事项会只读显示,修改请回待办。提醒在 Agent J 自然醒来时通过 agentj card cal due --json 检查; Agent J 主机休眠、离线或 Agent 忙碌时不保证准点通知。

ICS 订阅可选、默认关:在密钥卡保存私密订阅网址为 CALENDAR_ICS_SECRET,再请 Agent J 按名字配置订阅并手动刷新。 Google / 苹果或其他服务提供的 HTTPS ICS 地址可订阅,订阅事件只读、远端更新优先,失败保留旧日程;不支持循环事件的 订阅会整体拒绝,保留旧数据。取消订阅只清该来源缓存。想和 Google 日历或 iCloud 双向同步,见下一节。 命令:agentj card cal add|edit|delete|list|due --json,详情见 agentj-calendar。数据仅存主机,经已配对加密通道显示。

与 Google 日历或 iCloud 同步

同步是可选的,不连也照常用。让 Agent J 同步你的 Google 日历或 iCloud 日历,它会一步步带你设置; 你不开口,它不会去连。

  • Google:在你自己的 Google 项目里开一次权限(见连接 Google),之后 Agent J 把日历卡连上。 这个工具只能申请整个日历的权限,Agent J 只拿它读写日程。
  • iCloud:在 appleid.apple.com 的登录与安全里生成一个 App 专用密码。Apple ID 和这个密码填进 Agent J 发来的 密钥卡,不要发到聊天里。

连上后,两边的日程都显示在日历卡里,带一个 Google 或 iCloud 小标签,像普通日程一样直接改。改动几秒内自动发出; 没网时显示「待同步」,联网后补发。月视图上方的同步行显示上次同步时间和「同步」按钮。同一条日程两边都改过时, 日历先显示对方的版本、留着你的版本,在月视图下方点「用我的版本」,或者保留对方的。一边删了、另一边改过时, 按钮直接写明结果:对方删了,选「也删掉」或「留着」;你删了,选「还是删掉」或「留着Google的」。在手机上保存或删除后, 「撤销」会保留 10 秒。两边相同的日程会关联成一条,不会重复。Google 或 iCloud 的循环日程在这里只读。 断开同步后,日程仍留在你的日历里,还没发出的改动不再发送。Agent J 用的命令:connect、sync、queue、undo、 resolve、disconnect(详见 agentj-calendar)。

配色板与我的配色

配色板是自带的官方卡,默认关闭。在设置 → Agent 的功能 → Cards 卡片里打开「配色板」即可使用;也可以直接在任意卡片右上角长按,打开底色弹窗里的同一组件。

输入种子色 HEX,选择类似色、互补色、三角配色、分裂互补或单色阶梯,生成 5、8 或 10 个相关颜色。色相、饱和度和亮度滑杆会即时更新结果。每个色块标出 HEX、建议用浅色字还是深色字,以及对应对比度;点色块选中,长按复制 HEX,键盘聚焦色块后也可按 Ctrl+C / ⌘C 复制。用户配色可以使用任意颜色。

点「存到我的配色」把整组配色存到 Agent J 主机上的全局配色库,最多 32 组;它不是忙碌机器人等界面的整套主题。所有卡片的底色弹窗都能看到这个库。点已存配色中的颜色,再点弹窗底部「保存」,才会更改那张卡片的底色。浅色底自动配深色字。点「载入」可在生成器中继续调整整组配色;点「删除」只删配色,不影响已设置的卡片底色。

关闭卡片或升级不会清空配色库,其他已配对遥控器打开组件或点「刷新配色库」时会读取同一份配色。配色只经既有端到端加密连接保存在你的 Agent J 主机上;未连接时不能保存。若保存失败,按页面提示重试。

Agent 回复正文里的卡名会自动变成内部链接:例如待办卡、日历卡、记事本和技能卡,中英文名称都能识别,英文不区分大小写。同一条回复每张卡只在第一次提到时加链接;关闭的卡片、代码块、行内代码、已有链接和网址中的名字不会自动加链接。主人发送的普通文字保持原样。

Open and switch cards

Tap the top-left logo to unfold the stack, then pick a card. Chat, Workflows, Skills, Memory and Agent J are the first five pages. Enabled optional cards and your own cards follow them.

Open Settings → Agent tools → Cards to switch cards on or off. Notebook, To-do and Automation come with Agent J and start on; switch off any you do not want. A card you never switched off shows after an upgrade too. The first five system pages cannot be switched off. Switching a card off hides its entry while keeping its data. Upgrades keep that data too. Open Settings → Agent features → Cards to switch cards on or off. Notebook, To-do and Automation come with Agent J and start on; switch off any you do not want. Files and Obsidian also come with Agent J but start off. A card you never switched off shows after an upgrade too. The first five system pages cannot be switched off. Switching a card off hides its entry while keeping its data. Upgrades keep that data too.

Notebook: one entry per card

Keep useful addresses, phone numbers, meeting places and memos here. Each entry has its own small card with copy, edit and delete icons at the top right.

  • Copy puts only the content on the clipboard.
  • Edit opens the title and content for changes. Save when finished; cancel or press Escape to leave.
  • Delete asks before removing that entry.
  • The page's + and Add a note open a multiline dialog. Type or tap Paste; ⌘/Ctrl+Enter saves and Esc closes. Your dated note goes directly to the computer, without AI or tokens. “Saved (without AI)” confirms it and the card opens at the newest entry. Key-shaped content is refused.
  • Collaborate with Agent J puts /agentj-add-note in the message box with the caret at the end. Describe what to add, edit, delete or organize, then send. This collaboration uses AI.

To find an entry, tap the magnifier at the top right and type a word. Only the entries containing it stay, with the word highlighted; press Esc to see them all again. To-do and Automation cards work the same way.

Each entry stores an optional title, content and date separately in the same readable notes.md on the Agent J host. The title appears in bold when present; the date has its own smaller line. The copy, edit and delete icons sit at the bottom right. Copy copies only the content, without the title or date. Add and Edit have separate title (optional) and content fields. Before the first conversion, the host saves a byte-for-byte backup of the old file; a leading YYYY-MM-DD or YYYY-MM-DD · becomes the date and the title stays empty. Undated old entries keep an empty date. Keep passwords and API keys out of notes; use the phone's secret-entry card instead.

If another remote has changed an entry, refresh before editing again so you do not overwrite its changes. If the host is offline or a save fails, read the notice and retry after reconnecting.

To-do

Near storage capacity, completed and cancelled items archive automatically, retaining their content and notes. Ask Agent J to search the To-do archive, or run agentj card todo archive --page 0 on the computer (200 items per page; use --page 1 for the next). Original item IDs still accept notes; reopening an archived item returns it to the card. A warning appears when open-item storage is nearly full.

You and Agent J keep this list together. Whatever Agent J promises to do later — tomorrow, next week, once something else is finished — goes on the card at once, so you can see it and hold it to it. It also adds the things it should remind you of.

Each item shows who is responsible (Agent J or you), when it may start and when it is due. A start or due point is a time, another item being finished (written after:t3), or a condition in words. Overdue, Due soon and Can start items carry a mark and come first, then items in progress and the rest; finished items are struck through and move to the end, cancelled ones last.

The filter at the top — All, Agent J's, Mine — shows one side at a time, so you can check what Agent J still owes you.

The + and Add an item open the same direct-save dialog: type or paste, then save without AI. Edit or delete individual items directly; deletion asks for confirmation. Collaborate with Agent J puts /agentj-add-todo in the message box; describe the owner, start, deadline or organization you want, then send it to the AI.

Tap an item to mark it done or reopen it. Collaborate with Agent J asks the Agent to go through the open items and fill in a missing owner, start or due point; the card then orders itself. These actions use the same management skill, with a chance to review and confirm before sending.

Each new conversation, recovery after a compaction, heartbeat and morning briefing starts with agentj card todo due: Agent J handles what is due and marks it done itself. To-do lists from older versions open unchanged; their items count as yours, with no start or due point.

View automations

Enable Automation under Cards in Settings, then open it from the logo's stack. Each background automation has a small card showing its unique name, purpose, run time and repeat schedule. The AI coding tool and model appear when known; missing information is shown as unavailable.

This is a read-only view. It does not start, stop or reschedule jobs. Tap an entry's @ to bring its unique name into the composer, add your question and send it to Agent J. The list covers the scheduled jobs the host can read: user systemd / cron on Linux, user launchd / cron on macOS, Task Scheduler on Windows, and Agent J’s own planned tasks; an empty list does not prove that no other background programs exist.

Files

Turn on Files under Cards in Settings; it starts off. It browses folders on your Agent J host: the Agent's working folder, plus folders you add on the computer with agentj card files add <folder>. Tap a folder to open it and use the path at the top to go back. Hidden items, links and anything that looks like a key never appear.

Tap the download icon to save a document to your phone. Pictures, PDFs, office files, text and similar documents can be downloaded; a file that looks like a key or contains one is refused. Tap @ to put the file's path in the composer instead: add your question and send, and Agent J reads it on the host.

Obsidian

If you keep notes in Obsidian, turn on the Obsidian card under Cards in Settings; it starts off. Tap + or Pick notes and tell Agent J which notes to show: it finds your vault on the Agent J host (or installs Obsidian with your approval) and keeps the selection. Each picked note appears as its own small card.

To change a note, tap its @ and say what to change, then send; Agent J edits the note in your vault on the host. The phone only reads the notes; links and hidden folders inside the vault are never followed, and anything that looks like a key is hidden.

Learning cards

In Settings → Agent features → Cards, tap the Tang and Song Poetry switch to show the download source and SHA-256. After reviewing those details, tap the switch again to turn it on. Once verification finishes, open it from the logo menu. Your host fetches 30 poems from a pinned version of chinese-poetry on GitHub. Each poem credits the source and licence. The first three include reviewed notes. Turn on English Words in the same settings to study the five lessons bundled with the host.

The poetry card opens in Simplified Chinese. Choose Traditional original under Sources to see the original character forms. Commentary and the glossary follow your selection, and Copy uses the text on screen.

Go back, go forward or jump by number. Marking a lesson learned advances to the next one. You can undo a learned mark. English examples wrap on the card and you can copy the full text. Progress is saved per card and paired remote. If you turn on daily reminders, the card shows one when you open it with poems left and none marked learned that day.

Make a learning card

Run agentj card export tang-song-learning ~/agentj-cards/my-course. Pick a new card ID and keep "template": "learning". Edit the course under sample/ named in data.file. Use "unit_label": {"zh":"词","en":"word"} for the progress unit. Keep lesson IDs when changing their order. Remove learningSources if all lessons contain their own text.

To let readers switch between scripts, add "learningScript": "t2s" to the manifest and keep the original text in the course file. Omit this setting for courses that use one script.

Check the format with agentj card schema --learning. Run agentj card validate before agentj card apply. Use the same ID to update or roll back a course. Use agentj card pack to share it. Progress stays on your host.

Use a public source and request commentary

Use learningSources to pin a GitHub repo, commit, JSON path and SHA-256, with field mappings, credit and licence. Use remote to select source records. The exported poetry card shows the complete mapping. Tap the switch to reveal the source and SHA-256, and tap again after reviewing them. The host then downloads the data and enables the card once verification succeeds. Plaza packs carry the configuration and bundled samples.

Set "learningAnnotations": true, then tap Ask Agent to explain on a lesson without notes. Confirm the request to your Agent for that poem’s interpretation, background, anecdotes and glossary. The text stays intact. Reopen the lesson after your Agent saves its notes on the host.

Fitness

Enable Fitness in the same settings. Set a weekly plan, log a workout and its duration, and see your progress for the week. You can share and import a plan template. Your workout records stay on your host.

A colour easter egg

Press and hold the top-right corner of a card in the stack, with a finger or mouse. An unmarked area opens the colour picker in the centre of the screen. The square sets how light and how vivid, the bar under it the hue — any colour at all; the Suggested row holds Agent J's palette, one tap each. Or type HEX / RGB values; both stay in step. Then save. Cancel or press Escape to close it.

Your choices are saved separately in your configuration and survive upgrades. This works for official and custom cards. Card titles and icons use light words; on a fill lighter than the main menu's cards they turn dark by themselves, and it still saves. While a value is not valid, Save is grey with the reason written above it. Restore default removes only that card’s custom colour.

Open a card from the keyboard

On a computer, press Alt+Shift (⌥⇧ on a Mac) and a letter of the card's English name to open that card: Notebook is Alt+Shift+N, To-do is Alt+Shift+T. The first letter comes first; if another shortcut already has it, the next letter; when all its letters are taken, a digit 1–9 or 0. It works while you type in the message box, too. Press it again, or Esc, to go back to the chat.

On the card stack, the English title underlines its letter, and a Chinese title shows the key beside it; a touch-only phone shows neither. Every card's key right now is in the Cards section at the top of the keyboard shortcuts page, and a new card gets one by itself.

Make your own card

Use the card-creation button in Settings → Cards, or tell the Agent what you want to see on your phone. It asks what to show and which actions you need, builds the card, validates it and installs it.

A stack of small cards, one per record, is the recommended layout; another layout is fine when it fits better. For a card with add or organize actions, the + and action buttons share the same management skill, so you can work in ordinary words.

Share a card, or use someone else's

To share one of your cards, ask Agent J to put it in the plaza. It packs the card with its sample data only — never your own data — and checks it first: the card is valid, its buttons read correctly, a card that needs a program on the host names that program's source and exact version. You see the whole package before it is published.

To use a card someone shared, ask Agent J to find it in the plaza and install it; you see what it can do before it is installed. A shared card arrives switched off and marked as coming from the plaza. When you switch it on in Settings → Cards, the phone first shows everything it can do: where its data comes from, each button's full message or the program it calls, its links and its program's source. It turns on only after you confirm. A newer version arrives switched off again, and Agent J can bring the previous version back.

A card backed by a program on your host

Some data lives in a program that runs on your Agent J host — a local dashboard, a scheduler, a tool the Agent installed for you. Ask the Agent to make a card for it: the card can take its list or notes straight from that program, and its buttons can ask the program to do one thing, such as refresh.

The phone never connects to the program. Agent J asks it on the host's own loopback address, only on the port and paths the card declares, and shows the answer only when the program identifies itself as that card's program. Answers are size-limited, time-limited and filtered for keys like any card data. A button that talks to the program first shows where it goes; it runs only when you tap Run.

If the card says the service is not running, ask the Agent to start it again.

Mention or open a card

Type @ in chat, select a card and ask about it. A unique address such as card/notes distinguishes cards with the same name. Card addresses in replies are links you can tap. You can also ask the Agent to open your notebook or a particular entry.

External links show their full address before opening a new tab. Navigation from the Agent does not interrupt an open confirmation window or Settings.

For other phone controls see the full guide. For creating scheduled tasks and their permissions see Long tasks.

Calendar: managed with Agent J

The official Calendar card defaults open and can be disabled in Settings → Cards. It works without a connected service. The month view includes an agenda for the selected date. Tap an empty date to add an event; the native dialog saves directly on your computer, bypassing the model. Edit/delete local entries, or press ESC to close. “Ask Agent J to help” drafts /agentj-calendar for complex changes. Text and icons use Lotion like the other cards. All-day end dates are exclusive. Timed input uses the phone timezone and stores an explicit offset. On conflict close the dialog and reopen the calendar before editing. Open timed to-dos appear read-only; edit them on the To-do card. Agent J checks today's schedule and reminder windows with agentj card cal due --json on natural wake-up. Reminders are not punctual alarms: sleep, offline time or a busy Agent can delay them.

Optional ICS subscriptions default off. Store the private feed URL in the existing key card as CALENDAR_ICS_SECRET; ask Agent J to subscribe by that name and refresh explicitly. HTTPS ICS feeds from Google, Apple or other providers are read-only. Remote updates win for that source; failure keeps the last snapshot. Recurring feeds and DURATION-based feeds are rejected as a whole, keeping previous data. Unsubscribe removes only that source's cache. For two-way sync with Google Calendar or iCloud, see the next section. CLI: agentj card cal add|edit|delete|list|due --json; see agentj-calendar. Data stays on the host and is displayed through the paired encrypted channel.

Sync with Google Calendar or iCloud

Sync is optional; the calendar works the same without it. Ask Agent J to sync your Google Calendar or iCloud calendar and it walks you through the setup. Nothing is connected until you ask.

  • Google: give access once from your own Google project (see Connect Google); Agent J then connects the card. Google only offers full calendar access for this tool; Agent J uses it for calendar events only.
  • iCloud: create an app-specific password at appleid.apple.com (Sign-In and Security → App-Specific Passwords). Save your Apple ID and that password on the secret card Agent J sends you, never in chat.

Once connected, events from both sides show in the card with a small Google or iCloud tag, and you edit them like any other event. Changes go out within seconds; offline they show “Waiting to sync” and are sent later. The sync row above the month shows the last sync time and a “Sync” button. If an event changed on both sides, the card shows the other side's version for now and keeps yours: below the month, tap “Keep mine” or keep theirs. If one side deleted it and the other changed it, the buttons say what happens: deleted there, “Delete here too” or “Keep it”; deleted by you, “Delete it anyway” or “Keep Google's”. After you save or delete on the phone, “Undo” stays for 10 seconds. The same event on both sides is linked, not copied. Recurring events from Google or iCloud are read-only here. Disconnecting keeps the events in your calendar; changes not yet sent are dropped. Agent J commands: connect, sync, queue, undo, resolve, disconnect (see agentj-calendar).

Palette generator and My palettes

Palette is a built-in card that starts off. Enable it in Settings → Agent tools → Cards. The same generator is also inside the background-color dialog: hold the top-right corner of any card to open it.

Enter a seed HEX, choose Analogous, Complementary, Triadic, Split complementary or Monochromatic, and generate 5, 8 or 10 related colors. Hue, saturation and lightness sliders update the result immediately. Each swatch shows its HEX, suggested light or dark text and the contrast ratio for that text. Tap to select; hold to copy HEX. A focused swatch also supports Ctrl+C / ⌘C. Your palettes may use any color.

Save to My palettes stores the whole set in a shared library on your computer, up to 32 sets. These are color sets, not complete themes for the busy indicator or other screens. Every card's background dialog can read this library. Choose a saved color, then tap Save at the bottom of that dialog to change that card's background. Light backgrounds use dark text automatically. Load a saved palette to continue adjusting it; Delete removes the saved set while keeping existing card backgrounds.

Switching the Palette card off or upgrading keeps the library. Other paired remotes read the same library when opening the component or tapping Refresh library. It is stored on your computer over the existing end-to-end encrypted connection. Saving requires a connection; if it fails, follow the message and try again.

Card names in Agent replies become internal links automatically, including To-do card, Calendar, Notebook and Skills card. Both Chinese and English names work; English matching ignores case. Each card is linked only on its first mention in a reply. Disabled cards, code blocks, inline code, existing links and names inside URLs are excluded. Your own plain messages stay as written.

这一页的 Markdown 原文This page as Markdown: zh.md · en.md