frida-rpa-cli is a local command-line tool for FRIDA automation teams.
It helps you prepare workspaces, lint/fix scripts, and interact with Cognitive resources from one command: frida-rpa.
Use frida-rpa when you want to:
- prepare a FRIDA workspace quickly (
open,agents,status) - keep scripts clean and consistent (
lint,fix) - sync with Cognitive safely (
cognitive push,cognitive pull,cognitive logs) - generate estimation artifacts (
estimate)
If you only need editor syntax features, see the extension section later in this README.
Requirements:
- Node.js + npm
- Python (for some lint/estimation tooling)
From the repository root:
npm install
npm run compile
npm linkVerify installation:
frida-rpa --helpNaming:
- npm package:
frida-rpa-cli - installed command:
frida-rpa - legacy alias kept for compatibility:
frida-work(deprecated)
One-time setup:
frida-rpa loginTypical day-to-day flow:
frida-rpa status
frida-rpa lint
frida-rpa fix
frida-rpa cognitive pushTo pull latest remote Actions.txt before editing:
frida-rpa cognitive pull --backupfrida-rpa open [path]
Prepare FRIDA settings and open the workspace in your editor.frida-rpa status [path] [--json]
Show detected process/step context and auth/session status.frida-rpa agents [path]
ImportAGENTS.mdandagent-docshelper context into a workspace.
Useful open flags:
--editor <code|cursor>--patterns "<csv-globs>"--settings-source "<path>"--settings-mode <merge|replace>--dry-run--no-dev-host
frida-rpa lint [path]
Run lint checks without modifying files.frida-rpa lint info(alias:lint rules)
Print lint rule catalog.frida-rpa fix [path]
Run format + safe fixes + final verification.
Useful flags:
--json--unsafe-fixes(applies behavior-changing auto-fixes)--process-id <n>--step <n>
Canonical commands:
frida-rpa cognitive loginfrida-rpa cognitive logoutfrida-rpa cognitive apps listfrida-rpa cognitive suites list --app <id>frida-rpa cognitive processes list [--suite <id>]frida-rpa cognitive logs latest --process-id <id>frida-rpa cognitive pushfrida-rpa cognitive pull --backupfrida-rpa cognitive nav(interactive navigator)
Notes:
- top-level
frida-rpa pushandfrida-rpa pullstill work, but are deprecated aliases - top-level
frida-rpa logsis removed; usefrida-rpa cognitive logs ...
The estimate command group generates estimation files (JSON + PPTX).
Install estimation dependencies:
python -m pip install -r estimation/requirements.txtCommon usage:
frida-rpa estimate init
frida-rpa estimate example
frida-rpa estimate generate --config ./estimation_mock.jsonRunning frida-rpa with no command opens an interactive shell:
frida-rpaInside the shell:
- use
helpfor commands - use
exitorquitto leave
Use:
npm run compile(compile is a package script, so it must be called with npm run.)
A stale global shim already exists (often from previous installs/renames).
Remove old shims in your npm global bin folder (for example frida-rpa, frida-work) and run npm link again.
cognitive push has safety checks and can block on remote drift.
When blocked, first sync/inspect with cognitive pull --backup or use --force only when you intentionally want local overwrite behavior.
frida-rpa --help
frida-rpa help open
frida-rpa help lint
frida-rpa help cognitive
frida-rpa help estimateThis repository also contains the FRIDA editor extension (language id frida) with:
- syntax highlighting and snippets
- language config (
##comments,#%regionfolding, bracket/quote pairing) - completion/hover support from
resources/frida.completion.json
The extension does not claim all .txt files automatically.
In your FRIDA workspace .vscode/settings.json, set frida.filePatterns:
{
"frida.filePatterns": [
"**/Actions.txt",
"**/*SAPStatus*.txt"
]
}Optional explicit association:
{
"files.associations": {
"**/Actions.txt": "frida"
}
}npm test
npm run test:ts
npm run test:py
npm run vscode:prepublish
npx @vscode/vsce package