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

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

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.

agentmods
npx agentmods add skills/fortiumpartners/ensemble/ensemble-sessionlog
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00031 $0.00758
Opus 5 $0.00015 $0.00379
Sonnet 5 $0.00006 $0.00152
Haiku 4.5 $0.00003 $0.00076

Measured 5d ago against content hash 191e665d819d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (11 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 758 once invoked, about $0.0002 per session on Opus 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

codebase-memory

Use the codebase knowledge graph for structural code queries. Triggers on: explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions…

narumiruna/pi-extensions · 98 tokens

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

remember

Stores decisions, patterns, and outcomes in the MCP memory knowledge graph as entities with typed observations and relations. Supports recording architectural decisions, anti-patterns, tool preferences, workflow outcomes, and project conventions that persist across sessions. Use when saving patterns, remembering…

yonatangross/orchestkit · 62 tokens

memory

Unified read-side memory operations including knowledge graph search, session context loading, decision timeline viewing, and Mermaid graph visualization. Subcommands: search, load, history, viz, status. Complements /ork:remember (write-side). Use when searching past decisions, loading context, or visualizing the…

yonatangross/orchestkit · 64 tokens

vc-context-discovery

Discover and load all relevant context for the current task. Lists feature group nested files with full paths, loads process/context/ files by domain routing. Called at the start of every agent session.

withkynam/vibecode-pro-max-kit · 43 tokens

vc-generate-context

Generate or update the project's authoritative repository context at process/context/all-context.md. Use when repo context is missing, stale, or contradicted by code.

withkynam/vibecode-pro-max-kit · 35 tokens