用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill get-dates命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
正在显示 SKILL.md
基于 SOC 职业分类
| name | get-dates |
| description | Resolve target date from argument and return all date formats needed for planning rituals. |
| disable-model-invocation | true |
| allowed-tools | Bash |
This sub-skill resolves a target date from user arguments and returns all date-related fields needed by planning rituals.
The $ARGUMENTS variable contains the raw date argument:
(empty) → todaytoday → todaytomorrow → tomorrowmonday, tuesday, etc. → next occurrence (including today if matches)next monday, next tuesday, etc. → next occurrence after todayYYYY-MM-DD → specific dateParse $ARGUMENTS to determine the target date
Use macOS date commands to resolve relative dates:
# For "tomorrow"
date -v+1d +"%Y-%m-%d"
# For next weekday (e.g., "monday")
# Calculate days until next occurrence
Calculate all date fields for the resolved target date:
# Day of week
date -j -f "%Y-%m-%d" "$TARGET_DATE" +"%A"
# ISO week number
date -j -f "%Y-%m-%d" "$TARGET_DATE" +"%Y-W%V"
# Month
date -j -f "%Y-%m-%d" "$TARGET_DATE" +"%Y-%m"
# Quarter
# Q1: Jan-Mar, Q2: Apr-Jun, Q3: Jul-Sep, Q4: Oct-Dec
Determine relationship to today:
is_today: target date equals current dateis_future: target date is after current dateis_past: target date is before current dateReturn structured JSON:
{
"target_date": "2026-02-15",
"day_name": "Sunday",
"day_short": "Sun",
"week": "2026-W07",
"month": "2026-02",
"month_name": "February",
"quarter": "2026-Q1",
"year": "2026",
"is_today": false,
"is_future": true,
"is_past": false,
"days_from_today": 1
}
is_past: true for caller to handle| Input | Target Date | Notes |
|---|---|---|
(empty) | 2026-02-14 | Today |
today | 2026-02-14 | Today |
tomorrow | 2026-02-15 | +1 day |
monday | 2026-02-16 | Next Monday (including today if Monday) |
next monday | 2026-02-16 | Next Monday (always future) |
2026-02-20 | 2026-02-20 | Specific date |
When scope=week is passed in arguments or the input contains an ISO week format:
(empty) → current weeklast week → previous weekYYYY-Www → specific ISO week (e.g., 2026-W07)# Get current ISO week
date +"%G-W%V"
# Get week start (Monday) from ISO week
# Use: date command with week calculation
# Get week end (Sunday) from ISO week
# week_end = week_start + 6 days
When resolving weeks, include these additional fields:
{
"target_date": "2026-02-14",
"day_name": "Saturday",
"day_short": "Sat",
"week": "2026-W07",
"week_start": "2026-02-09",
"week_end": "2026-02-15",
"is_current_week": true,
"is_past_week": false,
"month": "2026-02",
"month_name": "February",
"quarter": "2026-Q1",
"year": "2026",
"is_today": false,
"is_future":
| Input | Target Week | Week Start | Week End |
|---|---|---|---|
(empty) scope=week | 2026-W07 | 2026-02-09 | 2026-02-15 |
last week | 2026-W06 | 2026-02-02 | 2026-02-08 |
2026-W05 | 2026-W05 | 2026-01-26 | 2026-02-01 |
YYYY-Www pattern → use directlylast week → current week minus 1scope=week with empty input → current weekweek_start as the Monday of that weekweek_end as the Sunday of that week