Analyze recent Codex session evidence for repeated manual workflows and route them to skills, subagents, validators, or no artifact when Jamie asks what he keeps doing manually.
65
77%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./Skills/agent-ops/session-workflow-miner/SKILL.mdFind repeated manual asks in recent Codex sessions and convert only the useful ones into durable, small operating artifacts.
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.
~/.agents/session-collector/.Use the freshest available runtime evidence first:
~/.agents/session-collector/ README and collector entrypoint./tmp.Skills/**, .codex/skills/**, and plugin skill roots.codex/agents/** in Jamie's configs checkout.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.
/tmp using a sandbox-safe cache path. Keep the live repo untouched unless the user explicitly asks for persistent reports.aggregate.json, skillify-candidates.json, skill-refactor-handoffs.json, and any tool or attribution summaries.Return a compact report:
schema_version: 1
mode: session_workflow_mining
lookback: <days-or-window>
evidence:
collector_output: <path-or-blocked>
bundle: <path-or-blocked>
sampled_prompts: <count-or-not-used>
repeated_patterns:
- pattern: <name>
evidence: <short evidence summary>
existing_owner: <skill-or-agent-or-null>
recommendation: skill|custom_subagent|validator|no_new_artifact
reason: <why this form fits>
created_artifacts:
- path: <path>
type: skill|custom_subagent|validator
skipped:
- pattern: <name>
reason: <existing owner or not useful enough>
validation:
- command: <exact command>
result: pass|fail|blocked.agents/**, plugin caches, generated projections, or active PR state from this workflow.| Repeated Need | Likely Existing Owner |
|---|---|
| PR until-green fix and merge follow-through | pr-green-sweep |
| CodeRabbit or Codex review remediation | autofix |
| Docs audit, rewrite, and validation | technical-writer |
| Release notes and changelog handoff | release-notes |
| Test failure ownership and proof | testing |
| Slack or review-noise action queue | code-fixes-triage when present |
| Closeout truth across local, CI, review, tracker, and artifacts | delivery-state-auditor when present |
| Multi-agent artifact completion audit | subagent-swarm-triage when present |
If collector execution, session access, or validation is blocked, report the blocker and stop artifact creation unless enough current evidence still proves a narrow artifact is needed. If validation fails, stop at the first failed gate, classify the failure, and do not proceed to sync, install, commit, publish, or runtime activation.
| Skill | When to use together |
|---|---|
| [[pr-green-sweep]] | Repeated PR, CI, mergeability, and until-green follow-through should become delivery sweep work rather than a new mining artifact. |
| [[code-fixes-triage]] | Repeated review noise or fix requests need a repo-and-PR action queue before deciding whether a new skill or validator is warranted. |
| [[testing]] | Repeated validation failures need test ownership, proof commands, or deterministic gates. |
For changes to this skill, run:
./bin/ask skills audit Skills/agent-ops/session-workflow-miner --level strict --json --robotIf that command is unavailable, run the system skill quick validator:
python3 <skill-creator>/scripts/quick_validate.py Skills/agent-ops/session-workflow-minerStop at the first failed gate; do not proceed to sync, install, commit, publish, or runtime activation until the blocker is classified. Record the exact command, result, and blocker if validation cannot complete.
f1f2f21
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.