# Extract Component

> This skill should be used when the user asks to "extract skill", "extract command", "extract agent", "extract pattern", "save as skill", "save as command", "save as agent", "turn this into a skill", "make this a command", "save this workflow", "提取技能", "提取命令", "提取 agent", "保存为技能", "提取可复用模式", or wants to extract reusable components (skills, commands, agents) from the current conversation history.

- **Type:** Skill
- **Install:** `agentstack add skill-dropfan-claude-code-plugins-extract-component`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [DropFan](https://agentstack.voostack.com/s/dropfan)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [DropFan](https://github.com/DropFan)
- **Source:** https://github.com/DropFan/claude-code-plugins/tree/master/plugins/skill-extractor/skills/extract-component

## Install

```sh
agentstack add skill-dropfan-claude-code-plugins-extract-component
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Extract Component

## Overview

Analyze the current conversation history and extract reusable patterns into Claude Code components — Skills, Commands, or Agents. This skill identifies valuable methodology, operation sequences, and decision workflows from the conversation and generates properly formatted component files.

## Intent Classification

When the user triggers this skill, determine the extraction intent:

1. **Explicit type** — User specifies what they want (e.g., "extract a skill", "make this a command")
2. **Auto-detect** — User wants extraction but hasn't specified the type (e.g., "extract pattern", "save this workflow")

### Component Type Guidelines

- **Skill** — A methodology, technique, or approach for solving a category of problems. Skills describe *how to think about* a problem, with progressive disclosure of details. Best for: debugging strategies, review processes, design methodologies, domain-specific expertise.
- **Command** — A concrete sequence of operations that can be executed with parameters. Commands are action-oriented with clear inputs and outputs. Best for: build workflows, deployment steps, data processing pipelines, repetitive multi-step tasks.
- **Agent** — An autonomous workflow that requires decision-making, branching logic, and tool usage. Agents operate independently within defined boundaries. Best for: code review workflows, test generation, documentation creation, complex analysis tasks.

## Execution

Route to the `/skill-extractor:extract` command with the user's intent:

1. If the user specified a type, pass it as an argument (e.g., `/skill-extractor:extract skill`)
2. If auto-detect, pass no type argument — the command will analyze and recommend

Invoke the command: `/skill-extractor:extract $ARGUMENTS`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [DropFan](https://github.com/DropFan)
- **Source:** [DropFan/claude-code-plugins](https://github.com/DropFan/claude-code-plugins)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-dropfan-claude-code-plugins-extract-component
- Seller: https://agentstack.voostack.com/s/dropfan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
