agent-discovery

Analyze agent definitions and prompts to identify modular skill extraction opportunities.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/rahulgupta2018/agent-skills --skill agent-discovery-rahulgupta2018
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-discovery
Source: https://github.com/rahulgupta2018/agent-skills/tree/main/skills/agent-discovery
Command: npx skills add https://github.com/rahulgupta2018/agent-skills --skill agent-discovery-rahulgupta2018

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the challenge of managing monolithic, bloated agent prompts by identifying redundant procedures and logic that should be refactored into modular, reusable skills.

Core Features & Use Cases

  • Structural Analysis: Parses agent definitions to inventory responsibilities, tool usage, and failure points.
  • Skill Extraction: Identifies multi-step, reusable procedures that are better suited as standalone skills rather than prompt instructions.
  • Use Case: Use this when you have a complex agent that has become difficult to maintain and you want to extract specific capabilities into a library of modular, project-agnostic skills.

Quick Start

Use the agent-discovery skill to analyze the current agent definition and suggest a list of candidate skills for refactoring.

Frequently Asked Questions about agent-discovery

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

FAQPage Schema
How do I refactor a monolithic agent prompt into reusable skills?

Agent refactoring involves analyzing agent definitions and prompts to identify responsibilities, tool usage, and opportunities for modular skill extraction. This structural decomposition breaks down monolithic architectures into smaller, focused, and reusable components.

When should I extract capabilities from an agent definition into a modular skill library?

You should extract capabilities into a modular skill library when your complex agent becomes difficult to maintain. Identifying redundant procedures and logic within monolithic prompts indicates it is time to refactor them into reusable skills for better architecture management.

What do I need to provide for structural analysis of an agent architecture?

For structural analysis of an agent architecture, you need to provide a readable agent definition or prompt. The analysis parses this input to identify responsibilities, tool usage, and failure points to perform pattern identification and structural decomposition.

What is the best way to identify reusable procedures in a bloated agent prompt?

The best way to identify reusable procedures in a bloated agent prompt is through structural analysis that inventories responsibilities and tool usage. This process pinpoints multi-step logic that is better suited as standalone skills rather than prompt instructions.

Does agent refactoring work without any external dependencies?

Yes, agent refactoring works without external dependencies because the process relies entirely on analyzing the provided agent definition or prompt. It performs structural decomposition and pattern identification directly on the readable input text.