Generate local Codex usage reports. Use when users ask for usage analytics, weekly insights, session summaries, telemetry patterns, or prompting help.
Generate a local Codex usage report where Codex writes the narrative insight and the runner collects evidence, validates JSON, and renders HTML. Keep each run scoped to the requested window and the 2-3 strongest evidence-backed patterns.
Evidence beats intuition. Codex may write the insight, but the report must stay grounded in bounded local artifacts.
~/.agents/session-collector when available.~/.codex/sessions/ as fallback evidence.~/.agents/otel-collector/.--days N.Start with 2-3 focused surfaces: session themes, friction points, and next-step prompting improvements. Widen only when the user asks for a deeper analytics pass.
Use the compatibility runner:
python3 Skills/agent-ops/insight-report/scripts/run_insight_report.py --days 7Use --prepare-only --no-open when this live Codex session should write insights.generated.json manually. Use --render-only --no-open after repairing or regenerating that JSON.
Expected artifacts live under ${INSIGHT_REPORT_USAGE_DIR:-$HOME/.codex/usage-data}/:
insight-evidence.jsonINSIGHT_PROMPT.mdinsights.generated.jsonreport.htmlThe Codex-written JSON must include metadata, at_a_glance, project_areas, interaction_style, what_works, friction_analysis, prompting_help, suggestions, on_the_horizon, actionable_fixes, and fun_ending.
Schema-bound outputs include schema_version.
REPORT_URL=.agent-skills and coding-harness, build me a Codex usage report, and open the HTML when it is ready?"$HOME/.codex/usage-data; I want this Codex session to write the JSON before you render it."Stop at the first failed evidence, prompt, JSON, HTML, or browser-navigation gate. Report the exact blocker and artifact path.
--prepare-only writes evidence and prompt artifacts but does not render HTML.Never drop required context for brevity; move it into references or deferred context and link it here.
references/Infrastructure/references/deferred-skill-context/agent-ops-insight-report/references/Infrastructure/references/deferred-skill-context/agent-ops-insight-report/original-SKILL.mdStop at the first failed evidence, prompt, JSON, or HTML gate. When changing this skill, run strict skill audit and Plugin Eval.
d933d80
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.