Cryptography Research Skills
Introduction
I plan for this to be a public repository that helps people do AI-assisted research in cryptography and helps people draft cryptography papers that are readable by people who work in this field. The skills are developed during my research
in cryptography, especially in secure multiparty computation (MPC) and zero-knowledge proofs. The current version may not help too much in lattice-based (or post-quantum) cryptography, but lattice-based cryptography is definitely on my roadmap.
When we ask AI to write a proof for a theorem in cryptography, the proof may look mathematically plausible while containing gaps or using unfamiliar terminology and styles. For example, a familiar way to present a simulation-based security proof for a maliciously secure MPC protocol is to first describe the simulator, then write a sequence of hybrid arguments that starts with the real world and ends with the ideal world. The set of skills in this repo encourages this organization where it clarifies the argument; a direct distributional proof can also be appropriate. During the development of the skills, I feed in classic textbooks and papers and ask AI to summarize the styles and terminology. Note that as a cryptography researcher or a PhD student, you should still think about how the simulator works and how the hybrids would go. The real learning happens when you realize the subtleties in the proofs. The purpose of the writing skills in this repo is to help you understand AI-generated cryptography proofs better, in a common language that cryptographers speak.
I describe the three stages of cryptography paper writing:
- The first stage is pure AI slop. It may be correct, but the content is unreadable.
- The second stage is an AI-generated write-up, with the help of the skills in this repo. It presents itself in a more friendly and familiar way to people who do research in cryptography. By doing this, it helps cryptography researchers understand AI-generated proofs better and also makes it easier for AI to expose its mistakes.
- The final stage is a human-authored paper, where the human author extracts the insights from the write-up in the previous stage and expresses them in his own words.
Our skills in this repo are building this bridge between AI slop and human insights. I believe it is always best for humans to write our own protocol constructions, theorem statements, and proofs, although AI can be (and should probably be) an independent auditor to check the correctness of our proofs. Human writing is precious. It expresses humans' thoughts and spirits and connects human society. Nowadays, if I find anything that feels like AI slop, I immediately stop reading, because I know I can ask AI to generate it on my own.
Aside from paper writing, the repo also contains skills that guide the implementation of cryptographic protocols. Now that code is becoming cheap, a lot more theoretical papers can have actual implementations. Research would be much more useful and well-founded if people could see the protocols running in the real world.
I agree that AI is really good at math and that in turn also advances research in cryptography. However, I believe the most fascinating aspect of cryptography is the invention of new notions such as zero-knowledge proofs. AI is pretty
good at following prior work and pushing the boundaries, but defining new things would require human imagination and creativity that I believe current AI may not be so good at.
If you have any suggestions on this repo, feel free to reach out to me at [email protected].
Have fun,
Ziyang Jin
Installation
The skills work with Codex and Claude Code. Choose among three collections:
- Research: four skills to formulate thoughts clearly: turn an idea into a precise question, separate assumptions from claims, check reasoning and literature, and define the interfaces and costs that matter.
- Writing: five skills to express established ideas and evidence in manuscript prose, prior-work comparisons, evaluation sections, and publication materials.
- Implementation: three skills for protocol code, reproducible benchmarks, and research artifacts.
Claude Code users can install all twelve skills through the plugin manager below. For selective installation in either agent, you need Python 3 and a stable checkout; the installer creates directory symlinks to its skill folders.
The skill catalog lists the skills in each collection. Start with the skill matching your requested result; specialist references and companion skills are loaded only when needed. The collections can be used independently and do not prescribe a sequence.
git clone https://github.com/ziyang-theory/cryptography-research-skills.git
cd cryptography-research-skills
Codex
Install Research:
python3 scripts/install.py --agent codex --collection research
Claude Code