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

skill_creator

Create or update a workspace skill: its description, structure, instructions, and supporting files.

インストール方法を見る

含まれるファイル(4)

  • SKILL.md3.5 KB
  • bin/dynamic_credentials.py7.5 KB
  • bin/scaffold-connector-skill10.1 KB
  • references/authoring_guide.md2.5 KB

SKILL.md(原文)

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

Skill Creator

Purpose

Create or update a skill that is easy to trigger, concise to load, and backed by references or helper code only when they materially improve reliability.

Workflow

  1. Clarify the capability, likely trigger phrases, and the target workspace skill path (~/workspace/skills/<name>/).
  2. Choose a narrow scope. Prefer one clear job per skill. Split unrelated jobs into separate skills.
  3. Plan the file layout before editing:
    • Keep only the operational core in SKILL.md.
    • Put bulky docs, examples, schemas, or tutorials in references/.
    • Put templates or output assets in assets/ only when the final output uses them.
    • Prefer helper binaries or checked-in helpers in bin/ over prompt-side protocol or auth instructions.
  4. Draft or update frontmatter. Required: name, description.
  5. Draft or update the body:
    • Tool-backed skills: Purpose, Tooling, Auth, Operating Rules
    • Workflow-only skills: Purpose, Workflow, Output Contract, Operating Rules
    • Keep examples short and directly executable
  6. Trim aggressively. Remove long API docs, schema dumps, and setup essays from SKILL.md. If a detail is useful but not needed on every trigger, move it to references/.
  7. Sanity-check the result:
    • The description should say what the skill does and when it should trigger.
    • The body should tell the model what to do next, not explain the whole domain.
    • Commands, paths, and auth flows must match real repo/runtime behavior.

Connector Credentials

Collecting a provider's credential is credentials.request_api_access, not a file you write. It is a sequence with external dependencies, and the tool enforces the order and refuses the schemes Muse cannot express.

Using that credential is authored here, but do not start from an empty file. Once the connector is connected, scaffold it:

/opt/hatch/skills/skill-creator/bin/scaffold-connector-skill --provider <provider>

It reads the connector from authd and writes a SKILL.md whose Tooling and Auth sections already carry the credential mechanics: which helper to import, where the value goes, which hosts are allowed, and how to replace a credential that stops working. Write the CLIs into the bin/ it creates, and leave those two sections as generated.

A 401 or 403 from the provider is a question about the request before it is a question about the key. Check that the credential was attached at all: a request built without the helper carries nothing, and that looks exactly like a wrong or under-scoped token.

Operating Rules

  1. Preserve working commands and repo conventions; do not invent binaries, paths, or auth flows.
  2. Prefer minimal frontmatter and on-demand loading. Only add metadata the skill actually needs.
  3. Give auth its own section instead of burying it in operating rules.
  4. Use existing setup/auth helpers when they exist. Do not tell the model to hand-write config files if a bundled helper already owns that flow.
  5. Create references/ only when it materially shortens SKILL.md; avoid duplicating the same guidance in both places.
  6. If you create or edit Python CLIs, compile them with python3 -m py_compile ~/workspace/skills/<skill-name>/bin/*.py before reporting success.

Reference Guide

For naming rules, resource-splitting heuristics, templates, and a review checklist, read references/authoring_guide.md.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

The user's synced Apple Health (HealthKit) data: daily metrics (steps, distance, calories, heart rate, HRV, VO2max), sleep sessions (stages, quality, efficiency), and workouts.

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

obra/muse-skills202026年10月12日 更新

Create, read, edit, or manipulate Word documents (.docx) and Word templates (.dotx). Use whenever a build task's artifact kind is document with the default docx output, or the task mentions a Word doc, .docx, or .dotx, extracts or reorganizes content from one, inserts or replaces images, does find-and-replace in one, or works with tracked changes (redlines) or comments. Covers python-docx generation, raw OOXML editing of existing files, document structure and formatting, and render verification. Not for PDFs, spreadsheets, or Google Docs.

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

obra/muse-skills202026年10月12日 更新

Build or revise a plain markdown file (md) deliverable such as notes, a README, meeting minutes, documentation, or text the user will edit or paste elsewhere. Use whenever a build task's artifact kind is markdown. Covers markdown formatting conventions and read-back verification.

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

obra/muse-skills202026年10月12日 更新

Build, revise, or manipulate a fixed-layout PDF (report, guide, one-pager, printable document). Use whenever a build task's artifact kind is pdf, a document build's output format is pdf, or the task reads, merges, splits, crops, or fills an existing PDF, including fillable AcroForms. Covers authoring the print-CSS HTML source, rendering, the geometry and validation gates, existing-PDF manipulation and form filling, and delivery under workspace/your_files.

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

obra/muse-skills202026年10月12日 更新

Build or revise a slide deck (pptx by default; pdf or html on request). Use whenever a build task's artifact kind is presentation, or the user asks for a deck, slides, or a presentation. Covers per-slide HTML authoring, the StylePlan theme system, font embedding, deck assembly, render gates, and the PPTX export.

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

obra/muse-skills202026年10月12日 更新

Create, read, edit, fix, or clean spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use whenever a build task's artifact kind is spreadsheet, or the task names a spreadsheet file and wants something done to it or produced from it, including restructuring messy tabular data into a proper workbook. Covers openpyxl generation, formulas and recalculation, editing existing workbooks, and the validation gates. Not for tasks whose deliverable is a document, report, or web page that merely contains a table.

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

obra/muse-skills202026年10月12日 更新

obra のスキルをすべて見る

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