本文へ移動
cccskills
無料GitHub で公開

journal

Write structured session journal entries for durable working memory.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-coreスター 90(GitHub 90 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md3.4 KB
  • agents/openai.yaml120 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

/journal

Write a structured working-memory entry for the current Claude session. Entries land at workspace/threads/journal/<YYYY-MM-DD>/<NNN>-<slug>.md and the day's INDEX.md is auto-updated.

Spec: core/knowledge/public/hq-core/journal-spec.md.

Usage

FormEffect
/journal "<title>"Write a new entry inferring body from recent context
/journal --listPrint today's INDEX
/journal --read <NNN>Print a specific entry

Behavior

Writing an entry

  1. Synthesize the body from the current conversation context. The entry captures what's useful to recover if the prefix gets compacted away — not everything that happened.
  2. Use this template (50–200 lines, ≤5KB hard):
## Goal
<one sentence: what this slice of work is about>

## Findings
<bullets — non-obvious things learned, file paths discovered, behaviors observed>

## Decisions
<numbered — what was chosen, including rejected alternatives if instructive>

## Next
<what the next entry will pick up: story id, file, or open question>
  1. Pass the synthesized body via --body-file to core/scripts/session-journal.sh write:
mktemp_body=$(mktemp -t journal-body.XXXXXX)
cat > "$mktemp_body" <<'EOF'
## Goal
...

## Findings
...

## Decisions
...

## Next
...
EOF

core/scripts/session-journal.sh write "<title>" \
  --files "<comma-separated relative paths touched, optional>" \
  --body-file "$mktemp_body"

rm -f "$mktemp_body"
  1. Confirm the path returned by the helper. Print the entry's relative path back to the user — that's the receipt.

--list

core/scripts/session-journal.sh list

Prints today's INDEX.md. If the user wants a different day, pass --date YYYY-MM-DD through.

--read <NNN>

core/scripts/session-journal.sh read <NNN>

Prints a specific entry. Useful after /handoff continuation when the SessionStart hook surfaced the INDEX and you need a specific entry's detail.

When to write an entry

You don't need to wait for the auto-trigger hook. Write proactively after:

  • Finishing a coherent slice of work (one story, one investigation, one cluster of related edits).
  • A commit lands.
  • A test pass / typecheck pass.
  • A user direction change ("now let's do X instead").
  • Right before /handoff or /checkpoint.
  • When you notice you've made non-obvious findings that wouldn't survive a compaction.

Constraints

  • Never include secrets, share-session URLs, or other capabilities in entries (per .claude/policies/hq-share-session-urls-are-capabilities.md and the rest of the credential-isolation rule set).
  • Don't write trivial entries ("read a file"). The bar is: would future-me want this back after compaction?
  • One entry per coherent slice. If you have three unrelated findings, write three entries.

Related

  • core/knowledge/public/hq-core/journal-spec.md — full spec, two-pattern coexistence with task journals
  • .claude/hooks/journal-due.sh — PostToolUse auto-trigger
  • .claude/hooks/journal-precompact.sh — PreCompact reminder
  • .claude/hooks/load-journal-index-on-start.sh — SessionStart auto-load
  • core/scripts/session-journal.sh — helper script
  • .claude/skills/_shared/journal.sh — task journal (different pattern, doesn't conflict)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

accept

無料

Accept HQ membership invites from a magic link or raw token.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

adr

無料

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

architect

無料

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

Generate dark ASCII banner graphics for HQ and social launch assets.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

日本語の概要は準備中です。原文の説明を表示しています。

indigoai-us/hq-core902026年10月26日 更新

indigoai-us のスキルをすべて見る

このスキルの問題を報告する