
RubyからエージェントスキルをコーディングエージェントとRubyLLMアプリにインストール
概要
エージェントスキルをRubyLLMアプリやコーディングエージェントにインストールします。 エージェントスキルは、モデルをワークフローに教える指示、スクリプト、参照ファイルのフォルダです。 GitHubリポジトリとプラグインマーケットプレイスで公開しています。 スキルは、あなたのアプリやエージェントがそれらを読み、そこから来たレコードをコピーし、それを更新する前に変更を表示し、それらを更新する。 同じソース、同じエージェントフォルダ、同じスキルのnpxスキルのRubyカウンターパートです。 RubyLLM は一流ターゲットで、コミットで lockfile を追加し、Yes を待ち、推測の代わりに refusals を更新します。 Ruby 3.1 や newer のランタイム依存関係はなく、Ruby 自体がかかる時間から始まります。 RubyGems 3.5 または newer (Ruby 3.3 はそれを出荷します) でインストールせずに実行します。 gem exec は RubyGems の最新バージョンをすべての実行でリクエストします.
概要(AI 翻訳)
エージェントスキルをRubyLLMアプリやコーディングエージェントにインストールします。
お問い合わせ
エージェントスキルは、モデルをワークフローに教える指示、スクリプト、参照ファイルのフォルダです。 人々は、GitHubリポジトリとプラグインのマーケットプレイスでそれらを公開します。 [skill]]は、アプリやエージェントがそれらを読み込むフォルダにコピーし、それぞれがどこから来たのかを記録し、それを更新する前に変更を表示します。
[npx skillsのRubyカウンター部分です。同じソース、同じエージェントフォルダ、同じスキル.shディレクトリです。 RubyLLM は一流ターゲットで、コミットで lockfile を追加し、Yes を待ち、推測の代わりに refusals を更新します。 Ruby 3.1 や newer のランタイム依存関係はなく、Ruby 自体がかかる時間から始まります。
実行する
RubyGems 3.5 または newer (Ruby 3.3 はそれを出荷します) でインストールせずに実行します。
[[gem exec] RubyGems にすべての実行で最新バージョンをリクエストします。 [--conservative]を渡して、すでに持っているバージョンを調べる:
RDocバージョンによっては、出力前に[gem exec]が[Done installing documentation for after 0 seconds]を印刷することができます.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Agent Skills are folders of instructions, scripts, and reference files that teach a model a workflow. People publish them in GitHub repositories and plugin marketplaces. skill copies the ones you pick into the folder your app or agent reads them from, records where each came from, and shows you what changes before it updates them.
gem exec skill find pdf # search skills.sh
gem exec skill add anthropics/skills@pdf # install one
✓ Installed pdf → app/skills/pdf, .claude/skills/pdf
Recorded in skills.lock
It is the Ruby counterpart of npx skills: the same sources, the same agent folders, the same skills.sh directory. RubyLLM is a first-class target, and it adds a lockfile with commits, updates that wait for your yes, and refusals instead of guesses. No runtime dependencies, Ruby 3.1 or newer, and it starts in about the time Ruby itself takes.
Running it
With RubyGems 3.5 or newer (Ruby 3.3 ships it), run it without installing:
gem exec skill add owner/repo
gem exec asks RubyGems for the newest version on every run. Pass --conservative to use the version you already have, without the lookup:
gem exec --conservative skill list
Depending on your RDoc version, gem exec may print Done installing documentation for after 0 seconds before the output, even when it installed nothing. That line comes from RDoc’s RubyGems hook, not from skill, and is harmless.
Or install it once:
gem install skill
skill add owner/repo
In a Gemfile, add it with require: false, so it never loads into your app:
gem "skill", require: false, group: :development
Adding skills
Name a repository, and pick skills from it:
skill add anthropics/skills --list # what it holds, installs nothing
skill add anthropics/skills@pdf # one skill
skill add anthropics/skills@pdf,xlsx # several
skill add anthropics/skills --skill pdf --skill docx
skill add anthropics/skills --plugin document-skills
skill add anthropics/skills --all # every valid skill
A repository with one skill installs it directly. A repository with several asks you to pick: skill never installs a whole repository you did not ask for.
Sources:
| Source | Meaning |
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add crmne/skill