← 返回列表
全部 Skill›数据与AI Data & AI›odysseus

odysseus

作者 @odysseus-dev · 语言 en
Use when the user asks Claude Code to read or write Odysseus data (todos, email, calendar, memory, documents) or to launch/monitor/stop a Cookbook model-serve task through the scoped Claude Agent API. Requires ODYSSEUS_URL and ODYSSEUS_API_TOKEN.
数据与AI Data & AILLM 与 AI需海外环境执行命令访问网络待翻译
最近源活动
—
检测 SKILL.md 语言
en
星标 ★
95,920
分支 Fork
0
安装选项
提示
指令
使用 AI 助手安装
将下面的提示复制到你正在使用的 AI 助手中。
下载完整 Skill 目录(含全部配套文件)。 下载压缩包 ↓
SKILL.md 原文预览

Odysseus

Use this skill when a user asks to interact with Odysseus from Claude Code.

Configuration

Expect these environment variables:

  • ODYSSEUS_URL: Base URL for the user's Odysseus instance, for example http://127.0.0.1:7000.
  • ODYSSEUS_API_TOKEN: Scoped API token created in Odysseus Settings > Integrations > Add Integration > Claude Agent.

If either value is missing, do not guess credentials. Tell the user to create a Claude 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/* (the canonical scope-gated agent API, shared by all agent integrations).
  • Check /api/codex/capabilities before using a tool surface.
  • Treat 403 as 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 scoped agent API supports todos/checklists:

  • GET /api/codex/todos
  • POST /api/codex/todos

Use the bundled helper script when available:

python3 ~/.claude/skills/odysseus/scripts/odysseus_api.py capabilities
python3 ~/.claude/skills/odysseus/scripts/odysseus_api.py todos list
python3 ~/.claude/skills/odysseus/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 ~/.claude/skills/odysseus/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.

Email

The scoped agent API supports email reads:

  • GET /api/codex/emails?folder=INBOX&limit=10&offset=0&filter=all
  • GET /api/codex/emails/{uid}?folder=INBOX

Use the bundled helper script when available:

python3 ~/.claude/skills/odysseus/scripts/odysseus_api.py emails list 5
python3 ~/.claude/skills/odysseus/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 Claude 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}. Requires memory:write.
  • DELETE /api/codex/memory/{memory_id} — remove a memory entry. Requires memory:write.
python3 ~/.claude/skills/odysseus/scripts/odysseus_api.py GET /api/codex/memory
python3 ~/.claude/skills/odysseus/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 — body matches EventCreate (summary, dtstart, dtend, all_day, description, location, calendar_href, rrule, color). Requires calendar:write.
  • DELETE /api/codex/calendar/events/{uid} — delete event by uid (the value returned in the POST response). Requires calendar:write.

Documents

  • GET /api/codex/documents?search=...&limit=50 — paginated library.
  • GET /api/codex/documents/{doc_id} — fetch one document.
  • POST /api/codex/documents — body {"session_id": "...", "title": "...", "content": "...", "language": "markdown"}. Requires documents:write.
  • DELETE /api/codex/documents/{doc_id} — delete a document. Requires documents:write.

Chat history

  • GET /api/codex/chat/{session_id}?offset=0&limit=100 — read a paginated conversation transcript owned by the token owner. Requires the existing chat scope.
python3 ~/.claude/skills/odysseus/scripts/odysseus_api.py GET /api/codex/chat/SESSION_ID

Email draft + send

  • Prefer POST /api/codex/emails/draft-document for agent-written email replies. It crea
评论
Oodysseus-dev
odysseus-dev
odysseus-dev/odysseus
查看 GitHub 仓库 查看作者的其他 Skill
来源信息
作者@odysseus-dev
所属大类数据与AI Data & AI / LLM 与 AI
国内可用性需海外环境
最近源活动—
风险提示执行命令、访问网络
提示:风险标签为程序静态扫描结果,仅作提示,不代表安全认证。安装前请阅读 SKILL.md 及其引用的脚本、权限,自行判断是否可信。