一键导入
notebook-entry
Create or update durable project notebook entries. Use whenever Codex creates notebook memory, especially from a forked subagent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or update durable project notebook entries. Use whenever Codex creates notebook memory, especially from a forked subagent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Planning-centric workflow for substantial work across software, analyses, artifacts, documentation, and configuration. Invoke manually with $work-cycle when alignment matters; not for straightforward one- or two-edit requests.
Create or update developer-facing and agent-facing project documentation, or run module-scoped codebase audits. Invoke manually with $documentation for codebase maps, module documentation, codebase review/audit workflows, and README.md or AGENTS.md work.
Documentation subskill for project hygiene maintenance. Use through $documentation when the user asks to maintain, clean up, health-check, refresh AGENTS.md/notebook/TODOs, inspect git branches/PRs/stashes, or review overall project state. Do not use for codebase audit, codebase review, release-check, or module-scoped bug-finding requests; those belong to module-codebase-review.
Manual-only workflow for codebase audit, codebase review, release-check, paper-freeze-check, and module-scoped multi-agent read-only bug/code-smell audits that produce a prioritized notebook report and TODO-ready findings. Use this instead of maintain-project for requests that ask to audit or review code behavior.
Ergonomic notebook-backed TODO capture for deferred work. Invoke manually with /defer when the user asks to defer, save, park, or add a TODO for later work while preserving the current conversation context.
Initialize a project workspace for Claude Code with project instructions, repository checks, notebook scaffolding, optional remotes, and optional O2/SLURM setup. Invoke manually with /init-project for first-time project setup, notebook bootstrap, project remotes, or O2/SLURM setup.
| name | notebook-entry |
| description | Create or update durable project notebook entries. Use whenever Codex creates notebook memory, especially from a forked subagent. |
| recommended_scope | global |
Use this skill to create durable project memory in the active project's notebook/ repo. If invoked in a subagent, use the forked conversation history as the source of truth and ask for no additional context. Work autonomously; if blocked by missing permissions or unavailable files, report the blocker instead of waiting for the user.
Assume notebook/ is a subdirectory of the active project root. If notebook/.git is missing, stop with: No notebook: run /init-project first.
Get the user identity for entry metadata:
git config user.name
Entry target: notebook/entries/YYYY-MM-DD-<slug>.md.
## Details instead of replacing earlier notes.# <Descriptive Title>
**Date:** YYYY-MM-DD
**Author:** Codex
**User:** <git config user.name>
## Summary
<One paragraph: what was done and why>
## Details
<The substantive work: decisions made, code written, issues resolved, findings, commands/tests worth remembering, and next-step context>
## References
- `<entry-name>`: <why it was useful>
Use Codex for Author. Use the git config user.name value for User.
$work-cycle skill, include the notebook plan path or link and the PR number or commit hash.## Details chronologically so a future agent can follow how the work evolved.For style examples, find the config repo from the installed global instructions and read templates/entry-examples.md only if needed:
CONFIG_REPO="$("${CODEX_HOME:-$HOME/.codex}/bin/config-agent-tool" repo-dir)"
Only do this when the conversation shows the user asked to work on a specific todo, such as "work on todo #3" or "do the X task".
notebook/TODO.md and find the matching item.notebook/DONE.md.Completed: YYYY-MM-DDResult: notebook/entries/<slug>- [ ] to - [x]Skip this section entirely when no specific todo was being worked.
notebook/INDEX.md: add a row for a new entry or update the summary for an existing entry.git -C notebook add entries/ INDEX.md TODO.md DONE.md
git -C notebook commit -m "entry: <slug>"
git -C notebook push
Including unchanged TODO.md or DONE.md is fine. If git push fails because no remote exists, report that without treating the entry as failed.
Return exactly one short status line, using the final entry path:
Created/Updated notebook entry: `notebook/entries/YYYY-MM-DD-<slug>.md`