Skip to content
Development
Command

/update-agentskills

Apply a reusable lesson to ~/.agentskills (rules/skills/templates/commands), backup + commit + push

From plugin
claude-skills
2636 skills28 agents36 commands1 MCP
> /plugin marketplace add heymegabyte/agent-skills

Command definition

update-agentskills.md
description: Apply a reusable lesson to ~/.agentskills (rules/skills/templates/commands), backup + commit + push
argument-hint: <lesson to encode>

Encode a reusable lesson into the `~/.agentskills` side repo per [[prompt-as-training-signal]].

**Purpose** — durably persist a generalizable lesson into the global skills repo so it surfaces in future sessions.

**When to use** — whenever a run produces a reusable rule, skill update, template, or command worth keeping.

**Inputs** — `$ARGUMENTS` = the lesson (the generalizable pattern, not project specifics).

Steps:

  • Generalize first — write the CLASS of gap, not the one-off instance (instance becomes a `## Reference incident`).
  • Locate the owning file (rule / skill / template / command). UPDATE existing, never duplicate.
  • Backup the target file before edit (`cp <file> <file>.bak` or rely on git).
  • Apply the edit; match sibling density + bullet format per [[brian-preferences]].
  • Cross-link `[[siblings]]` both directions.
  • `git -C ~/.agentskills add -A && git -C ~/.agentskills commit && git -C ~/.agentskills push` (side repo → always push per [[brian-preferences]] Git policy).

**Outputs** — the edited file path, the `[[backlinks]]` added, the commit hash.

**Verification** — `git -C ~/.agentskills log -1 --stat` shows the change pushed; desktop skill-sync hook picks it up next prompt.

**Can update ~/.agentskills or ~/.claude?** YES — this command's sole job.

Read more
@heymegabyte
Ships withclaude-skills

Agent Skills — agent-neutral autonomous product-building OS for 32+ AI coding tools. 23 skill categories · 28 agents · 149 reference docs · 37 platform variants. One-line prompts → deployed products on Cloudflare Workers.

2628 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
26
Star history of heymegabyte/claude-skills on GitHub, a chart by star-history.com

Other commands on claude-skills.

bootstrap-status

bootstrap-status

Command

Report the Claude control-plane environment (auth mode, tooling, connectors, resolved target). Fires when you need to confirm the…

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command