Skip to content

armgit / brag

Public Imported from GitHub
0

You built it. Now brag. Turn the project you just created into a short, shareable launch video with one command.

Add universal npx skills install; position for all agents

shunithaviv127978a3b679
diff --git a/README.md b/README.md
index 8d76713..4450cf9 100644
--- a/README.md
+++ b/README.md
@@ -17,8 +17,16 @@ The looping video on the [launch site](https://latent-spaces.github.io/brag/) wa
Then run `/brag` inside any project.
+**Any other agent** — one command via the [`skills`](https://github.com/vercel-labs/skills) CLI (Cursor, Codex, Copilot, Gemini CLI, opencode, and more):
+
+```bash
+npx skills add https://github.com/latent-spaces/brag --skill brag
+```
+
+Add `-g` to install globally (available in every project); drop it to scope to the current one. ([browse on skills.sh](https://www.skills.sh/latent-spaces/brag/brag))
+
<details>
-<summary>No plugin system? Install the skill directly.</summary>
+<summary>No installer? Copy the skill directly.</summary>
```bash
rsync -a --exclude '.DS_Store' skills/brag/ ~/.claude/skills/brag/
diff --git a/docs/index.html b/docs/index.html
index 3192bf2..9385ab4 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -57,9 +57,9 @@
</div>
<div class="hero-foot" id="install">
- <pre class="install" aria-label="install command"><span class="copy-wrap"><button class="copy" type="button" data-copy="/plugin marketplace add latent-spaces/brag&#10;/plugin install brag@brag">copy</button></span><code><span class="prompt">$</span> /plugin marketplace add latent-spaces/brag
-<span class="prompt">$</span> /plugin install brag@brag</code></pre>
- <div class="hero-meta"><span class="dot" aria-hidden="true"></span>v0.1 · plays well with claude code · made by <a href="https://github.com/shunithaviv" style="color:inherit;">@shunithaviv</a></div>
+ <div class="install-stack"><span class="install-label">claude code</span><pre class="install" aria-label="Claude Code install command"><span class="copy-wrap"><button class="copy" type="button" data-copy="/plugin marketplace add latent-spaces/brag&#10;/plugin install brag@brag">copy</button></span><code><span class="prompt">$</span> /plugin marketplace add latent-spaces/brag
+<span class="prompt">$</span> /plugin install brag@brag</code></pre><span class="install-label">any other agent</span><pre class="install" aria-label="any-agent install command"><span class="copy-wrap"><button class="copy" type="button" data-copy="npx skills add https://github.com/latent-spaces/brag --skill brag">copy</button></span><code><span class="prompt">$</span> npx skills add https://github.com/latent-spaces/brag --skill brag</code></pre></div>
+ <div class="hero-meta"><span class="dot" aria-hidden="true"></span>plays well with all agents · made by <a href="https://github.com/shunithaviv" style="color:inherit;">@shunithaviv</a></div>
</div>
</header>
@@ -148,8 +148,8 @@
<div class="outro-grid">
<p class="outro-meta">we used <code>/brag</code> to brag about <code>/brag</code>. the twenty-second video looping in the top-right corner of this page was made by the skill itself, on this very project. that's the demo.</p>
<div class="outro-actions">
- <pre class="install" aria-label="install command"><span class="copy-wrap"><button class="copy" type="button" data-copy="/plugin marketplace add latent-spaces/brag&#10;/plugin install brag@brag">copy</button></span><code><span class="prompt">$</span> /plugin marketplace add latent-spaces/brag
-<span class="prompt">$</span> /plugin install brag@brag</code></pre>
+ <div class="install-stack"><span class="install-label">claude code</span><pre class="install" aria-label="Claude Code install command"><span class="copy-wrap"><button class="copy" type="button" data-copy="/plugin marketplace add latent-spaces/brag&#10;/plugin install brag@brag">copy</button></span><code><span class="prompt">$</span> /plugin marketplace add latent-spaces/brag
+<span class="prompt">$</span> /plugin install brag@brag</code></pre><span class="install-label">any other agent</span><pre class="install" aria-label="any-agent install command"><span class="copy-wrap"><button class="copy" type="button" data-copy="npx skills add https://github.com/latent-spaces/brag --skill brag">copy</button></span><code><span class="prompt">$</span> npx skills add https://github.com/latent-spaces/brag --skill brag</code></pre></div>
</div>
</div>
<div class="colophon">
diff --git a/docs/styles.css b/docs/styles.css
index e81e8ce..dc3ca56 100644
--- a/docs/styles.css
+++ b/docs/styles.css
@@ -188,6 +188,23 @@ button { font: inherit; cursor: pointer; }
.install .copy:focus-visible { opacity: 1; background: oklch(38% 0.08 var(--hue)); outline: none; }
.install .copy[data-state="copied"] { background: oklch(58% 0.18 145); color: oklch(15% 0.05 145); }
+.install-stack {
+ display: grid;
+ gap: 8px;
+ justify-items: start;
+ min-width: 0;
+ max-width: 100%;
+}
+.install-label {
+ font-family: "Geist Mono", ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.06em;
+ text-transform: uppercase;
+ color: var(--hero-ink-soft);
+ margin-top: 2px;
+}
+.install-stack .install-label:first-child { margin-top: 0; }
+
.hero-meta {
font-family: "Geist Mono", ui-monospace, monospace;
font-size: 12px;