agentleFS
theaichimeratheaichimera/claude-code-project-intelligence/skills/plugins/SKILL.md

plugins

Skill9 starsChanged 9 months agoMITView on GitHub

Discover all installed plugins, skills, and commands available in this environment

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. korchard333/claude-power-platform-community★ 49same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the following script to discover everything, then present the results in a clean table format.

    line 13
  2. Distinctive:

    Use the descriptions found in the files, not hardcoded ones

    line 183
  3. Distinctive:

    If a skill has sub-commands (like tpm-report), show the namespace once and list sub-commands

    line 185

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/plugins — Discover Installed Plugins & Skills

Scan the environment to discover all installed plugins, skills, and commands. This is self-discovering — it reads the filesystem, not a hardcoded list.

Instructions

Run the following script to discover everything, then present the results in a clean table format.

echo "=== SCANNING PLUGINS & SKILLS ==="

# 1. PI skills (always present if PI is installed)
echo ""
echo "## PI_SKILLS"
PI_SKILLS_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/project-intelligence}/skills"
if [[ -d "$PI_SKILLS_DIR" ]]; then
    for skill_dir in "$PI_SKILLS_DIR"/*/; do
        [[ -f "$skill_dir/SKILL.md" ]] || continue
        name=$(basename "$skill_dir")
        desc=$(grep '^description:' "$skill_dir/SKILL.md" 2>/dev/null | head -1 | sed 's/^description: *"*//;s/"*$//')
        echo "SKILL|/$name|$desc|pi"
    done
fi

# 2. User-level commands (~/.claude/commands/)
echo ""
echo "## USER_COMMANDS"
USER_CMD_DIR="$HOME/.claude/commands"
if [[ -d "$USER_CMD_DIR" ]]; then
    # Namespaced skills (directories with .md files)
    for ns_dir in "$USER_CMD_DIR"/*/; do
        [[ -d "$ns_dir" ]] || continue
        ns=$(basename "$ns_dir")
        for cmd_file in "$ns_dir"/*.md; do
            [[ -f "$cmd_file" ]] || continue
            cmd=$(basename "$cmd_file" .md)
            # Try to get description from first comment line
            desc=$(head -5 "$cmd_file" | grep '^#' | grep -iv "usage\|example" | head -1 | sed 's/^# *//')
            echo "SKILL|/$ns $cmd|$desc|user ($ns)"
        done
    done
    # Top-level .md files
    for cmd_file in "$USER_CMD_DIR"/*.md; do
        [[ -f "$cmd_file" ]] || continue
        cmd=$(basename "$cmd_file" .md)
        desc=$(head -5 "$cmd_file" | grep '^#' | grep -iv "usage\|example" | head -1 | sed 's/^# *//')
        echo "SKILL|/$cmd|$desc|user"
    done
fi

# 3. Project-level commands (.claude/commands/ in CWD)
echo ""
echo "## PROJECT_COMMANDS"
PROJECT_CMD_DIR="${CWD:-.}/.claude/commands"
if [[ -d "$PROJECT_CMD_DIR" ]]; then
    for ns_dir in "$PROJECT_CMD_DIR"/*/; do
        [[ -d "$ns_dir" ]] || continue
        ns=$(basename "$ns_dir")
        for cmd_file in "$ns_dir"/*.md; do
            [[ -f "$cmd_file" ]] || continue
            cmd=$(basename "$cmd_file" .md)
            desc=$(head -5 "$cmd_file" | grep '^#' | grep -iv "usage\|example" | head -1 | sed 's/^# *//')
            echo "SKILL|/$ns $cmd|$desc|project"
        done
    done
    for cmd_file in "$PROJECT_CMD_DIR"/*.md; do
        [[ -f "$cmd_file" ]] || continue
        cmd=$(basename "$cmd_file" .md)
        desc=$(head -5 "$cmd_file" | grep '^#' | grep -iv "usage\|example" | head -1 | sed 's/^# *//')
        echo "SKILL|/$cmd|$desc|project"
    done
else
    echo "NONE"
fi

# 4. Registered plugins (from settings.json)
echo ""
echo "## REGISTERED_PLUGINS"
SETTINGS="$HOME/.claude/settings.json"
if [[ -f "$SETTINGS" ]]; then
    # Extract plugin paths from permissions or plugin config
    cat "$SETTINGS" | python3 -c "
import json, sys, os
try:
    settings = json.load(sys.stdin)
    # Check for plugin references in permissions
    perms = settings.get('permissions', {})
    # Check for mcpServers
    mcps = settings.get('mcpServers', {})
    for name, config in mcps.items():
        cmd = config.get('command', '')
        print(f'MCP|{name}|{cmd}|mcp-server')
except:
    pass
" 2>/dev/null
fi

# 5. CLI tools (pi-* commands)
echo ""
echo "## CLI_TOOLS"
PI_BIN="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/project-intelligence}/bin"
if [[ -d "$PI_BIN" ]]; then
    for cmd in "$PI_BIN"/pi-*; do
        [[ -x "$cmd" ]] || continue
        name=$(basename "$cmd")
        # Skip backward-compat symlinks
        [[ -L "$cmd" ]] && continue
        desc=$(head -3 "$cmd" | grep '^#' | tail -1 | sed 's/^# *//')
        echo "CLI|$name|$desc|pi"
    done
fi

# 6. Beads (if initialized)
echo ""
echo "## BEADS"
if command -v bd &>/dev/null; then
    echo "CLI|bd|Git-backed issue tracker|beads"
else
    echo "NONE"
fi

echo ""
echo "=== SCAN COMPLETE ==="

Formatting

Parse the output above and present it as a clean, grouped reference:

Format as:

## Installed Plugins & Skills

### Project Intelligence (PI)
| Command | Description |
|---------|-------------|
| /recall | Search all past sessions |
| /activity | Track what you did (GitHub + PI) |
| ... | ... |

### TPM Report (user-level)
| Command | Description |
|---------|-------------|
| /tpm-report gather | Auto-populate from PI + GitHub |
| ... | ... |

### Project-Level Commands
| Command | Description |
|---------|-------------|
(only if any found in CWD)

### MCP Servers
| Server | Command |
|--------|---------|
(only if any configured)

### CLI Tools
| Command | Description |
|---------|-------------|
| pi-activity | Activity intelligence |
| pi-query | Search sessions |
| ... | ... |

### Beads
| Command | Description |
|---------|-------------|
| bd | Git-backed issue tracker |

---
Total: X skills, Y CLI tools, Z MCP servers

Guidelines:

  • Group by source (PI, user, project, MCP, CLI, beads)
  • Skip empty groups
  • Use the descriptions found in the files, not hardcoded ones
  • Show the total count at the bottom
  • If a skill has sub-commands (like tpm-report), show the namespace once and list sub-commands

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.