一键导入
waylog-journal
Summarize `.waylog/history/*.md` into a sanitized per-session cache + a condensed, chronological `.waylog-journal/summary.md` journal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Summarize `.waylog/history/*.md` into a sanitized per-session cache + a condensed, chronological `.waylog-journal/summary.md` journal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Research a user-specified topic with current authoritative sources and package the findings as a reusable topic-kb skill (for example, kinesis-kb). Use when a user asks to learn about a topic, build a knowledge-base skill, or convert web research into reusable guidance.
Create a feature branch in a Git worktree, work independently, then merge back and clean up safely.
Ensure Mermaid diagrams in GitHub READMEs reserve bottom-right safe area using init-only config (no CSS, no spacer nodes) and optionally apply handrawn style on request.
| name | waylog-journal |
| description | Summarize `.waylog/history/*.md` into a sanitized per-session cache + a condensed, chronological `.waylog-journal/summary.md` journal. |
Keep a running, security-sanitized journal of important decisions and implementation details by
summarizing .waylog/history/*.md into a per-session cache (.waylog-journal/sessions.md) and a
condensed journal (.waylog-journal/summary.md).
This skill runs a Python script that spawns codex exec subprocesses. If you run it from inside Codex, those
subprocesses inherit Codex’s command sandbox. If outbound network is disabled there, the skill cannot call the model
and will (at best) produce placeholders.
When the skill is invoked, always request outbound network access for the command sandbox before running the script (or instruct the user how to enable it).
From the project root (or any subdirectory inside it):
python3 ~/.codex/skills/waylog-journal/scripts/waylog_journal.py
Recommended fast pass (initial per-session summaries):
python3 ~/.codex/skills/waylog-journal/scripts/waylog_journal.py \
--model gpt-5.1-codex-mini \
--reasoning-effort low
To collect/pull transcripts into .waylog/history/, install WayLog CLI (waylog):
brew install shayne-snap/tap/waylog
# or
cargo install waylog
See: https://github.com/shayne-snap/waylog-cli
Useful flags:
--dry-run (see what would change without calling the model)--force (regenerate everything)--codex-profile <name> (pass through to child codex runs as --profile; useful for local/offline profiles)--codex-oss / --codex-local-provider lmstudio|ollama|ollama-chat (run child codex via local OSS provider)--codex-home-mode inherit|temp (default: inherit; use temp to isolate CODEX_HOME for sandboxed runs)--codex-home <path> (explicit CODEX_HOME for child codex runs; overrides --codex-home-mode)--codex-history-persistence save-all|none (default: none to avoid writing Codex history)--codex-cd <path> (overrides Codex --cd; default: temp dir)--codex-mcp disable-all|inherit (default: disable-all to avoid MCP tool usage during summarization)--codex-config <key=value> (repeatable; passed through as codex -c ...)--codex-retries <n> / --codex-retry-backoff-sec <sec> (retry transient Codex/network failures)--model <name> (override default Codex model)--reasoning-effort <level> (override model_reasoning_effort)--no-prompt (never ask; always use Codex defaults unless flags/env are set)--no-journal (skip the condensed journal step)--force-journal (regenerate the journal even if unchanged)Keep it simple: don’t create a multi-step plan unless the user asks; don’t run --dry-run unless you’re debugging.
Request sandbox network access (required when running via Codex command execution). If it’s not already enabled:
One-off (start Codex with): codex -c 'sandbox_workspace_write.network_access=true'
Or set in ~/.codex/config.toml:
sandbox_mode = "workspace-write"
[sandbox_workspace_write]
network_access = true
If the user can’t/doesn’t want to enable this, stop and tell them to run the script directly in their shell (outside Codex), because it won’t work in a network-disabled sandbox.
If the user didn’t specify --model / --reasoning-effort, ask what to use (suggest gpt-5.1-codex-mini + low).
Run the script (it invokes codex exec once per changed history file, plus one optional pass for the journal).
Sanity-check .waylog-journal/summary.md for chronology, relevance filtering, and redaction.
If output is wrong, re-run the script with --force / --force-journal (don’t hand-edit managed sections).
.waylog-journal/summary.md. If something sensitive appears in a log, mention it only as “redacted”..waylog/history/*.md timestamps.related/unrelated to the current repo; the
condensed journal should exclude unrelated sessions (e.g., ad-hoc math questions started in the
project directory).<!-- waylog-journal:begin --> / <!-- waylog-journal:end -->;
add human notes in the “Manual Notes” section or regenerate via the script..waylog-journal/sessions.md metadata (status=...,
sha256=..., etc.). Fix the underlying issue (usually sandbox network access) and re-run the script.history.persistence=none and a temp working root (--cd) to reduce the
chance that waylog pull ingests these summarization runs.codex processes with your normal CODEX_HOME. Set --codex-home-mode temp
to isolate CODEX_HOME (useful if ~/.codex/sessions is not writable in a sandbox, or if you want to avoid
writing Codex session artifacts).--codex-history-persistence save-all if you explicitly want to keep Codex history.--codex-mcp disable-all) to avoid tool usage and
external API calls. Set --codex-mcp inherit to keep Codex MCP settings.CODEX_HOME, the script retries with an isolated temp
CODEX_HOME (seeded from your existing Codex auth/config when available).sandbox_workspace_write.network_access=true (otherwise neither hosted models nor localhost OSS providers can work
from inside the sandbox).--codex-profile gptoss-profile or --codex-oss --codex-local-provider lmstudio)..waylog-journal/sessions.md incrementally after each updated entry, so it’s safe
to interrupt and re-run; completed entries are skipped based on per-file sha256.codex exec runs once per changed history file, plus (by default) one
additional codex exec to generate the condensed journal if the sessions changed.401 Unauthorized / “Missing bearer…”: Codex is not logged in in this environment. Run codex login status, then codex login (or printenv OPENAI_API_KEY | codex login --with-api-key).
Network errors (e.g. “stream disconnected”): Re-run, consider --codex-retries, and consider lowering --max-chars.
Sandbox blocked network (DNS/connect errors from inside Codex “workspace-write”): enable outbound network access for sandboxed commands via config (security-sensitive; applies to all commands run in the sandbox):
sandbox_mode = "workspace-write"
[sandbox_workspace_write]
network_access = true
Or start Codex with a one-off override:
codex -c 'sandbox_workspace_write.network_access=true'
.waylog/history into .waylog-journal/summary.md”