360 Secure SkillHub
360 安全技能中心

journaling

提供 journal 的初始化、写入、非只读操作与维护协议,定义 INDEX、RULES、条目 frontmatter 和分类规则,并附带 Python/Node.js 脚本用于 frontmatter 操作与断链检查。适合管理个人长期笔记与知识沉淀。

LambdaXIII
热度 0.00
最近更新 2026-10-18 23:50:48
分类:知识依赖:读写文件 / 代码执行应用场景:笔记整理 / 研究 / 工作流 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lambdaxiii/metapowers/journaling
Metadata
name
journaling
description
MUST load before any write operation to <journal-root> (create, edit, move, archive, delete, etc.), including journal operations the user requests directly. No need to load for read-only access to journal content. Examples of write operations: - Creating a new journal - Writing, editing, importing, moving, archiving, or deleting journal entries - Maintaining / organizing the journal - Writing design decisions confirmed in discussion into journal files Write operations include: 创建/写入/编辑/收录/移动/归档/删除 journal 条目、 维护/整理 journal、将讨论中确认的设计决策写入 journal 文件。
license
CC-BY-NC-SA-4.0
metadata
{"version":"5.1.2","last_updated":"2026-10-16"}

Journaling

A journal is your structured long-term memory mechanism — experience, decisions, research, and methodology accumulated across sessions. With a journal, a later session can continue directly from where an earlier one stopped: read state, pick up work, avoid past pitfalls.

The Journal

The journal lives at <journal-root> and consists of:

  • INDEX.md — cover page and dashboard. The journal's single entry point; shows current state signals. Every journal operation starts here.
  • Rules document (RULES.md) — single entry point for rules; defines how this journal operates: INDEX structure, classification, note metadata fields, writing conventions, etc. Content is defined by the journal itself; the seed provides the initial scheme.
  • Entries — individual notes. Entry organization (directories, lifecycle, etc.) is defined by journal rules.

Before You Begin

This skill's protocols depend on <journal-root>/INDEX.md context — the journal's current state and operating context (what's in progress, what needs attention, what you've learned before). If you have not read INDEX.md this session, open it now.

Operating without INDEX.md means operating blind.

Protocol When to use Load
Init protocol Creating a new journal references/protocal-init.md
Write protocol Writing entries, including importing existing documents references/protocal-write.md
Non-read-only operations reference Other operations that change journal state (move, rename, delete, etc.) — shared guidance for the operation family references/protocal-operations.md
Maintenance protocol Maintaining / organizing the journal references/protocal-maintenance.md

Other reference documents load on demand per the references within each protocol.

Linked Files

Scripts

The scripts/ directory provides dependency-free convenience tools (frontmatter, check-links), in both Python and Node.js versions. Full guide in references/script-tools.md.


Operating Principles

  • The journal serves you, not the user — the autonomy domain covers writing and user-guided operations. You write it for your future self. Entry placement, splits, cross-references — these depend on patterns only you see; within the autonomy domain the decision and execution are yours. Dedicated maintenance is outside the autonomy domain: it is triggered only by the user, as a dedicated action (see the maintenance protocol).

  • Tags follow journal rules — the tag system is self-managed by the journal. Before writing, read the tag-related content in the journal rules; when the rules define no tags, distill short words from content, purpose, etc. into the tags field.

  • Directory placement is judged by journal rules — read before writing. Before writing, read the journal rules document (classification section) to decide which directory the content belongs to; when undefined, use the seed scheme. Directory placement is a content-organization decision, owned by journal rules, not prescribed by this skill.

  • Verify actual entry state before proposing improvements — the spec is ideal, the disk is truth. Check files before recommending changes.

  • Capture discussion decisions immediately. When the user confirms a design decision, write it to the target project document in the same turn. Do not defer to the journal; a journal summary can follow later during maintenance.

  • Deletion handling is judged by journal rules — routed via the non-read-only operations reference. Deletion gets minimal guidance there and executes per the journal rules' deletion conventions; this skill presets no deletion protocol and no deletion semantics.