Skip to content
Development
Skill

/unpublish

Remove your published entity from a write-scope repository and restore a private copy.

BOOST
From plugin
altk-evolve
13233 skills12 commands
Install
$ npx -y skills add AgentToolkit/altk-evolve --skill unpublish --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/unpublish

Context preview

The summary Claude sees to decide when to auto-load this skill.

Remove your published entity from a write-scope repository and restore a private copy.

SKILL.md

unpublish.SKILL.md
name: unpublish
description: Remove your published entity from a write-scope repository and restore a private copy.

Unpublish an Entity

Read `evolve.config.yaml`. Select a write-scope repo and a published `{type}/{filename}` owned by `identity.user`. Ask which repo if ambiguous. Explain that unpublishing removes the current shared copy after pushing; it does not erase git history or copies already downloaded by subscribers.

Run:

python3 ${CLAUDE_PLUGIN_ROOT}/skills/evolve-lite/unpublish/scripts/unpublish.py \
  --entity "{filename}" \
  --type "{type}" \
  --repo "{repo}" \
  --user "{identity.user}"

The script restores a private entity before removing the shared file. It refuses unknown or different owners, and refuses to overwrite an existing private mirror. If a mirror exists, compare the two and reconcile them with the user before retrying; do not delete either copy blindly.

Stage only the selected deletion and publish it:

git -C ".evolve/entities/subscribed/{repo}" add -- "{type}/{filename}"
git -C ".evolve/entities/subscribed/{repo}" commit -m "[evolve] unpublish: {filename}"
git -C ".evolve/entities/subscribed/{repo}" push origin "{branch}"

Use the configured branch (default `main`). For a rejected push follow the non-fast-forward recovery workflow in `/evolve-lite:publish`. Report success only after pushing. Retain the restored private copy on push failure.

Read more
Ships withaltk-evolve

Coding agents repeat the same mistakes because they start fresh every session. Evolve gives agents memory — they learn from what worked and what didn't, so each session is better than the last.

Get the whole plugin

Other skills on altk-evolve.