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 jscraik/Agent-Skills --skill session-workflow-minergit clone --depth 1 https://github.com/jscraik/Agent-SkillsWrote 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/jscraik/agent-skills/session-workflow-miner)<a href="https://agentmods.dev/skills/jscraik/agent-skills/session-workflow-miner"><img src="https://agentmods.dev/badge/skills/jscraik/agent-skills/session-workflow-miner/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/jscraik/agent-skills/session-workflow-miner"><img src="https://agentmods.dev/badge/skills/jscraik/agent-skills/session-workflow-miner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00039 | $0.02095 |
| Opus 5.5 | $0.00016 | $0.00838 |
| Sonnet 5.5 | $0.00008 | $0.00419 |
| Haiku 4.5 | $0.00004 | $0.00210 |
Grade A, and why
session-workflow-miner 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 1mo 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 — 181 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Session Workflow Miner
Find repeated manual asks in recent Codex sessions and convert only the useful ones into durable, small operating artifacts.
Philosophy
Repeated asks are workflow telemetry. The useful response is not to create a bigger catalog; it is to identify the smallest durable owner for the repetition, prove that owner does not already exist, and create nothing when reuse is better.
When To Use
- Jamie asks what workflows or asks repeat across recent Codex sessions.
- Jamie asks which repeated tasks should become skills or custom subagents.
- A session review should focus on practical work such as CI failures, PR review, changelogs, docs updates, release prep, debugging, test triage, Linear state, or delivery-state drift.
- The desired output is a small set of concrete artifacts, not a broad process rewrite.
Inputs
- Lookback window, defaulting to recent sessions when Jamie does not specify one.
- Session collector root, usually
~/.agents/session-collector/. - Target repo or workflow focus when provided.
- Existing skill and custom-agent inventories.
- Optional memory hits as routing hints, never as current-state proof.
Evidence Sources
Use the freshest available runtime evidence first:
~/.agents/session-collector/README and collector entrypoint.- A temporary collector output and bundle, usually under
/tmp. - Existing skills under
Skills/**,.codex/skills/**, and plugin skill roots. - Existing custom agents under the canonical Codex config source, commonly
codex/agents/**in Jamie's configs checkout. - Memory only as a routing hint; verify current file state before claiming an artifact is missing.
Do not treat old session summaries, Slack messages, bot prose, or injected prompt bodies as source-of-truth evidence.
See references/contract.yaml for the compact contract and references/evals.yaml for smoke cases.
Workflow
- Run or refresh the session collector into
/tmpusing a sandbox-safe cache path. Keep the live repo untouched unless the user explicitly asks for persistent reports. - Inspect the generated bundle first:
aggregate.json,skillify-candidates.json,skill-refactor-handoffs.json, and any tool or attribution summaries. - Sample raw recent session prompts only when the bundle is too coarse. Filter out system/developer text, injected skill bodies, copied specs, hook prompts, and repeated heartbeat boilerplate unless the repeated heartbeat is itself the workflow under review.
- Cluster repeated work by operational job, not by wording:
- PR, CI, CodeRabbit, and mergeability triage.
- Docs, changelog, release note, and publish handoff work.
- Spec/plan review and acceptance-criteria hardening.
- Test failure ownership and validation evidence.
- Debugging, reproduction, and runtime-state investigation.
- Linear, GitHub, and delivery-state synchronization.
- Repeated human steering that should become a guardrail or validator.
- Inventory existing skills and agents before creating anything. Prefer reuse or a narrow extension over duplicate artifacts.
- Choose the durable form:
- Create a skill when the repeated work is a reusable procedure with inputs, workflow, outputs, boundaries, and validation.
- Create a custom subagent when the repeated work is a bounded role, especially read-only investigation, review, auditing, or state classification.
- Recommend a validator or CI gate when the repetition is a correctness failure that deterministic checks can prevent.
- Create nothing when an existing skill or agent already owns the job.
- Create only the smallest useful artifact. Avoid broad routers, aspirational governance text, and placeholder scaffolding.
- Validate the new artifact with the repo's narrowest available gate, then report what was created, what was deliberately skipped, and which evidence drove the decision.
What ships with it
4 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.
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.
- 1mo ago First seen · 181 lines · 39 tokens per session scan A 13a1f91ecada
session-workflow-miner is a skill published in the GitHub repository jscraik/Agent-Skills (9 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 2,095 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
agent-code-analyzer
Agent skill for code-analyzer - invoke with $agent-code-analyzer.
worker-integration
Worker-Agent integration for intelligent task dispatch and performance tracking.
agui-dotnet-streaming-chat
Get started with the AG-UI .NET SDK: bootstrap and run your first streaming-chat app (client + server) with the AG-UI .NET NuGet packages (AGUI.Client, AGUI.Server, AGUI.Formatting, AGUI.Abstractions). USE FOR: which packages to install and how to wire them; constructing an AGUIChatClient against an endpoint and…
agui-dotnet-protobuf
Use the protobuf wire transport (instead of the default Server-Sent Events) for an AG-UI connection with the AG-UI .NET SDK — a compact binary event stream negotiated via the Accept header. USE FOR: making an AGUIChatClient prefer protobuf by wiring an AGUIEventStreamHandler with ProtobufEventStreamFormatter (then…
revdiff-plan
Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…
moai-ref-ui-polish
UI polish and interface-completion reference: the small visual details — concentric border radius, optical alignment, shadow-vs-border, motion easing, typography smoothing, tabular numbers, icon stroke weight, hit areas — that separate polished interfaces from generic ones. Agent-extending skill that amplifies…