diff --git a/app.js b/app.js
index a52ed7b..978ee35 100644
--- a/app.js
+++ b/app.js
@@ -3,11 +3,12 @@ const copyButtons = document.querySelectorAll("[data-copy]");
for (const button of copyButtons) {
button.addEventListener("click", async () => {
const value = button.dataset.copy;
+ const copyLabel = button.dataset.copyLabel ?? "Command";
const status = button.closest(".terminal-shell")?.querySelector(".copy-status");
try {
await navigator.clipboard.writeText(value);
- if (status) status.textContent = "Command copied to clipboard.";
+ if (status) status.textContent = `${copyLabel} copied to clipboard.`;
const label = button.querySelector("b") ?? button;
const original = label.textContent;
label.textContent = "Copied";
@@ -21,6 +22,34 @@ for (const button of copyButtons) {
});
}
+const installTabs = [...document.querySelectorAll('[role="tab"][aria-controls]')];
+
+function selectInstallTab(selectedTab, moveFocus = false) {
+ for (const tab of installTabs) {
+ const selected = tab === selectedTab;
+ tab.setAttribute("aria-selected", String(selected));
+ tab.tabIndex = selected ? 0 : -1;
+ const panel = document.getElementById(tab.getAttribute("aria-controls"));
+ if (panel) panel.hidden = !selected;
+ }
+
+ if (moveFocus) selectedTab.focus();
+}
+
+for (const [index, tab] of installTabs.entries()) {
+ tab.addEventListener("click", () => selectInstallTab(tab));
+ tab.addEventListener("keydown", (event) => {
+ let targetIndex;
+ if (event.key === "ArrowRight" || event.key === "ArrowDown") targetIndex = (index + 1) % installTabs.length;
+ if (event.key === "ArrowLeft" || event.key === "ArrowUp") targetIndex = (index - 1 + installTabs.length) % installTabs.length;
+ if (event.key === "Home") targetIndex = 0;
+ if (event.key === "End") targetIndex = installTabs.length - 1;
+ if (targetIndex === undefined) return;
+ event.preventDefault();
+ selectInstallTab(installTabs[targetIndex], true);
+ });
+}
+
const filter = document.querySelector("#skill-filter");
const skills = [...document.querySelectorAll("[data-skill]")];
const filterStatus = document.querySelector("#filter-status");
diff --git a/index.html b/index.html
index 433c8fc..82c72c9 100644
--- a/index.html
+++ b/index.html
@@ -212,26 +212,87 @@
-
-
-
TERMINAL
-
RECOMMENDED PROFILE
+
+
+
+
-
-
-
-
Installs a balanced skill pack for Claude Code, Codex, OpenCode, and Pi.
+
+
+
+ HUMAN INSTALL
+ RECOMMENDED PROFILE
+
+
+
+
+ You choose the profile, scope, and command.
+
+
+
+
+
+ AGENT INSTALL
+ DRY RUN → INSTALL → VERIFY
+
+
+
+
+
+ The agent follows a safe, project-local checklist. Read its instructions.
+
+
+