DEVELOPER REFERENCE / WROSECODE V1.0.0

THE MANUAL
FOR THE MACHINE.

From the first install to your first authorized CTF analysis. Every essential command, without the guesswork.

LINUXMACOSWINDOWSRUST-POWEREDTERMINAL-FIRST
00 / GETTING STARTED

Build faster from your terminal.

WROSECODE is a Rust terminal coding agent with a responsive TUI, tool execution, AI provider integration, saved sessions, headless automation and an authorized CTF workflow. You can install a packaged native binary or build the CLI from source.

RUSTNATIVE CLI
3MAJOR OS FAMILIES
/ctfCTF WORKFLOW
01 / INSTALLATION

Install WROSECODE CLI.

Option A — npm: The easiest global installation method if the wrosecode package is published and its native release assets can be downloaded. Install Node.js 18+ first.

● TERMINAL / BASH
node --version
npm --version
npm install -g wrosecode
wrosecode --version
wrosecode --help

Or run once using npx wrosecode. To upgrade or remove the CLI:

● TERMINAL / BASH
npm install -g wrosecode@latest
# To uninstall:
npm uninstall -g wrosecode

Use the download selector on the homepage for a platform-specific installation command, or choose a release binary below. Always verify checksum files from the release.

02 / PREBUILT RELEASES

Native downloads by platform.

v1.0.0 binaries and matching .sha256 assets are listed on GitHub Releases. The direct URLs below use those listed filenames.

Linux example (x86_64)

● TERMINAL / BASH
curl -fL https://github.com/whiterose717/WROSECODE-CLI/releases/download/v1.0.0/wrosecode-linux-x86_64 -o wrosecode-linux-x86_64
curl -fL https://github.com/whiterose717/WROSECODE-CLI/releases/download/v1.0.0/wrosecode-linux-x86_64.sha256 -o wrosecode-linux-x86_64.sha256
sha256sum -c wrosecode-linux-x86_64.sha256
chmod +x wrosecode-linux-x86_64
mkdir -p "$HOME/.local/bin"
install -m 755 wrosecode-linux-x86_64 "$HOME/.local/bin/wrosecode"
export PATH="$HOME/.local/bin:$PATH"
wrosecode --version

macOS example (Apple Silicon)

● TERMINAL / BASH
curl -fL https://github.com/whiterose717/WROSECODE-CLI/releases/download/v1.0.0/wrosecode-darwin-aarch64 -o wrosecode-darwin-aarch64
curl -fL https://github.com/whiterose717/WROSECODE-CLI/releases/download/v1.0.0/wrosecode-darwin-aarch64.sha256 -o wrosecode-darwin-aarch64.sha256
shasum -a 256 wrosecode-darwin-aarch64
# Compare the hash with the official .sha256 file
chmod +x wrosecode-darwin-aarch64
./wrosecode-darwin-aarch64 --version

Windows (PowerShell)

Download wrosecode-windows-x86_64.exe (for most Windows PCs), verify the SHA-256 hash, then rename it to wrosecode.exe. The example assumes the file is in Downloads.

● TERMINAL / POWERSHELL
$file = "$HOME\Downloads\wrosecode-windows-x86_64.exe"
Get-FileHash $file -Algorithm SHA256
# Compare hash with the official release checksum
New-Item -ItemType Directory -Force -Path "$HOME\bin" | Out-Null
Copy-Item $file "$HOME\bin\wrosecode.exe"
& "$HOME\bin\wrosecode.exe" --version
03 / SOURCE

Build and install from Rust source.

For Kali Linux, Debian or Ubuntu, install build prerequisites and Rust, then clone the repository (requires access to the source).

● TERMINAL / BASH
sudo apt update
sudo apt install -y git curl build-essential pkg-config libssl-dev
# Install Rust via the official rustup script after reviewing it:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
git clone https://github.com/whiterose717/WROSECODE-CLI.git
cd WROSECODE-CLI
cargo install --path .
wrosecode --version

Alternatively, use cargo build --release to create target/release/wrosecode. This method does not require npm.

04 / MODEL CONFIGURATION

Connect your AI provider.

The terminal agent needs a configured AI model to perform model-driven tasks. Use its provider manager to add a provider, save the key and verify the connection.

● TERMINAL / BASH
wrosecode providers list
wrosecode providers add
wrosecode providers set-key
wrosecode providers test

For a compatible local endpoint (such as a local OpenAI-compatible server):

● TERMINAL / BASH
export WROSECODE_OPENAI_URL="http://127.0.0.1:11434/v1"
wrosecode --provider openai-compat --model MODEL_NAME
05 / WORKFLOW

Your first terminal session.

01

Open your project folder

Navigate to an existing code repository or create a new working directory.

02

Launch WROSECODE

Start the interactive TUI, select a model and the desired permission policy.

03

Give the agent a task

Ask it to inspect code, run tests, propose a change, or analyze an authorized CTF.

● TERMINAL / BASH
cd /path/to/your/project
wrosecode --permission auto-safe --think auto

Inside the terminal, try:

● TERMINAL / AGENT PROMPT
Inspect this project, explain its architecture, and list the failing tests.

For one-shot headless execution:

● TERMINAL / BASH
wrosecode exec "review this repository"
wrosecode exec --json "inspect this codebase"
06 / AGENT CONTROL

Choose permissions & thinking.

Pick a permission policy based on your trust in the workspace. For ordinary development, auto-safe allows less risky operations automatically and prompts for sensitive actions.

● TERMINAL / BASH
wrosecode --permission ask
wrosecode --permission auto-safe
# CAUTION: skips prompts; disposable VM / trusted repo only
wrosecode --permission yolo

Thinking level

Choose from off, low, medium, high, max, and auto. The supported model and provider determine available performance.

● TERMINAL / BASH
wrosecode --think auto
wrosecode --think high
# Inside the TUI use: /think high
06 / CHALLENGE MODE

Use the /ctf agent.

Start CTF investigations in the terminal against authorized challenge artifacts or challenge endpoints. The agent can use its configured tools and provider; actual solve performance is not measured by this website.

● TERMINAL / BASH
wrosecode ctf ./challenge-files/
wrosecode ctf ./capture.pcapng --category forensics
wrosecode ctf ./challenge --category crypto
wrosecode ctf ./binary --category pwn

Configure budgets and independent workers:

● TERMINAL / BASH
wrosecode ctf ./challenge --budget "steps=50,tokens=100000,seconds=1800" --parallel 4

Inside interactive mode:

● TERMINAL / TUI COMMANDS
/ctf ./challenge-files/
/writeup

For a remote target, supply only a host and port explicitly authorized in your challenge:

● TERMINAL / BASH
wrosecode ctf ./binary --category pwn --remote challenge.example:31337
08 / PLATFORM INTEGRATION

CTFd commands & submission.

For competitions using an authorized CTFd instance, use the CLI's CTFd commands to inspect challenges, check the scoreboard and verify or submit flags as permitted.

● TERMINAL / BASH
wrosecode ctfd list
wrosecode ctfd scoreboard
wrosecode ctfd download
wrosecode ctfd submit
wrosecode ctfd verify

Configure credentials privately in your local shell:

● TERMINAL / BASH
export CTFD_URL="https://ctf.example"
export CTFD_TOKEN="your-private-token"
07 / INTERACTIVE

Essential CLI slash commands.

Type these inside the WROSECODE terminal interface (not as external shell commands). The installed version's /help is authoritative.

COMMANDPURPOSE
/helpShow commands and keybindings
/providersConfigure AI connections
/modelsInspect or select models
/think highSet higher reasoning effort
/planSwitch to planning mode
/buildSwitch to implementation mode
/ctf TARGETStart a CTF investigation
/sessionsList previous sessions
/resumeResume a session
/add PATHPin a file to context
/diffInspect changed files
/reviewReview changes
/statsUsage and performance
/compactReduce context size
/skillsManage installed skills
/writeupGenerate CTF notes/write-up
08 / SHORTCUTS

Work at terminal speed.

KEYACTION
Ctrl+PCommand palette
TabToggle build/plan when input is empty
Ctrl+TCycle thinking
Ctrl+RHistory picker
Ctrl+FFlag picker
PageUp / PageDownScroll transcript
Shift+EnterNew line in prompt
Ctrl+CCancel running step; twice when idle exits
@Mention a file from picker
09 / ADVANCED

Sessions, automation and more.

Resume & fork existing sessions

● TERMINAL / BASH
wrosecode --session SESSION_ID
wrosecode --session SESSION_ID --fork
wrosecode --session SESSION_ID --export-session session.json

Automatic test repairs

● TERMINAL / BASH
wrosecode --check-command "cargo test" --repair-retries 5 "fix the tests"

Structured automation & events

● TERMINAL / BASH
wrosecode exec --json "analyze the repository"
wrosecode --events events.ndjson --headless "run the tests"
wrosecode --trace "investigate slow tests"

Dashboard and local server

● TERMINAL / BASH
wrosecode dashboard
wrosecode --listen 127.0.0.1:7878
11 / EXTENSIBILITY

Skills, agents & recipes.

Extend WROSECODE with reusable workflows and project-specific skills. Review any installed skill code before granting it permission to run commands.

● TERMINAL / BASH
wrosecode recipe list
wrosecode recipe run NAME
wrosecode recipe run NAME --set PROJECT=my-app
wrosecode --install-skill /path/to/skill

Interactive commands and folders:

● TERMINAL / TUI COMMANDS
/skills list
/skills install SOURCE
/skills uninstall PACKAGE
# Project-specific recipes: .wrosecode/recipes/
# Project-specific agents: .wrosecode/agents/

Run a project agent by name:

● TERMINAL / BASH
wrosecode --agent AGENT_NAME
12 / STORAGE

Where WROSECODE keeps data.

Useful local configuration and session locations. Keep provider secrets and exported session data out of public Git repositories.

LOCATIONDESCRIPTION
~/.wrosecode/providers.tomlProvider profiles and credentials
~/.wrosecode/sessions/Saved sessions
~/.wrosecode/state.dbPersistent application state
~/.wrosecode/skills/Installed skills
~/.wrosecode/trace.logPerformance traces
.wrosecode/project.tomlPer-project settings
10 / SUPPORT

Fix common setup problems.

"wrosecode: command not found"

Verify that installation completed and the global executable folder is in PATH. Open a new terminal after updating your shell environment.

● TERMINAL / BASH
npm prefix -g
export PATH="$(npm prefix -g)/bin:$PATH"
wrosecode --version

npm reports 404 or installer cannot fetch a release

Confirm the npm package is published and the GitHub release assets are accessible. Install a native binary or compile from source when you have repo access.

CHECK GITHUB RELEASES ↗

Model authentication fails

Re-enter your provider credential, confirm model access and test it directly.

● TERMINAL / BASH
wrosecode providers list
wrosecode providers set-key
wrosecode providers test

Need exact commands for your build?

Use the help output provided by the installed binary; commands and options may change after v1.0.0.

● TERMINAL / BASH
wrosecode --help
wrosecode providers --help
wrosecode ctfd --help

Documentation reflects the project CLI command guide supplied for this site. Independent validation of each command against a live install was not performed here.

READY TO SHIP?

Grab the CLI, configure your provider, and put the terminal agent to work.

DOWNLOAD WROSECODE ↗