codify-from-insights

Triage /insights suggestions and codify approved candidates into skills, hooks, or CLAUDE.md edits.

1|Updated Nov 25, 2021
One-click install
npx skills add https://github.com/rstagi/dotfile --skill codify-from-insights-rstagi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codify-from-insights
Source: https://github.com/rstagi/dotfile/tree/main/.claude/skills/codify-from-insights
Command: npx skills add https://github.com/rstagi/dotfile --skill codify-from-insights-rstagi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After running /insights, you get a list of suggestions for new skills, CLAUDE.md additions, and hook configurations, but turning each one into a real artifact is manual and error-prone. This Skill reads the latest /insights output, walks you through each candidate one at a time, and commits only the ones you approve. ## Core Features & Use Cases - Candidate triage: Parses the suggestions buckets (claude_md_additions, features_to_try, usage_patterns) and maps each to the right destination: a new SKILL.md, a settings.json hook entry, or a CLAUDE.md section. - Per-candidate approval loop: Every candidate is presented individually with options to codify, preview the full draft, skip, or stop, so nothing is written to disk without explicit consent. - Delegated authoring: Skill creation is handed to skill-creator and hook configuration to update-config, with staging in /tmp and collision checks before any commit. - Use Case: After a week of Claude Code usage, run /insights, then invoke this Skill to review five suggested improvements, approve two as new personal skills, add one CLAUDE.md rule, and skip the rest. ## Quick Start Ask the assistant to act on the latest insights output and codify the approved suggestions.

Frequently Asked Questions about codify-from-insights

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn /insights suggestions into actual Claude Code skills?

Run /insights first, then invoke codify-from-insights. It reads the suggestions, presents each candidate for approval, and delegates approved skill creation to skill-creator, which writes the SKILL.md to ~/.claude/skills/<name>/.

What happens if I run codify-from-insights without running /insights first?

The Skill searches the conversation for a recent /insights result and invokes /insights automatically via SlashCommand if none is found. If no data can be obtained, it refuses and asks you to run /insights first.

Does codify-from-insights commit all suggestions automatically?

No. It enforces per-candidate approval and never batch-commits. Each candidate offers options to codify, preview the full draft, skip, or stop entirely, and nothing is written to disk without explicit approval.

Can codify-from-insights modify my existing skills or settings?

No. It only adds new artifacts and refuses when a collision is detected, such as an existing SKILL.md at the target path or a duplicate hook entry reported by update-config. Existing files are never overwritten.

Which /insights suggestion types are skipped by codify-from-insights?

Entries in features_to_try that are not Custom Skills or Hooks, such as MCP Servers and Sub-Agents, are skipped because they are informational rather than direct codify targets. Only skills, hooks, and CLAUDE.md additions are processed.