Skip to content
Back to skills

Install

ASecurity

Install a capsule from GitHub Gist as a local skill in the current project's .claude/skills/ directory. Once installed, Claude Code loads it automatically.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
devopsnodegit

Works with

  • claude code

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add fragcap/plugin --skill install --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Install?

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

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

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
---
name: install
description: Install a capsule from GitHub Gist as a local skill in the current project's .claude/skills/ directory. Once installed, Claude Code loads it automatically.
argument-hint: <gist-id>
---

# Install Capsule

Fetch a published capsule (SKILL.md) from GitHub Gist and install it into the current project so Claude Code loads it automatically in future sessions.

## Script Convention

    FRAGCAP_DATA="${CLAUDE_PLUGIN_DATA}" node "${CLAUDE_PLUGIN_ROOT}/scripts/<n>.mjs" [args]

If a script exits with a non-zero code or returns `{ error: "..." }`, **stop immediately and surface the error to the user**. Never silently retry with a different command or skip the step.

## When to Activate

- User runs `/fragcap:install <gist-id>`
- User explicitly asks to install a capsule (e.g., "install this", "save this to my project")

## Flow

1. **Get gist ID**:
   - If `$ARGUMENTS` is provided, use it as the gist ID.
   - Otherwise, ask: "Which capsule would you like to install? Provide a gist ID or run `/fragcap:search` to find one."

2. **Install** — run `install-capsule.mjs <gist-id>`.

3. **Result**:
   - Success: show the installed path, capsule description, and tags. Explain that Claude Code will automatically load this skill in future sessions within this project.
   - Error: show the error message.

## Notes

- Capsules are installed to `.claude/skills/` in the current working directory.
- Claude Code automatically loads all `.md` files in `.claude/skills/` as context.
- Installing the same capsule again will overwrite the previous version.
- To uninstall, simply delete the `.md` file from `.claude/skills/`.

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.