Borrowing it
Nothing to install: this file belongs to ianlkl11234s/mini-taiwan-pulse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ianlkl11234s/mini-taiwan-pulse/master/.claude/commands/handoff.mdgit clone --depth 1 https://github.com/ianlkl11234s/mini-taiwan-pulseWrote 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.
[](https://agentmods.dev/commands/ianlkl11234s/mini-taiwan-pulse/handoff)<a href="https://agentmods.dev/commands/ianlkl11234s/mini-taiwan-pulse/handoff"><img src="https://agentmods.dev/badge/commands/ianlkl11234s/mini-taiwan-pulse/handoff/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.
<a href="https://agentmods.dev/commands/ianlkl11234s/mini-taiwan-pulse/handoff"><img src="https://agentmods.dev/badge/commands/ianlkl11234s/mini-taiwan-pulse/handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00946 |
| Opus 5 | $0.00020 | $0.00473 |
| Sonnet 5 | $0.00008 | $0.00189 |
| Haiku 4.5 | $0.00004 | $0.00095 |
Grade A, and why
handoff 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/handoff
盤點某 feature 在整條 pipeline(upstream → downstream)的跨 repo 狀態。用於:
- 準備開 PR 前確認上下游對得起來
- 資料契約要改前確認影響哪些 repo
- 開新 handoff.md 前收集素材
參數
$1(必填):feature slug(與docs/features/<slug>/一致),例如real-estate/fire-rescue--since=YYYY-MM-DD(選填):只看該日之後的 commit,預設近 30 天
執行步驟
Claude 收到後執行以下(用 Bash / Read,不要修改任何檔案):
Step 1 — 讀對應文件
# 下游 feature 資料夾
cat docs/features/$1/README.md
cat docs/features/$1/changelog.md
cat docs/features/$1/handoff.md
cat docs/features/$1/backlog.md 2>/dev/null
# 上游 handoff SSOT
cat ../taipei-gis-analytics/docs/handoff/$1.md 2>/dev/null || echo "上游 handoff 尚未建"
Step 2 — 掃 4 repo 的相關 commit
SINCE="${2:-30 days ago}"
SLUG="$1"
echo "=== mini-taiwan-pulse ==="
git log --oneline --since="$SINCE" | grep -iE "$SLUG|${SLUG//-/[-_ ]}"
echo "=== taipei-gis-analytics ==="
(cd ../taipei-gis-analytics && git log --oneline --since="$SINCE" | grep -iE "$SLUG")
echo "=== gis-platform ==="
(cd ../gis-platform && git log --oneline --since="$SINCE" | grep -iE "$SLUG")
echo "=== data-collectors ==="
(cd ../data-collectors && git log --oneline --since="$SINCE" | grep -iE "$SLUG")
Step 3 — 檢查漂移
- 上下游 handoff 有沒有指到同一個 S3 path / RPC / migration #
- changelog 最後日期 vs 各 repo 最新 commit 日期是否吻合
- 有沒有「上游改了但下游沒跟」的欄位
Step 4 — 產出報告
Claude 用 markdown 表格回報:
## Feature: <slug>
### 4 repo 近況
| Repo | 最新相關 commit | 未 push? |
|---|---|---|
| mini-taiwan-pulse | ... | Yes/No |
| taipei-gis-analytics | ... | ... |
| gis-platform | ... | ... |
| data-collectors | ... | ... |
### 契約狀態
- Upstream handoff:✅/⚠️/❌
- Downstream handoff.md 反向引用:✅/❌
- 硬依賴欄位對得上:✅/⚠️/❌ (列缺項)
### 建議動作
- [ ] ...
範例
/handoff real-estate
/handoff fire-rescue --since=2026-06-01
不做
- ❌ 不改任何檔案(純 read-only 盤點)
- ❌ 不決定要不要改 → 只列狀態給用戶判斷
- ❌ 若 feature 資料夾不存在 → 提示先建
cp -r docs/features/_TEMPLATE docs/features/<slug>
Related
docs/features/<slug>/— 下游 feature 文件../taipei-gis-analytics/docs/handoff/<slug>.md— 上游 SSOT- Skill:
layer-onboardingStep 5(跨 repo 對齊) - CLAUDE.md §Git Workflow §跨 repo 同步順序
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.
- 11d ago First seen · 103 lines · 41 tokens per session scan A 122241b23483
handoff is a command published in the GitHub repository ianlkl11234s/mini-taiwan-pulse (504 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 946 once invoked, about $0.0002 per session on Opus 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.
Other commands, from other repositories
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
commit-claude-config
Version the Solana AI Kit config in git (un-ignores .claude/, CLAUDE.md, .mcp.json, .gitmodules and commits them).
session-report
Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.
feat
Quick feature commit. Use for new feature, add feature, implement, create new.
step6-ship
Pipeline Step 6 — Ship the completed phase: commit, update roadmap, capture postmortem, optionally push and create PR.