Convert timezones, resolve natural language times ("next Tuesday at 2pm"), compute durations, and adjust timestamps with DST awareness. No credentials needed...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install temporal-cortex-datetime或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install temporal-cortex-datetime⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/temporal-cortex-datetime/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: temporal-cortex-datetime description: |- Convert timezones, resolve natural language times ("next Tuesday at 2pm"), compute durations, and adjust timestamps with DST awareness. No credentials needed — all tools run fully offline after one-time binary install. license: MIT compatibility: |- Requires npx (Node.js 18+) or Docker to install the MCP server binary (one-time). After installation, all 5 tools run fully offline with zero network access. No OAuth or credentials needed. Works with Claude Code, Claude Desktop, Cursor, Windsurf, and any MCP-compatible client. metadata: author: temporal-cortex version: "0.9.1" mcp-server: "@temporal-cortex/cortex-mcp" homepage: "https://temporal-cortex.com" repository: "https://github.com/temporal-cortex/skills" openclaw: install: - kind: node package: "@temporal-cortex/[email protected]" bins: [cortex-mcp] requires: bins: - npx config: - ~/.config/temporal-cortex/config.json ---
5 tools for temporal orientation and datetime computation. All tools execute locally within the compiled MCP server binary — no external API calls, no network access at runtime, no credential files. The binary is installed once via npm (or built from source with Docker) and all subsequent executions are fully offline. No OAuth or credentials required. Timezone and week-start preferences are stored in config.json. Unset fields default to system timezone and Monday week-start.
| Tool | When to Use | |------|------------| | get_temporal_context | First call in any session. Returns current time, timezone, UTC offset, DST status, DST prediction, day of week. | | resolve_datetime | Convert human expressions to RFC 3339. Supports 60+ patterns: "next Tuesday at 2pm", "tomorrow morning", "+2h", "start of next week", "third Friday of March". | | convert_timezone | Convert RFC 3339 datetime between IANA timezones. | | compute_duration | Duration between two timestamps (days, hours, minutes). | | adjust_timestamp | DST-aware timestamp adjustment. "+1d" across spring-forward = same wall-clock time. |
These tools run inside the Temporal Cortex MCP server (@temporal-cortex/cortex-mcp), a compiled Rust binary distributed as an npm package.
Install and startup lifecycle:
npx resolves @temporal-cortex/cortex-mcp from the npm registry (one-time, cached locally after first download)checksums.json — installation halts on mismatchNetwork access: Only during the initial npm download. Once cached, subsequent launches are fully offline. The 5 datetime tools make zero network requests — all computation is local.
File access: The binary reads ~/.config/temporal-cortex/config.json for timezone and week-start preferences. Unset or missing fields default to system values. No filesystem writes. No credential files accessed.
No credentials required. Unlike the scheduling skill, this skill needs no OAuth tokens or API keys.
Pre-run verification (recommended before first use):
npm pack @temporal-cortex/cortex-mcp --dry-runVerification pipeline: Checksums are published independently at each GitHub Release as SHA256SUMS.txt — verify the binary before first use:
# 1. Fetch checksums from GitHub (independent of the npm package)
curl -sL https://github.com/temporal-cortex/mcp/releases/download/mcp-v0.9.1/SHA256SUMS.txt
# 2. Compare against the npm-installed binary
shasum -a 256 "$(npm root -g)/@temporal-cortex/cortex-mcp/bin/cortex-mcp"
As defense-in-depth, the npm package also embeds checksums.json and the postinstall script compares SHA256 hashes during install — installation halts on mismatch (the binary is deleted, not executed). This automated check supplements, but does not replace, independent verification above.
Build provenance: Binaries are cross-compiled from auditable Rust source in GitHub Actions across 5 platforms (darwin-arm64, darwin-x64, linux-x64, linux-arm64, win32-x64). Source: github.com/temporal-cortex/mcp (MIT-licensed). The CI workflow, build artifacts, and release checksums are all publicly inspectable.
Docker containment (recommended for maximum isolation — zero Node.js dependency, zero host filesystem access, zero network after build):
{
"mcpServers": {
"temporal-cortex": {
"command": "docker",
"args": ["run", "--rm", "-i", "--network=none", "cortex-mcp"]
}
}
}
Build: docker build -t cortex-mcp https://github.com/temporal-cortex/mcp.git — No volume mount needed since the datetime skill requires no OAuth tokens or credential files. The --network=none flag enforces the zero-network guarantee at the OS level.
get_temporal_context before time-dependent work — never assume the time or timezone."next Tuesday at 2pm" to RFC 3339 with resolve_datetime before passing to calendar tools.The expression parser supports 60+ patterns across 10 categories:
| Category | Examples | |----------|---------| | Relative | "now", "today", "tomorrow", "yesterday" | | Named days | "next Monday", "this Friday", "last Wednesday" | | Time of day | "morning" (09:00), "noon", "evening" (18:00), "eob" (17:00) | | Clock time | "2pm", "14:00", "3:30pm" | | Offsets | "+2h", "-30m", "in 2 hours", "3 days ago" | | Compound | "next Tuesday at 2pm", "tomorrow morning", "this Friday at noon" | | Period boundaries | "start of week", "end of month", "start of next week", "end of last month" | | Ordinal weekday | "first Monday of March", "third Friday of next month" | | RFC 3339 passthrough | "2026-03-15T14:00:00-04:00" (returned as-is) | | Week start aware | Uses configured WEEK_START (Monday default, Sunday option) |
get_temporal_context()
→ utc, local, timezone, utc_offset, dst_active, dst_next_transition,
day_of_week, iso_week, is_weekday, day_of_year, week_start
resolve_datetime("next Tuesday at 2pm")
→ resolved_utc, resolved_local, timezone, interpretation
1. get_temporal_context → user's timezone
2. convert_timezone(datetime: "2026-03-15T14:00:00-04:00", target_timezone: "Asia/Tokyo")
→ same moment in Tokyo time with DST and offset info
...
安装 temporal-cortex-datetime 后,可以对 AI 说这些话来触发它
Help me get started with temporal-cortex-datetime
Explains what temporal-cortex-datetime does, walks through the setup, and runs a quick demo based on your current project
Use temporal-cortex-datetime to convert timezones, resolve natural language times ("next Tuesday at...
Invokes temporal-cortex-datetime with the right parameters and returns the result directly in the conversation
What can I do with temporal-cortex-datetime in my marketing & growth workflow?
Lists the top use cases for temporal-cortex-datetime, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/temporal-cortex-datetime/ 目录(个人级,所有项目可用),或 .claude/skills/temporal-cortex-datetime/(项目级)。重启 AI 客户端后,用 /temporal-cortex-datetime 主动调用,或让 AI 根据上下文自动发现并使用。
temporal-cortex-datetime 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
temporal-cortex-datetime 可免费安装使用。请查阅仓库了解许可证信息。
Convert timezones, resolve natural language times ("next Tuesday at 2pm"), compute durations, and adjust timestamps with DST awareness. No credentials needed...
temporal-cortex-datetime 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using temporal-cortex-datetime
Identifies repetitive steps in your workflow and sets up temporal-cortex-datetime to handle them automatically