Agent skill

Cryptography

by transilienceai in transilienceai/communitytools

Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

MITAuto-check passedSecurity

Install Cryptography

skills CLI
$ npx skills add transilienceai/communitytools --skill cryptography -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install transilienceai/communitytools cryptography --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/transilienceai/communitytools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cryptography .claude/skills/cryptography && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cryptography
GitHub stars
562
Token cost
~465 tokens
SKILL.md length
188 words
Files
29
Skills in repo
35
Repo updated
First seen
Licence
MIT

At a glance

Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

  • Tasks that involve Cryptography
  • SKILL.md covers Scope, When to use and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Penetration testing

What it does

Cryptography is an agent skill from transilienceai/communitytools. Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. The skill folder holds 34 other files (for example `reference/INDEX.md`, `reference/cryptography-principles.md` and `reference/lattice-attacks.md`).

It sits in Security, covering Cryptography and Penetration testing. The repository describes itself as: Open-source Claude Code skills, agents, and slash commands for AI-powered penetration testing, bug bounty hunting, and security research. The licence is MIT.

When your agent uses it

  • Tasks that involve Cryptography
  • Tasks that involve Penetration testing

Example prompts

  • “/cryptography”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 95fdc12. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cryptography loads about 465 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 188 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~465

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from transilienceai/communitytools at commit 95fdc12, republished under its MIT licence (© transilienceai). 188 words, ~465 tokens.

Download SKILL.mdSave it as .claude/skills/cryptography/SKILL.md (or your agent's skills folder). This skill also uses 28 other files; get the full folder from GitHub.
name
cryptography
description
Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

Cryptography

Scope

Practical cryptanalysis for CTF and pentest engagements: identifying when a cryptographic primitive's structure (custom hash, partial leaks, related primes, bad RNG, weak modes) admits a faster-than-brute-force solver, then implementing that solver in pure Python where possible. Covers RSA-style algebraic factoring, lattice/AGCD recovery, GF(2) linear collapse of "complicated-looking" custom ciphers, smooth-order DLP, differential fault attacks, and Shamir-style secret-sharing recovery over non-prime moduli. Always read source first to detect linearity/algebraic structure before reaching for SageMath or symbolic solvers.

When to use

  • A challenge or target ships custom crypto (custom hash, custom block cipher, hand-rolled key derivation) and you need to look for affine / GF(2)-linear collapse.
  • RSA-style primitives with structured primes (p = a·r + b, phi(n) perfect square, multi-prime hint files, common factors).
  • A service exposes a chosen-ciphertext / chosen-input oracle and you suspect padding-oracle, smooth-order DLP, or Bleichenbacher-style recovery.
  • AES with fault injection (correct + faulty ciphertext for the same key — Piret-Quisquater DFA).
  • Shamir secret sharing or threshold schemes with non-prime moduli (2-adic recovery via Lagrange interpolation with valuation tracking).

References

© transilienceai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 28 other files in skills/cryptography of transilienceai/communitytools.

  • SKILL.md
  • reference/INDEX.md
  • reference/cryptography-principles.md
  • reference/lattice-attacks.md
  • reference/linear-secret-recovery.md
  • reference/scenarios/classical/repeating-key-xor.md
  • reference/scenarios/lattice/agcd-attack.md
  • reference/scenarios/lattice/boneh-durfee-low-d.md
  • reference/scenarios/lattice/coppersmith-known-bits.md
  • reference/scenarios/lattice/lll-basis-reduction.md
  • reference/scenarios/padding-oracle/cbc-padding-oracle.md
  • reference/scenarios/padding-oracle/ecb-prefix-oracle.md
  • reference/scenarios/padding-oracle/pkcs1-v1.5-bleichenbacher.md
  • reference/scenarios/rsa-quirks/common-modulus.md
  • reference/scenarios/rsa-quirks/fermat-close-primes.md
  • … and 14 more

Open the folder on GitHubat commit 95fdc12

Compare with similar skills

Cryptography next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cryptography compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cryptography this skilltransilienceai/communitytools562—~465Automated safety check: PassMIT
Adcs AttacksADScanPro/Claude-AD210—~3.6kAutomated safety check: PassMIT
Hashcat Password Recovery WorkflowAgentSecOps/SecOpsAgentKit2201 repos~3.3kAutomated safety check: NotesCustom licence
Senior Securitydavila7/claude-code-templates32k2 repos~1.1kAutomated safety check: NotesMIT
Strix Code Vulnerability Scanusestrix/strix67k—~1.1kAutomated safety check: PassApache-2.0
Code Audit3stoneBrother/code-audit8931 repos~2.7kAutomated safety check: PassNone

Similar skills

  • Adcs Attacks

    ADScanPro/Claude-AD

    Active Directory Certificate Services (AD CS) escalation techniques ESC1 through ESC17, driven by hand with Certipy (ly4k).

    210 GitHub stars~3.6k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Hashcat Password Recovery Workflow

    AgentSecOps/SecOpsAgentKit

    Guides authorized password-hash recovery with hashcat for security audits, forensic cases and policy testing, starting with an explicit authorization check before any cracking runs.

    220 GitHub starsUsed in 1 repo~3.3k tokens
    SecurityAuto-check: notes
  • Senior Security

    davila7/claude-code-templates

    Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing.

    32k GitHub starsUsed in 2 repos~1.1k tokens
    SecurityAuto-check: notes
  • Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.

    67k GitHub stars~1.1k tokensUpdated today
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Triages findings from a Strix pentest by severity, fixes each root cause with a minimal change, and re-runs Strix to confirm the exploit no longer works.

    67k GitHub stars~1.5k tokensUpdated today
    SecurityAuto-check passed

More from transilienceai/communitytools

All 35 skills in this repo
  • Dfir

    transilienceai/communitytools

    Digital forensics and incident response - Windows event log analysis, PCAP forensics, filesystem artifact analysis, AD attack detection, and timeline correlation.

    562 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • GitHub Workflow

    transilienceai/communitytools

    GitHub workflow automation — branching, committing, pushing, pull requests, issues, and code review.

    562 GitHub stars~812 tokensUpdated 2 mo ago
    Auto-check: notes
  • Pci Secure Software

    transilienceai/communitytools

    Automated PCI Secure Software Standard (SSS) v2.0 readiness gap-assessment of an application from its source code and documentation.

    562 GitHub stars~1.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Protect With Password

    transilienceai/communitytools

    Generate ONE strong password and apply it to each referenced file (PDF, Word, Excel, PowerPoint, or any type).

    562 GitHub stars~583 tokensUpdated 2 mo ago
    Auto-check passed
  • Skill Update

    transilienceai/communitytools

    Skill creation, update and management — generates skill directory structure, validates against best practices, enforces line count limits.

    562 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Source Code Scanning

    transilienceai/communitytools

    Security-focused source code review and SAST. An agent skill from transilienceai/communitytools.

    562 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check: notes

Categories

Questions about Cryptography

What does Cryptography do?

Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery. Cryptography is an agent skill from transilienceai/communitytools. Cryptanalysis techniques — lattice attacks, padding oracles, weak-RNG exploitation, signature forgery, secret-sharing recovery.

When should I use Cryptography?

Cryptography fits situations like: tasks that involve Cryptography; tasks that involve Penetration testing.

How do I install Cryptography in Claude Code?

Run `npx skills add transilienceai/communitytools --skill cryptography -a claude-code`. Or copy the skill folder (skills/cryptography in transilienceai/communitytools) into .claude/skills/cryptography in your project. Claude Code loads it when a task matches its description.

How do I install Cryptography in Codex?

Run `npx skills add transilienceai/communitytools --skill cryptography -a codex`. Or copy the skill folder (skills/cryptography in transilienceai/communitytools) into .agents/skills/cryptography in your project. Codex loads it when a task matches its description.

Can I use Cryptography in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add transilienceai/communitytools --skill cryptography -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cryptography, .gemini/skills/cryptography, .github/skills/cryptography and .opencode/skills/cryptography in your project.

What does Cryptography need to run?

SKILL.md names no scripts, command-line tools or credentials: Cryptography is instructions for the agent only. Our summary lists: Python 3.

Does Cryptography access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cryptography safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cryptography use?

Cryptography is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cryptography use?

About 465 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cryptography?

Skills that share tags, products or a category with Cryptography: Adcs Attacks (ADScanPro/Claude-AD, 210 stars), Hashcat Password Recovery Workflow (AgentSecOps/SecOpsAgentKit, 220 stars), Senior Security (davila7/claude-code-templates, 32k stars) and Strix Code Vulnerability Scan (usestrix/strix, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cryptography?

transilienceai (a GitHub organization) maintains it in transilienceai/communitytools, which has 562 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on July 29, 2026.

Source: transilienceai/communitytools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.