yaklang avatar

Classical Cipher Analysis

This is a CTF-focused playbook that walks you through identifying and breaking classical ciphers. It starts with character set analysis to distinguish between base64, hex, Morse, or actual cipher text, then uses frequency analysis and index of coincidence to figure out if you're dealing with monoalphabetic substitution, Caesar, Vigenere, or something else. The code samples are practical: Kasiski examination for finding Vigenere key lengths, chi-squared scoring for Caesar brute force, and crib dragging when you have known plaintext. The identification table up front is genuinely useful because the skill explicitly calls out that base models tend to skip the detection step and jump straight to the wrong cipher type. Routes you to symmetric cipher attacks if it turns out to be AES instead of ROT13.

skills.sh installs
3.7K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill classical-cipher-analysis --agent claude-code

Installs into .claude/skills of the current project.

Files

SKILL: Classical Cipher Analysis — Expert Cryptanalysis Playbook

AI LOAD INSTRUCTION: Expert classical cipher identification and breaking techniques for CTF. Covers cipher identification methodology (frequency analysis, IC, Kasiski), monoalphabetic substitution, Caesar/ROT, Vigenere, Enigma, affine, Hill, transposition ciphers, Bacon/Polybius/Playfair, and XOR ciphers. Base models often skip the identification step and jump to the wrong cipher type, or fail to recognize encoded (base64/hex) ciphertext that needs decoding before analysis.

0. RELATED ROUTING

Quick identification guide

Sponsors

Details

Repository
github.com/yaklang/hack-skills
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs