Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vivy-yi/awesome-skills --skill self-maintainergit clone --depth 1 https://github.com/vivy-yi/awesome-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vivy-yi/awesome-skills/self-maintainer)<a href="https://agentmods.dev/skills/vivy-yi/awesome-skills/self-maintainer"><img src="https://agentmods.dev/badge/skills/vivy-yi/awesome-skills/self-maintainer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vivy-yi/awesome-skills/self-maintainer"><img src="https://agentmods.dev/badge/skills/vivy-yi/awesome-skills/self-maintainer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00092 | $0.02709 |
| Opus 5 | $0.00046 | $0.01354 |
| Sonnet 5 | $0.00018 | $0.00542 |
| Haiku 4.5 | $0.00009 | $0.00271 |
Grade A, and why
self-maintainer scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
has_curl=$(grep -c "curl" "$skill" 2>/dev/null || echo 0) Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run( How it starts
The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Self-Maintainer
Self-auditing and self-improving skill for the awesome-skills maintenance system.
Core Principle
This skill follows the same patterns it maintains. When it improves itself, it uses these same instructions. This creates a positive feedback loop where the maintenance system gets better at maintaining itself.
Workflow
1. Audit Current Skills Health
cd /Volumes/waku/github-维护/awesome/awesome-skills-repos/.skills
echo "=== Skills Directory Health Check ===\n"
# Check all SKILL.md files exist and are valid
echo "Skill directories:"
for skill in */; do
name=$(basename "$skill")
if [ -f "$skill/SKILL.md" ]; then
size=$(wc -c < "$skill/SKILL.md")
lines=$(wc -l < "$skill/SKILL.md")
echo " ✅ $name - ${size}B, ${lines} lines"
else
echo " ❌ $name - MISSING SKILL.md"
fi
done
echo ""
echo "Total skills: $(ls -d */ | wc -l | tr -d ' ')"
echo "Total SKILL.md files: $(find . -name 'SKILL.md' | wc -l | tr -d ' ')"
2. Check for Skill Anti-Patterns
python3 << 'PYEOF'
import os
import re
from pathlib import Path
SKILLS_DIR = Path("/Volumes/waku/github-维护/awesome/awesome-skills-repos/.skills")
issues = []
for skill_dir in SKILLS_DIR.iterdir():
if not skill_dir.is_dir():
continue
skill_name = skill_dir.name
skill_md = skill_dir / "SKILL.md"
if not skill_md.exists():
issues.append(f"❌ {skill_name}: SKILL.md missing")
continue
content = skill_md.read_text()
# Check frontmatter
if not content.startswith('---'):
issues.append(f"❌ {skill_name}: Missing YAML frontmatter")
# Check required fields
if 'name:' not in content[:500]:
issues.append(f"❌ {skill_name}: Missing 'name:' in frontmatter")
if 'description:' not in content[:500]:
issues.append(f"❌ {skill_name}: Missing 'description:' in frontmatter")
# Check for common issues
if len(content) < 500:
issues.append(f"⚠️ {skill_name}: SKILL.md is very short ({len(content)} bytes)")
# Check for README files (anti-pattern)
for f in skill_dir.iterdir():
if f.name.startswith('README') and f.suffix == '.md':
issues.append(f"⚠️ {skill_name}: Has {f.name} (should be in SKILL.md or references/)")
# Check for excessive nesting
for root, dirs, files in os.walk(skill_dir):
depth = root.replace(str(skill_dir), '').count(os.sep)
if depth > 2:
issues.append(f"⚠️ {skill_name}: Excessive nesting at depth {depth}")
# Check description is comprehensive
desc_match = re.search(r'description:\s*["\'](.+?)["\']', content[:1000], re.DOTALL)
if desc_match:
desc_len = len(desc_match.group(1))
if desc_len < 50:
issues.append(f"⚠️ {skill_name}: description is very short ({desc_len} chars)")
if issues:
print("=== Issues Found ===")
for issue in issues:
print(f" {issue}")
else:
print("✅ All skills pass basic health checks!")
PYEOF
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 347 lines · 0 tokens per session scan A b737d16e78d4
self-maintainer is a skill published in the GitHub repository vivy-yi/awesome-skills (1 stars, last pushed 3mo ago), licensed MIT. It adds 92 tokens to every session and 2,709 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…