Skip to content
Back to skills

Workflows

BSecurity

Updates an already-installed skill to the latest version from the agent-skills repository. Compares the installed metadata.json version against upstream and re-installs if out of date. Trigger when users say: "update my skills", "get the latest skill", "how do I update", or "is my skill up to date".

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

B89/100
  • mediumUses curl or wget to download content
  • highPerforms destructive filesystem operations

Pro scans all 3 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add opencue/cuecards --skill workflows --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workflows?

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

Security grade badge for Workflows
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/opencue-workflows/badge)](https://www.skillsdirectory.com/skills/opencue-workflows)

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: update-skill
description: >
  Updates an already-installed skill to the latest version from the agent-skills repository.
  Compares the installed metadata.json version against upstream and re-installs if out of date.

  Trigger when users say: "update my skills", "get the latest skill", "how do I update",
  or "is my skill up to date".
---

# Update an Installed Skill

## Overview

Check whether an installed skill is out of date and update it to the latest version.

## Prerequisites

- Skill previously installed to `~/.claude/skills/` or via `npx skills add`
- Internet access to fetch the latest version from upstream

## Required Workflow

**Follow all steps in order.**

---

### Step 1 — Check installed version

Read the `metadata.json` of the installed skill:

```bash
cat ~/.claude/skills/<skill-name>/metadata.json
```

Note the `version` field.

---

### Step 2 — Check upstream version

Fetch the latest `metadata.json` directly from the repo:

```bash
curl -s https://raw.githubusercontent.com/promptingcompany/agent-skills/main/skills/<skill-name>/metadata.json
```

Compare the `version` fields. If they match, tell the user: "Your skill is already up to date (`v[version]`)." and stop.

---

### Step 3 — Update

**Option A — via the `skills` CLI (recommended):**

```bash
npx skills add https://github.com/promptingcompany/agent-skills --skill <skill-name>
```

This overwrites the local copy with the latest version.

**Option B — manual:**

```bash
git clone https://github.com/promptingcompany/agent-skills /tmp/agent-skills
cp -r /tmp/agent-skills/skills/<skill-name> ~/.claude/skills/
rm -rf /tmp/agent-skills
```

---

### Step 4 — Confirm

Re-read the installed `metadata.json` and confirm the version now matches upstream:

```bash
cat ~/.claude/skills/<skill-name>/metadata.json
```

Tell the user: "Updated to `v[new-version]`."

Files in this skill

  • open-pr.md3.3 KB
  • update-skill.md1.8 KB

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.