claude-code-interview: Command for Claude Code

.claude/commands/calendar/sync.md

sync is a command for Claude Code from huifer/claude-code-interview. It costs 22 tokens per session (4,683 once invoked), scanned A, original, MIT.

A calendar-sync command for turning interview schedules into calendar events or iCal files. iCal is a standard calendar format that services such as Google Calendar can import.

In plain words
What is it for?
Use it to list upcoming interviews, export all or selected interviews, generate Google Calendar import links, set reminders, and remove synced events.
Why use it?
It helps keep upcoming interviews, reminders, and company-specific events in one calendar so they are easier to track.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

This is huifer/claude-code-interview's own configuration. It tells Claude Code how to work on claude-code-interview itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-interview configures →

Reuse

Borrowing it

Nothing to install: this file belongs to huifer/claude-code-interview. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/huifer/claude-code-interview/main/.claude/commands/calendar/sync.md
Clone the repo
git clone --depth 1 https://github.com/huifer/claude-code-interview

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sync

README.md
[![agentmods](https://agentmods.dev/badge/commands/huifer/claude-code-interview/sync/github.svg)](https://agentmods.dev/commands/huifer/claude-code-interview/sync)
Your own site
<a href="https://agentmods.dev/commands/huifer/claude-code-interview/sync"><img src="https://agentmods.dev/badge/commands/huifer/claude-code-interview/sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sync

Your own site · 80×15
<a href="https://agentmods.dev/commands/huifer/claude-code-interview/sync"><img src="https://agentmods.dev/badge/commands/huifer/claude-code-interview/sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,683 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.04683
Opus 5.5 $0.00009 $0.01873
Sonnet 5.5 $0.00004 $0.00937
Haiku 4.5 $0.00002 $0.00468

Measured 2mo ago against content hash 5f1b18fe14b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/calendar/sync.md · 668 lines

How it starts

The opening of the file, as written. The whole thing — 668 lines — stays where its author put it; the contents beside it link to each section on GitHub.

日历同步

将面试安排自动同步到你的日历系统,确保不错过任何重要的面试。

使用方法

导出面试到iCal格式

# 导出所有即将到来的面试
/calendar/sync export

# 导出特定公司的面试
/calendar/sync export google

# 导出到指定文件
/calendar/sync export --output interviews.ics

生成Google Calendar导入链接

# 生成Google Calendar导入
/calendar/sync google-calendar

# 为特定公司生成
/calendar/sync google-calendar amazon

# 批量导入链接
/calendar/sync google-calendar --all

设置提醒

# 设置默认提醒(提前1天、1小时)
/calendar/sync remind --default

# 自定义提醒时间
/calendar/sync remind --before "1 day, 2 hours, 30 minutes"

# 为特定面试设置提醒
/calendar/sync remind --interview google-round2 --before "2 days, 1 day"

查看面试日历

# 显示所有即将到来的面试
/calendar/sync list

# 显示本周面试
/calendar/sync list --week

# 显示本月面试
/calendar/sync list --month

# 显示详细日历视图
/calendar/sync list --detailed

删除日历事件

# 删除已导出的日历事件
/calendar/sync remove

# 清除所有日历同步
/calendar/sync remove --all

iCal文件格式

标准iCal输出

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Claude Code Interview//Interview Calendar//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:面试安排
X-WR-TIMEZONE:Asia/Shanghai
X-WR-CALDESC:来自Claude Code Interview系统的面试安排

BEGIN:VEVENT
DTSTART:20240120T140000Z
DTEND:20240120T150000Z
DTSTAMP:20240115T080000Z
UID:google-round1-20240120@claude-code-interview
CREATED:20240115T080000Z
DESCRIPTION:Google L4面试 - 第1轮\n\n公司: Google\n职位: Software Engineer L4\n类型: Phone Screen\n面试官: John Smith\n\n准备要点:\n- 复习分布式系统\n- 练习2道算法题\n- 准备STAR故事\n\n备注:\n- 通过Zoom进行\n- 提前10分钟加入\n带上纸笔
LAST-MODIFIED:20240115T080000Z
LOCATION:Zoom (Meeting ID: 123-456-789)
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:🎯 Google面试 - Round 1 (Phone Screen)
TRANSP:OPAQUE
BEGIN:VALARM
TRIGGER:-PT2H
ACTION:DISPLAY
DESCRIPTION:面试提醒:2小时后开始
END:VALARM
BEGIN:VALARM
TRIGGER:-PT1D
ACTION:DISPLAY
DESCRIPTION:面试提醒:明天有面试
END:VALARM
END:VEVENT

BEGIN:VEVENT
DTSTART:20240125T190000Z
DTEND:20240125T203000Z
DTSTAMP:20240115T080000Z
UID:amazon-onsite-20240125@claude-code-interview
CREATED:20240115T080000Z
DESCRIPTION:Amazon L5 Onsite面试\n\n公司: Amazon\n职位: Senior SDE L5\n类型: Onsite (Virtual)\n轮次: 3轮技术 + 1轮行为\n\nRound 1 (10:00-10:45): System Design\nRound 2 (11:00-11:45): Coding\nRound 3 (13:00-13:45): Behavioral\nLunch (14:00-14:30)\nRound 4 (14:30-15:15): Leadership Principles\n\n准备要点:\n- 设计一个分布式系统\n- 练习时间管理\n- 准备6个Amazon LP故事\n\n备注:\n- 所有面试通过Amazon Chime进行\n- Onsite链接: amazon.chime.com/meeting/xxx\n带上纸笔、计算器(如需)
LAST-MODIFIED:20240115T080000Z
LOCATION:Amazon Chime (Virtual Onsite)
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:🎯 Amazon Onsite - 4轮
TRANSP:OPAQUE
BEGIN:VALARM
TRIGGER:-PT1D
ACTION:DISPLAY
DESCRIPTION:Amazon Onsite明天!确保今天早休息
END:VALARM
BEGIN:VALARM
TRIGGER:-PT2H
ACTION:DISPLAY
DESCRIPTION:Amazon Onsite 2小时后开始
END:VALARM
END:VEVENT

END:VCALENDAR

Read the full file on GitHub · 668 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 668 lines · 0 tokens per session scan A 5f1b18fe14b3

Subscribe to this mod's changes

sync is a command published in the GitHub repository huifer/claude-code-interview (27 stars, last pushed 10mo ago), licensed MIT. It adds 22 tokens to every session and 4,683 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sync compared with commands from other repositories

sync next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
synchuifer/claude-code-interviewCommand2710mo agoMITA22Claude Code
wsdanielmiessler/LifeOSCommand20kyesterdayMITA0Claude Code
cancel-ralphanthropics/claude-plugins-officialCommand46kyesterdayApache-2.0A4Claude Code
engage.actionshypnguyen1209/offensive-claudeCommand41215d agoMITA11Claude Code
focusData-Wise/claude-pluginsCommand7yesterdayMITA0Claude Code
stuckData-Wise/claude-pluginsCommand7yesterdayMITA0Claude Code
quickstartorq-ai/assistant-pluginsCommand62d agoMITA23Claude Code