Workspace setup & live REA connection test
Confirm the environment without starting expensive analysis.
Show full prompt
Expected: valid paths and at least one successful real REA tool invocation.
A practical REA + Codex workflow: locate an Electron app.asar package, connect the MCP tools, investigate the application with evidence, and build and test an independent desktop app.
Free resource · No account required · Your paths stay in your browser
Start with Node.js and a local Codex environment on Windows. Then configure REA for Codex.
node -v npm -v
npx.cmd rea-agents@latest setup --client codex npx.cmd -y rea-agents@latest doctor --client codex --json
healthy: true result confirms a valid registration, but you must also verify a live REA MCP tool call inside Codex.Codex Desktop does not require the codex command to be available on your PowerShell PATH. Optional native binary-analysis engines such as Ghidra are generally not necessary for examining Electron JavaScript.
app.asar fileMany Electron applications bundle their resources into .asar archives. Not every application uses Electron or this file format.
First check the common Xmind installation locations:
$paths = @(
"$env:LOCALAPPDATA\Programs\Xmind\resources\app.asar"
(Join-Path $env:ProgramFiles 'Xmind\resources\app.asar')
(Join-Path ([Environment]::GetFolderPath('ProgramFilesX86')) 'Xmind\resources\app.asar')
)
$paths | Where-Object { Test-Path -LiteralPath $_ }
To find .asar files in common installation folders for other applications, use this command. The recursive scan may take a few minutes:
$roots = @(
(Join-Path $env:LOCALAPPDATA 'Programs')
$env:ProgramFiles
([Environment]::GetFolderPath('ProgramFilesX86'))
) | Where-Object { $_ -and (Test-Path -LiteralPath $_) } | Select-Object -Unique
foreach ($root in $roots) {
Get-ChildItem -LiteralPath $root -Filter *.asar -File -Recurse -ErrorAction SilentlyContinue |
Select-Object -ExpandProperty FullName
}
This prompt asks Codex to locate the target package and stop before any reverse engineering begins.
app.asar or any installed software when authorized. Do not redistribute proprietary source code or assets without permission.On supported Chrome and Edge versions, you can explicitly choose an application folder. The browser can see matching filenames and relative paths, but cannot expose the absolute Windows drive path to this page.
Enter your workspace and target ASAR path. They will be automatically inserted into the copy-ready prompts below.
Paths are not uploaded or stored. Editing either field instantly updates the prompts displayed below.
Send these prompts in sequence. Open any card to inspect its full text, or use the copy button to paste it into Codex.
Confirm the environment without starting expensive analysis.
Expected: valid paths and at least one successful real REA tool invocation.
Identify relevant entry points instead of analyzing thousands of files at once.
Expected: architecture, feature evidence, implementation plan, limitations, and coverage summary.
Turn verified behavioral findings into original, maintainable software.
Expected: Electron project, functional features, automated tests, and packaged executable.
Separate evidence-based findings from independently developed behavior.
Tests that were not performed must be reported as NOT TESTED, not PASS.
Explain exactly what REA and Codex achieved without overstating the results.
A healthy MCP registration does not always mean the server can start and complete its handshake.
npx.cmd -y rea-agents@latest doctor --client codex --json
If REA tools are unavailable, first fully quit and restart Codex. If the problem persists, give Codex this diagnostic prompt:
Cannot find module 'which' during MCP startup. We verified a healthy installation and configured its exact launcher. Npm cache paths vary by machine—never copy a guessed path.No. Websites cannot access local files without permission. The picker only scans a folder you explicitly choose. PowerShell can search common installation locations.
ASAR is common in Electron apps, but not universal. Native Windows applications and differently packaged Electron apps may not use it.
No. Inventorying files, analyzing selected modules, and understanding behavior are not equivalent to recovering an entire application's original source code.
No. The goal is an independent implementation of selected features and an honest functional comparison—not a direct copy of the original program.