Rules for trusted NanoClaw groups. Shared memory, session bootstrap, cross-group memory updates. Loaded for trusted and main containers only.
73
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
"""Resolve the bootstrap identity shared by both sentinel readers and writers."""
import os
from collections.abc import Mapping
def current_session_id(environ: Mapping[str, str] | None = None) -> str:
"""Keep explicit legacy identity precedence, then use Claude Code's identity."""
values = os.environ if environ is None else environ
return values.get("CLAUDE_SESSION_ID") or values.get("CLAUDE_CODE_SESSION_ID") or "".tessl-plugin
rules
skills