本文へ移動
cccskills
無料GitHub で公開

agents-skills

Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.

インストール方法を見る

含まれるファイル(21)

  • SKILL.md10.6 KB
  • agents/openai.yaml328 B
  • data/sources.json9.9 KB
  • learnings.consolidated.md589 B
  • learnings.md3.1 KB
  • references/anthropic-skills-guide.md20.5 KB
  • references/dual-distribution.md5.2 KB
  • references/frontmatter-reference.md19.6 KB
  • references/maintenance-workflows.md7.7 KB
  • references/skill-context-budgets.md4.7 KB
  • references/skill-patterns.md14.9 KB
  • references/skill-validation.md17.5 KB
  • references/skill-vs-agent-decision.md8.1 KB
  • scripts/audit_skill_metadata.py27.2 KB
  • scripts/build_skill_graph.py6.7 KB
  • scripts/test_audit_skill_metadata.py20.8 KB
  • scripts/test_build_skill_graph.py3.4 KB
  • scripts/test_validate_catalog.py2.1 KB
  • scripts/test_validate_skill.py20.3 KB
  • scripts/validate_catalog.py6.5 KB
  • scripts/validate_skill.py27.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Agent Skills

Create or modernize skill bundles while keeping the portable core separate from runtime extensions. This skill supplies this repository's dual-runtime, catalog, graph, and composition rules. Use the Agent Skills open spec and the standard skill-creator for generic scaffolding and eval mechanics.

Quick Reference

TaskLoad or run
Scaffold a skillStandard skill-creator, then frontmatter-reference.md
Fix truncated or omitted skill listingsskill-context-budgets.md
Audit a skillpython3 scripts/validate_skill.py <skill-dir> and maintenance-workflows.md
Choose support-file boundariesskill-patterns.md
Write a skill that wraps an MCP server or CLI toolskill-patterns.md
Add runtime-specific metadatafrontmatter-reference.md
Test trigger and navigation behaviorskill-validation.md
Maintain Claude-specific behavioranthropic-skills-guide.md
Ship across runtimesdual-distribution.md
Choose skill, agent, or bothskill-vs-agent-decision.md
Run the runtime's skill eval or diagnosticsLook up the command in the runtime docs; see skill-validation.md
Review a third-party skill before installingCheck allowed-tools, ! shell-injection lines, frontmatter hooks, bundled scripts, and source pinning (frontmatter-reference.md)

When Not to Use

  • Wiring per-skill learnings, consolidation, or drift audits of learnings.md: hand off to agents-skills-feedback-loop. This skill only tells you to consult the loop.
  • Designing task-quality evals, graders, or regression gates for an AI system rather than a skill's trigger and navigation behavior: hand off to ai-evals.
  • Deciding whether the work belongs in a subagent, hook, or MCP server instead of a skill: read skill-vs-agent-decision.md, then hand off to the owning agents-* skill listed under Navigation.

Core Contract

Portable baseline:

  • Require skill-name/SKILL.md with explicit name and trigger-rich description.
  • Treat license, compatibility, and metadata as portable optional fields. allowed-tools belongs to the open spec, but runtime support may vary.
  • Keep the main body focused on selection, workflow, completion criteria, and navigation. Put reference detail in references/, deterministic helpers in scripts/, and templates in assets/.
  • Keep the bundle usable when copied by itself. Every support file must be linked from the workflow or Navigation.

Runtime extensions:

  • Verify runtime-specific fields and substitutions in current official documentation before copying them.
  • Name the target runtime in compatibility when a skill depends on runtime-specific headers or invocation behavior; remove unqualified portability claims.
  • Keep Anthropic-only mechanics in frontmatter-reference.md and anthropic-skills-guide.md, not in the portable example.
  • Treat agents/openai.yaml as Codex-facing adjunct metadata (UI, invocation policy, dependencies). SKILL.md remains canonical and independently valid; revalidate semantic alignment when intent changes.

Workflow

  1. Before scaffolding, answer three questions: who or what invokes the skill (the user by slash command, or the model automatically), what a good output looks like, and which mistakes happen today without it. Then write two or three concrete user tasks, including a nearby case that should not trigger the skill.
  2. Search the graph and existing bundles before creating anything. Extend an existing owner when it already covers the capability.
  3. Scaffold the portable core: folder, SKILL.md, name, description, minimal workflow, and completion criteria.
  4. Choose the target runtimes, then add only verified runtime-scoped metadata.
  5. Split long detail and reusable artifacts into support files; link each file at the stage where it is needed.
  6. Run the static checks that match the edit, then trigger, non-trigger, navigation, and runtime-specific evals.
  7. If the body or routing changed, regenerate and validate the repository graph and eval manifest.
  8. Inspect the diff and fix failures caused by the change before handoff. Record observed routing behavior in the repository routing log.

For each completion claim, name its evidence level: static bundle validation, live runtime loading, observed routing, or task-quality evaluation. Passing validate_skill.py proves structure and local links; it does not prove that a runtime loaded the skill, selected it for a prompt, or produced a better answer.

For the exact create, audit, runtime, router, state, and graph recipes, load maintenance-workflows.md. For eval design and negative controls, load skill-validation.md.

Design Rules

  • Default shared skills to a matter-of-fact, outcome-oriented reference style. Put coaching voice or richer behavioral framing in a runtime-specific layer when needed.

  • Keep descriptions specific enough to select the skill from real user language. This library's convention (not a runtime limit) is a roughly 120–180 character, 25-word description; the enforced ceiling is the constant in scripts/audit_skill_metadata.py. Runtimes impose their own caps; check the runtime docs when they are tighter.

  • Model routers and composed workflows as explicit stages: candidate sources, enrichment, eligibility filters with reasons, independent scoring, selection, post-selection validation, then side effects.

  • Never let enrichment silently drop candidates or evidence. Preserve the input or report a named filter reason.

  • Evaluate adjacent candidates independently before selecting among them.

  • Lay out in-skill navigation as a hub and leaves: the root SKILL.md links each reference one hop away with a load condition. A reference may cross-link another reference only when SKILL.md links that one too, so no file sits two hops deep. Router graphs are checked with foundations-graph-theory (reachability, cycles, fan-out, single-path gates).

  • Do not shrink useful full-body instructions merely to fit a discovery listing. Use host-specific catalog controls and progressive disclosure; the generated compact map does not filter native startup discovery.

  • Do not publish model-quality or token-saving numbers unless the exact claim has a reproducible control, dated evidence, and disclosed limits.

  • Name the platform for runtime-specific guidance, and write a value that may drift as a lookup step (what to check, in which primary source, for which decision) rather than a dated value.

  • Do not add a generic ## Fact-Checking section to satisfy this; write the lookup step where the changeable fact is actually used. validate_skill.py no longer treats ## Fact-Checking as a required core section.

  • If the host repository has a skill edit contract (this library keeps one at rules/repo/skill-edit-contract.md), follow it. Without one, the essential steps are: search the catalog before creating; read only the files you will change; give every fact one home (judgment in SKILL.md, depth in linked references/, volatile values as lookup steps); keep the minimal diff; cite only what you read; and report the evidence level of each completion claim.

Completion Contract

A skill change is complete when:

  • portable frontmatter, local links, support-file navigation, and source metadata pass applicable static checks;
  • runtime-specific fields are scoped and verified rather than presented as portable;
  • trigger and non-trigger behavior is covered when selection semantics changed;
  • graph, catalog, and long-skill manifest artifacts are synchronized when affected;
  • known bugs, current runtime behavior, and version-specific workarounds used in the answer were checked against current primary sources;
  • any remaining failure is identified as pre-existing or outside scope with evidence.

Navigation

Load only the resource needed for the current decision:

Scripts:

  • scripts/validate_skill.py — one bundle
  • scripts/validate_catalog.py — a catalog root
  • scripts/audit_skill_metadata.py — metadata, local inventory thresholds, and compact-index structure
  • scripts/build_skill_graph.py — local skill graph
  • scripts/test_validate_skill.py — validator regressions

Related skills: agents-subagents, agents-hooks, and agents-mcp.

Learnings Loop

When prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both. Add a durable new observation with agents-skills-feedback-loop/scripts/append_learning.py; do not use the main skill body as a task log.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public952026年10月12日 更新

Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public952026年10月12日 更新

Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public952026年10月12日 更新

Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public952026年10月12日 更新

Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public952026年10月12日 更新

Designs and runs agent hives and multi-agent waves. Use when setting hive roles, code gates, dependency-graph fan-out, or verifier, vote and loop-until-dry passes.

日本語の概要は準備中です。原文の説明を表示しています。

vasilyu1983/AI-Agents-public952026年10月12日 更新

vasilyu1983 のスキルをすべて見る

このスキルの問題を報告する