agentsclimarketplace

Ordito detect stale

Skill karuhi/ordito/.claude/skills/ordito-detect-stale

List Ordito IR documents whose content has changed since their last HTML generation (updated_at is newer than generated_at, or never generated). Read-only; touches nothing. Use this to gather material for asking the user "未反映が N 件あります。反映(再生成)しますか?" before deciding whether to run ordito-generate. Returns a JSON list of stale pages with their timestamps. Does not generate, does not confirm — the calling agent presents the result and asks.From its SKILL.md

Install
npx -y skills add karuhi/ordito --skill ordito-detect-stale

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.9 KB, 511 tokens by cl100k_base, as published. Nobody here has run it

ordito-detect-stale

Ordito の 読み出しスキル。IR ストアを走査し、未反映ページ(成果物が IR より古い)を一覧する(§3.4)。

いつ使うか

  • 更新(ordito-update-block)の後、「反映(再生成)しますか?」の確認材料として未反映の件数・対象を提示するとき。
  • 生成(ordito-generate)の only:"stale" の前段の確認に。
  • 読み出しのみで副作用なし。確認は呼び出すAIエージェントが行う。

入力(JSON)

{ "ir_dir": "samples/ir" }

ir_dir(任意)。省略時はリポジトリルートの ordito.config.jsonirDir(無ければ samples/ir)で解決する。

出力(JSON)

{ "ok": true, "total": 5, "stale_count": 1,
  "stale": [ { "id": "guides/quickstart", "file": "...", "updated_at": "…", "generated_at": "…" } ] }

generated_at が null(未生成)も未反映に含む。

注: 未反映判定は時刻比較(updated_at > generated_at)。ordito-generategenerated_at = max(now, updated_at) で 押印するため、updated_at がマシン時計より未来でも生成後に未反映は解消する(クロックスキュー耐性)。 時刻はミリ秒精度で、連続した update→generate を正しく順序づける。

実行

echo '{}' | node "${CLAUDE_SKILL_DIR}/detect-stale.js"

What ships with it: 1 file

1.4 KB alongside SKILL.md, 1 of them executable

Keep looking

Skills are one crate of 326,970. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.