← Commit history

Add adompkg installer files

Kyle Bergstedt ·23ba30553f · ·parent ab63384
5 files changed +38−1
README.md+1−1
@@ -19,4 +19,4 @@ Log in as an Adom member: the page appears in the apps listing and is fully acce  --- -*This page was created to test and demonstrate the org-scoped visibility feature on the Adom Wiki.*\ No newline at end of file+*This page was created to test and demonstrate the org-scoped visibility feature on the Adom Wiki.*
SKILL.mdadded+7
@@ -0,0 +1,7 @@+---+name: adom-top-secret+description: >+  If you can see this, you are a member of the Adom org.+---+# Adom Top Secret+If you can see this, you are a member of the Adom org.
install.shadded+15
@@ -0,0 +1,15 @@+#!/bin/bash+set -e+PKG_DIR="$(cd "$(dirname "$0")" && pwd)"+SKILLS_DIR="$HOME/.claude/skills"+mkdir -p "$SKILLS_DIR/adom-top-secret"+if [ -f "$PKG_DIR/SKILL.md" ]; then+  cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/adom-top-secret/SKILL.md"+fi+for skill_dir in "$PKG_DIR/skills"/*/; do+  [ -d "$skill_dir" ] || continue+  skill_name=$(basename "$skill_dir")+  mkdir -p "$SKILLS_DIR/$skill_name"+  cp -r "$skill_dir"* "$SKILLS_DIR/$skill_name/"+done+echo "Installed adom-top-secret"
package.jsonadded+11
@@ -0,0 +1,11 @@+{+  "slug": "adom-top-secret",+  "version": "1.0.0",+  "type": "app",+  "description": "If you can see this, you are a member of the Adom org.",+  "dependencies": {},+  "scripts": {+    "install": "./install.sh",+    "uninstall": "./uninstall.sh"+  }+}
uninstall.shadded+4
@@ -0,0 +1,4 @@+#!/bin/bash+set -e+rm -rf "$HOME/.claude/skills/adom-top-secret"+echo "Uninstalled adom-top-secret"