ask-matt
MAmattpocock/skills337k4,217 new stars in the last 7 days
Inspect recent session conversation turns and meta-run history. Returns structured JSON summaries of turn counts, role distribution, tool usage, meta-skill executions, and co-occurrence patterns. Use this before running meta-skill-creator or when the user asks about recent history, past tool usage, or session activity.
Read-only helper that inspects OpenClaw.NET session history for downstream
workflows (especially meta-skill-creator).
Parses a JSON session snapshot and returns structured analytics:
| Key | Description |
|---|---|
turns | Turn count, role distribution (user vs assistant), time span, recent turn previews |
tools | Tool invocation frequency, top tools, tool co-occurrence in the same turn |
meta_runs | Meta-skill execution history: skill name, status, step counts, failure codes |
co_occurrences | Skill/tool pairs that appear together across turns |
placeholder | Emitted when no session data is available; downstream workflows treat this as a signal to rely on user intent only |
The script expects JSON session data on stdin. The calling agent should pipe a
JSON object matching the Session schema — specifically:
{
"id": "session-guid",
"history": [
{ "role": "user", "content": "...", "timestamp": "..." },
{ "role": "assistant", "content": "...", "timestamp": "...", "toolCalls": [...] }
],
"metaRunHistory": [
{
"runId": "...", "skillName": "...", "status": "completed",
"startedAtUtc": "...", "completedAtUtc": "...",
"stepResults": [
{ "id": "...", "kind": "...", "status": "...", "durationMs": 123 }
]
}
]
}
Always returns a JSON object. When session data is available, includes the
requested analytics keys. When unavailable or unparseable, returns a single
placeholder key so downstream workflows degrade deterministically.
meta-skill-creator: feed co-occurrence and meta-usage data
into the creator's proposal draftwindow_days filtering is best-effort on the timestamp fieldMAmattpocock/skills337k4,217 new stars in the last 7 days
MAmattpocock/skills337k4,217 new stars in the last 7 days
MAmattpocock/skills337k4,217 new stars in the last 7 days
OBobra/superpowers331k5,030 new stars in the last 7 days
AFaffaan-m/ECC315k3,503 new stars in the last 7 days
AFaffaan-m/ECC315k3,503 new stars in the last 7 days