Create Skillのロゴ

Create Skill

コミュニティ
lploc94
create-skill

Use when creating or improving a discoverable Raw skill, including browser authoring; write its description and instructions, register it on an agent and verify loading. Use create-package to share skills.

Add to TypingMind

概要

公開者lploc94
リポジトリraw-cli
スキル名create-skill
スター
107
フォーク
14
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    lploc94がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Create Skill」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/lploc94/raw-cli/tree/main/examples/skills/create_skill
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lploc94/raw-cli.git /tmp/raw-cli
mkdir -p .claude/skills
cp -r /tmp/raw-cli/examples/skills/create_skill .claude/skills/create-skill
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCreate Skillを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCreate Skillを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Create Skillは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Create a Raw skill

Use when creating or improving reusable instructions that a Raw agent should discover and load. An ordinary Markdown document does not need skill registration; a new callable action belongs in create_tool.

For a how-to, explain the format, authoring approach and registration with examples. For a requested creation, use the workflow below. For a load failure, inspect the selected ID, frontmatter, body size and error before rewriting instructions.

Read references/packages.md for sharing and references/dashboard.md for browser authoring with read_file.

Establish the useful task

  1. Identify the repeated task, expected deliverable, available inputs and tools. Use real examples or corrections from the conversation. Ask only for missing information that changes the result.
  2. Choose one coherent responsibility. Describe its boundaries against neighboring skills; avoid both a vague catch-all and many tiny skills needed for a single task.
  3. Write the description first: what the user wants, when to use this skill, and a meaningful nearby case that does not need it. The model sees this description in list_skills before seeing the body. Describe intent, not just filenames.
  4. Write the body and description in English. Spend words on project-specific facts, decisions, working procedures and common errors. Avoid padding and generic explanations.

Build the instructions

Use these parts where useful; combine short sections rather than filling a rigid form:

  • Purpose/routing: intended outcome; explanation, action and diagnosis paths if relevant. Put conditions before action steps.
  • Inputs: information to obtain, defaults, paths and actual tool/dependency availability. Reuse supplied answers and authorization.
  • Procedure: a default sequence with decisions at the point they matter. Make fragile steps precise; allow judgment for flexible work.
  • Contract/example: exact formats, supported fields and realistic example. Label complete files versus fragments and their insertion points.
  • Verification/recovery: observable success, important boundary cases and what to do with a specific failure. Distinguish checks performed from assumptions.
  • Output: what artifact or answer to deliver and what remaining uncertainty to report.

Keep instructions task-specific: a release-notes skill should not inherit Raw configuration-edit steps. Avoid assumed checkout paths or mandatory external documentation for core behavior.

Raw skill contract

Each skill folder contains UTF-8 SKILL.md with YAML frontmatter. Required name and description are the only catalog authority. Optional scripts/, references/ and assets/ stay with the folder; their contents are not loaded automatically. load_skill returns the whole Markdown body after frontmatter in one linked result, independent of the agent's max_output_bytes; a body over 1 MiB is skipped. Keep it focused: every byte enters the model's context.

RootLocation and use
agent/<id>skills/<id>/ beside the selected config; travels with a portable agent
local/<id>$XDG_CONFIG_HOME/raw/skills/<id>/, otherwise ~/.config/raw/skills/<id>/; shared local installation
builtin/<id>Package-owned; fork a shipped example into a user root to customize

--config changes the config-adjacent root, not the global root. Portable folder/name values use lowercase kebab-case, at most 64 characters, no leading/trailing or consecutive hyphens; the frontmatter name matches the folder. Description is nonempty and at most 1024 characters. Selected IDs and names must be unique. Duplicate YAML keys, invalid UTF-8, missing selected files, symlink escapes or oversized bodies fail before inference; unselected folders are inert. Built-in IDs retain their existing underscores through Raw's explicit mapping.

Worked example: release notes

For /work/helper/raw.json, create skills/release-notes/SKILL.md beside it:

markdown
---
name: release-notes
description: Use when drafting a changelog or release summary from a Git comparison range. Group user-visible changes and cite commits; ordinary code review does not need this skill.
---
# Draft release notes

Produce release notes from committed changes. A request to explain the process
needs guidance only; a request for a draft uses the workflow below.

## Inputs
Use the supplied version and Git comparison range. If absent, inspect existing
release tags and changelog conventions; ask only when the intended range remains
ambiguous. Do not invent a version or include uncommitted changes silently.

## Workflow
1. Read the existing changelog format and commits in the chosen range.
2. Inspect changed behavior where commit subjects are insufficient. Group items
   as Added, Changed, Fixed and Removed, or use the project's established format.
3. Include user-visible effects and breaking changes. Omit test-only/internal
   refactors unless they alter behavior. Cite a commit hash or PR for each item.
4. Draft the requested artifact; keep existing release entries intact. Publish
   only when the user has authorized publishing, not merely drafting.

## Check and deliver
Verify cited hashes belong to the comparison range and claims match their diffs.
Run existing Markdown checks when available. If the range is empty, report that
fact; if a change is ambiguous, identify it rather than inventing an effect.
Return the draft, comparison range and any unverifiable or omitted changes.

The following fragment belongs inside agents.helper. Append missing IDs to existing arrays without replacing their contents or order:

json
{
  "tools": { "use": ["builtin/read_file", "builtin/write_file", "builtin/edit_file", "builtin/bash", "builtin/list_skills", "builtin/load_skill"] },
  "skills": { "use": ["agent/release-notes"] }
}

Nonempty skills.use requires both skill tools. Do not change default_agent just to register a skill. If the agent does not exist, use create_agent; otherwise preserve its other fields. For global files, select local/release-notes instead.

Create, verify and improve

  1. Establish the actual config/agent and chosen root. Check existing selected names, create SKILL.md and any supporting files, and make the smallest registration edit with a backup of existing config. Keep config mode 0600.
  2. Run raw --config /work/helper/raw.json config list (or raw config list for canonical config). This checks config, not skill files.
  3. Verify loading without another model call when the @tlelabs/raw library is available: loadConfig({configPath, requireModel:false}), then loadSelectedSkills({selectedIds: runtime.skillIds, configPath}). Or use the configured agent's list_skills and load_skill({name:"release-notes"}) in a suitable run. Confirm the selected name and body, not just a successful config parse.
  4. Assess content using a normal task, a boundary case and a near miss. For the example: draft from a known range with verifiable citations; handle an empty range; do ordinary code review without treating it as release-note generation. Review outputs and tool traces for incorrect advice or missing steps. Extra model work is diagnostic.
  5. Improve instructions around evidenced errors. Compare versions on the same inputs/model when useful; record which version produced the result. A mock list/load test proves wiring, not writing quality, and no model test guarantees every future action.

The first request has no catalog/body; list/load appends them at the tail. A changed selected skill may add a reload notice on resume without rotating the generated key. List/load again. Trim oversized bodies before increasing the cap.

Report paths, registration, checks and prerequisites.

For dynamic data, teach list_vars/read_var and freshness checks; select names in agent.vars and the tools in tools.use. Never bake current time or credentials into a skill. Pass use-only references via consuming tools.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Create Skill」では何ができますか?

Use when creating or improving a discoverable Raw skill, including browser authoring; write its description and instructions, register it on an agent and verify loading. Use create-package to share skills.

TypingMindでCreate Skillを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Create Skillはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCreate Skillをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/lploc94/raw-cli/tree/main/examples/skills/create_skillを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Create Skillを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Create Skillで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCreate Skillを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Create Skill」は無料ですか?

はい。lploc94がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇