Agent Skills › chaitanyagiri/munder-difflin

chaitanyagiri/munder-difflin

GitHub

提供Agent的能力目录,包括环境变量、时间范围解析技能及通过回环代理访问的外部集成。用于在启动时或不确定工具时查询可用能力及调用方式,确保Agent正确执行任务。

17 skills 656

Install All Skills

npx skills add chaitanyagiri/munder-difflin --all -g -y
More Options

List skills in collection

npx skills add chaitanyagiri/munder-difflin --list

Skills in Collection (17)

提供Agent的能力目录,包括环境变量、时间范围解析技能及通过回环代理访问的外部集成。用于在启动时或不确定工具时查询可用能力及调用方式,确保Agent正确执行任务。
查询当前可用的工具和集成能力 获取特定时间范围的日期计算结果 启动时加载环境配置和能力列表
resources/skills/capabilities/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill capabilities -g -y
SKILL.md
Frontmatter
{
    "name": "capabilities",
    "description": "Your capability catalog — read this at boot. Lists the temporal date-range\nskills and the external integrations (reached via the loopback broker)\navailable to you as a spawned worker, and exactly how to call each. Read-only.\nConsult it whenever you're unsure what tools\/integrations you have or how to\ninvoke them.\n",
    "allowed-tools": [
        "Bash"
    ]
}

Worker Capability Catalog

You are an autonomous worker spawned by the hive to do one objective and report back. This catalog tells you what you can do and how to call it — your temporal skills and your external integrations — so you don't have to guess. Everything here is read-only to invoke (the integrations themselves may act, but they are mediated and credential-free from your side).

1. Your environment

The harness injects these env vars (use them; don't hard-code paths):

  • AGENT_ID, AGENT_NAME — your identity in the hive.
  • AGENT_DIR — your private workspace (identity.md, memory.md, inbox/, outbox/, and .claude/skills/). Your bundled skills live under $AGENT_DIR/.claude/skills/.
  • HIVE_ROOT — the shared hive (PROTOCOL.md, the kanban, other agents).

At boot you also have identity.md (who you are) and HIVE_ROOT/PROTOCOL.md (the full coordination protocol). To message god or another agent, write ONE message JSON into $AGENT_DIR/outbox/ (schema in PROTOCOL.md). When finished, send god an "act":"done" outbox message with a substantive result summary.

2. Temporal skills — concrete date ranges, relative to now

When your task is time-scoped, resolve the dates instead of computing them by hand. Each skill prints inclusive civil dates (YYYY-MM-DD, your local timezone) and the half-open [startUtc, endExclusiveUtc) instants for timestamp queries. All are read-only (clock + stdout only; no writes, no network).

Named shortcuts (invoke directly):

Skill Range it resolves
/today, /yesterday the single civil day
/thisWeek, /lastWeek ISO week (Mon-start); this = Mon→today, last = prior full week
/last7Days, /last30Days rolling N-day window ending today
/thisMonth, /lastMonth this = 1st→today; last = prior full month
/thisQuarter, /lastQuarter this = quarter-start→today; last = prior full quarter
/thisYear, /lastYear this = Jan 1→today (YTD); last = prior full year

For any window — including last90Days, last12Months, or arbitrary lastNdays / lastNweeks / lastNmonths — use /temporal, or call the resolver directly:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" last30Days   # one window
node "$AGENT_DIR/.claude/skills/temporal/when.mjs"             # all windows
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --json 90d  # JSON only
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --list      # keywords

Convention: this* windows are period-start → today (to-date); last* named periods are the full prior complete period.

3. Integrations — via the loopback broker

External services are reached through the hive's loopback broker: a local, authenticated endpoint the harness runs on 127.0.0.1. You call the broker; it holds the credentials and performs the outbound call on your behalf. You never see or store a secret, and only loopback callers are accepted — so integration access is brokered, auditable, and credential-free from your side.

How integrations are surfaced to you is environment-dependent — the exact set enabled depends on how you were spawned and the hive's configuration — so discover what's live at run time rather than assuming. The broker pattern is stable even as specific integrations are added; treat the list below as the current surface, not a fixed contract.

Concrete capabilities you may have right now (check availability before relying on one):

  • Reply to the originating Slack thread. If your objective arrived from Slack, your dispatch includes the exact loopback reply command — node "<helper>" --channel <C> --thread <T> --text "<mrkdwn>". Use that command verbatim to post your result back to the thread. Send a substantive reply (a short *bold* headline + the actual outcome/links), never a bare "done".
  • Hive messaging. Coordinate or hand off by writing an outbox message JSON to god or another agent ($AGENT_DIR/outbox/). This is your always-available channel.
  • Semantic memory (MemPalace). If enabled for you: mempalace search "<query>" to recall shared knowledge, mempalace wake-up for a digest.
  • Enterprise Knowledge Graph. If enabled: node "$KG_CLI" search "<query>" for ranked passages, node "$KG_CLI" list, node "$KG_CLI" get <id> — use it for company-specific facts instead of guessing.
  • MCP integrations (filesystem, git, and others) come pre-wired into your session settings when enabled; invoke them as normal tools. The set is gated by the hive's consent configuration.

As additional brokered integrations land (calendar, mail, docs, web fetch, …), they follow the same shape: a brokered, credential-free call discoverable at run time. Pair them with the temporal skills above — resolve the date window first, then pass those concrete ISO bounds to the integration query.

4. Boundaries

  • Temporal skills are read-only helpers — they never write or reach the network. The broker mediates all external calls; you hold no credentials.
  • Do not push or tag to any remote. Commit locally; god is the sole integrator. Pause only for high-severity actions (remote push, paid/infra changes, deleting something you didn't create) — otherwise work autonomously.
  • Finish by reporting to god ("act":"done") with a real, substantive summary.
将“最近30天”解析为具体的ISO日期范围,提供包含时区的起止日期及UTC时间戳,用于月度趋势或近期活动查询,避免手动计算。
需要查询最近30天的数据 分析月度趋势 查找近期活动记录
resources/skills/last30Days/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill last30Days -g -y
SKILL.md
Frontmatter
{
    "name": "last30Days",
    "description": "Resolve \"last30Days\" to a concrete ISO date range relative to your run time —\na rolling 30-day window ending today. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a \"last 30 days\" \/ trailing-month task (monthly trends, recent activity).\n",
    "allowed-tools": [
        "Bash"
    ]
}

/last30Days

Get the concrete date range for a rolling 30-day window ending today by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" last30Days

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将'last7Days'解析为相对于运行时间的具体ISO日期范围(过去7天滚动窗口)。返回包含本地时区日期和精确UTC时间戳的JSON,避免手动计算日期。只读操作,无网络请求。
用户提到'last 7 days' 需要获取过去7天的数据范围
resources/skills/last7Days/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill last7Days -g -y
SKILL.md
Frontmatter
{
    "name": "last7Days",
    "description": "Resolve \"last7Days\" to a concrete ISO date range relative to your run time —\na rolling 7-day window ending today. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a \"last 7 days\" \/ trailing-week task.\n",
    "allowed-tools": [
        "Bash"
    ]
}

/last7Days

Get the concrete date range for a rolling 7-day window ending today by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" last7Days

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将'上个月'解析为具体的ISO日期范围,返回包含时区的起止日期及UTC时间戳。用于月度报告等任务,避免手动计算日期,确保时间上下文准确无误。
需要查询上个月数据 生成月度总结 处理月末报表
resources/skills/lastMonth/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill lastMonth -g -y
SKILL.md
Frontmatter
{
    "name": "lastMonth",
    "description": "Resolve \"lastMonth\" to a concrete ISO date range relative to your run time —\nthe previous full calendar month. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a task over last month (monthly reports, month-end summaries).\n",
    "allowed-tools": [
        "Bash"
    ]
}

/lastMonth

Get the concrete date range for the previous full calendar month by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" lastMonth

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将'lastQuarter'解析为相对运行时间的上一个完整季度的具体ISO日期范围,返回包含时区的民用日期和精确UTC时间戳,用于季度回顾或环比分析等任务的时间边界设定。
需要查询上个季度数据 执行季度回顾报告 进行季度对季度(QoQ)比较分析
resources/skills/lastQuarter/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill lastQuarter -g -y
SKILL.md
Frontmatter
{
    "name": "lastQuarter",
    "description": "Resolve \"lastQuarter\" to a concrete ISO date range relative to your run time —\nthe previous full quarter. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a task over last quarter (quarterly reviews, QoQ comparisons).\n",
    "allowed-tools": [
        "Bash"
    ]
}

/lastQuarter

Get the concrete date range for the previous full quarter by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" lastQuarter

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将“上周”解析为具体的ISO日期范围(周一至周日),返回本地时区的包含起止日期及精确UTC时间戳,避免手动计算。适用于周报或周环比任务,作为时间边界的事实来源。
需要获取上一完整自然周的具体日期范围 执行每周摘要、周报生成或周同比/环比分析任务
resources/skills/lastWeek/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill lastWeek -g -y
SKILL.md
Frontmatter
{
    "name": "lastWeek",
    "description": "Resolve \"lastWeek\" to a concrete ISO date range relative to your run time —\nthe previous full week (Mon → Sun). Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a task over the last complete week (weekly digests, week-over-week).\n",
    "allowed-tools": [
        "Bash"
    ]
}

/lastWeek

Get the concrete date range for the previous full week (Mon → Sun) by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" lastWeek

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将lastYear解析为相对于运行时的上一个完整日历年的具体ISO日期范围。返回包含时区的起止日期及精确UTC时间戳,避免手动计算,适用于年度报告等需要准确时间上下文的只读任务。
需要查询上一年度数据 生成年度对比报告 处理跨年度的时间范围查询
resources/skills/lastYear/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill lastYear -g -y
SKILL.md
Frontmatter
{
    "name": "lastYear",
    "description": "Resolve \"lastYear\" to a concrete ISO date range relative to your run time —\nthe previous full calendar year. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a task over last year (annual reports, year-over-year).\n",
    "allowed-tools": [
        "Bash"
    ]
}

/lastYear

Get the concrete date range for the previous full calendar year by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" lastYear

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

只读代码质量审计工具,扫描当前目录以发现漏洞、死代码、安全热点及缺失的错误处理等问题。识别项目类型后,使用Grep和Read检查硬编码密钥、未处理错误等风险,并按严重程度输出报告,严禁修改任何文件。
audit the code quick audit find issues code scan what's wrong with this codebase
resources/skills/md-audit/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill md-audit -g -y
SKILL.md
Frontmatter
{
    "name": "md-audit",
    "version": "1.0.0",
    "description": "Read-only code quality audit — scan the current working directory for common\nissues (bugs, dead code, security hotspots, missing error handling) and return\na prioritised findings report. No files are edited.\nUse when asked to \"audit the code\", \"quick audit\", \"find issues\", \"code scan\",\nor \"what's wrong with this codebase\". (munder-difflin)\n",
    "allowed-tools": [
        "Read",
        "Bash",
        "Grep"
    ]
}

Code Audit (read-only)

Perform a read-only code quality scan and return a findings report. Do NOT edit any files.

Steps:

  1. Scope — identify the primary language and entry points (package.json, Cargo.toml, go.mod, pyproject.toml, or similar).
  2. Scan — use Grep and Read to look for:
    • Unhandled promise rejections / ignored errors
    • Hard-coded secrets or credentials (keys, tokens, passwords)
    • TODO/FIXME/HACK comments that signal known debt
    • Dead exports (exported symbols with no in-repo import)
    • Obvious type-safety gaps (unchecked any, missing null guards)
  3. Report — output a findings list sorted by severity (Critical → High → Medium → Low):
    ## Audit Report — <project name>
    
    ### Critical
    - [file:line] <description>
    
    ### High
    - ...
    
    ### Summary
    <total count> findings across <file count> files scanned.
    
  4. Stop after reporting. Do not apply any fixes.
获取指定URL内容并生成简洁的Markdown摘要。提取标题、段落概述及关键要点,忽略广告等无关信息,直接返回结构化总结而不保存文件。
用户要求“抓取并总结” 用户要求“总结这个URL” 用户询问页面内容 用户提供URL并询问其包含的信息
resources/skills/md-fetch-summarize/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill md-fetch-summarize -g -y
SKILL.md
Frontmatter
{
    "name": "md-fetch-summarize",
    "version": "1.0.0",
    "description": "Fetch a URL and return a concise markdown summary of its content.\nRead-only: no files are written; the summary is returned as output only.\nUse when asked to \"fetch and summarize\", \"summarize this URL\", \"what does\nthis page say\", or \"get the content of <url>\".\nProactively suggest when the user pastes a URL and asks what it contains. (munder-difflin)\n",
    "allowed-tools": [
        "WebFetch",
        "Bash"
    ]
}

Fetch & Summarize

Given a URL, fetch its content and return a concise markdown summary.

Steps:

  1. Fetch the page with WebFetch (or Bash with curl -sL <url> | head -200 as a fallback).
  2. Extract the main content — ignore nav, footer, ads, and boilerplate.
  3. Return a structured summary with:
    • Title (the page's <title> or heading)
    • One-paragraph overview of what the page is about
    • Key points as a bullet list (max 5)
    • Source — the URL fetched

Do not save or write the fetched content anywhere. Return the summary directly.

执行任务前同步蜂群协议,读取持久化记忆与收件箱消息并处理,汇报状态,并在任务结束前记录关键事实以确保上下文延续。适用于被要求同步、检查收件箱或查询状态时。
sync with the hive check my inbox hive status hive sync
resources/skills/md-hive-sync/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill md-hive-sync -g -y
SKILL.md
Frontmatter
{
    "name": "md-hive-sync",
    "version": "1.0.0",
    "description": "Munder Difflin hive sync — runs the start-of-task hive protocol steps:\nreads memory.md, checks inbox\/ for new messages, and reminds you to record\ndurable facts in memory.md and write coordination files before ending.\nUse when asked to \"sync with the hive\", \"check my inbox\", \"hive status\",\nor \"hive sync\".\nProactively suggest at the start of a new task if you haven't checked your\nhive inbox in this conversation. (munder-difflin)\n",
    "allowed-tools": [
        "Read",
        "Bash"
    ]
}

Hive Sync

Run the mandatory hive start-of-task steps:

  1. Read memoryRead $AGENT_DIR/memory.md for durable context from prior sessions.

  2. Check inbox — list and read all files in $AGENT_DIR/inbox/ that are NOT in inbox/.done/. For each message:

    • Act on the message.
    • Move the handled file into $AGENT_DIR/inbox/.done/ with mv.
  3. Report — summarize what you found in memory and any new inbox messages. Note any tasks assigned to you or information relevant to the current session.

  4. End-of-task reminder — before closing this conversation, append durable facts, decisions, and outcomes to $AGENT_DIR/memory.md so future-you remembers.

Run echo $AGENT_DIR if the variable is not set to locate your agent directory under the hive root.

将自然时间窗口(如今天、上周、最近30天等)解析为相对于当前运行时间的具体ISO日期范围。提供人类可读及JSON格式输出,支持任意滚动窗口,无写入和网络操作,避免手动计算日期。
任务涉及特定时间范围查询 需要确定相对当前的起止日期 处理按周/月/季度/年统计的数据
resources/skills/temporal/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill temporal -g -y
SKILL.md
Frontmatter
{
    "name": "temporal",
    "description": "Resolve ANY named time window — today, yesterday, thisWeek, lastWeek,\nlast7Days, last30Days, last90Days, thisMonth, lastMonth, thisQuarter,\nlastQuarter, thisYear, lastYear, last12Months — or an arbitrary range\n(lastNdays \/ lastNweeks \/ lastNmonths) to a concrete ISO date range relative\nto your run time. Read-only: no writes, no network. Use whenever a task is\ntime-scoped and you need exact start\/end dates without computing them by hand.\n",
    "allowed-tools": [
        "Bash"
    ]
}

/temporal — concrete date ranges, relative to now

This is the single source of truth for "what dates does mean right now?". It resolves named windows to concrete ISO date ranges relative to your run time (new Date() at the moment you invoke it), so you never re-derive dates manually. It only reads the clock and prints — no files written, no network.

Run it

# all windows at once (a quick temporal-context dump)
node "$AGENT_DIR/.claude/skills/temporal/when.mjs"

# one or several specific windows
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" last30Days thisQuarter

# JSON only (machine-readable), or list the supported keywords
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --json last7Days
node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --list

If $AGENT_DIR is somehow unset, the script also lives under ~/.claude/skills/temporal/when.mjs.

Windows

Keyword Meaning
today / yesterday the single civil day
thisWeek / lastWeek ISO week (Mon-start); this = Mon→today, last = the full prior Mon→Sun
last7Days / last30Days / last90Days rolling N-day window ending today (inclusive)
thisMonth / lastMonth this = 1st→today; last = the full prior calendar month
thisQuarter / lastQuarter this = quarter-start→today; last = the full prior quarter
thisYear / lastYear this = Jan 1→today (YTD); last = the full prior year
last12Months rolling 12 months ending today
lastNdays / lastNweeks / lastNmonths arbitrary rolling window, e.g. last45days, last2weeks, last6months

Aliases: ytd, qtd, mtd, wtd, 7d, 30d, 90d, 12m.

Convention: this* windows are period-start → today (to-date); last* named periods are the full prior complete period.

Output

Each window prints a human line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same span as a half-open [start, end) range of exact UTC instants, ideal for timestamp / createdAt-style queries
  • days, inclusive, timezone, tzOffsetMinutes, asOf — span, tz, and the instant the range was resolved

Use the returned dates as the time bounds for the task. The named shortcuts /today, /yesterday, /last30Days, /lastQuarter, … each call this same resolver for their one window.

将“本月至今”解析为具体的ISO日期范围,返回包含起始和结束日期的JSON数据。适用于需要精确时间边界的月度指标查询或月初至当前日期的任务,避免手动计算日期。
查询本月累计数据 获取当月时间范围 执行月初至今的统计任务
resources/skills/thisMonth/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill thisMonth -g -y
SKILL.md
Frontmatter
{
    "name": "thisMonth",
    "description": "Resolve \"thisMonth\" to a concrete ISO date range relative to your run time —\nthis month so far (1st → today). Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a month-to-date task (MTD metrics, \"so far this month\").\n",
    "allowed-tools": [
        "Bash"
    ]
}

/thisMonth

Get the concrete date range for this month so far (1st → today) by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" thisMonth

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将“本季度”解析为具体的ISO日期范围(季度初至今天)。返回本地时区的包含性日期及精确UTC时间戳,作为QTD指标等任务的时间边界基准,避免手动计算。
查询本季度至今的指标 需要确定当前季度起始和结束日期
resources/skills/thisQuarter/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill thisQuarter -g -y
SKILL.md
Frontmatter
{
    "name": "thisQuarter",
    "description": "Resolve \"thisQuarter\" to a concrete ISO date range relative to your run time —\nthis quarter so far (quarter start → today). Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a quarter-to-date task (QTD metrics, \"this quarter\").\n",
    "allowed-tools": [
        "Bash"
    ]
}

/thisQuarter

Get the concrete date range for this quarter so far (quarter start → today) by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" thisQuarter

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将“本周”解析为相对于运行时间的具体 ISO 日期范围(本周一至今天)。返回包含时区信息的民用日期和精确 UTC 时间戳,作为任务时间范围的权威来源,避免手动计算。
需要获取本周活动数据 准备周报或周会材料 执行以本周为周期的统计任务
resources/skills/thisWeek/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill thisWeek -g -y
SKILL.md
Frontmatter
{
    "name": "thisWeek",
    "description": "Resolve \"thisWeek\" to a concrete ISO date range relative to your run time —\nthis week so far (Monday → today). Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a week-to-date task (this week's activity, weekly standups).\n",
    "allowed-tools": [
        "Bash"
    ]
}

/thisWeek

Get the concrete date range for this week so far (Monday → today) by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" thisWeek

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将“今年至今”解析为具体的ISO日期范围(1月1日至今日),返回本地时区日期和UTC时间戳,作为YTD任务的权威时间边界。
需要计算今年至今的指标或数据 询问本年度到目前为止的情况
resources/skills/thisYear/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill thisYear -g -y
SKILL.md
Frontmatter
{
    "name": "thisYear",
    "description": "Resolve \"thisYear\" to a concrete ISO date range relative to your run time —\nthis year so far (Jan 1 → today). Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a year-to-date task (YTD metrics, \"so far this year\").\n",
    "allowed-tools": [
        "Bash"
    ]
}

/thisYear

Get the concrete date range for this year so far (Jan 1 → today) by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" thisYear

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将'today'解析为具体的ISO日期范围,返回本地时区的包含起止日期及精确UTC时间戳。作为今日任务的时间边界依据,避免手动计算日期。只读操作,无写入和网络请求。
需要获取今天的具体日期范围 执行限定在今日的日志或指标查询任务 询问今天发生的事件
resources/skills/today/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill today -g -y
SKILL.md
Frontmatter
{
    "name": "today",
    "description": "Resolve \"today\" to a concrete ISO date range relative to your run time —\ntoday. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before any task scoped to today (today's logs, metrics, \"what happened today\").\n",
    "allowed-tools": [
        "Bash"
    ]
}

/today

Get the concrete date range for today by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" today

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

将“yesterday”解析为具体的ISO日期范围,返回包含本地时区的起止日期及精确UTC时间戳。作为日期计算的权威来源,避免手动计算,适用于昨日数据查询、日报生成等任务。
需要获取昨天具体日期的场景 编写或查询基于昨日时间范围的数据报告
resources/skills/yesterday/SKILL.md
npx skills add chaitanyagiri/munder-difflin --skill yesterday -g -y
SKILL.md
Frontmatter
{
    "name": "yesterday",
    "description": "Resolve \"yesterday\" to a concrete ISO date range relative to your run time —\nyesterday. Returns inclusive civil dates plus exact UTC instants so you have\ntemporal context without computing dates by hand. Read-only: no writes, no\nnetwork. Use before a task scoped to yesterday (daily reports, \"what changed yesterday\").\n",
    "allowed-tools": [
        "Bash"
    ]
}

/yesterday

Get the concrete date range for yesterday by running the bundled resolver:

node "$AGENT_DIR/.claude/skills/temporal/when.mjs" yesterday

It prints a human-readable line plus a JSON record:

  • start / end — inclusive civil dates (YYYY-MM-DD) in your local timezone
  • startUtc / endExclusiveUtc — the same window as a half-open [start, end) range of exact UTC instants, for timestamp-based queries
  • days, timezone, asOf — the span, your timezone, and when this resolved

Use the returned dates as the time bounds for the task at hand. Do not derive dates by hand — this resolver is the source of truth. For the full window list or an arbitrary range (e.g. last45days, last6months), see the /temporal skill.

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-13 09:54
浙ICP备14020137号-1 $Гость$