AGENT SKILL

ots-write

Commit a temporal node. The model proposes body text; this script writes frontmatter.

License 许可
MIT
最近更新
2026-09-13
Stars
★ 0
Forks
1

01 前言 Front Matter

name
ots-write
description
Commit a temporal node. The model proposes body text; this script writes frontmatter.

03 SKILL.md 正文

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/ots_common.py" write-session \
  --id software_engineer__atlas__001 \
  --period 2026-08-21T14 \
  --agent-name atlas --agent-role software_engineer \
  --author "$SECOND_BRAIN_IDENTITY" --bundle "$SECOND_BRAIN_ROOT"

Hour nodes come from tick-hour, not from session writes. --ensure-spine is off by default. Pass it only for fixtures.

A session that crosses an hour boundary closes its segment and opens the next (close-segment --period YYYY-MM-DDTHH), so each segment belongs to exactly one Hour.

Host JSONL is ingested by ots_tail_jsonl.py as .source.jsonl (see ots-tail). Pipeline: tail → tick-hour → summarize-hour → rollup → overnight pointers (separate).

Never write frontmatter by hand. Children before parent aggregates. Do not invent summary prose in rollup — the model proposes, the script only links.

04 同仓库更多 Skills