analyze-session-pingpong-logs
Skill1 starsChanged 10 days agoMITView on GitHub
Use when analyzing omp/OpenCode session data for ping-pong, micromanagement, pauses, and cost patterns. Not for live debugging or history edits.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- vladcheck/skillsword for word, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 1
- vladcheck/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- create-glossarySkill
- deepseek-reasoning-tier-clarifierSkill
- defineSkill
- find-alternativesSkill
- get-note-links-from-textSkill
- gitlab-eas-tickets-publishSkill
- gitlab-mr-roundtripSkill
- git-rebuild-branchSkill
- git-sequentialSkill
- gost-report-rebuildSkill
- mattpocock-skills-researchSkill
- mirea-moodle-downloadSkill
- obsidian-add-links-to-noteSkill
- opsx-spec-validateSkill
- paretto-principleSkill
- publish-spec-gitlab-milestoneSkill
- publish-tickets-gitlabSkill
- solidSkill
- update-skills-via-skills-shSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Use folder or project metadata for study-versus-work classification, with an explicit mapping appropriate to the analyzed paths.
- Very specific: line 23
Read user text from data.text and assistant steps from data.content[].
- Distinctive: line 42
Do not apply a literal requirement for physically adjacent user rows.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Analyze Session Ping-Pong Logs
Identify repeated manual micro-management in stored agent session logs. Keep all sources read-only and derive metrics from detailed records rather than incomplete rollups or duplicated histories.
Data sources
- omp statistics database:
~/.omp/stats.db(default location; verify on the current system).messages: assistant steps, includingsession_file,folder,timestamp,model, token fields, andcost_total.user_messages: timestamp,chars,prose, andsession.session_rollupandmessage_rollupmay be incomplete; calculate metrics from the detailed tables.- Use
folderor project metadata for study-versus-work classification, with an explicit mapping appropriate to the analyzed paths.
- omp session export: JSON containing
sessions[].metadata:id,file,project,title,created, andmodified.raw_jsonl_lines: events; messages havetype=messageandrole=userorrole=assistant; assistant token totals are inassistant.message.usage.totalTokens.- Forked sessions can duplicate history; deduplicate them and never sum copies.
- OpenCode database:
~/.local/share/opencode/opencode.db(default location; verify on the current system).- Canonical path:
session_v2(parent_id IS NULLselects main sessions) →session_message(seq,type,time_created, JSONdata). - Read user text from
data.textand assistant steps fromdata.content[]. - Legacy
session,message, andparttables have already been copied intosession_v2; do not add both representations.
- Canonical path:
Open SQLite databases read-only through Python sqlite3 with the URI file:<path>?mode=ro; WAL files may be present. Never modify source logs.
Analysis procedure
- Inventory the available sources and select main, deduplicated sessions. Do not combine legacy and canonical OpenCode records or forked omp histories.
- Build a chronological event stream for each session. Preserve user text, timestamps, assistant steps, tokens, cost, and project or folder metadata.
- Construct the user-turn chronology by removing assistant, tool, and system events from consideration. Those events do not break a user series, even though the harness normally inserts assistant records between user messages.
- Detect a ping-pong series using all of these rules:
- Contain at least 3 consecutive user messages within one session.
- Require every message to contain fewer than 300 characters after trimming.
- Require each adjacent-message interval to be less than 5 minutes.
- Break the series at a message of 300 or more trimmed characters or a gap of 5 minutes or more.
- Flag messages containing these marker words or phrases:
proceed,progress?,check state,also,wait also, andno no. - Detect cross-session monitoring: session A has no activity for at least 15 minutes while session B has activity.
- For pauses longer than 1 hour, inspect the last assistant response before the pause and classify it as a completed stage or an unfinished pipeline.
Do not apply a literal requirement for physically adjacent user rows; assistant records between them do not invalidate a series.
Report format
- Provide a session table with project, duration, user-message count, assistant-step count, tokens, and cost.
- For sessions containing series, report series count, mean and maximum series length, and verbatim examples of 2–4 consecutive user messages.
- Report cross-session pauses that indicate parallel monitoring.
- Compare study and work using the explicit
folderor project mapping. - Summarize long pauses by whether the preceding assistant response reached a natural completion point.
- Summarize marker-word occurrences alongside the detected series; do not treat a marker alone as proof of a series.
Aggregate large exports and databases with Python instead of reading them whole. Use SQLite read selectors or Python sqlite3 for queries, and keep analysis outputs separate from source files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

