Skip to content

Commit 830df0f

Browse files
feat: update setup instructions and simplify Makefile
Replaces '/claude-hud:setup' with 'make init' in onboarding message. Removes the 'agent-os' Makefile target and streamlines 'init' to set up claude-hud if available, with improved Docker checks. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 849c67a commit 830df0f

File tree

2 files changed

+9
-22
lines changed

2 files changed

+9
-22
lines changed

.claude/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"spinnerTipsEnabled": false,
100100
"alwaysThinkingEnabled": true,
101101
"companyAnnouncements": [
102-
"\nWelcome to PROJECT_NAME!\nRun '/claude-hud:setup' on first launch."
102+
"\nWelcome to PROJECT_NAME!\nRun 'make init' on first launch."
103103
],
104104
"autoUpdatesChannel": "stable"
105105
}

Makefile

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,11 @@ spec-kit: ## Install spec-kit (default: claude)
1818
fi; \
1919
yes | specify init --here --ai $$agent --script sh
2020

21-
agent-os: ## Install agent-os (default: claude)
22-
@agent=$(word 2,$(MAKECMDGOALS)); \
23-
script="$$HOME/agent-os/scripts/project-install.sh"; \
24-
if [ -z "$$agent" ]; then \
25-
agent="claude"; \
26-
echo "Using default agent: claude"; \
27-
fi; \
28-
if [ ! -f "$$script" ]; then \
29-
echo "[agent-os] 'agent-os' not found."; \
30-
echo "RUN: curl -sSL https://raw.githubusercontent.com/buildermethods/agent-os/main/scripts/base-install.sh | bash"; \
31-
exit 1; \
32-
fi; \
33-
echo "Installing agent-os with agent: $$agent"; \
34-
if [ "$$agent" = "claude" ]; then \
35-
yes | bash "$$script"; \
36-
elif [ "$$agent" = "all" ]; then \
37-
yes | bash "$$script" --agent-os-commands true --standards-as-claude-code-skills true; \
38-
else \
39-
yes | bash "$$script" --claude-code-commands false --use-claude-code-subagents false --standards-as-claude-code-skills true --agent-os-commands true; \
21+
init: ## Setup Project environment
22+
@if command -v claude >/dev/null 2>&1; then \
23+
echo "Setting up claude-hud..."; \
24+
claude -p "/claude-hud:setup" --model=sonnet --dangerously-skip-permissions; \
4025
fi
41-
42-
init: ## Setup Project environment (Docker required)
4326
@if ! command -v docker >/dev/null 2>&1; then \
4427
echo "[init] 'docker' not found"; \
4528
exit 1; \
@@ -48,6 +31,10 @@ init: ## Setup Project environment (Docker required)
4831
echo "[init] 'docker compose' not found"; \
4932
exit 1; \
5033
fi; \
34+
if ! docker info >/dev/null 2>&1; then \
35+
echo "[init] Docker is not running. Please start Docker first."; \
36+
exit 1; \
37+
fi; \
5138
if [ ! -f .env ]; then \
5239
echo "Copying .env.example to .env"; \
5340
cp .env.example .env; \

0 commit comments

Comments
 (0)