Skip to content
Agentmart
Submit a tool

agent-discovery

Analyse an existing agent, agent prompt, or AGENT.md to inventory responsibilities, tool usage, reusable procedures, context-heavy sections, failure points…

Skill by rahulgupta2018

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rahulgupta2018-agent-discovery

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Analyse an existing agent, agent prompt, or AGENT.md to inventory responsibilities, tool usage, reusable procedures, context-heavy sections, failure points, and candidate skill extraction opportunities. Use when refactoring or decomposing an existing agent into smaller, more focused agents.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-discovery

Tools it pre-approves 2

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read
  • Write

What's inside

Skill name
agent-discovery
Description
Analyse an existing agent, agent prompt, or AGENT.md to inventory responsibilities, tool usage, reusable procedures, context-heavy sections, failure points, and candidate skill extraction opportunities. Use when refactoring or decomposing an existing agent into smaller, more focused agents.
License
Apache-2.0
Compatibility
Requires a readable agent definition or prompt. Works best when tool lists, non-functional requirements, and sample tasks are available.
Allowed tools
Read, Write
Metadata
skill-type: analysis · skill-version: 1.0.0 · skill-category: analysis · skill-subcategory: discovery
Instructions
66 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Purpose 
Identify what an agent is doing, how it is doing it, and what skills are being used. This skill is useful for understanding existing agents, identifying areas for improvement, and extracting reusable skills for new agents.

## Workflow
### Step 1: Parse the current agent definition or prompt
Extract: 
  - Purpose
  - Responsibilities
  - Inputs/ Outputs
  - Tool usage
  - Reusable procedures
  - Context-heavy sections
  - Failure handling
  - Candidate skill extraction opportunities
  - formatting rules
  - domain rules 

### Step 2: Categorize content
Classify each instruction into one of:
  - Identify and categorize the extracted content into relevant sections
  - orchestration logic
  - reusable procedures
  - context-heavy sections
  - domain policy/ reference material
  - formatting-only guidance 
  - redundant/ obsolete content

### Step 3: Identify skill candidates
Create a skill candidate if ALL apply:
  - The procedure is reusable across tasks or agents
  - The procedure is multi-step or specialised
  - keeping it always in promt would waste context
  - the capability has a crisp purpose and trigger

### Step 4: Identify anti-patterns
Flag:
  - Monolithic or overly complex prompts that could be broken down into smaller, more focused agents
  - duplicated instructions or procedures that could be refactored into reusable skills
  - mixed policy and execution logic that could be separated for clarity
  - unclear routing 
  - hidden assumptions about tools / files / data
  - missing validation criteria

## Output Format 
### Current Capabilities 
### Candidate skills
### Keep in Orchestrator
### Remove / Simplify 
### Rinks

## Guardrails
- Do not create skills for trivial or one-step behaviors.
- Do not assume external tools exist unless explicitly stated in the agent definition or prompt.
- Distinguish domain knowledge from procedure. 
- Ensure all extracted skills have clear triggers and purposes. 
- Avoid duplicating existing skills. 
- Maintain separation of concerns between orchestration and execution logic.

From rahulgupta2018/agent-skills, Apache-2.0.

More from rahulgupta2018/agent-skills

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jul 23, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rahulgupta2018

Cite this page

agent-discovery skill. Agent Mart. https://agentmart.dev/skills/rahulgupta2018-agent-discovery (last updated 2026-10-24)