Skip to content

Commit d021e8d

Browse files
committed
Auto select dune and sim skills
1 parent fd7afb6 commit d021e8d

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

install.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ main() {
8989
echo "" >&2
9090
log "Dune CLI ${version} installed successfully!"
9191
echo "" >&2
92-
log "Tip: Run 'npx skills add duneanalytics/skills' to install the Dune AI coding skill."
92+
log "Tip: Run 'npx skills add duneanalytics/skills' to install Dune AI skills."
9393
log "Tip: Run 'dune auth' to authenticate with your Dune account."
9494
log "Tip: Run 'dune sim auth' to access real-time blockchain data (balances, tokens, NFTs)."
9595
fi
@@ -102,21 +102,21 @@ post_install() {
102102

103103
# --- Skill install ---
104104
if has npx; then
105-
log "The Dune skill lets AI coding agents (Cursor, Claude Code, etc.) query"
106-
log "blockchain data on your behalf."
107-
printf " Install Dune skill for your AI coding agent? [Y/n] " >&2
105+
log "Dune skills let AI agents (Cursor, Claude Code, etc.) query"
106+
log "blockchain data and access real-time wallet/token info on your behalf."
107+
printf " Install Dune skills for your AI coding agent? [Y/n] " >&2
108108
read -r answer < /dev/tty || answer=""
109109
case "$answer" in
110110
[nN]*)
111-
log "Skipped. You can install it later with: npx skills add duneanalytics/skills"
111+
log "Skipped. You can install them later with: npx skills add duneanalytics/skills"
112112
;;
113113
*)
114-
log "Installing Dune skill..."
115-
npx skills add duneanalytics/skills < /dev/tty || log "Skill installation failed. You can retry with: npx skills add duneanalytics/skills"
114+
log "Installing Dune skills..."
115+
npx skills add duneanalytics/skills --skill '*' < /dev/tty || log "Skill installation failed. You can retry with: npx skills add duneanalytics/skills"
116116
;;
117117
esac
118118
else
119-
log "Tip: Run 'npx skills add duneanalytics/skills' to install the Dune AI coding skill."
119+
log "Tip: Run 'npx skills add duneanalytics/skills' to install Dune AI skills."
120120
log "(requires Node.js / npx)"
121121
fi
122122

0 commit comments

Comments
 (0)