npx skills add smithery/zhaono1 --skill session-logger
zhaono1/agent-playbook
session-logger
Save a bounded, redacted session summary when the user asks to record a conversation or when a supported host provides an explicit session-end transcript event.
Installation
npx skills add zhaono1/agent-playbook --skill session-logger
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Helps users discover and install agent skills when they ask questions like "how do I do X", "fi…
3.3M installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Te…
568.3K installsAlso in this package
Other skills from zhaono1/agent-playbook · top by installs.
npx skills add zhaono1/agent-playbook
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Skill metadata
Parsed from SKILL.md frontmatter.
Read, WritePackage contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md2,978 B -
docs
README.md436 B -
docs
SUMMARY.md182 B
History
- First seen on skills.sh
- First recorded snapshot · 733 installs
SKILL.md
Session Logger
Create a compact recovery artifact without treating raw conversation history as durable memory.
Use This Skill When
- The user explicitly asks to save or record the current session.
- A supported host invokes the Agent Playbook
SessionEndhook with a transcript path. - A later task needs a concise handoff artifact and the user has authorized writing it.
Do not silently persist raw transcripts, credentials, private customer data, or unbounded agent output. Host support and write authority must be visible; skill metadata alone does not execute a hook.
CLI Runtime Contract
Claude Code installation can invoke:
agent-playbook session-log
The command reads the host-provided JSONL transcript and stores only bounded, redacted details:
- message counts;
- the last user prompt, truncated after redaction;
- up to 12 detected commands and file references;
- up to 8 detected questions;
- a hashed session reference and project identity.
By default, files are private local artifacts:
~/.agent-playbook/sessions/<project-id>/YYYY-MM-DD-<topic>.md
Set AGENTPLAYBOOKDATA_DIR or pass --data-dir to move the private data root. Writing inside a repository is opt-in only:
apb session-log --session-dir ./sessions
If a repository-local directory is selected, verify its ignore and retention policy before writing. Never assume another repository ignores sessions/.
Manual Summary Contract
When the host cannot provide a transcript event, create a user-authorized summary from the context actually visible in the current session. Include only:
- outcome and current state;
- decisions that affect future work;
- relevant files or commands;
- open questions and next proof gate.
State omissions honestly. Do not claim full conversation capture, structured decision extraction, automatic append behavior, or cross-session recall unless the active runtime demonstrably provides it.
Privacy and Safety
- Redact common credentials, bearer tokens, private keys, email addresses, and
password/secret assignments before writing.
- Replace the current project root with a project identity in generated metadata.
- Write generated summaries with owner-only permissions where the platform supports it.
- Keep the artifact local unless the user separately authorizes commit, upload, or sharing.
- Treat redaction as risk reduction, not a guarantee that arbitrary confidential text is safe.
Completion Check
- Destination and write authority are clear.
- The summary is bounded and contains no known raw secret.
- Repository-local storage was explicitly selected and ignore policy checked.
- The returned path exists and is readable by the user.