name: skills-perso description: | List personal (user-created) skills from ~/.claude/skills/. Excludes framework/gstack skills and symlinked/external skills. Shows only skills the user wrote themselves. Trigger: "skills-perso", "mes skills", "list my skills", "quels skills", "skills perso". argument-hint: "" disable-model-invocation: false allowed-tools:
List only user-created skills from ~/.claude/skills/, excluding framework
(gstack) skills, symlinked directories, and external skills.
A skill is personal if it satisfies AT LEAST ONE of these signals (in priority order):
owner: user (preferred — unambiguous, future-proof)~/.claude/agents/ on a non-comment lineAllowlist of self-contained personal skills (no agent delegation): skills-perso.
Framework / gstack skills always FAIL all three signals — that is how they are excluded.
Run this command to get the list of personal skills:
ALLOWLIST="skills-perso"
is_personal() {
local skill_file="$1" skill_name="$2"
# Signal 1: explicit marker
if grep -qE '^owner:[[:space:]]*user\b' "$skill_file" 2>/dev/null; then
return 0
fi
# Signal 2: agent reference on a non-comment line
if grep -nE '\$HOME/\.claude/agents/|~/\.claude/agents/|\.claude/agents/' "$skill_file" 2>/dev/null \
| grep -vE '^[0-9]+:[[:space:]]*(#|<!--|//)' \
| grep -q .; then
return 0
fi
# Signal 3: allowlist
for allowed in $ALLOWLIST; do
[ "$skill_name" = "$allowed" ] && return 0
done
return 1
}
found=0
for dir in ~/.claude/skills/*/; do
[ -L "${dir%/}" ] && continue # skip symlinks (external)
skill=$(basename "${dir%/}")
skill_file="${dir}SKILL.md"
[ -f "$skill_file" ] || continue
if is_personal "$skill_file" "$skill"; then
echo "$skill"
found=$((found + 1))
fi
done
if [ "$found" -eq 0 ]; then
echo "⚠️ No personal skills detected. Either only framework skills installed," >&2
echo " or no SKILL.md carries 'owner: user' marker / agent reference." >&2
echo " To mark a skill as personal, add 'owner: user' to its frontmatter." >&2
exit 1
fi
SKILL.md.description from the YAML frontmatter. Handle BOTH formats:
description: Some text here → take everything after description:description: | → take the next indented line, trimmed.md filename from ~/.claude/agents/).## Personal Skills (~/.claude/skills/)
| Skill | Agent | Description |
|-------|-------|-------------|
| feat | feater.md | Small feature implementation (1-5 files)... |
| ... | ... | ... |
**Total: N personal skills** (M framework/external skills excluded)
Keep descriptions to one line (~80 chars max, truncate with "..." if needed).