skyrim-papyrus

Compile, decompile, validate, and generate Papyrus scripts for Skyrim mods.

17|8|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/SpookyPirate/spookys-automod-toolkit --skill skyrim-papyrus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skyrim-papyrus
Source: https://github.com/SpookyPirate/spookys-automod-toolkit/tree/main/.claude/skills/skyrim-papyrus
Command: npx skills add https://github.com/SpookyPirate/spookys-automod-toolkit --skill skyrim-papyrus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Compile, decompile, validate, and generate Papyrus scripts using Spooky's AutoMod Toolkit to streamline Skyrim mod development.

Core Features & Use Cases

  • Compile PSC to PEX.
  • Decompile PEX to PSC.
  • Generate Papyrus script templates for common base types (Quest, Actor, MagicEffect, etc.).
  • Validate syntax and assist in understanding script behavior and debugging.
  • Use cases include creating new scripts, debugging existing ones, and scaffolding templates for quests, actors, or magic effects.

Quick Start

Run from the Spooky's AutoMod Toolkit directory and use papyrus commands to generate, compile, or decompile scripts.

Frequently Asked Questions about skyrim-papyrus

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compile Papyrus scripts for Skyrim mods?

You can decompile PEX files back into PSC source files using the integrated Champollion tool. This allows mod authors to inspect, understand, and debug compiled Skyrim script behavior.

Can I generate Papyrus script templates for quests and actors?

You must run the Skill from the Spooky's AutoMod Toolkit directory, which manages the required auto-downloaded Papyrus tooling. The toolkit provides the environment needed to execute compile, decompile, and generate commands.

Does this toolkit validate Papyrus syntax and help debug scripts?

Yes, the toolkit validates Papyrus syntax and assists in understanding script behavior to aid debugging. It helps mod authors identify and resolve issues within their Skyrim scripts efficiently.

What is the best way to decompile PEX files to PSC for Skyrim?

The best way to decompile PEX files to PSC is using the Champollion tool integrated into Spooky's AutoMod Toolkit. It automatically handles the decompilation process for analyzing compiled scripts.