ralphex-update
FeaturedSmart-merge updated ralphex defaults into customized prompts/agents
AI & Automation 1,446 stars
119 forks Updated yesterday MIT
Install
Quality Score: 90/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# ralphex-update - Smart Prompt Merging
**SCOPE**: Compare current embedded defaults with user's installed config, and intelligently merge updates into customized files. Preserves user intent while incorporating structural changes.
## Step 0: Verify CLI Installation
```bash
which ralphex
```
**If not found**, guide installation:
- **macOS (Homebrew)**: `brew install umputun/apps/ralphex`
- **Any platform with Go**: `go install github.com/umputun/ralphex/cmd/ralphex@latest`
**Do not proceed until `which ralphex` succeeds.**
## Step 1: Extract Current Defaults
Create temp directory and dump embedded defaults:
```bash
DUMP_DIR=$(mktemp -d /tmp/ralphex-defaults-XXXX)
ralphex --dump-defaults "$DUMP_DIR"
echo "$DUMP_DIR"
```
Save the dump directory path for later use.
## Step 2: Determine Config Directory
Resolve the user's config directory:
```bash
# check environment variable first
echo "${RALPHEX_CONFIG_DIR:-}"
```
If `RALPHEX_CONFIG_DIR` is empty, use default:
- **macOS/Linux**: `~/.config/ralphex/`
Verify the directory exists:
```bash
ls -la <config-dir>/
```
If it doesn't exist, inform user that ralphex hasn't been configured yet and there's nothing to update.
## How ralphex Config Files Work
ralphex installs config, prompt, and agent files with all content **commented out** (every line prefixed with `# `). At runtime, `stripComments()` removes these lines, finds nothing, and falls back to **embedded defaults** compiled into the binary. These all-commented fi...
Details
- Author
- umputun
- Repository
- umputun/ralphex
- Created
- 7 months ago
- Last Updated
- yesterday
- Language
- Go
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
ralphex
Run ralphex autonomous plan execution with progress monitoring
1,446 Updated yesterday
umputun AI & Automation Featured
ralph-config
View and configure agent loop settings — show, set, reset, and apply named presets
204 Updated today
jmagly Code & Development Featured
ralphex-adopt
Convert plans from various source formats (OpenSpec, spec-kit, GitHub/GitLab issues with checklists, generic task-lists, free-form markdown) into ralphex-format plans in docs/plans/. Triggers on "ralphex-adopt", "adopt plan", "convert plan to ralphex", "import plan as ralphex".
1,446 Updated yesterday
umputun