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 liza-mas/liza --skill liza-logsgit clone --depth 1 https://github.com/liza-mas/lizaWrote 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/liza-mas/liza/liza-logs)<a href="https://agentmods.dev/skills/liza-mas/liza/liza-logs"><img src="https://agentmods.dev/badge/skills/liza-mas/liza/liza-logs/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/liza-mas/liza/liza-logs"><img src="https://agentmods.dev/badge/skills/liza-mas/liza/liza-logs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00018 | $0.02010 |
| Opus 5 | $0.00009 | $0.01005 |
| Sonnet 5 | $0.00004 | $0.00402 |
| Haiku 4.5 | $0.00002 | $0.00201 |
Grade A, and why
§BRAND_BINARY_NAME§-logs 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 12d 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 — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SCOPE:
The logs in §BRAND_PROJECT_DIRNAME§/agent-outputs/ and task state in §BRAND_PROJECT_DIRNAME§/state.yaml
(nowhere else unless told otherwise explicitly).
The prompt may filter more specifically, e.g. a specific role, task, status,
or time range.
OBJECTIVE: Find recurring task, review, integration, tool, context, and setup frictions; correlate state symptoms with log evidence; propose fixes.
PROTOCOL:
-
For supervisor lifecycle questions (registration, claiming, retry, shutdown, or automatic merge), first inspect bounded evidence from matching
supervisor-{role}-*.stdout.logand.stderr.logfiles. A successful detached spawn confirms these files are open before returning; failures before that readiness point are reported synchronously to the spawning command or TUI and may not have a supervisor log. These masked runtime logs are not provider transcripts: do not pass them toanalyze-log.py. Correlate their timestamps and task IDs with state history, then use the provider logs only if the question crosses into agent-session behavior. -
Start provider-session analysis by running the analyzer:
python3 ~/§BRAND_GLOBAL_DIRNAME§/skills/§BRAND_BINARY_NAME§-logs/scripts/analyze-log.py §BRAND_PROJECT_DIRNAME§/agent-outputs/coder-*.txt # all coder agents
python3 ~/§BRAND_GLOBAL_DIRNAME§/skills/§BRAND_BINARY_NAME§-logs/scripts/analyze-log.py §BRAND_PROJECT_DIRNAME§/agent-outputs/coder-1-*.txt # single agent
python3 ~/§BRAND_GLOBAL_DIRNAME§/skills/§BRAND_BINARY_NAME§-logs/scripts/analyze-log.py --summary-by-role §BRAND_PROJECT_DIRNAME§/agent-outputs/*.txt
By default, run the analyzer per role.
Use --summary-by-role when you need cross-role aggregate token, tool, MCP,
error, and skill-invocation totals. Its Usage Sources and Partial columns
show aggregate provenance, while OPERATIONAL FRICTION groups events by
category and role and includes example source logs.
- Inspect
§BRAND_PROJECT_DIRNAME§/state.yamlfor task-level frictions before drawing conclusions:
python3 ~/§BRAND_GLOBAL_DIRNAME§/skills/§BRAND_BINARY_NAME§-logs/scripts/analyze-state.py §BRAND_PROJECT_DIRNAME§/state.yaml
- tasks with
review_cycles_total >= 4 - tasks whose status is
INTEGRATION_FAILED,BLOCKED,SUPERSEDED, orABANDONED - if
review_cycles_totalis missing, count taskhistoryevents namedrejectedorreview_verdict_rejected
Lifecycle churn outranks aggregate log noise:
- Treat any task with
review_cycles_total >= 4or counted rejection events= 4 as a P1 finding by default, even if its current status is
MERGED. - Do not let high tool-error counts, token volume, or eventual merge status bury repeated review/retry cycles. A merged high-churn task is unhealthy convergence unless the evidence proves the retries were expected.
- If analyzer counts and current task fields disagree, report both numbers
and explain the likely distinction (for example, history/attempt total vs
current
review_cyclesfield). Prioritize using the higher history count until disproven by bounded evidence. - The highest-churn task must appear first in the summary table and in cross-correlation before setup/tool/context frictions.
Report sections: session header, permission/policy friction, token summary, content breakdown, top items by size, tool usage, empty turns, skill invocations, secret-word/init breadcrumb detection, turn timeline, tool result breakdown, MCP usage, efficiency insights, and struggle sequences. Rich format adds per-turn context growth, top longest turns, cost breakdown with system-prompt replay cost, and MCP server status. Sparse logs have aggregate usage only; do not infer exact per-turn growth or cost. Context-fill percentages are authoritative only when the provider records context-window metadata. Do not infer historical window size or compaction thresholds from the analyzer process environment.
Interpret corrected rich-log diagnostics as follows:
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- report-format.md 9.5 KB
- scripts/analyze-log.py 81 KB runs code
- scripts/analyze-state.py 8.7 KB runs code
- scripts/query-log.py 14 KB runs code
- scripts/test_analyze_log.py 47 KB runs code
- scripts/test_analyze_state.py 3.2 KB runs code
- scripts/test_log_cli_e2e.py 16 KB runs code
- scripts/test_query_log.py 14 KB runs code
- scripts/testdata/claude-rich-init-redacted.ndjson 87 B
- tools/liza-session-analyzer.html 78 KB
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.
- 12d ago First seen · 131 lines · 18 tokens per session scan A 4ae4ed37b69e
§BRAND_BINARY_NAME§-logs is a skill published in the GitHub repository liza-mas/liza (384 stars, last pushed 3d ago), licensed Apache-2.0. It adds 18 tokens to every session and 2,010 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…