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.
npx skills add gtrabanco/agentic-workflow --skill log-sessiongit clone --depth 1 https://github.com/gtrabanco/agentic-workflowWrote 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.
[](https://agentmods.dev/skills/gtrabanco/agentic-workflow/log-session)<a href="https://agentmods.dev/skills/gtrabanco/agentic-workflow/log-session"><img src="https://agentmods.dev/badge/skills/gtrabanco/agentic-workflow/log-session/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gtrabanco/agentic-workflow/log-session"><img src="https://agentmods.dev/badge/skills/gtrabanco/agentic-workflow/log-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Data Exfiltration · line 19 Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.Fix: Remove any code that sends prompts, responses, or session data externally. Preserve user privacy; never exfiltrate conversation content.
- high Memory Poisoning · line 44 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
- medium MCP Rug Pull · line 13 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00165 | $0.03084 |
| Opus 5.5 | $0.00066 | $0.01234 |
| Sonnet 5.5 | $0.00033 | $0.00617 |
| Haiku 4.5 | $0.00016 | $0.00308 |
Grade A, and why
log-session 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Log Session
Capture the why and the what-next of a working session — the context that git history alone never records. A commit says what changed; a session log says what you were trying to do, what you decided, and where to resume.
Deliberately cheap (use the cheapest available model, with reasoning/thinking off where the provider allows it — a quota-free tier when the plan offers one, so this skill pays in bytes, not quota): structured summarization, not judgment. It must never reach for an expensive model.
Turn contract
Load and verify the canonical Turn contract (11 boxes) before ending every turn; the entry write itself is the skill-specific commit box — the fragment carrier (issue #405) and the two-doors flow (#429) own where the entry lands, not an inline contract. Skill-specific additions (the docs-language and → Next: boxes are canonical-owned and not restated here):
✓ The entry was WRITTEN with accurate git facts: appended to docs/LOGS.md, or — when the fragment carrier `.agentic-workflow/journal/` exists (issue #405) — written as a new fragment there (the aggregator owns the journal; a direct append is refused)
✓ `runner session-close close` RAN and exited 0 (or 2, with the leftover paths named) — the entry is committed, not left riding along
✓ A stale entry, when one existed, was CORRECTED through `journal write --supersedes <fragment>` — never edited and never deleted; an entry already in `docs/LOGS.md` is a new append, because the journal is append-only
Missing reference → STOP. About to end the turn with any box unchecked? The turn is NOT done — complete the missing box first (weak models drop end-of-document duties; this list is first on purpose).
Two doors, one behaviour (#429)
With @gtrabanco/pi-agentic-workflow loaded, /log-session is a command: the
handler records the invocation (.pi/.session-<id>.log-session), runs the writer
below and names the entry's exact target before this file reaches you; a settled
turn with no entry there is reported. The record is code's fact, the prose is
yours. Without the extension, or via /skill:log-session, every step below is
yours.
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.
- 2d ago Changed 7f55305a4c7d
- 8d ago Changed · +2 lines · +32 tokens per session b6be8ff94f75
- 9d ago Changed 4002413fccb6
- 10d ago Changed 3f22db465302
- 11d ago Changed · +11 lines a9bde6f155ce
- 13d ago Changed 06fb7f4c3a45
- 23d ago Changed · +1 lines 3f011a017cc2
- 24d ago Changed · +5 lines 66815b87b589
- 26d ago Changed · +4 lines d445b2d9bae8
- 27d ago First seen · 218 lines · 133 tokens per session scan A f33c75717f63
log-session is a skill published in the GitHub repository gtrabanco/agentic-workflow (25 stars, last pushed today), licensed MIT. It adds 165 tokens to every session and 3,084 once invoked, about $0.0007 per session on Opus 5.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.
log-session compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| log-sessiongtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 165 | Claude Code |
| coordinate-reasoningpjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 90 | Claude Code |
| bootstrap-agent-identitypjt222/agent-almanac | Skill | 46 | yesterday | MIT | A | 105 | Claude Code |
| context-engineeringn-n-code/n-n-code-skills | Skill | 4 | 1mo ago | MIT | A | 89 | Claude Code, Codex |
| think-like-mekakha13/think-like-me | Skill | 13 | 7mo ago | none | A | 88 | Claude Code, Codex |
| memory-integrationtroykelly/claude-skills | Skill | 12 | 10mo ago | none | A | 28 | Claude Code |
| offensive-k8s-attacksSnailSploit/Claude-Red | Skill | 12k | 17d ago | MIT | A | 232 | Claude Code, Codex |