AGENT SKILL

skill-suggester

Scan prompt history for recurring patterns and unmet needs, then propose new skills or command templates

License 许可
MIT
所属仓库
MHassan0000/Skills
最近更新
2026-08-07
Stars
★ 1
Forks
0

01 前言 Front Matter

name
skill-suggester
risk
safe
source
community
license
MIT
version
1.0.0
date_added
2026-06-05
description
Scan prompt history for recurring patterns and unmet needs, then propose new skills or command templates
source_repo
mskadu/opencode-agent-skills
source_type
community
license_source
https://github.com/mskadu/opencode-agent-skills/blob/main/LICENSE

02 资源文件 1

03 SKILL.md 正文

What I do

Reads your opencode prompt history, finds repeated multi-step workflows, and recommends skill-worthy candidates. Saves you from having the same conversation twice.

When to Use

Use this skill when the user wants to mine opencode prompt history for repeated workflows, recurring unmet needs, or candidates for new reusable skills.

How to invoke

Run /skill skill-suggester to scan the full history. Optionally pass --since <date> (e.g. --since 2026-05-01) to limit the window.

Analysis method

  1. Locate prompt history files at ~/.local/state/opencode/prompt-history*.jsonl
  2. Parse each entry's message content
  3. Score for skill potential by looking for:
    • Repetition: similar phrasing or topic used 3+ times ("scan all repos", "check my inbox")
    • Multi-step sequences: a request that required 5+ tool calls to complete
    • Unsupported requests: things you asked for that don't have a dedicated skill yet
    • Workaround patterns: instructions you give every time instead of a one-shot command
  4. For each candidate, note:
    • How many times the pattern appeared
    • How many tool calls it consumed
    • The estimated time savings if it were a skill

Output format

## Skill Candidates (last N entries)

### 1. "<candidate name>" (PRIORITY)
- **Pattern**: <what you keep asking for>
- **Frequency**: X times in history
- **Avg complexity**: Y tool calls per instance
- **Estimated savings**: ~Z minutes/week
- **Evidence**:
  - "[excerpt from prompt history]"
  - "[another excerpt]"
- **Recommendation**: <create as skill | add as command template | not worth it>

### 2. ...

Key rules

  • Only flag patterns that happen more than twice. One-offs are not skills.
  • Include direct quotes from your past prompts as evidence.
  • Rate each candidate: high (clear ROI, use weekly), medium (nice to have), low (rare but worth noting).
  • If nothing qualifies, say so and explain why.
  • After presenting candidates, ask if you want to create any of them.

Limitations

  • Prompt history can contain sensitive local context; summarize patterns without exposing unnecessary private excerpts.
  • Recommendations are suggestions only and still need human review before creating or publishing a new skill.

04 同仓库更多 Skills

MHassan0000
MHassan0000/Skills

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

★ 1
MHassan0000
MHassan0000/Skills

stop-slop

Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells and produce more human-like writing.

★ 1
MHassan0000
MHassan0000/Skills

ogilvy-copywriting

Apply David Ogilvy's advertising principles when writing or reviewing copy, headlines, product descriptions, landing pages, ads, emails, or any persuasive text. Use when the goal is copy that sells, not copy that wins awards. Covers positioning, headlines, promises, brand voice, long-form copy, and visual logic. Source: How to Create Advertising That Sells (1972) + Ogilvy on Advertising.

★ 1
MHassan0000
MHassan0000/Skills

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

★ 1
MHassan0000
MHassan0000/Skills

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 1
MHassan0000
MHassan0000/Skills

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

★ 1