Skip to content

Commit 7567a87

Browse files
authored
refactor: rename claude-skill to agent-skill with dual install paths (#294)
* chore: consolidate skill source files to .agents only * fix: update INSTALLATION.md URLs and paths for agent-skill rename * fix: correct failed counter logic and extract helper to reduce complexity
1 parent f961a92 commit 7567a87

10 files changed

Lines changed: 52 additions & 1615 deletions

File tree

.agents/skills/brev-cli/INSTALLATION.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
# Installing the Brev CLI Claude Code Skill
1+
# Installing the Brev CLI Agent Skill
22

33
## One-Liner Install
44

55
```bash
6-
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-claude-skill.sh | bash
6+
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-agent-skill.sh | bash
77
```
88

99
## What Gets Installed
1010

11+
The skill is installed to both `~/.claude/skills/brev-cli/` and `~/.agents/skills/brev-cli/`:
12+
1113
```
12-
~/.claude/skills/brev-cli/
14+
~/.claude/skills/brev-cli/ (for Claude Code)
15+
~/.agents/skills/brev-cli/ (for other AI agents)
1316
├── SKILL.md # Main skill definition
1417
├── prompts/
1518
│ ├── quick-session.md # Quick GPU session workflow
@@ -28,18 +31,18 @@ curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/insta
2831

2932
**Using the standalone script:**
3033
```bash
31-
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-claude-skill.sh | bash -s -- --branch my-branch
34+
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-agent-skill.sh | bash -s -- --branch my-branch
3235
```
3336

3437
**Using the CLI command:**
3538
```bash
36-
BREV_SKILL_BRANCH=my-branch brev claude-skill
39+
BREV_SKILL_BRANCH=my-branch brev agent-skill
3740
```
3841

3942
### Uninstall
4043

4144
```bash
42-
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-claude-skill.sh | bash -s -- --uninstall
45+
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-agent-skill.sh | bash -s -- --uninstall
4346
```
4447

4548
### Manual Installation
@@ -51,17 +54,19 @@ If you prefer to install manually:
5154
git clone https://github.com/brevdev/brev-cli.git
5255
cd brev-cli
5356

54-
# Copy skill to Claude directory
55-
mkdir -p ~/.claude/skills/
56-
cp -r .claude/skills/brev-cli ~/.claude/skills/
57+
# Copy skill to both directories
58+
mkdir -p ~/.claude/skills/ ~/.agents/skills/
59+
cp -r .agents/skills/brev-cli ~/.claude/skills/
60+
cp -r .agents/skills/brev-cli ~/.agents/skills/
5761
```
5862

5963
## After Installation
6064

61-
1. **Restart Claude Code** or start a new conversation
65+
1. **Restart your AI coding agent** or start a new conversation
6266
2. **Verify installation:**
6367
```bash
6468
ls ~/.claude/skills/brev-cli/
69+
ls ~/.agents/skills/brev-cli/
6570
```
6671
3. **Test the skill:**
6772
- Say "search for A100 GPUs" or
@@ -71,7 +76,7 @@ cp -r .claude/skills/brev-cli ~/.claude/skills/
7176

7277
### Skill not appearing
7378

74-
- Make sure you restarted Claude Code
79+
- Make sure you restarted your AI coding agent
7580
- Check the file exists: `cat ~/.claude/skills/brev-cli/SKILL.md`
7681
- Verify YAML frontmatter is valid (no tabs, proper formatting)
7782

@@ -80,12 +85,13 @@ cp -r .claude/skills/brev-cli ~/.claude/skills/
8085
```bash
8186
# Fix permissions
8287
chmod -R 755 ~/.claude/skills/brev-cli/
88+
chmod -R 755 ~/.agents/skills/brev-cli/
8389
```
8490

8591
### Update to latest version
8692

8793
Just run the installer again - it will overwrite existing files:
8894

8995
```bash
90-
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-claude-skill.sh | bash
96+
curl -fsSL https://raw.githubusercontent.com/brevdev/brev-cli/main/scripts/install-agent-skill.sh | bash
9197
```

.claude/skills/brev-cli/INSTALLATION.md

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)