بنقرة واحدة
session-print
Display current session details including ID, duration, turn counts, token usage, and tool stats.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Display current session details including ID, duration, turn counts, token usage, and tool stats.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Backport existing plans into the Obsidian daily journal. Use when plans exist in the vault but are missing journal entries.
Estimate the scope and runtime of the frontmatter backfill — hardware specs, vault size, pending upgrades, and a calibrated time estimate. Read-only; nothing is modified.
Upgrade existing vault notes to the current frontmatter standard (type, date, duration_s, normalized model + context_window) so they appear in the managed Obsidian bases. Interruptible and resumable.
Display all configuration options with their effective value and which config layer set them.
Toggle session document capture on or off. Use /session on, /session off, or /session to toggle.
Rewrite the Obsidian daily journal for a selected day from existing plan/summary notes. Use when journal entries are missing, corrupted, or need regeneration.
| name | session-print |
| description | Display current session details including ID, duration, turn counts, token usage, and tool stats. |
Display current session statistics and activity breakdown.
CLAUDE_CWD="$PWD" bun ${CLAUDE_PLUGIN_ROOT}/hooks/print-session.ts
Parse the JSON output.
If error is not null, display a warning with the error message and stop.
Render a markdown table:
| Field | Value |
|---|
Include these rows:
session.shortId (the full session.id in parentheses)session.projectsession.modelsession.ccVersionsession.sourcesession.started formatted as a human-readable local timesession.durationHumansession.contextCap formatted with thousands separators, or (auto) if nullsession.sessionEnabled as ON/OFFRender a markdown table:
| Metric | Count |
|---|
Include:
events.promptsevents.planEntriesevents.compactionsevents.subagentLaunchesIf transcript is not null, also include:
transcript.toolstranscript.totalToolCallstranscript.totalErrorstranscript.subagentCountSkip this section if transcript is null.
Render a markdown table:
| Token Type | Count |
|---|
transcript.tokens.inputtranscript.tokens.outputtranscript.tokens.cacheReadtranscript.tokens.cacheCreatetranscript.tokens.totaltranscript.peakTurnContextFormat all numbers with thousands separators.
Skip this section if transcript is null or transcript.tools is empty.
Render a markdown table of the top 10 tools sorted by calls:
| Tool | Calls | Errors |
|---|
Skip this section if transcript is null or transcript.mcpServers is empty.
Render a markdown table:
| Server | Tools | Calls |
|---|
Show the count of tools per server in the Tools column and list tool names in parentheses.