Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

session-log会话日志

Agent Skill

session-log 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

309

周安装

13

GitHub Stars

37

下载量

108
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:session-log(会话日志)
来源仓库:https://github.com/simhacker/moollm
仓库路径:skills/session-log
安装命令:
npx skills add https://github.com/simhacker/moollm --skill session-log
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/simhacker/moollm --skill session-log

简介

session-log 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态和协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 建议确认权限范围和维护状态,注意是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Session Log

Human-readable markdown logs that tell stories.

Session logs are living documents that capture the narrative of play. Unlike technical event logs, sessions are meant to be READ — by users, by future LLMs warming context, by anyone who wants to understand what happened.

[!IMPORTANT] Session logs are NOT append-only! They are living documents that grow and improve over time. You can and should retroactively improve them as new information comes in.

📍 Where Sessions Live

The default session file is SESSION.md in the character directory:

characters/
├── real-people/don-hopkins/
│   ├── CHARACTER.yml
│   └── SESSION.md          ← Default session log
├── fictional/donna-toadstool/
│   ├── CHARACTER.yml
│   └── SESSION.md          ← Default session log
└── animals/monkey-palm/
    ├── CHARACTER.yml
    └── SESSION.md          ← Default session log

Naming Sessions

You can create multiple session files with descriptive suffixes:

Session FilePurpose
SESSION.mdDefault — the main session log
SESSION-day1-exploration.mdSpecific day or theme
SESSION-fluxx-marathon.mdNamed adventure arc
SESSION-debug-investigation.mdDebugging session

Command: START SESSION [name] — Creates a new session file with optional suffix.


📝 Writing Good Sessions

The Golden Rule

Sessions are meant to be read by humans. Write them like stories, not logs.

Structure with Outlines

Use <details open> tags to create collapsible sections that:

  • Show narrative meant to be read (opened)
  • Hide technical data and debugging (closed)
  • Group related content into logical sections
  • Allow readers to drill down on demand
<details open>
<summary><h2>🌟 Chapter Title — Descriptive Subtitle</h2></summary>

The narrative content goes here. This is what readers see first.

<details open>
<summary>📂 <strong>Technical details: What the YAML changes looked like</strong></summary>

The YAML data island

state_change: file: ./CHARACTER.yml changes: [location, inventory]


### Outline Patterns

| Pattern | When to Use | State |
| --- | --- | --- |
| `<details open>` | Narrative chapters — always show | **Open** |
| `<details open>` | Technical details — hide by default | **Closed** |
| Nested `<details open>` | Data within narrative | Mixed |

### The Summary Line

The `<summary>` is part of the narrative! Write it as a headline:

<!-- BAD: Generic summaries --> <summary>Turn 5</summary> <summary>File operations</summary>

<!-- GOOD: Descriptive headlines --> <summary><h2>🌟 Turn 5: The Wish is Spoken — Palm's Incarnation</h2></summary> <summary>📂 <strong>File creation: CHARACTER.yml with 32 Mind Mirror dimensions</strong></summary>


### Use Emojis in Section Headers

Add emojis **after the folder icon** for narrative sections:

| Emoji | Meaning |
| --- | --- |
| 📂 | Technical/collapsed section |
| 🌟 | Major milestone |
| 🎭 | Character transformation |
| 🗺️ | Exploration/travel |
| 💬 | Dialogue/conversation |
| 🎰 | Games/randomness |
| 🐕 🐱 🐵 | Animal character sections |
| ⚡ | Speed-of-light simulation |

---

## 📊 Session Index

**Keep an index at the top of every session!** Update it retroactively as you append.

<details open> <summary><h2>⭐ Session Highlights & Index</h2></summary>

📚 Session Index (Internal Links)

Day 1 — The Wish

Day 2 — The Fluxx Marathon

🏠 Key Locations (External Links)

LocationDescription
Palm's NookThe monkey's home
The PubMain location

</details>


### Index Rules

1. **Internal links** use anchor syntax: `[Title](#anchor-name)`
2. **External links** use relative paths: `[File](../../../path/file.yml)`
3. **Update retroactively** — every append is a chance to improve the index
4. **Group by day/arc** — natural narrative divisions

---

## 🔗 Linking Generously

**Links draw people into the repo!** Every file, character, room, and skill mentioned should be a link.

### Link Everything

<!-- BAD: No links --> Palm wrote an essay about being a monkey.

<!-- GOOD: Link everything --> Palm wrote an essay (palm-on-being-palm.md) about being a monkey.


### Use Tables for Related Files

Files Created

FileDescription
CHARACTER.ymlSoul file
APPEARANCE.ymlPhysical description
→ Full directoryComplete character

Related Skills

SkillPurpose
incarnationCharacter creation protocol
speed-of-lightMulti-agent simulation

> **Path variables in YAML vs Markdown:** Use `$SKILLS/` in YAML files (runtime resolution). Use relative paths in Markdown for GitHub rendering.

---

## 📈 Tables Tell Stories

Tables are excellent for:

- **Summarizing actions** — turns, outcomes, stats
- **Showing state** — inventories, relationships, locations
- **Listing files** — what was created, edited, linked
- **Character rosters** — who's present, their status

Current Status

CharacterLocationStatus
Donpub/Active
Palmstage/palm-nook/Writing
Biscuitfollowing DonWIGGLING

Session Statistics

MetricValue
Turns33
NPCs encountered15
Relationships formed12
Gold spent31

### Fold Large Tables

<details open> <summary>📂 <strong>Full inventory (47 items)</strong></summary>

ItemLocationValue
.........

</details>


---

## 🔄 Retroactive Improvement

**Sessions are living documents.** Every time you append:

1. **Update the index** — add new sections, fix anchors
2. **Add missing links** — file paths, character names
3. **Improve summaries** — make them more descriptive
4. **Fill in context** — as you learn more, annotate earlier sections
5. **Fix broken links** — paths change as files move

### Ninja Edits

Small retroactive improvements are encouraged:

- Correcting typos
- Adding links to newly-created files
- Improving section summaries
- Updating the index

---

## 📋 YAML Data Islands

Embed structured data in fenced code blocks for machine readability:

<details open> <summary>📂 <strong>State change: Moving player from start/ to coatroom/</strong></summary>

state_change:
  file: ./CHARACTER.yml
  changes:
    player.location: "coatroom/"  # Was: "start/"

  file: ../../../ADVENTURE.yml
  changes:
    player.location: "coatroom/"  # Mirror update

Data Island Best Practices

PracticeReason
Use # commentsExplain the WHY, not just WHAT
Abbreviate long dataShow structure, not everything
Include file pathsLink to actual files
Explain relationships"Mirror update", "Canonical source"

🆚 Session Logs vs Event Logs

Session Logs (SESSION.md)Event Logs (events.yml)
Human readableMachine readable
Narrative styleStructured data
Living document (editable)Append-only
Collapsible outlinesYAML events
For readingFor debugging/audit
In character directoriesIn .agent/ or adventure root

Create event logs for:

  • Technical debugging
  • Append-only audit trails
  • Machine-parseable history

Create session logs for:

  • User-facing narrative
  • GitHub browsing
  • Context warming
  • Storytelling

🌟 Examples: Gold Standard Sessions

These sessions demonstrate best practices:

Don Hopkins' Marathon Session

examples/adventure-4/characters/real-people/don-hopkins/sessions/marathon-session.md

7000+ lines spanning 5 days of adventure. Demonstrates:

  • Extensive use of collapsible sections
  • Comprehensive index at top
  • Generous linking to files and skills
  • Tables for menus, stats, and rosters
  • Speed-of-light simulation transcripts
  • Technical details hidden in collapsed sections

Donna Toadstool's Session

examples/adventure-4/characters/fictional/donna-toadstool/SESSION.md

Complete character creation narrative. Demonstrates:

  • Table of contents with parts
  • Character transformation documentation
  • File operation explanations
  • Appendix with technical reference
  • Clear separation of narrative and data

🎯 Quick Reference

Starting a New Section

---

<details open>
<summary><h2>🌟 Turn N: Title — Descriptive Subtitle</h2></summary>

Narrative description of what happened.

<details open>
<summary>📂 <strong>Technical: What changed under the hood</strong></summary>

changes: - file: path/to/file.yml field: value


### Checklist for Every Append

- Updated index at top with new section
- Added links to all mentioned files
- Linked character names to their directories
- Used collapsible sections appropriately
- Wrote descriptive summary lines
- Included relevant tables
- Fixed any broken links noticed

---

## The Intertwingularity

Session-log is the PLAY stage of [play-learn-lift](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../play-learn-lift/) — capture everything.

graph LR SL[📜 session-log] -->|PLAY stage of| PLL[🎮 play-learn-lift] SL -->|tracks| R[🚪 room] SL -->|tracks| TC[🎴 card] SL -->|monitored by| SR[🔧 self-repair]

AP[⚔️ adventure] -->|LOG.md is| SL DB[🔧 debugging] -->|logs to| SL CH[👤 character] -->|SESSION.md is| SL


---

## Dovetails With

### Sister Skills

| Skill | Relationship |
| --- | --- |
| [character/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../character/) | Session files live in character directories |
| [adventure/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../adventure/) | Adventure LOG.md follows session-log patterns |
| [play-learn-lift/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../play-learn-lift/) | Session-log is the PLAY capture stage |
| [summarize/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../summarize/) | Compress session-log when too long |
| [self-repair/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../self-repair/) | Monitors session-log integrity |
| [debugging/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../debugging/) | Debug sessions log here |

### Protocol Symbols

| Symbol | Link |
| --- | --- |
| `SESSION-LOG` | [PROTOCOLS.yml](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../../PROTOCOLS.yml#SESSION-LOG) |
| `NARRATIVE-FIRST` | Write for humans |
| `LINK-GENEROUSLY` | Every file is a link |

### Kernel

- [kernel/event-logging-protocol.md](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../../kernel/event-logging-protocol.md) — Technical event format
- [schemas/event-schema.yml](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../../schemas/event-schema.yml) — YAML block schema

### Navigation

| Direction | Destination |
| --- | --- |
| ⬆️ Up | [skills/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../) |
| ⬆️⬆️ Root | [Project Root](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../../) |
| 🎮 Sister | [play-learn-lift/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../play-learn-lift/) |
| 👤 Sister | [character/](https://github.com/simhacker/moollm/blob/HEAD/skills/session-log/../character/) |

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.25%
按下载量换算36

Claude

29.23%
按下载量换算32

Cursor

20.35%
按下载量换算22

Gemini CLI

9.81%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills