Install
$ agentstack add skill-gertsylvest-meta-team-log-pattern-scan ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README — it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Log Pattern Scan
Scan one or more Claude Code JSONL session transcript files for behavioral inefficiency patterns.
Instructions
Arguments are in $ARGUMENTS:
- First arg: path to a
.jsonlfile, or a project root path (scans all sessions for that project) - Second arg (optional): scan type —
all(default),errors,loops,expensive,trialerror,summary
If no arguments are provided, ask the user before proceeding.
When given a project root, the scan recurses into subagent sidechains (/subagents/agent-*.jsonl, marked isSidechain: true) as well as the top-level session transcripts. This matters: the orchestrator/main transcript records only ~15% of tool activity — the bulk of tool calls, errors, and loops happen inside subagents. Scanning only the top level can undercount errors by an order of magnitude. Each finding is headed by its path relative to the project folder, so sidechain findings are attributable to the agent that produced them.
Run the scan
The scan script lives alongside this file. Run it directly:
bash "$(dirname "$0")/scan.sh"
Scan types
| Type | What it detects | |---|---| | summary | Total lines, tool calls, errors, token totals per session | | errors | Tool calls that returned is_error: true | | loops | Same tool called 3+ times consecutively, or same tool+input repeated 3+ times across the session | | expensive | Turns with >2000 output tokens (EXPENSIVE-OUTPUT) or >10000 new cache tokens (EXPENSIVE-CONTEXT) | | trialerror | 3+ edits to the same file (CHURN), 3+ identical bash commands (REPEAT-CMD), sessions >200 messages (LONG SESSION) | | all | All of the above |
Output prefixes
Each finding is prefixed for easy parsing:
| Prefix | Meaning | |---|---| | ERROR | Failed tool call | | LOOP | Consecutive same-tool repetition | | REPEAT | Same tool+input repeated across session | | EXPENSIVE-OUTPUT | High output token turn | | EXPENSIVE-CONTEXT | Large new context loaded in one turn | | CHURN | Repeated edits to same file | | REPEAT-CMD | Repeated identical bash command | | LONG SESSION | Session exceeds 200 messages | | OK | No issues found for that scan type |
Return to caller
Return the full script output. The improvement-analyst agent will interpret the findings and write suggestions to the project's self-improvement log.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: gertsylvest
- Source: gertsylvest/meta-team
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.