skill-install-improved
БесплатноБез исполняемых скриптовНе проверенInstall an improved variant of one named skill: resolve it by local path, repo, or name, run skill-creator's retrofit on a throwaway copy, then install the…
от luongnv89★ 976 звёзд на GitHubОб этом скилле
Skill Install Improved
You install an improved variant of one skill instead of the skill as published: resolve the target to a local directory → run skill-creator's Subpath B1 retrofit loop on it → install the improved result → report what was improved and from what. The improvement is a step inside the install, not a separate errand. One skill per run.
When to Use
- The user says "install
<skill>but improve it first" or "install an improved version of<skill>" - The user points at a catalog skill below the 85/8 floor and wants the better version on their machine
- The user has a local or cloned skill directory and wants the improved variant installed, not the raw one
Do not trigger for: improving without installing (skill-creator), contributing upstream (skill-upstream-pr), authoring from scratch (skill-creator), plain installs (asm install <source>), or bulk-improving many skills at once.
Prerequisites
Verify each before resolving anything. If one fails, stop and tell the user which one.
asmandgiton PATH, and Python 3 (skill-creator's validator needs it)- Network access to GitHub, for the repo and name forms
- Write access to the install target for the chosen tool and scope (see
asm list --jsonfor existing install paths)
The user's own files are never modified (design decision)
Every input form is improved on a throwaway copy under $(mktemp -d) — local paths included. An install that rewrites the user's working copy is a side effect they did not ask for, and the retrofit loop's git pull --rebase would rebase their branch.
Repo sync is skipped for every form. A local-path copy has no origin. A repo or name clone does have origin, but it is a throwaway --depth 1 checkout that may sit on a detached --ref, and a pull could move it off the requested ref. The retrofit loop allows this skip for a caller's throwaway copy. Say so when you skip it.
Trade-off: the improvement lands only in the installed copy. To persist it, point the user at skill-creator (their own path) or skill-upstream-pr (the source repo).
Dependency Preflight (mandatory)
This skill invokes skill-creator, declared in frontmatter dependencies. Before Phase 0, verify asm is available:
command -v asm >/dev/null || {
echo "Missing installer: npm install -g agent-skill-manager" >&2
exit 1
}
asm deps discover skill-install-improved --json
When execution reaches Phase 1, the main agent runs:
asm deps acquire skill-creator --session <caller-session-id> --json
<caller-session-id> is a unique id the main agent picks once per run, e.g. skill-install-improved-<epoch-seconds>; reuse it for the release.
Set SKILL_CREATOR_DIR to the directory holding the returned skillMdPath, and use it immediately; do not wait for a provider catalog rescan. The retrofit loop is $SKILL_CREATOR_DIR/references/retrofit-loop.md; its validator is $SKILL_CREATOR_DIR/scripts/quick_validate.py. If the acquire fails, stop before Phase 1 and report the error — this skill cannot improve anything without it.
The main agent releases the lease from its own finally/shutdown handling — after Phase 4, or at any earlier stop:
asm deps release --session <caller-session-id> --json
If Phase 0 stops before Phase 1, do not acquire.
Inputs
The user identifies one target skill, in any of four forms — a local path (skills/foo), a local SKILL.md file path, a repo (https://github.com/owner/repo, owner/repo), or a skill name (code-review). Phase 0 normalizes all of them to one local directory, $SKILL_PATH.
Also needed before Phase 3: the install scope (global or project) and the target tool (-p/--tool — claude, codex, agents, …). If the user did not state one, ask; never guess. asm install hard-fails without --tool in a non-interactive run, and -y does not cover it.
Optional: a --name <alt> intent.
Before Phase 0, record the directory the user invoked you from as CALLER_DIR (pwd). Project-scope paths resolve from the current directory, so Phase 3 must run there, not inside $WORK.
Workflow
Execute phases in order. Do not skip or reorder. Each Bash call may start in a fresh shell, so restate WORK, SKILL_PATH, SKILL_CREATOR_DIR, CALLER_DIR, TOOL, and SCOPE at the top of every block that uses them, and read them as ${VAR:?} so an unset one stops the command.
Phase 0 — Resolve the target to one local directory
Full contract in references/target-resolution.md. In short, with WORK="$(mktemp -d)":
- Local path —
cp -Rinto$WORK. ASKILL.mdfile path folds to its parent first; the retrofit loop takes a directory, not a file. - Repo — plain
git cloneinto$WORK. Nevergh repo fork— this skill performs no public GitHub action. - Skill name —
asm search "<term>" --available --json, then copy the string afterasm installfrom the chos
Установить skill-install-improved в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGrepGlobВложенные файлы
FAQ
Что делает скилл skill-install-improved?
Install an improved variant of one named skill: resolve it by local path, repo, or name, run skill-creator's retrofit on a throwaway copy, then install the improved result. Don't use for improving in place, upstream PRs, or plain asm install.
Как установить скилл skill-install-improved?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-install-improved запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic