skill-creator

Detect repetitive pi agent workflows and create validated custom skills.

3|Updated Apr 21, 2024
One-click install
npx skills add https://github.com/gabrielfruet/.dotfiles --skill skill-creator-gabrielfruet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-creator
Source: https://github.com/gabrielfruet/.dotfiles/tree/main/pi/agent/skills/skill-creator
Command: npx skills add https://github.com/gabrielfruet/.dotfiles --skill skill-creator-gabrielfruet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the tedious manual work of reviewing hours of pi agent session history to spot repetitive workflows worth turning into reusable custom skills, saving you time and ensuring consistent task execution.

Core Features & Use Cases

  • Session Pattern Detection: Scans local or global pi session history to identify repeated bash commands, similar user prompts, and consistent multi-step command sequences that occur three or more times.
  • Guided Skill Creation: Walks you through the full process of building a valid custom skill, including drafting required frontmatter, writing operational instructions, validating structure, and placing the skill in the correct local or global directory.
  • Use Case: If you repeatedly run the same sequence of commands to process session files across multiple work sessions, this Skill can automatically detect that pattern and help you create a dedicated skill to run that workflow with a single trigger.

Quick Start

Ask the AI to review your recent pi agent session history and suggest custom skills for any repetitive workflows it identifies.

Frequently Asked Questions about skill-creator

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

FAQPage Schema
How do I identify repetitive workflows in pi agent session history to automate them?

Session pattern detection scans local or global pi agent session history to identify repetitive workflows, bash command sequences, and prompt patterns occurring three or more times. It analyzes your history filtered by current working directory or across all projects to surface consistent multi-step workflows.

What is the best way to create custom skills from repeated bash commands and user prompts?

Creating custom skills from repeated bash commands involves a guided process that drafts required YAML frontmatter, writes operational instructions, validates skill structure, and places the skill in the correct local or global directory for immediate activation.

Do I need jq installed to analyze session files and generate custom skill configurations?

Yes, jq is a required dependency to analyze session files and generate custom skill configurations. This lightweight command-line JSON processor is used by the skill's internal scripts to parse session history and detect repetitive patterns.

Can I detect command sequences across all projects or only within my current working directory?

You can detect command sequences in both your current working directory and across all projects. The session analysis applies to local session history filtered by the current directory and global session history across all projects to find repeated workflows.

How does guided skill creation validate YAML frontmatter and directory placement before activation?

Guided skill creation validates YAML frontmatter and directory placement by checking the structural formatting and confirming the correct local or global folder location. This validation ensures the custom skill is properly configured before it becomes active.

What are the limitations of detecting prompt patterns when creating custom skills from session history?

A limitation of detecting prompt patterns is that the analysis only identifies repeated sequences occurring three or more times. Workflows with minor variations or low frequency may not be recognized, requiring manual review to capture less consistent session patterns.