Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Compiles Papyrus PSC to PEX, decompiles PEX to PSC, and detects Creation Kit toolchains for Skyrim, Fallout 4, and Starfield.
23% 86%+64 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
Not used yet
bgs-papyrus is the agent-native CLI for Papyrus compile and decompile work. It detects official Creation Kit compilers, compiles .psc to .pex, decompiles .pex to .psc through Champollion, and returns JSON envelopes for agent workflows.
Use this skill for:
Do not use this skill for plugin record edits, load-order edits, or BA2/BSA packing. Route those through the xEdit, load-order, or archive skills.
Always query the live CLI before choosing a backend or game path:
bgs-papyrus capabilities --json
bgs-papyrus detect-toolchain --json --game starfield
The official Creation Kit must be installed by the user from Steam. Bethesda's PapyrusCompiler.exe is not bundled with this plugin and must not be copied into the repo or plugin tree. bgs-papyrus detects and drives the installed compiler.
Champollion is used for decompile. bgs-papyrus detects Champollion; it does not download it automatically. Install Champollion.exe at:
~/.bgs-modding-superpowers/tools/champollion/Champollion.exe
or the user can set BGS_PAPYRUS_CHAMPOLLION to an existing executable.
One PowerShell install shape for Champollion v1.3.2 from Orvid/Champollion releases:
$root = "$HOME\.bgs-modding-superpowers\tools\champollion"; New-Item -ItemType Directory -Force -Path $root | Out-Null; $zip = Join-Path $root "Champollion.v1.3.2.zip"; Invoke-WebRequest "https://github.com/Orvid/Champollion/releases/download/v1.3.2/Champollion.v1.3.2.zip" -OutFile $zip; Expand-Archive -Force $zip $root
Human manuals:
Next to this one in the catalogue, plus more from the same author.