Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Saves session decisions, open tasks, artifacts, a session log and a current-state HANDOFF.md for the next session.
79% 84%+5 ptsof test cases passed
Passed 16 of 19 test cases with the skill, and 15 of 19 without it.
We want to record today's work. SESSION_LOG.md does not currently exist in the repository root. Should we initialize a new SESSION_LOG.md file now?
Instructs not creating SESSION_LOG.md when it does not already exist
This test ran on v4. v5 is the current version and hasn’t been tested on gemini-3.8-flash yet.
3 of 3 safety checks passed
#!/usr/bin/env python3
"""Conflict-checked local continuity writes. Does not route projects or prune files."""
import argparse
import hashlib
import json
import os
from pathlib import Path
import stat
import sys
import tempfile
def read(path):
if path.is_symlink():
raise ValueError('Destination is a symlink; resolve and verify the intended target first')
try:
return path.read_bytes()
except FileNotFoundError:
return None
def digest(data):
return 'missing' if data is None else hashlib.sha256(data).hexdigest()
def write(path, content, expected, capture_id, mode):
if not capture_id or any(c in capture_id for c in '\r\n'):
raise ValueError('A single-line capture ID is required')
marker = 'SESSLOG:' + capture_id
if marker not in content.splitlines():
raise ValueError('Content must contain the exact capture marker on its own line')
path.parent.mkdir(parents=True, exist_ok=True)
lock = path.with_name(path.name + '.done-write.lock')
try:
fd = os.open(lock, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o600)
except FileExistsError:
raise ValueError(f'Writer lock exists: {lock}; inspect before retrying')
temp = None
try:
with os.fdopen(fd, 'w') as f:Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.