prompts-extract-all

Extract embedded prompt templates from skill files into standalone markdown documents.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/hirokimry/vibecorp --skill prompts-extract-all
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompts-extract-all
Source: https://github.com/hirokimry/vibecorp/tree/main/skills/prompts-extract-all
Command: npx skills add https://github.com/hirokimry/vibecorp --skill prompts-extract-all

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes embedded agent-call prompt blocks from skill definitions and turns them into standalone markdown files, making prompt libraries easier to maintain, review, and reuse.

Core Features & Use Cases

  • Prompt Discovery: Scans skill files for long or reusable prompt templates embedded in fenced blocks.
  • Migration Planning: Evaluates whether each candidate should be extracted based on line count, reuse intent, and naming rules.
  • Safe Refactoring Workflow: Proposes diffs, requires approval before rewriting, and preserves exact prompt wording after extraction.
  • Use Case: A repository owner wants to clean up a large skill file that mixes instructions with reusable agent prompts, and uses this Skill to move those prompts into separate markdown files without changing behavior.

Quick Start

Use this skill to review a skill directory and propose any embedded prompt blocks that should be extracted into standalone markdown files.

Frequently Asked Questions about prompts-extract-all

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

FAQPage Schema
How do I extract embedded prompt templates from markdown skill files?

To extract embedded prompt templates from markdown, you scan skill files for long reusable prompt blocks and migrate them into standalone markdown documents. This process requires line-count detection and usage-based judgment to identify candidates for safe extraction.

When do I need to migrate reusable agent prompts into standalone files?

You need to migrate reusable agent prompts into standalone files when a skill file mixes instructions with long reusable call templates. Extracting these blocks makes the prompt library easier to maintain, review, and reuse without altering behavior.

How does the approval workflow protect exact text during prompt extraction?

The approval workflow protects exact text by proposing diffs and requiring two-stage approval before rewriting files. This safe refactoring workflow ensures exact text preservation after extraction, preventing unintended changes to prompt wording.

Can I safely refactor SKILL.md files to remove long prompt blocks without changing behavior?

Yes, you can safely refactor SKILL.md files to remove long prompt blocks without changing behavior by using a migration tool that proposes diffs and requires approval before rewriting. This ensures exact prompt wording is preserved during extraction.

What is the best way to clean up a large skill file that mixes instructions with reusable agent prompts?

The best way to clean up a large skill file mixing instructions with reusable agent prompts is to use an automated extraction proposal tool. It evaluates prompt block candidates based on line count and naming rules, then moves them into separate markdown files.

What are the limitations of automated prompt extraction from skill definitions?

Limitations of automated prompt extraction include the need for two-stage approval before rewriting files, meaning it cannot execute silent refactoring. It also relies on line-count detection and usage-based judgment, requiring human validation of naming rules.