Tooluck logoTooluck
SKILL.md

classical-cipher-analysis

Agent skill fromyaklang/hack-skills

Classical cipher analysis playbook. Use when encountering substitution ciphers, Vigenere, transposition, XOR, or encoded text in CTF challenges that requires frequency analysis, Kasiski examination, or known-plaintext cryptanalysis.

How to install classical-cipher-analysis

install classical-cipher-analysis
# install the hack-skills pack with the skills CLI
npx skills add yaklang/hack-skills

# or add only this skill to Claude Code: copy the folder

skills/classical-cipher-analysis/

# into

~/.claude/skills/classical-cipher-analysis/ (all projects)

.claude/skills/classical-cipher-analysis/ (one project)

skills/classical-cipher-analysis/SKILL.md

MITFull file
1# SKILL: Classical Cipher Analysis — Expert Cryptanalysis Playbook
2
3> **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.
4
5## 0. RELATED ROUTING
6
7- [symmetric-cipher-attacks](../symmetric-cipher-attacks/SKILL.md) when dealing with modern symmetric ciphers (AES/DES) rather than classical
8- [hash-attack-techniques](../hash-attack-techniques/SKILL.md) when the challenge involves hash-based constructions
9- [lattice-crypto-attacks](../lattice-crypto-attacks/SKILL.md) when knapsack-based ciphers are encountered
10
11### Quick identification guide
12
13| Observation | Likely Cipher | First Action |
14|---|---|---|
15| All uppercase letters, uneven frequency | Monoalphabetic substitution | Frequency analysis |
16| All uppercase, flat frequency distribution | Polyalphabetic (Vigenere) | IC + Kasiski |
17| Only A-Z shifted uniformly | Caesar/ROT | Brute force 25 shifts |
18| Base64 alphabet (A-Za-z0-9+/=) | Base64 encoded (decode first) | Base64 decode |
19| Hex string (0-9a-f) | Hex encoded (decode first) | Hex decode |
20| Binary (0s and 1s) | Binary encoded | Convert to ASCII |
21…

Excerpt shown under the repository's MIT license.

More skills in hack-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates