/suggesting-skills:suggesting-skillsfrom suggesting-skills
Analyzes current Claude Code session to suggest new skills based on work patterns. Saves suggestions to ~/.claude/skill-suggestions/ for later review. Invoke with /suggest-skills to analyze session or /review-suggestions to review and implement saved suggestions.
Ships in suggesting-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyzes Claude Code sessions to identify opportunities for new skills based on:
All suggestions are saved to: ~/.claude/skill-suggestions/
Each suggestion is a separate markdown file with timestamp to avoid conflicts:
~/.claude/skill-suggestions/
├── 2026-01-15-143052-api-testing.md
├── 2026-01-15-160823-log-analysis.md
└── ...
When invoked, analyze the current session for skill opportunities.
Analysis Criteria:
Repeated Patterns - Look for tasks done multiple times with similar structure
Complex Workflows - Multi-step processes that could be codified
Tool Integrations - External tools or APIs used that could be standardized
Pain Points - Areas where the session struggled
Suggestion Format:
For each potential skill identified, save a file to ~/.claude/skill-suggestions/ with:
# Skill Suggestion: [Name]
**Generated:** [timestamp]
**Session Context:** [brief description of what was being worked on]
## Observed Pattern
[Description of what was observed in the session]
## Proposed Skill
**Name:** [suggested-skill-name]
**Description:** [one-line description]
### What It Would Do
[2-3 sentences explaining the skill's purpose]
### Example Usage
[Example of how a user would invoke/use this skill]
### Key Components
- [Component 1]
- [Component 2]
- ...
## Evidence From Session
[Specific examples from the session that support this suggestion]
## Implementation Notes
[Any technical considerations for implementing this skill]
---
Status: pending
File Naming:
YYYY-MM-DD-HHMMSS-skill-name-slug.md
After Analysis:
/review-suggestions laterWhen invoked, help the user review existing suggestions.
Workflow:
List Suggestions - Show all pending suggestions in ~/.claude/skill-suggestions/
Found 3 pending skill suggestions:
1. api-testing (2026-01-15) - Standardized API endpoint testing workflow
2. log-analysis (2026-01-15) - Parse and summarize application logs
3. db-migrations (2026-01-14) - Database migration management
User Selection - Use AskUserQuestion to let user choose:
For Each Review:
If Accepted:
writing-skills skill to create the new skillimplemented (update Status line)~/.claude/skill-suggestions/implemented/If Rejected:
~/.claude/skill-suggestions/rejected/ if user wants historyThis skill is designed to run as a subagent to preserve the full session context. When run as a subagent, it gets its own context window and can analyze the entire conversation before any compaction occurs.
Best Practice: Run /suggest-skills at the end of complex sessions before context is compacted, or when you notice you're doing repetitive work.
How to invoke as subagent:
The /suggest-skills command should launch analysis in a background subagent:
Task tool with:
subagent_type: "general-purpose"
run_in_background: true
prompt: [analysis prompt - see below]
Subagent Analysis Prompt:
You are analyzing a Claude Code session to identify skill opportunities.
Review the conversation history and look for:
1. Repeated patterns (same type of task done multiple times)
2. Complex workflows (multi-step processes with 5+ steps)
3. Tool integrations (external tools used with specific patterns)
4. Pain points (errors, retries, unclear instructions)
For each opportunity found:
1. Create a suggestion file in ~/.claude/skill-suggestions/
2. Use filename format: YYYY-MM-DD-HHMMSS-skill-name.md
3. Follow the suggestion template in the skill documentation
4. Be specific - include concrete examples from the session
Focus on patterns that would genuinely benefit from codification.
Do NOT suggest skills for one-off tasks or trivial operations.
After saving suggestions, output a brief summary of what was found.
Future Enhancement: If Claude Code adds a PreCompact hook type, this skill could be triggered automatically before context compaction
Good candidates:
Poor candidates:
# Skill Suggestion: reviewing-prs
**Observed Pattern:** User asked for PR review 3 times, each time
specifying the same criteria (security, performance, test coverage).
**What It Would Do:** Standardize PR review with configurable checklists
for different review types (security-focused, performance-focused, etc.)
# Skill Suggestion: fixing-typo-in-readme
**Observed Pattern:** User fixed a typo in README.md
[Too specific, one-time task, not worth a skill]
mkdir -p ~/.claude/skill-suggestionsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mdsakalu/agent-plugins --plugin suggesting-skillsOther plugins' skills for the same job