ensemble-sessionlog

ensemble-sessionlog is a skill for Claude Code, Codex from FortiumPartners/ensemble. It costs 31 tokens per session (758 once invoked), scanned A, original, MIT.

A tool for saving a structured record of an agent work session in a SessionLogs folder. The record includes decisions, commands, problems, fixes, changed files, and referenced resources.

In plain words
What is it for?
Use it to create an audit or handoff log for the current conversation, including what was requested, what commands ran, what changed, and how issues were resolved.
Why use it?
It preserves the reasoning and work history that can otherwise be lost when a session ends or another developer takes over.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also installed under .codex/. Also seen: mentions Codex.

Part of the ensemble-codex plugin — 40 skills shipped together

Good fit Use it to create an audit or handoff log for the current conversation, including what was requested, what commands ran, what changed, and how issues were resolved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fortiumpartners/ensemble/ensemble-sessionlog
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FortiumPartners/ensemble --skill ensemble-sessionlog
Clone the repo
git clone --depth 1 https://github.com/FortiumPartners/ensemble

Made for: Claude Code, Codex.

Or install ensemble-codex, the plugin that ships this one along with the rest of its 40 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ensemble-sessionlog

README.md
[![agentmods](https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-sessionlog/github.svg)](https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-sessionlog)
Your own site
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-sessionlog"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-sessionlog/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ensemble-sessionlog

Your own site · 80×15
<a href="https://agentmods.dev/skills/fortiumpartners/ensemble/ensemble-sessionlog"><img src="https://agentmods.dev/badge/skills/fortiumpartners/ensemble/ensemble-sessionlog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00758
Opus 5.5 $0.00012 $0.00303
Sonnet 5.5 $0.00006 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured 1mo ago against content hash 191e665d819d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ensemble-sessionlog scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/codex/.codex/skills/commands/ensemble-sessionlog/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ensemble Command: /ensemble:sessionlog

This Codex skill mirrors the Ensemble slash command /ensemble:sessionlog. Follow the workflow below, adapt to the current repository, and keep outputs structured.

Capture and persist the current session context as a structured markdown log file. Analyzes the conversation to extract key decisions, commands executed, problems encountered, and resolutions reached. Saves to ./SessionLogs/session-DDMMYY-HH:MM.md relative to the current project directory. Useful for preserving session knowledge across context boundaries, onboarding, and audit trails.

Workflow

Phase 1: Session Analysis

1. Conversation Scanning Review the full session conversation history

  • Identify all user requests and assistant responses
  • Extract commands executed and their outcomes
  • Note tool calls and their results
  • Flag any errors, retries, or approach changes

2. Context Extraction Extract structured information from the session

  • List key decisions made and their rationale
  • Identify problems encountered and how they were resolved
  • Capture file paths modified or created
  • Note any external resources referenced
  • Record configuration or environment details relevant to the work

3. Check for Previous Logs Scan for existing session logs to enable incremental logging

  • List files in ./SessionLogs/ directory if it exists
  • Identify the most recent session log by filename timestamp
  • If a previous log exists, scan its content to understand what was already captured
  • Focus this session log on new work, decisions, and changes since the last log

4. Determine Output Path Resolve the session log file path

  • Determine the current project root directory
  • Construct the SessionLogs directory path relative to project root
  • Generate the filename using current date and time in DDMMYY-HH:MM format
  • Verify the target file does not already exist

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 94 lines · 31 tokens per session scan A 191e665d819d

Subscribe to this mod's changes

ensemble-sessionlog is a skill published in the GitHub repository FortiumPartners/ensemble (12 stars, last pushed 6d ago), licensed MIT. It adds 31 tokens to every session and 758 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

context-recovery

Recovers project handoff context from local Codex, Claude Code, Gemini, CodeBuddy, and codexmate-derived sessions. Use when the user asks what happened in prior project/PR/branch/file/error work, needs a handoff brief, wants old decisions or validations recovered, or asks to summarize cross-session project activity…

SakuraByteCore/codexmate · 72 tokens

context-review

Phase 8.5 grep checks C1-C3. Runs the three mechanical grep checks of the context review in a single invocation - C1 credential patterns, C2 unresolved placeholders, C3 field name staleness. Returns pass/fail per check with matched lines. The orchestrator handles C4-C12 (judgment-required checks) in the main session…

marcoguillermaz/Tierward · 81 tokens

session-manager

A fallback skill for recording development sessions and restoring project context from an Obsidian vault, a folder of linked notes. It handles explicit resume, handoff, status, and end-of-session requests when automatic capture is unavailable.

Enakoneschniy/claude-dev-stack · 108 tokens

cds-stats

Show project memory statistics: session count, observation counts by type, entity count, top entities, and project planning status.

Enakoneschniy/claude-dev-stack · 29 tokens

cds-search

Search past session observations using the sessions.search MCP tool. Falls back to CLI if the MCP server is not available.

Enakoneschniy/claude-dev-stack · 27 tokens

sivtr-memory

Retrieve shared local work memory: terminal activity, AI conversation history, prior decisions, validation evidence, debugging trails, recaps, and handoff context. Use before asking the user to repeat local work context.

Ariestar/sivtr · 46 tokens