custom module installer improved, and removed agent-install

This commit is contained in:
Brian Madison
2025-12-07 02:10:03 -06:00
parent b252778043
commit 119187a1e7
8 changed files with 140 additions and 765 deletions

View File

@@ -22,5 +22,5 @@ custom_stand_alone_location:
custom_module_location:
prompt: "Where do custom modules get stored?"
default: "bmad-custom-modules-src/modules"
default: "bmad-custom-modules-src"
result: "{project-root}/{value}"

View File

@@ -217,9 +217,13 @@ Features demonstrated:
# Copy to your project
cp /path/to/commit-poet.agent.yaml .bmad/custom/agents/
# Install with personalization
bmad agent-install
# or: npx bmad-method agent-install
# Create custom.yaml and install
echo "code: my-agent
name: My Agent
default_selected: true" > custom.yaml
npx bmad-method install
# or: bmad install
```
The installer:

View File

@@ -2,12 +2,24 @@
## Installation
```bash
# Quick install (interactive)
npx bmad-method agent-install --source ./{agent_filename}.agent.yaml
Create a `custom.yaml` file in the agent folder:
# Quick install (non-interactive)
npx bmad-method agent-install --source ./{agent_filename}.agent.yaml --defaults
```yaml
code: { agent_code }
name: '{agent_name}'
default_selected: true
```
Then run:
```bash
npx bmad-method install
```
Or if you have bmad-cli installed globally:
```bash
bmad install
```
## About This Agent