self-maintainer

self-maintainer is a skill for Claude Code, Codex from vivy-yi/awesome-skills. It costs 92 tokens per session (2,709 once invoked), scanned A, original, MIT.

A maintenance tool for checking and improving a collection of coding-agent skills, which are reusable instruction sets for an agent.

In plain words
What is it for?
Use it to audit skill health, update skills to new patterns, and maintain the maintenance system itself.
Why use it?
It helps find missing skill files, unhealthy patterns, and areas where the skill collection needs improvement.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to audit skill health, update skills to new patterns, and maintain the maintenance system itself.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/awesome-skills/self-maintainer
Install

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.

Any agent
npx skills add vivy-yi/awesome-skills --skill self-maintainer
Clone the repo
git clone --depth 1 https://github.com/vivy-yi/awesome-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for self-maintainer

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/awesome-skills/self-maintainer/github.svg)](https://agentmods.dev/skills/vivy-yi/awesome-skills/self-maintainer)
Your own site
<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.

agentmods 80×15 button for self-maintainer

Your own site · 80×15
<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>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 10d ago against content hash b737d16e78d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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(
.skills/self-maintainer/SKILL.md · 347 lines

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

Read the full file on GitHub · 347 lines

Changes

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.

  1. 10d ago First seen · 347 lines · 0 tokens per session scan A b737d16e78d4

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

microsoft/ai-agents-for-beginners · 200 tokens

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…

vercel/next.js · 95 tokens

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…

vercel/next.js · 83 tokens

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…

vercel/next.js · 170 tokens

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…

vercel/next.js · 103 tokens