Skip to content
Back to skills

Update

ASecurity

Append an update note or change status on a published capsule. Syncs changes to both the Gist and the central registry.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
devopsnode

Security analysis

A100/100

Scanned May 27, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Update?

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

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

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
description: Append an update note or change status on a published capsule. Syncs changes to both the Gist and the central registry.
argument-hint: [gist-id]
---

# Update Capsule

Append a follow-up finding, correction, or status change to an already-pushed capsule (SKILL.md).

Updates are appended as `## Update (YYYY-MM-DD)` sections at the end of the SKILL.md file.

## 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:update` or `/fragcap:update <gist-id>`
- User wants to add new information to an existing capsule

## Flow

1. **Auth gate** — run `auth-status.mjs`. Not authenticated → direct to `/fragcap:auth` and stop.

2. **Select capsule**:
   - If `$ARGUMENTS` is provided, use it as `gist_id`.
   - Otherwise, run `list-gists.mjs` and show a numbered list. Present options inline — user replies with a number:
     ```
     [1] <problem summary>  [2] <problem summary>  ...
     ```

3. **Show current state** — run `fetch-capsule.mjs <gist-id>` and display problem, status, tags, solution, and previous updates.

4. **Collect update**:
   - **Note**: ask the user "What's the new finding, correction, or follow-up?" (free text, required)
   - **Status change**: present options inline — user replies with a number:
     ```
     [1] keep current  [2] open  [3] resolved  [4] abandoned
     ```

5. **Apply** — run `update.mjs <gist-id> "<note>" [status]`.

6. **Confirm**:
   - Success: "Updated! Status: {status} | Total updates: {n} | Registry: synced"
   - Error: show the message and remind user they can only update their own capsules.

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.