-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
68 lines (57 loc) · 2.1 KB
/
Copy pathsetup.sh
File metadata and controls
68 lines (57 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash
# Parallel Works Toolkit — Setup Script
# Installs agent definitions, skills, and generates a starter CLAUDE.md for your project.
set -e
TOOLKIT_DIR="$(cd "$(dirname "$0")" && pwd)"
CLAUDE_DIR="$HOME/.claude"
AGENTS_DIR="$CLAUDE_DIR/agents"
SKILLS_DIR="$CLAUDE_DIR/skills"
echo "Parallel Works Toolkit — Setup"
echo "==============================="
echo ""
# Copy agents to ~/.claude/agents/
echo "Installing agents to $AGENTS_DIR..."
mkdir -p "$AGENTS_DIR"
for agent in "$TOOLKIT_DIR"/agents/*.md; do
agent_name=$(basename "$agent" .md)
cp "$agent" "$AGENTS_DIR/$agent_name.md"
echo " Installed agent: $agent_name"
done
echo ""
# Copy skills to ~/.claude/skills/
echo "Installing skills to $SKILLS_DIR..."
mkdir -p "$SKILLS_DIR"
for skill in "$TOOLKIT_DIR"/skills/*.md; do
skill_name=$(basename "$skill" .md)
cp "$skill" "$SKILLS_DIR/$skill_name.md"
echo " Installed skill: $skill_name"
done
echo ""
echo "10 agents and 3 skills installed."
echo ""
# Generate starter CLAUDE.md if one doesn't exist in current directory
if [ -f "./CLAUDE.md" ]; then
echo "CLAUDE.md already exists in this directory — skipping."
echo "See starter-claude.md in the toolkit for reference."
else
cp "$TOOLKIT_DIR/starter-claude.md" ./CLAUDE.md
echo "Created CLAUDE.md in current directory."
fi
echo ""
# Optionally copy templates
echo "Templates available in $TOOLKIT_DIR/templates/:"
echo " - venture-context.md (copy to your project as CONTEXT.md)"
echo " - design-md.md (copy to your project as DESIGN.md)"
echo " - agent-template.md (use to create custom agents)"
echo ""
echo "Studio docs available in $TOOLKIT_DIR/studio/:"
echo " - collaboration.md (operating model)"
echo " - agent-teams.md (multi-agent orchestration)"
echo " - role-loading.md (agent selection reference)"
echo " - maintenance.md (when/how to update docs)"
echo ""
echo "Done. Next steps:"
echo " 1. Copy venture-context.md to your project as CONTEXT.md and fill it out"
echo " 2. Open Claude Code in your project directory"
echo " 3. Start a session — agents and skills are loaded automatically"
echo ""