‹ 首页

llmskill

@tinywasm · 收录于 1 周前 · 上游提交 1 周前

Sync skills from tinywasm/devflow/skills to all installed LLM agents (Claude, Gemini). Run after creating or modifying any SKILL.md file in devflow/skills/.

适合你,如果你在本地开发技能并需要自动同步到多个AI代理

/ 通过 npx 安装 校验哈希
npx oh-my-skill add tinywasm/devflow/llmskill
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- tinywasm/devflow/llmskill
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify tinywasm/devflow/llmskill
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1GitHub stars
~657上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 6481063 · 表述以原文为准
它做什么

安装后,Claude 会读取你本地同步的技能文件(SKILL.md),并根据其中的描述决定何时应用该技能。技能文件为只读上下文,Claude 不会主动运行 llmskill。

什么时候触发

当你创建或修改了 tinywasm/devflow/skills/ 下的 SKILL.md 文件后,在终端运行 llmskill 命令时触发。

装好后可以这样说
Claude 不会执行命令,但会指导你如何操作。
技能原文 SKILL.md作者撰写 · MIT · 6481063

llmskill

llmskill is a CLI tool in tinywasm/devflow that synchronizes skill files from the devflow repository to all installed LLM agent configurations.

When to Run

After creating or modifying any SKILL.md in tinywasm/devflow/skills/<name>/:

cd tinywasm/devflow && go install ./cmd/llmskill && llmskill -f

The rebuild step is mandatory: skills are EMBEDDED in the binary at compile time (//go:embed skills in llm_skill.go) — llmskill does NOT read the working directory. Running the old binary reinstalls the OLD embedded skills and still prints "Skills updated". Always verify the change landed:

grep -c "<some new phrase>" ~/.claude/skills/<name>/SKILL.md
How It Works
  1. Skills live in tinywasm/devflow/skills/ (source of truth) and are embedded into the llmskill binary when it is built.
  2. llmskill installs the embedded skills to ~/skills/.
  3. It then symlinks ~/skills/ from each detected LLM config dir (~/.claude/skills/, ~/.gemini/skills/); if the target already exists as a real directory, it falls back to copying into it.
Installation

llmskill is part of github.com/tinywasm/devflow.

Step 1 — Install the binary:

go install github.com/tinywasm/devflow/cmd/llmskill@latest

Or install all devflow binaries at once (requires the repo to be cloned first):

go install github.com/tinywasm/devflow/cmd/goinstall@latest && goinstall

Step 2 — Clone the devflow repo (required to EDIT skills — the binary carries an embedded copy from build time):

git clone https://github.com/tinywasm/devflow
cd devflow
llmskill

To pick up local skill edits: git pull (or edit) + go install ./cmd/llmskill + llmskill -f.

Usage
# Sync all installed LLMs
llmskill

# Sync only Claude
llmskill -l claude

# Force overwrite with backup
llmskill -f
Skill File Format

Each skill is a folder with a single SKILL.md:

tinywasm/devflow/skills/
└── myskill/
    └── SKILL.md

SKILL.md frontmatter:

---
name: myskill
description: One-line description used by the agent to decide when to apply this skill.
---

# Skill content here
After Creating a New Skill
  1. Write SKILL.md in tinywasm/devflow/skills/<skillname>/
  2. Run llmskill from the shell
  3. The skill is immediately active in all installed agents
Important
  • llmskill is a local developer tool — never include it in PLAN.md files sent to external agents.
  • Skills are read-only context for agents — agents do not run llmskill themselves.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。