
songmu/skillsmith
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
[アクション]: [https://github.com/Songmu/skillsmith/actions?workflow=test [codecov]: https://codecov.io/gh/Songmu/skillsmith [ライセンス]: [https://github.]
概要
[アクション]: [https://github.com/Songmu/skillsmith/actions?workflow=test [codecov]: [https://codecov.io/gh/Songmu/skillsmith] [ライセンス]: [[https://github.com/Songmu/skillsmith/blob/main/LICENSE]] [PkgGoDev]: [https://pkg.go.dev/github.com/Songmu/skillsmith] Go CLIで埋め込まれたエージェントスキルを出荷します。 スキルスミスは、CLI ツールを介してエージェントスキルを配布するための Go ライブラリです。 エージェントスキルは、AIエージェントの新しい機能を提供するためのオープンフォーマットです。Claude Code、GitHub Copilot、OpenAI Codex、その他の互換性のあるエージェントで動作するポータブル命令セットです。 スキルスミスを使用すると、スキルファイルを埋め込むことで、スキルファイルをGoバイナリに埋め込むことができます。 FS は、ユーザーが自分のマシンにそれらのスキルをインストール、更新、管理できるスキルサブコマンドを公開します。 これにより、CLI フレームワークをフルに引っ張ることなく、CLI ツールの AI エージェントに適しています.
概要(AI 翻訳)
スタッフ
アクション [コードコーブ] ライセンス PkgGoDev の検索結果
Go CLIで埋め込まれたエージェントスキルを出荷します。
技師とは?
[[skillsmith] は、CLI ツールを介してエージェントスキルを配布するためのGoライブラリです。 エージェントスキルは、AIエージェントの新しい機能を提供するためのオープンフォーマットです。Claude Code、GitHub Copilot、OpenAI Codex、その他の互換性のあるエージェントで動作するポータブル命令セットです。
スキルスミスでは、 embed.FS を使用して、スキルファイルを Go バイナリに埋め込むことができます。 [skills]] サブコマンドで、ユーザーはマシンにそれらのスキルをインストール、更新、管理できます。 これにより、CLI フレームワークをフルに引っ張ることなく、CLI ツールの AI エージェントに適しています。
シンプレシス
これは、次のサブコマンドをツールに提供します。
##特徴
-Drop-inインテグレーション — [skills]] を既存の CLI にサブコマンドし、いくつかの行のコードを追加します。
- CLIフレームワーク依存性なし — 標準[[
flag]パッケージのみを使用する - 宿泊約款.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
skillsmith
Ship embedded Agent Skills with your Go CLI.
What is skillsmith?
skillsmith is a Go library for distributing Agent Skills through your CLI tool. Agent Skills are an open format for giving AI agents new capabilities — portable instruction sets that work across Claude Code, GitHub Copilot, OpenAI Codex, and other compatible agents.
With skillsmith, you can embed skill files into your Go binary using embed.FS and expose a skills subcommand that lets users install, update, and manage those skills on their machine. This makes your CLI tool AI-agent-friendly without pulling in a full CLI framework.
Synopsis
//go:embed skills
var skillsFS embed.FS
func run(ctx context.Context, args []string) error {
if len(args) > 0 && args[0] == "skills" {
s, err := skillsmith.New("mytool", version, skillsFS)
if err != nil {
log.Fatal(err)
}
return s.Run(ctx, args[1:])
}
// ... existing command handling
return nil
}
This gives your tool the following subcommands:
mytool skills list # List embedded skills
mytool skills install # Install skills to ~/.agents/skills
mytool skills update # Update skills to newer versions
mytool skills reinstall # Reinstall all managed skills
mytool skills uninstall # Remove managed skills
mytool skills status # Show install status and version diff
Features
- Drop-in integration — add a
skillssubcommand to your existing CLI with a few lines of code - No CLI framework dependency — uses the standard
flagpackage only embed.FSsupport — embed skill files in your binary; theskills/prefix is auto-detected and stripped- agentskills compliant — follows the open Agent Skills specification for SKILL.md format and directory structure
- Metadata tracking — writes
.skillsmith.jsonalongside each installed skill for version-aware update and uninstall - Semantic versioning — uses
semver.Comparefor version comparison; prevents accidental downgrades - Lenient validation — warns on name mismatches; only skips skills with missing descriptions or unparseable YAML
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add songmu/skillsmith