AGENT SKILL

alternative-skill-creator

Create, edit, and improve skills that extend AI agent capabilities with domain knowledge, workflows, and tool integrations. Use when creating a new SKILL.md, editing or refactoring an existing skill, updating skill content or references, adding reference files, redesigning skill structure, applying progressive disclosure, defining activation triggers, or evaluating skill quality. Trigger: skill creation, SKILL.md editing, skill quality. Do NOT trigger for: general writing or documentation tasks not related to AI agent skills.

License 许可
MIT
最近更新
2026-08-27
Stars
★ 1
Forks
0

01 前言 Front Matter

name
alternative-skill-creator
license
MIT
metadata
{ "author": "Community", "status": "stable", "version": "2.0", "category": "meta" }
description
Create, edit, and improve skills that extend AI agent capabilities with domain knowledge, workflows, and tool integrations. Use when creating a new SKILL.md, editing or refactoring an existing skill, updating skill content or references, adding reference files, redesigning skill structure, applying progressive disclosure, defining activation triggers, or evaluating skill quality. Trigger: skill creation, SKILL.md editing, skill quality. Do NOT trigger for: general writing or documentation tasks not related to AI agent skills.

02 资源文件 23

03 SKILL.md 正文

Alternative Skill Creator

Guide for creating effective skills that extend host agent capabilities.

See references/overview.md

What Skills Provide

Skills extend agent capabilities with domain knowledge, workflows, tool integrations, and bundled resources (scripts, references, assets).

Quality Standard — 7 Pillars

Every skill must meet the 7-pillar standard to be considered world-class. Score is measured by scripts/validate-skill-quality.py (0-100). Passing: ≥70. Target: ≥80.

# Pillar Weight What it means
1 Self-Sufficiency 20pt Usable without chasing references/ for 80% of cases
2 Decision Tree 15pt Decision table or branching workflow with ≥3 routes
3 Anti-patterns 15pt ≥3 FAIL:/PASS: pairs with concrete code
4 Verification 15pt Workflow ends with verification checklist
5 Depth 10pt Known bugs, platform quirks, edge cases
6 Precise Triggers 15pt description has ≥3 triggers + ≥1 anti-trigger
7 Living References 10pt ≥2 external URLs + last_verified dates

→ Full standard + canonical template: ../../_TEMPLATE/SKILL.md → Template: references/skill-template.md

Core Principles

Principle Guideline
Concise is Key Context window is shared. Only add what the host agent doesn't know.
Degrees of Freedom Match specificity to task fragility: High (text), Medium (pseudocode), Low (exact scripts)
World-Class First Follow 7-pillar standard. Run validate-skill-quality.py before marking done.

Skill Structure

  • SKILL.md (required) — canonical section template: Overview, Quick Reference, Workflow, Guidelines, Anti-patterns, Troubleshooting, Verification, References
  • scripts/ (executable code, invoked as black boxes)
  • references/ (edge case docs loaded on demand — keep minimal)
  • assets/ (templates, resources)

→ references/anatomy.md

Progressive Disclosure

Three levels:

  1. Metadata (always)
  2. SKILL.md (<500 lines, <5000 tokens)
  3. Resources (as needed)

Key rule: SKILL.md <500 lines

Creation Workflow

  1. Understand patterns — from real tasks, not generic LLM output
  2. Plan resources — SKILL.md + scripts/ + references/ + assets/
  3. Initialize — init_skill.py <name> --path <dir> --category <cat>
  4. Implement SKILL.md — use references/skill-template.md as guide
    • Include all 7 canonical sections: Overview, Quick Reference, Workflow, Guidelines/DO-DON'T, Anti-patterns, Troubleshooting, Verification, References
    • Add ≥3 FAIL:/PASS: anti-pattern pairs with code
    • Add decision table with ≥3 rows
    • Add verification checklist at end of each workflow
  5. Implement resources — scripts/ + references/
  6. Validate — quick_validate.py <skill_dir> --strict
  7. Shell safety — python3 scripts/validate-shell-safety.py --ci
    • Ensures no exclamation marks in prose outside fenced code blocks (prevents Zsh history expansion)
    • See references/skill-template.md Shell Safety section for rules
  8. Evaluate — python3 scripts/evaluate_skill.py <skill-dir>
    • Runs evals/evals.json against target + judge models via Ollama
    • For Ollama Cloud: python3 scripts/evaluate_skill.py <dir> --ollama-cloud (set $OPENAI_API_KEY)
    • For batch ecosystem evaluation: python3 scripts/evaluate_ecosystem.py --ollama-cloud
    • Computes baseline (with_skill vs without_skill) and delta metrics
    • Target: delta.pass_rate >= +0.1 AND overall pass_rate >= 0.7
    • Review workspace/iteration-1/benchmark.json — iterate SKILL.md if needed
    • Commit benchmark.json as quality artifact alongside the skill
  9. Score quality — python3 scripts/validate-skill-quality.py --report
    • Target: ≥70 (passing). World-class: ≥80
    • Iterate pillars below threshold
  10. Register — add to manifest.yaml → make validate → make sync
  11. Package — package_skill.py

Schema v2 required fields: name(≤64 chars, kebab-case, matches dir) | description(≥50 chars, ≤1024, contains "Use when" AND ≥3 trigger keywords AND ≥1 anti-trigger) | license(MIT or Proprietary) | metadata.author(generic) | metadata.version(semver) | metadata.category(enum)

→ See canonical template for schema v2 metadata requirements → references/creation-workflow.md

Overview

Creates and maintains high-quality skills (SKILL.md files) that extend AI agent capabilities with domain knowledge, workflows, and tool integrations. Covers the 7-pillar quality standard, progressive disclosure, schema v2 metadata, and the full creation lifecycle from pattern discovery to manifest registration.

Quick Reference

Scenario Action
Creating a new skill Use init_skill.py <name> --path <dir> --category <cat>
Evaluating skill quality validate-skill-quality.py --report
Evaluating skill automatically evaluate_skill.py <dir> or evaluate_skill.py <dir> --ollama-cloud
Evaluating all skills at once evaluate_ecosystem.py --skip-evals (structural) or --ollama-cloud (full)
Improving a low-scoring skill Check 7-pillar breakdown; iterate weakest pillar first
Registering a skill in the ecosystem Add to manifest.yaml → make validate → make sync
Packaging a skill for distribution Run package_skill.py

References

Resource URL Last verified
YAML Frontmatter Spec https://yaml.org/spec/1.2.2/ 2026-05-25
Semantic Versioning https://semver.org/ 2026-05-25
Markdown Guide https://www.markdownguide.org/ 2026-05-25

Verification Checklist

  • [ ] 7-pillar quality score ≥70 (run validate-skill-quality.py --report)
  • [ ] Metadata matches schema v2: name, description, license, author, version, category
  • [ ] Description contains "Use when" + ≥3 trigger keywords + ≥1 anti-trigger
  • [ ] SKILL.md < 500 lines and < 5000 tokens
  • [ ] ≥3 FAIL:/PASS: anti-pattern pairs with code examples
  • [ ] Decision table with ≥3 rows present
  • [ ] Registered in manifest.yaml → make validate passes

Troubleshooting

[WARN] Known issue Likely cause Fix
validate-skill-quality.py score < 70 Missing pillars: decision tree, anti-patterns, or verification checklist Check pillar breakdown; iterate weakest pillar first; add missing sections
Skill not syncing to agents Not registered in manifest.yaml; make validate failing Add entry to manifest.yaml; run make validate then make sync
Skill consumes too many tokens (>5000) Too much content in SKILL.md; references not offloaded Move edge cases to references/ directory; keep SKILL.md focused on core guidance
Description not triggering agent correctly Description lacks "Use when" phrase or trigger keywords Add "Use when" + ≥3 trigger keywords (e.g., "creating", "editing", "updating", "refactoring")
Skill validation passes locally but fails in CI (known limitation) Python version mismatch or missing dev dependencies in CI environment Pin validate-skill-quality.py deps in requirements.txt; run same Python version locally as CI
Ollama Cloud authentication fails OPENAI_API_KEY env var not set or wrong endpoint URL export OPENAI_API_KEY=$OLLAMA_API_KEY; verify URL: https://ollama.com/v1; use --ollama-cloud flag for automatic URL config

Recorded reference (master catalog #154 microsoft/SkillOpt): skill self-optimization loop — trajectory -> edit -> validation gate -> best_skill.md (~300-2000 tokens); see engineering-standards/references/eval-harness.md.

04 同仓库更多 Skills

ronsilver
ronsilver/agent-covenant

web-browsing-agent-expert

Web browsing for AI agents: driving a headless browser (Playwright, Puppeteer) from agent tooling, navigation and page-state grounding, DOM extraction and structured data capture, form interaction, session and cookie management, anti-bot mitigation awareness, and safe browsing rules (no PII exfiltration, respect robots and terms). Use when building a browsing tool or MCP server for an agent, teaching an agent to navigate and read web pages, extracting structured content from dynamic sites, or handling login walls and pagination in agent workflows. Trigger: web browsing agent, headless browser, Playwright MCP, Puppeteer, browser automation for agents, DOM extraction, page navigation, session management. Do NOT trigger for: end-to-end UI testing of an application (use playwright-expert); writing standalone scraping scripts for data pipelines (use python-expert); fetching a single public URL (use the fetch tool).

★ 1
ronsilver
ronsilver/agent-covenant

vector-databases

Design and operate vector databases for cloud-native AI features. Use when selecting between pgvector, Pinecone, or Weaviate for AI context layer or integration-hub; designing embedding schemas and index parameters; implementing ANN search with metadata filtering; managing embedding model versions; optimizing query latency; or debugging low retrieval quality. Pairs with rag-architecture for pipeline design and postgres-database-expert for pgvector specifics. Trigger: vector database, pgvector, Pinecone, Weaviate, embedding, ANN search, HNSW, cosine similarity. Do NOT trigger for: relational SQL optimization, standard PostgreSQL schema design, Redis caching.

★ 1
ronsilver
ronsilver/agent-covenant

typescript-expert

Full-stack TypeScript stack for modern projects: frontend SSR/CSR with Next.js 14 App Router and React, backend APIs with Node.js (Express/Fastify), state management with Zustand/Redux Toolkit, unit and integration testing with Vitest/Jest + React Testing Library + MSW, and static analysis with ESLint/Prettier/tsc. Use when building React components or hooks, implementing Next.js App Router or Server Components, writing Node.js REST API handlers, implementing middleware (auth, rate-limit, logging), managing client state (Zustand/RTK), writing frontend/backend tests, or running TypeScript linting/type checks. Trigger: TypeScript, Next.js, React, Zustand, Node.js, Express, Fastify, MSW, Vitest. Do NOT trigger for: Python backend development, Go microservices, iOS/mobile development.

★ 1
ronsilver
ronsilver/agent-covenant

tool-usage

Guide correct tool selection, design, and orchestration for AI agents. Use when choosing between dedicated vs Bash tools, designing MCP tool interfaces, naming tool parameters, handling tool response limits, orchestrating parallel vs sequential calls, evaluating tool accuracy, applying ACI design principles, selecting workflow patterns, or reading/filtering/transforming/generating structured data (JSON, YAML, CSV, TOML, XML). Trigger: tool selection, MCP tool design, orchestration, ACI, parallel execution, composite tool, structured data, jq, yq, dasel, mlr, csvkit. Do NOT trigger for: writing application business logic, domain-specific development (route to domain skill), database migrations.

★ 1
ronsilver
ronsilver/agent-covenant

token-efficiency

Enforce token-efficient output, compression, caching, and model routing. Use when calibrating response verbosity, applying compression strategies to logs or RAG chunks, routing tasks to the right model tier, setting thinking budgets, enforcing word limits, compressing context before reinitiation, applying KV-cache ordering, masking tool output observations, or applying clarification-first protocol before irreversible actions. Trigger: token efficiency, compression, model routing, thinking budget, KV-cache, clarification protocol. Do NOT trigger for: non-agent tooling, CI/CD pipeline scripting, infrastructure provisioning.

★ 1
ronsilver
ronsilver/agent-covenant

time-series-db

Time-series database patterns for cloud-native metrics and analytics: TimescaleDB, InfluxDB, and Amazon Timestream selection; continuous aggregates, retention policies, downsampling, and integration with Prometheus/Grafana. Use when storing business metrics over time, building custom business dashboards, designing high-frequency event storage, or querying time-bucketed aggregations. Trigger: time-series, TimescaleDB, InfluxDB, Prometheus, Grafana, hypertable, continuous aggregate, retention policy. Do NOT trigger for: relational PostgreSQL schema design, NoSQL document stores, Kafka event streaming.

★ 1