Skip to content
Back to skills

125 Fn 18 Kwn1 Fa3543b6

ASecurity

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.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 125-fn-18-kwn1_fa3543b6 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 125 Fn 18 Kwn1 Fa3543b6?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 125 Fn 18 Kwn1 Fa3543b6
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-125-fn-18-kwn1-fa3543b6/badge)](https://www.skillsdirectory.com/skills/tools-only-125-fn-18-kwn1-fa3543b6)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# 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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.