Analyzes session history to generate detailed reports on development patterns and tool usage efficiency.

Install

mkdir -p .claude/skills/insights && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11772" && unzip -o skill.zip -d .claude/skills/insights && rm skill.zip

Installs to .claude/skills/insights

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Generate an oh-my-kimicli usage insights report from KimiCLI sessions. Use when the user asks for usage insights, session analysis, work patterns, friction analysis, suggestions, skill opportunities, repeated-instruction analysis, or an insights report.
253 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Generate a narrative usage report from KimiCLI session history
  • Generate a quick, local, statistical report without LLM processing
  • Extract session facets and write them to `insights-facets.json`
  • Generate a final `report.json` including metrics, facets, sections, and quality notes
  • Generate a self-contained `report.html` from `report.json`
  • Self-review the generated report for accuracy and completeness

How it works

The skill processes KimiCLI session packets to extract facets and metrics, then generates a narrative report. It follows a workflow that includes reading task files, extracting facets, generating JSON and HTML reports, and self-reviewing the output.

Inputs & outputs

You give it
KimiCLI session history, optional flags like `--limit`, `--facet-limit`, `--force`
You get back
Narrative report (`insights-agent-task.md`), manifest (`manifest.json`), session facets (`insights-facets.json`), final report (`report.json`), and HTML report

When to use insights

  • Analyzing development workflow efficiency
  • Identifying repeated manual tasks
  • Generating project progress reports

About this skill

OMK Insights

Generate a usage report from KimiCLI session history. OMK collects bounded evidence and session packet files; the current agent writes the narrative report directly.

Route

  • Default narrative report: run omk insights message <args>.
  • Quick, local, statistical, or --no-llm request: run omk insights --no-llm <args> and summarize paths/counts only.
  • If omk is unavailable, ask the user to run omk setup or reinstall oh-my-kimicli.

Pass through relevant flags such as --limit, --facet-limit, and --force. For token-saving requests, prefer --facet-limit 10.

Narrative Workflow

  1. Run omk insights message <args>.
  2. Read the generated insights-agent-task.md.
  3. Read the generated manifest.json.
  4. Read ranked session packet files from the manifest, starting with recommended_read_mode: "deep".
  5. Extract session facets and write insights-facets.json.
  6. Generate the final report.json directly. It must include metrics, facets, sections, and quality notes.
  7. Generate the final self-contained report.html directly from report.json.
  8. Self-review before the final response:
    • facets were written before the report
    • At a Glance was written after the other sections
    • suggestions are evidence-backed
    • weak sections are omitted or moved to Evidence Notes
    • headings avoid awkward machine translation
    • skill opportunities exist only when repeated usage, clear friction, or high leverage is visible

Treat the task file as the authority for paths, limits, language guidance, report shape, and the final user question.

Boundaries

  • Do not run bare omk insights for the narrative workflow.
  • Do not run omk insights render; that pipeline is intentionally removed.
  • Do not run kimi --print.
  • Do not manually scan ~/.kimi/sessions.
  • Do not paste full raw transcripts into context.
  • Do not create or update skills, hooks, or AGENTS.md during the report run. Ask first.
  • No entries, 暂无信息, or an omitted section is valid when evidence is weak.
  • Do not manufacture recommendations just to fill a section.
  • If the task brief is insufficient, read the reported insights-input.json and session packet files. If they are too large, rerun with a smaller --limit or --facet-limit.

Final Response

Report only:

  • HTML report path
  • JSON report path
  • sessions scanned/analyzed
  • weak-evidence sections or data limits, if any
  • one short question asking whether to create or update a skill, hook, or AGENTS.md instruction only when the report has a concrete skill opportunity with action create_skill, update_skill, add_hook, or add_agents_instruction

If there is no reliable candidate, say that the current evidence is not strong enough to create a targeted skill yet.

When not to use it

  • When the user wants to run bare `omk insights` for the narrative workflow
  • When the user wants to run `omk insights render`
  • When the user wants to manually scan `~/.kimi/sessions`

Prerequisites

omk

Limitations

  • Does not create or update skills, hooks, or AGENTS.md during the report run without asking first
  • Does not manufacture recommendations just to fill a section
  • Does not paste full raw transcripts into context

How it compares

This skill automates the analysis of KimiCLI session data and generates a structured, self-contained report, providing insights that would otherwise require manual review of session logs.

Compared to similar skills

insights side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
insights (this skill)03moNo flagsIntermediate
bv32moReviewIntermediate
org-health-diagnostic12moReviewIntermediate
rollup03moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry