unxed/f4 / .agents/skills/aif-skill-generator
aif-skill-generator
FlaggedGenerate professional Agent Skills for AI agents. Creates complete skill packages with SKILL.md, references, scripts, and templates. Use when creating new skills, generating custom slash commands, or building reusable AI capabilities. Validates against Agent Skills specification.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 23.6 KB |
| references/BEST-PRACTICES.md | markdown | 5.3 KB |
| references/EXAMPLES.md | markdown | 5.0 KB |
| references/LEARN-MODE.md | markdown | 7.1 KB |
| references/SECURITY-SCANNING.md | markdown | 4.6 KB |
| references/SPECIFICATION.md | markdown | 3.0 KB |
| scripts/cleanup-blocked-skill.pyexecutable | script | 23.4 KB |
| scripts/search-skills.pyexecutable | script | 2.9 KB |
| scripts/security-scan.pyexecutable | script | 27.9 KB |
| scripts/validate.shexecutable | script | 5.5 KB |
| templates/basic.md | markdown | 511 B |
| templates/dynamic-context.md | markdown | 1.4 KB |
| templates/research.md | markdown | 956 B |
| templates/task.md | markdown | 807 B |
| templates/visual.md | markdown | 1.9 KB |
scripts/search-skills.py
View on GitHub#!/usr/bin/env python3
"""
Search for skills on skills.sh
Usage: python search-skills.py <query>
"""
import sys
import urllib.request
import urllib.parse
import json
import re
from html.parser import HTMLParser
class SkillsParser(HTMLParser):
def __init__(self):
super().__init__()
self.skills = []
self.current_skill = {}
self.in_skill = False
self.in_title = False
self.in_desc = False
self.in_stats = False
def handle_starttag(self, tag, attrs):
attrs_dict = dict(attrs)
if tag == 'a' and 'href' in attrs_dict:
href = attrs_dict['href']
if href.startswith('/skills/'):
self.in_skill = True
self.current_skill = {'url': f"https://skills.sh{href}"}
def handle_data(self, data):
data = data.strip()
if not data:
return
if self.in_skill and data:
if 'name' not in self.current_skill:
self.current_skill['name'] = data
elif 'description' not in self.current_skill:
self.current_skill['description'] = data
def handle_endtag(self, tag):
if tag == 'a' and self.in_skill:
if 'name' in self.current_skill:
self.skills.append(self.current_skill)
self.in_skill = False
self.current_skill = {}
def search_skills(query: str) -> list:
"""Search skills.sh for matching skills."""
url = f"https://skills.sh/search?q={urllib.parse.quote(query)}"
try:
req = urllib.request.Request(
url,
headers={'User-Agent': 'skill-generator/1.0'}
)
with urllib.request.urlopen(req, timeout=10) as response:
html = response.read().decode('utf-8')
parser = SkillsParser()
parser.feed(html)
return parser.skills[:10] # Return top 10
except Exception as e:
print(f"Error searching: {e}", file=sys.stderr)
return []
def main():
if len(sys.argv) < 2:
print("Usage: python search-skills.py <query>")
print("Example: python search-skills.py 'react best practices'")
sys.exit(1)
query = ' '.join(sys.argv[1:])
print(f"Searching skills.sh for: {query}\n")
skills = search_skills(query)
if not skills:
print("No skills found. Try a different query.")
print("\nAlternative: Visit https://skills.sh directly")
sys.exit(0)
print(f"Found {len(skills)} skills:\n")
for i, skill in enumerate(skills, 1):
print(f"{i}. {skill.get('name', 'Unknown')}")
if 'description' in skill:
print(f" {skill['description'][:100]}...")
print(f" URL: {skill.get('url', 'N/A')}")
print()
print("\nTo install a skill:")
print(" npx skills add <owner/repo>")
print(" (tip: use --agent <name> to install for a specific agent)")
if __name__ == '__main__':
main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |