Back to Skills

prompt-finder

verified

Find and resolve prompt files in ./prompts/ directory. Use when user asks to find a prompt, list available prompts, locate prompt by number or name, or check what prompts exist.

View on GitHub

Marketplace

cruzanstx

cruzanstx/daplug

Plugin

daplug

development

Repository

cruzanstx/daplug
4stars

skills/prompt-finder/SKILL.md

Last Verified

January 21, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/cruzanstx/daplug/blob/main/skills/prompt-finder/SKILL.md -a claude-code --skill prompt-finder

Installation paths:

Claude
.claude/skills/prompt-finder/
Powered by add-skill CLI

Instructions

# Prompt File Finder

Locate and resolve prompt files using the prompt-manager skill.

## Setup

All operations use prompt-manager for consistent git root detection:

```bash
PLUGIN_ROOT=$(jq -r '.plugins."daplug@cruzanstx"[0].installPath' ~/.claude/plugins/installed_plugins.json)
PROMPT_MANAGER="$PLUGIN_ROOT/skills/prompt-manager/scripts/manager.py"
```

## When to Use This Skill

- User asks "find prompt 42" or "which prompt is about auth?"
- User wants to "list available prompts" or "show prompts"
- User asks "what's the latest prompt?" or "most recent prompt"
- Before executing a prompt, to resolve the exact file path
- User wants to search prompts by keyword

## Core Operations

### List All Prompts

```bash
# List all prompts (active and completed)
python3 "$PROMPT_MANAGER" list

# Output:
# [ ] 006 - backup-server
# [ ] 007 - deploy-k8s
# [✓] 001 - initial-setup
# [✓] 002 - add-authentication

# As JSON
python3 "$PROMPT_MANAGER" list --json

# Active only
python3 "$PROMPT_MANAGER" list --active

# Completed only
python3 "$PROMPT_MANAGER" list --completed
```

### Find Prompt by Number

```bash
# Returns path to prompt file
python3 "$PROMPT_MANAGER" find 42
# Output: /path/to/repo/prompts/042-my-prompt.md

# As JSON with full info
python3 "$PROMPT_MANAGER" find 42 --json
# {
#   "number": "042",
#   "name": "my-prompt",
#   "filename": "042-my-prompt.md",
#   "path": "/path/to/repo/prompts/042-my-prompt.md",
#   "status": "active"
# }
```

### Read Prompt Content

```bash
python3 "$PROMPT_MANAGER" read 42
# Outputs the full content of the prompt
```

### Show Prompt Preview

```bash
# Read first 30 lines
python3 "$PROMPT_MANAGER" read 42 | head -30
```

### Get Prompts Directory Info

```bash
python3 "$PROMPT_MANAGER" info
# Repository root: /path/to/repo
# Prompts directory: /path/to/repo/prompts
# Completed directory: /path/to/repo/prompts/completed
# Next number: 008
# Active prompts: 2
# Completed prompts: 5
# Total prompts: 7

# As JSON
python3 "$PROMPT_M

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
4013 chars