odysseus
它能做什么
这个技能让 Codex 读取并写入你的 Odysseus 数据,包括待办事项、日历事件、笔记和文档。适合使用 Odysseus、并希望 Codex 处理日常更新的人。
适用场景
- ✓当你请 Codex 设置一个需要在特定时间提醒你的提醒的时候。
- ✓当你希望把会议或约见添加到你的 Odysseus 日历的时候。
- ✓当你希望 Codex 把某个事实或笔记保存到你的 Odysseus 记忆中的时候。
技能链接
https://github.com/odysseus-dev/odysseus/blob/dev/integrations/codex/skills/odysseus/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在下午 5 点提醒我寄发票,并把周二上午 10 点的牙医预约加到我的日历里。”
每周 5 个新技能,1 分钟读完。
工作原理
Codex 使用限定范围的令牌,以及你的 Odysseus 实例地址来调用其 API。它会为每个请求选择合适的条目,例如带截止日期的待办事项用于提醒,日历事件用于预约。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Odysseus
Use this skill when a user asks to interact with Odysseus from Codex.
Configuration
Expect these environment variables:
ODYSSEUS_URL: Base URL for the user's Odysseus instance, for examplehttp://127.0.0.1:7000.ODYSSEUS_API_TOKEN: Scoped API token created in Odysseus Settings > Integrations > Add Integration > Codex Agent.
If either value is missing, do not guess credentials. Tell the user to create a Codex Agent token in Odysseus Settings and expose both values to the terminal session.
When to use what
- Reminder ("remind me at 5pm to do X") → TODO with
due_date. The due_date IS the reminder — it fires a notification automatically via the user's configured channel (browser/email/ntfy). Do NOT create a calendar event for a reminder. Creating a calendar event named "Reminder" does NOT trigger a notification — it's just a time block on the calendar. - Calendar event ("meeting at 3pm", "dentist Tuesday 10am") → calendar event. Use for scheduled time blocks, meetings, appointments, recurring schedules. These show up on the calendar grid; reminders for them are configured separately in Odysseus settings.
- Note / freeform info ("note that the wifi password is ...") → memory or todo without a due_date (depending on whether it's a fact about the user or an action item).
- Persistent fact / preference about the user → memory.
If the user says "reminder" + a time, default to TODO with due_date. Only switch to calendar if the user explicitly says "calendar", "event", "meeting", "appointment", or describes a time range.
Safety
- All Odysseus data access MUST go through the scoped HTTP API under
/api/codex/*. - Check
/api/codex/capabilitiesbefore using a tool surface. - Treat
403as an intentional Settings restriction. Do not work around it. - Do not use SSH, Docker, direct Python imports, SQLite queries, MCP internals, browser cookies, or local files to read/write Odysseus user data.
- Do not call helpers like
do_manage_notes, email MCP internals, or database sessions directly for user data, even if shell access exists. - Never send email directly unless the user explicitly asks to send and the token has a send-capable scope.
- Keep actions scoped to the token owner.
Todos
The Codex API supports todos/checklists:
GET /api/codex/todosPOST /api/codex/todos
Use the bundled helper script when available:
python3 integrations/codex/scripts/odysseus_api.py capabilities
python3 integrations/codex/scripts/odysseus_api.py todos list
python3 integrations/codex/scripts/odysseus_api.py todos add "Follow up"
Supported todo actions are list, add, update, delete, and toggle_item.
Reminders (todos with a due date) — the backend parses natural language. Send due_date in the body via the generic POST so the time becomes a structured reminder, NOT a literal substring inside the title. The todos add TITLE shortcut only sets the title, so use the POST form for anything with a time:
python3 integrations/codex/scripts/odysseus_api.py POST /api/codex/todos '{"action":"add","title":"Call dentist","due_date":"tomorrow at 5pm"}'
The backend accepts both ISO timestamps and natural language like "tomorrow 5pm", "next Monday 9am", "in 2 hours". It anchors to the user's timezone.
The Codex API supports scoped email reads:
GET /api/codex/emails?folder=INBOX&limit=10&offset=0&filter=allGET /api/codex/emails/{uid}?folder=INBOX
Use the bundled helper script when available:
python3 integrations/codex/scripts/odysseus_api.py emails list 5
python3 integrations/codex/scripts/odysseus_api.py emails read UID
If /api/codex/capabilities does not show email.read: true, do not inspect email. Ask the user to enable Email read in the Codex Agent settings.
Memory
GET /api/codex/memory— list memories for the token owner.POST /api/codex/memory— body{"text": "...", "category": "fact", "source": "user", "session_id": null}. Requiresmemory:write.DELETE /api/codex/memory/{memory_id}— remove a memory entry. Requiresmemory:write.
python3 integrations/codex/scripts/odysseus_api.py GET /api/codex/memory
python3 integrations/codex/scripts/odysseus_api.py POST /api/codex/memory '{"text":"User prefers SI units","category":"preference"}'
Calendar
GET /api/codex/calendar/events?start=ISO&end=ISO— list events in window.POST /api/codex/calendar/events— b
常见问题
使用前需要准备什么?
你的 Odysseus 网址和一个 Codex Agent API 令牌,两者都需设置为环境变量。
日历事件会提醒我吗?
不会单独提醒。该技能说明,提醒应设置为带截止日期的待办事项,因为它们会触发通知。
如果没有令牌怎么办?
Codex 不会猜测凭证。它会请你在 Odysseus 设置中创建一个令牌。
详情
作者的原始描述
Use when the user asks Codex to read or write Odysseus data (todos, email, calendar, memory, documents) or to launch/monitor/stop a Cookbook model-serve task through the scoped Codex Agent API. Requires ODYSSEUS_URL and ODYSSEUS_API_TOKEN.
repo: odysseus-dev/odysseus
热度
- GitHub 星标
- 95k
- 排名
- #1305
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …