Skip to content
Back to skills

Install Skill

ASecurity

Install a Claude Code skill from a GitHub skills repository URL.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 3, 2026
developmentgobashgit

Works with

  • claude code

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add atman-33/workhub --skill install-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Install Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Install Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/atman-33-install-skill/badge)](https://www.skillsdirectory.com/skills/atman-33-install-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Install a Claude Code skill from a GitHub skills repository URL.
disable-model-invocation: true
name: install-skill
---
Install a Claude Code skill from a GitHub skills repository URL.

## Steps

1. **Route the input.** Decide whether the user gave a GitHub tree URL or a repo/skill reference.
   - Completion criterion: the input is classified as exactly one of URL or reference.

2. **Extract repo and skill path.** For a tree URL of the form `https://github.com/OWNER/REPO/tree/<ref>/skills/<category>/<skill>`, extract `OWNER/REPO` and the path under `skills/` — for example, `productivity/writing-great-skills`. If the user gave `OWNER/REPO <path>` directly, use it as-is.
   - Completion criterion: both the repository and the skill path are identified.

3. **Install for Claude Code.** Run:
   ```bash
   gh skill install <repo> <skill-path> --agent claude-code
   ```
   - Completion criterion: the command exits successfully.

4. **Report result.** Show the installed skill path and any warnings.
   - Completion criterion: the user can see whether the install succeeded.

## Failure modes

- `gh` missing or unauthenticated: stop and ask the user to run `gh auth login`.
- URL with no `skills/` segment: stop and ask for a repo/skill reference.
- `gh skill install` fails: print the full error and do not retry.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…