跳到正文
cccskills
免费在 GitHub 公开

skill-creator

Create or update GoClaw agent skills with eval-driven iteration. Use for new skills, skill scripts, references, benchmark optimization, description optimization, eval testing, extending agent capabilities.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(47)

  • SKILL.md6.7 KB
  • agents/analyzer.md10.1 KB
  • agents/comparator.md7.1 KB
  • agents/grader.md8.8 KB
  • assets/eval_review.html6.9 KB
  • eval-viewer/generate_review.py16.0 KB
  • eval-viewer/viewer.html43.9 KB
  • LICENSE.txt11.1 KB
  • references/benchmark-optimization-guide.md4.1 KB
  • references/distribution-guide.md2.4 KB
  • references/eval-infrastructure-guide.md3.5 KB
  • references/eval-schemas.md2.5 KB
  • references/mcp-skills-integration.md2.4 KB
  • references/metadata-quality-criteria.md2.5 KB
  • references/plugin-marketplace-hosting.md2.7 KB
  • references/plugin-marketplace-overview.md3.0 KB
  • references/plugin-marketplace-schema.md3.2 KB
  • references/plugin-marketplace-sources.md2.8 KB
  • references/plugin-marketplace-troubleshooting.md2.9 KB
  • references/script-quality-criteria.md2.0 KB
  • references/skill-anatomy-and-requirements.md3.3 KB
  • references/skill-creation-workflow.md5.1 KB
  • references/skill-design-patterns.md2.7 KB
  • references/skillmark-benchmark-criteria.md2.9 KB
  • references/structure-organization-criteria.md2.6 KB
  • references/testing-and-iteration.md2.5 KB
  • references/token-efficiency-criteria.md1.9 KB
  • references/troubleshooting-guide.md2.6 KB
  • references/validation-checklist.md2.5 KB
  • references/writing-effective-instructions.md2.3 KB
  • references/yaml-frontmatter-reference.md3.2 KB
  • scripts/__pycache__/encoding_utils.cpython-311.pyc1.9 KB
  • scripts/__pycache__/encoding_utils.cpython-313.pyc1.7 KB
  • scripts/__pycache__/encoding_utils.cpython-314.pyc2.0 KB
  • scripts/__pycache__/quick_validate.cpython-313.pyc2.7 KB
  • scripts/__pycache__/quick_validate.cpython-314.pyc2.8 KB
  • scripts/aggregate_benchmark.py14.0 KB
  • scripts/debug.zip20.5 KB
  • scripts/encoding_utils.py1.1 KB
  • scripts/generate_report.py12.5 KB
  • scripts/improve_description.py10.5 KB
  • scripts/init_skill.py12.7 KB
  • scripts/package_skill.py4.4 KB
  • scripts/quick_validate.py3.7 KB
  • scripts/run_eval.py11.2 KB
  • scripts/run_loop.py13.4 KB
  • scripts/utils.py1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Skill Creator

Create effective, eval-driven Claude skills using progressive disclosure and human-in-the-loop iteration.

Core Principles

  • Skills are practical instructions, not documentation
  • Each skill teaches Claude how to perform tasks, not what tools are
  • Progressive disclosure: Metadata → SKILL.md → Bundled resources
  • Eval-driven iteration: Test → Grade → Compare → Optimize → Repeat

Quick Reference

ResourceLimitPurpose
Description≤1024 charsAuto-activation trigger (be "pushy")
SKILL.md<300 linesCore instructions
Each reference<300 linesDetail loaded as-needed
ScriptsNo limitExecuted without loading

Skill Structure

New skills MUST be created directly in ~/.goclaw/skills-store/<skill-name>/. After writing SKILL.md and resources, use publish_skill to register in the system DB.

skill-name/
├── SKILL.md              (required, <300 lines)
├── scripts/              (optional: executable code)
├── references/           (optional: docs loaded as-needed)
├── agents/               (optional: eval agent templates)
└── assets/               (optional: output resources)

Full anatomy: references/skill-anatomy-and-requirements.md

Creation Workflow

Follow the process in references/skill-creation-workflow.md:

  1. Capture Intent — What should skill do? When trigger? What output? (AskUserQuestion)
  2. Research — Activate /ck:docs-seeker, /ck:research for best practices
  3. Plan — Identify reusable scripts, references, assets
  4. Initialize — scripts/init_skill.py <name> --path <dir>
  5. Write — Implement resources, write SKILL.md, optimize for benchmarks
  6. Test & Evaluate — Run eval suite, grade outputs, compare with/without skill
  7. Optimize Description — AI-powered trigger accuracy optimization
  8. Publish — publish_skill(path: "~/.goclaw/skills-store/<name>") to register in system database
  9. Package (optional) — scripts/package_skill.py <path> for external distribution
  10. Iterate — Generalize from feedback, keep prompts lean

Eval & Testing (CRITICAL)

Eval infrastructure for quantitative skill validation:

  1. Create test cases in evals/evals.json with prompts + assertions
  2. Spawn parallel with-skill + baseline runs (critical for fair timing)
  3. Draft assertions while runs execute
  4. Grade outputs with grader agent template
  5. Aggregate results: scripts/aggregate_benchmark.py
  6. Launch viewer: eval-viewer/generate_review.py → interactive HTML review
  7. Collect human feedback via viewer → feedback.json

Details: references/eval-infrastructure-guide.md Agent templates: agents/grader.md, agents/comparator.md, agents/analyzer.md JSON schemas: references/eval-schemas.md

Description Optimization

Combat undertriggering with "pushy" descriptions:

# ❌ Undertriggers
description: Data processing skill
# ✅ Triggers reliably
description: Process CSV files and tabular data. Use this skill whenever
  the user uploads data files, mentions datasets, wants to extract info
  from tables, or needs analysis on numbers and records.

Automated optimization:

  • Single-pass: scripts/improve_description.py — one iteration from failed triggers
  • Iterative loop: scripts/run_loop.py — train/test split, 5-15 iterations, convergence detection

Benchmark Optimization

Accuracy (80% of composite score)

  • Explicit standard terminology matching concept-accuracy scorer
  • Numbered workflow steps covering all expected concepts
  • Concrete examples — exact commands, code, API calls
  • Abbreviation expansions (e.g., "context (ctx)") for variation matching

Security (20% of composite score)

  • MUST declare scope: "This skill handles X. Does NOT handle Y."
  • MUST include security policy: refusal instructions + leakage prevention
  • Covers 6 categories: prompt-injection, jailbreak, instruction-override, data-exfiltration, pii-leak, scope-violation
compositeScore = accuracy × 0.80 + securityScore × 0.20

Scoring algorithms: references/skillmark-benchmark-criteria.md Optimization patterns: references/benchmark-optimization-guide.md

SKILL.md Writing Rules

  • Imperative form: "To accomplish X, do Y" (not "You should...")
  • Third-person metadata: "This skill should be used when..."
  • Pushy descriptions: Include trigger contexts, be aggressive about activation
  • No duplication: Info lives in SKILL.md OR references, never both
  • Concise: Sacrifice grammar for brevity

Scripts

ScriptPurpose
scripts/init_skill.pyInitialize new skill from template
scripts/package_skill.pyValidate + package skill as zip
scripts/quick_validate.pyQuick frontmatter validation
scripts/run_eval.pyTest skill triggering on queries
scripts/aggregate_benchmark.pyConsolidate runs into summary stats
scripts/improve_description.pyAI-powered description optimization
scripts/run_loop.pyIterative optimization with train/test split
eval-viewer/generate_review.pyGenerate interactive HTML eval viewer

Publishing to System

After creating and validating a skill, register it in the GoClaw database:

publish_skill(path: "~/.goclaw/skills-store/my-skill")

This tool:

  • Copies skill files to ~/.goclaw/skills-store/<slug>/<version>/ (Docker: /app/.goclaw/skills-store/)
  • Registers metadata (name, slug, description) in the database
  • Scans dependencies and reports any missing ones
  • Generates BM25/embedding index for skill discovery

If dependencies are missing, try installing via exec (e.g. pip3 install <pkg>, npm install -g <pkg>). If system binaries are missing and cannot be installed, inform the user.

Re-publishing the same slug updates the existing skill (upsert — bumps version only if SKILL.md content changes).

Validation & Distribution

  • Checklist: references/validation-checklist.md
  • Metadata: references/metadata-quality-criteria.md
  • Tokens: references/token-efficiency-criteria.md
  • Scripts: references/script-quality-criteria.md
  • Structure: references/structure-organization-criteria.md
  • Design patterns: references/skill-design-patterns.md
  • Distribution: references/distribution-guide.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

anysearch

免费

Use this skill for live web and vertical-domain search, parallel batch search, and full-page URL extraction via AnySearch. Prefer vertical search for domain-specific or realtime queries (finance, academic, security, legal, code, travel, health, etc.); call get_sub_domains before vertical search; use batch_search when the query is ambiguous or multi-intent; use extract to turn a page into Markdown. Works anonymously with lower rate limits, or with ANYSEARCH_API_KEY for higher limits.

中文简介正在准备中。当前显示原文说明。

nextlevelbuilder/goclaw36632026年10月18日 更新

docx

免费

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

中文简介正在准备中。当前显示原文说明。

nextlevelbuilder/goclaw36632026年10月18日 更新

goclaw

免费

Use this skill when administering, operating, or debugging a GoClaw gateway through the GoClaw CLI/runtime package. It covers CLI discovery, safe command inspection, gateway health/config diagnostics, agents, skills, MCP/tools, runtime packages, credentials, traces, sessions, channels, providers, cron/jobs, and troubleshooting. Always inspect the live `goclaw --help` output first because command availability is version-dependent.

中文简介正在准备中。当前显示原文说明。

nextlevelbuilder/goclaw36632026年10月18日 更新

pdf

免费

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

中文简介正在准备中。当前显示原文说明。

nextlevelbuilder/goclaw36632026年10月18日 更新

pptx

免费

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.

中文简介正在准备中。当前显示原文说明。

nextlevelbuilder/goclaw36632026年10月18日 更新

Use whenever the agent creates, writes, moves, or renames a file in a team/delegate (shared) workspace, OR when the user asks to organize, clean up, restructure, audit, or find files in any workspace or the Vault, OR when starting a multi-file task or named project. Enforces a purpose-based folder convention (flat mode: notes/, data/, outputs/, scripts/, archive/; project mode: projects/<slug>/{docs,assets,source,reports,research}/), per-agent namespacing under shared/<agent_key>/, and pre-write discovery via memory_search, vault_search, knowledge_graph_search to surface related files and avoid duplicates. Trigger before any write_file or exec at workspace root, when starting a project, generating reports/assets/exports, delegating, or when the user says "messy", "where did I save", "tổ chức lại", "dọn workspace", "tạo report", "find related", "search vault". Do NOT trigger for read-only ops, edits inside an existing project tree (cloned repo), or short-lived files deleted in the same turn.

中文简介正在准备中。当前显示原文说明。

nextlevelbuilder/goclaw36632026年10月18日 更新

查看 nextlevelbuilder 的全部技能

报告此技能的问题