Agent Skills › chaitanyagiri/munder-difflin

chaitanyagiri/munder-difflin

GitHub

Worker能力目录,列出时间范围解析技能和外部集成调用方式。提供环境变量说明、日期快捷命令及通过回环代理访问外部服务的方法,确保Agent无需猜测工具即可执行任务。

17 skills 664

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)

Worker能力目录,列出时间范围解析技能和外部集成调用方式。提供环境变量说明、日期快捷命令及通过回环代理访问外部服务的方法,确保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时间戳的JSON数据,作为任务的时间边界,避免手动计算日期错误。
需要查询最近30天的数据 分析月度趋势或近期活动 涉及last30Days或trailing-month的任务
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'解析为以今天结束的滚动7天日期范围。提供本地时区的具体日期和精确UTC时间戳,避免手动计算。适用于需要最近7天数据范围的只读任务。
用户请求获取过去7天的数据或日志 任务涉及'last 7 days'或'trailing-week'的时间范围界定
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.

通过运行内置解析器获取上一个完整日历月的具体日期范围,返回本地时区日期和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.

通过运行内置解析器获取上一完整季度的具体日期范围,返回本地时区起止日期及精确UTC时间戳,用于季度回顾或环比分析等任务。
需要查询上一季度数据 进行季度间对比分析 执行季度回顾任务
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.

解析上一完整周(周一至周日)的具体日期范围,提供本地时区日期及精确UTC时间戳,避免手动计算。适用于周报或周同比分析等任务,需结合/temporal技能使用。
生成上周周报 进行周同比数据分析 查询过去七天的活动记录
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.

将“去年”解析为具体的ISO日期范围,返回包含本地时区及UTC精确时刻的起止时间。用于年度报告等任务的时间边界设定,禁止手动计算,需以此解析器为准。
需要查询或分析上一年度数据 生成年度对比报告 涉及去年全年范围的 temporal 查询
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.

对当前工作目录进行只读代码质量审计,扫描常见漏洞、死代码及安全热点,生成按严重程度排序的发现报告,不修改任何文件。
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摘要。通过提取标题、概述和关键要点,过滤无关元素,直接返回精简信息,不保存原始文件。适用于用户请求抓取网页或总结链接内容的场景。
fetch and summarize summarize this URL what does this page say get the content of <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.

用于执行Munder Difflin hive同步协议。启动任务时读取持久化记忆,检查并处理收件箱新消息,汇报发现内容,并在结束前提醒保存关键事实与决策至memory.md,确保上下文连续性。
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日期范围。提供本地和UTC格式,支持任意滚动窗口,无需手动计算,用于所有涉及时限的任务。
需要确定特定时间范围的起止日期 处理涉及'今天'、'本周'、'上月'等相对时间的查询或过滤 构建基于时间的数据筛选条件
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日期范围(1号至今天)。返回包含本地时区日期和精确UTC时间戳的JSON,用于月度指标等任务的时间边界设定。只读操作,禁止手动计算日期。
需要获取本月当前日期范围 查询本月至今(MTD)数据 确定本月1号到今天的截止时间
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时间戳的JSON,作为时间查询的唯一事实来源,避免手动计算。
需要获取当前季度起止日期 执行季度至今(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任务的时间边界。只读操作,禁止手动计算日期。
需要获取今年至今的日期范围 执行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.

将'昨天'解析为具体的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.

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-19 23:42
浙ICP备14020137号-1 $お客様$