OpenParable
Skip to content
← Back to skills

Cipher Decoder

DevOps & Security
cipher-decoder

Cipher Decoder is an Agent Skill for devops & security published in the archestra-ai/archestra repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Decode an encoded message using the bundled cipher scripts. Use when handed a hex-encoded or otherwise scrambled blob and asked for its plaintext; run the scripts rather than reasoning about the bytes by hand.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/archestra-ai/archestra/blob/HEAD/ai-labs/skills/cipher-decoder/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cipher-decoder, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Cipher decoder

These ciphers are bespoke — a scheme cannot be recovered from the ciphertext alone — so always decode with the bundled scripts rather than guessing the bytes by hand.

scripts/ holds decoders for several schemes (each script's header says which one it handles), and the per-scheme key constants live in the params file (parameters.txt), one row per scheme. The scripts do not hard-code those constants — pass them on the command line.

A blob decodes cleanly under exactly one scheme: the right script and row print readable text, while every other combination runs without error but prints garbage. If you don't already know the scheme, work through the rows and keep the output that reads as plain language. The hex decoder runs as:

perl /skills/cipher-decoder/scripts/decode.pl --mult <m> --add <a> <hex-ciphertext>

The decoder prints the plaintext to stdout (no trailing newline).