Back to skills
SKILL.md
125 Fn 18 Kwn1 Fa3543b6
ASecurityAdd `--create` flag to `flowctl rp setup-review` that auto-creates a RepoPrompt window via `workspace create --new-window --folder-path` when no existing window matches the repo root.
- 9 stars
- 0 votes
- 0 copies
- 1 view
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 125-fn-18-kwn1_fa3543b6 --agent claude-codeAre you the author of 125 Fn 18 Kwn1 Fa3543b6?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-125-fn-18-kwn1-fa3543b6)# fn-18-kwn.1 Add --create flag to setup-review
## Description
Add `--create` flag to `flowctl rp setup-review` that auto-creates a RepoPrompt window via `workspace create --new-window --folder-path` when no existing window matches the repo root.
## Implementation
Updated `cmd_rp_setup_review()` in flowctl.py:
```python
if win_id is None:
if getattr(args, "create", False):
ws_name = os.path.basename(repo_root)
create_cmd = f"workspace create {shlex.quote(ws_name)} --new-window --folder-path {shlex.quote(repo_root)}"
create_res = run_rp_cli(["--raw-json", "-e", create_cmd])
data = json.loads(create_res.stdout or "{}")
win_id = data.get("window_id")
else:
error_exit("No RepoPrompt window matches repo root", ...)
```
## Acceptance
- [x] `--create` flag added to setup-review argparser
- [x] Auto-creates window when no match and --create is set
- [x] Reuses existing windows (backward compatible)
- [x] Docs updated (flowctl.md, README.md, ralph.md, CLAUDE.md)
## Done summary
Implemented `--create` flag for `flowctl rp setup-review`. When set and no window matches repo root, uses `rp-cli -e 'workspace create <name> --new-window --folder-path <path>'` to auto-create. Requires RP 1.5.68+.
## Evidence
```bash
# Test: auto-creates window
$ flowctl rp setup-review --repo-root /tmp/test --summary "Test" --create --json
{"window": 4, "tab": "...", "repo_root": "/tmp/test"}
# Test: reuses existing window
$ flowctl rp setup-review --repo-root /tmp/test --summary "Test2" --create --json
{"window": 4, "tab": "...", "repo_root": "/tmp/test"} # same window ID
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.