Install Skill logo

Install Skill

Community
roerohan
install-skill

Install agent skills from GitHub repositories using gh CLI. Use when user asks to install a skill, add a skill, or set up a skill from a GitHub repo. Triggers on "install skill", "add skill", "gh skill install".

Overview

Publisherroerohan
Repositoryskills
Skill nameinstall-skill
Stars
29
Forks
1
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by roerohan on GitHub. Read the source before you install it.

Installation

Install the Install Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/roerohan/skills/tree/main/install-skill
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/roerohan/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/install-skill .claude/skills/install-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Install Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Install Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Install Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Install Skill

Install agent skills from GitHub repositories using gh skill install.

Prerequisites

Before running any install, verify gh CLI is available:

bash
command -v gh >/dev/null 2>&1 || { echo "Error: gh CLI not found. Install from https://cli.github.com" >&2; exit 1; }

If gh is not installed, stop and inform the user:

Defaults

SettingDefaultOverride
AgentopencodeUser specifies --agent <name>
ScopeuserUser says "project" or "directory"
Directory(none)User provides explicit path via --dir

Always use --agent opencode --scope user unless the user explicitly requests otherwise.

Workflow

1. Parse the User Request

Extract from the user's message:

  • Repository: OWNER/REPO format (required)
  • Skill name: specific skill within the repo (optional)
  • Version: @version or pin (optional)
  • Agent override: only if user explicitly names a different agent
  • Scope override: only if user explicitly says "project" or "directory"
  • Directory override: only if user provides a specific path

2. Validate gh CLI

Run scripts/install.sh or manually verify:

bash
command -v gh >/dev/null 2>&1
gh auth status 2>/dev/null

If either fails, stop and inform the user.

3. Build the Command

Base command:

bash
gh skill install <OWNER/REPO> [<skill[@version]>] --agent opencode --scope user

Apply overrides:

  • If user says "install to project" or "project scope": --scope project
  • If user gives a directory path: --dir <path> (replaces --agent and --scope)
  • If user names a different agent: --agent <agent-name>
  • If user wants to force overwrite: add --force
  • If user specifies a version/pin: append @version or use --pin <ref>

4. Run the Install

Execute the built command via scripts/install.sh or directly:

bash
gh skill install <repo> [skill] --agent opencode --scope user

5. Verify

After install, confirm:

  • Command exited successfully (exit code 0)
  • Report the installed skill name and location to the user

Command Reference

gh skill install <repository> [<skill[@version]>] [flags]
FlagPurpose
--agent <string>Target agent (default: opencode for this skill)
--scope <string>project or user (default: user)
--dir <string>Custom directory (overrides agent and scope)
--forceOverwrite existing skills without prompting
--pin <string>Pin to a specific git tag or commit SHA
--from-localInstall from a local directory instead of a repo
--allow-hidden-dirsInclude skills in hidden directories

Supported Agents

opencode, github-copilot, claude-code, cursor, codex, gemini-cli, antigravity, amp, goose, junie, windsurf, cline, roo, and many more.

Full list: gh skill install --help

Examples

bash
# Install a skill for opencode globally (default)
gh skill install owner/repo skill-name --agent opencode --scope user

# Install a specific version
gh skill install owner/repo skill-name@v1.0.0 --agent opencode --scope user

# Install to project scope (when user asks)
gh skill install owner/repo skill-name --agent opencode --scope project

# Install to a custom directory (when user provides path)
gh skill install owner/repo skill-name --dir /path/to/skills

# Install for a different agent (when user specifies)
gh skill install owner/repo skill-name --agent claude-code --scope user

# Force overwrite
gh skill install owner/repo skill-name --agent opencode --scope user --force

# Install from local directory
gh skill install ./local-repo skill-name --from-local --agent opencode --scope user

Error Handling

ErrorAction
gh not foundTell user to install from https://cli.github.com
Not authenticatedTell user to run gh auth login
Repo not foundVerify OWNER/REPO format and repo exists
Skill not found in repoList available skills with gh skill install <repo> interactively, or check repo structure
Already installedAsk user if they want to --force overwrite

Scripts

ScriptPurpose
scripts/install.shValidate prerequisites and run gh skill install

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Install Skill AI skill do?

Install agent skills from GitHub repositories using gh CLI. Use when user asks to install a skill, add a skill, or set up a skill from a GitHub repo. Triggers on "install skill", "add skill", "gh skill install".

Why use Install Skill on TypingMind?

Because you install it once and use it with any model. Install Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Install Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/roerohan/skills/tree/main/install-skill. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Install Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Install Skill?

As many as you like. As long as a model supports skills, you can use Install Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Install Skill AI skill free?

Yes. It is published on GitHub by roerohan under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇