# discover-cryptography

discover-cryptography — a skill that automatically brings cryptography knowledge into view when you work with encryption, TLS, certificates, or PKI. Loads on demand without bloating context.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 118 installs · ★ 193 repo stars
- Author: rand
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/rand/cc-polymath/tree/HEAD/skills/discover-cryptography/SKILL.md
- Updated: 2026-02-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/discover-cryptography

## What it does

When you're writing code with encryption, generating certificates, or configuring TLS, this skill activates and surfaces the right guidance. It bundles seven focused skills: PKI basics, TLS 1.2/1.3 setup, certificate lifecycle management, SSL legacy migration, cryptographic algorithms, and security anti-patterns.

It works progressively. First level: the skill loads and points to a full category index. Second level: run `Read ../cryptography/INDEX.md` for a complete overview. Third level: request specific skills—for HTTPS setup, it chains `pki-fundamentals → tls-configuration → certificate-management`.

Works across any Agent Skills platform: Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Install with a single command flagged for your platform (`-a claude-code`, `-a cursor`, etc.), then the skill loads from your local skills directory.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-cryptography -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/discover-cryptography/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/discover-cryptography/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-cryptography -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/discover-cryptography/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-cryptography -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/discover-cryptography/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install rand/cc-polymath skills/discover-cryptography
```

2. **Manually: put the files in place**
- File: `.github/skills/discover-cryptography/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-cryptography -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/rand/cc-polymath --path skills/discover-cryptography
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/discover-cryptography/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add rand/cc-polymath --skill discover-cryptography -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/rand/cc-polymath/tree/HEAD/skills/discover-cryptography/SKILL.md

## When to use it
- Navigate certificate chains and X.509 trust models
- Configure TLS 1.3 and select appropriate cipher suites
- Automate certificate lifecycle and renewal workflows
- Migrate applications from legacy SSL to modern TLS
- Avoid common cryptography pitfalls and security anti-patterns

## Example prompts
- Help me set up HTTPS for a Node.js app with a self-signed certificate
- Show me how to rotate keys and automate Let's Encrypt certificate updates
- Explain when mTLS is needed and how to configure it

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 37ab12cf72c39b68.

BEGIN THIRD-PARTY FILE 37ab12cf72c39b68
```text
---
name: discover-cryptography
description: Automatically discover cryptography skills when working with encryption, TLS, certificates, PKI, and security
license: MIT
metadata:
  author: rand
  version: "4.0"
compatibility: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.
---

# Cryptography Skills Discovery

Provides automatic access to comprehensive cryptography and security skills.

## When This Skill Activates

This skill auto-activates when you're working with:
- TLS, SSL, mTLS
- Certificates and PKI
- Encryption and decryption
- Hashing and signing
- Key management
- HTTPS configuration
- Certificate authorities
- Cryptographic algorithms
- Security best practices

## Available Skills

### Quick Reference

The Cryptography category contains 7 skills:

1. **pki-fundamentals** - PKI, certificate authorities, X.509, trust chains
2. **tls-configuration** - TLS 1.2/1.3 setup, cipher suites, server config
3. **ssl-legacy** - SSL 2.0/3.0, TLS 1.0/1.1, deprecation, migration
4. **sni-routing** - Server Name Indication, multi-domain TLS hosting
5. **certificate-management** - Certificate lifecycle, Let's Encrypt, automation
6. **cryptography-basics** - Symmetric/asymmetric encryption, hashing, signing
7. **crypto-best-practices** - Security patterns, common mistakes, anti-patterns

### Load Full Category Details

For complete descriptions and workflows:

Read ../cryptography/INDEX.md


This loads the full Cryptography category index with:
- Detailed skill descriptions
- Usage triggers for each skill
- Common workflow combinations
- Cross-references to related skills

### Load Specific Skills

Load individual skills as needed:

Read ../cryptography/pki-fundamentals.md
Read ../cryptography/tls-configuration.md
Read ../cryptography/certificate-management.md
Read ../cryptography/cryptography-basics.md


## Common Workflows

### Setting Up HTTPS
# PKI basics → TLS config → Certificate management
Read ../cryptography/pki-fundamentals.md
Read ../cryptography/tls-configuration.md
Read ../cryptography/certificate-management.md


### Understanding Encryption
# Basics → Best practices → Specific implementation
Read ../cryptography/cryptography-basics.md
Read ../cryptography/crypto-best-practices.md
Read ../cryptography/tls-configuration.md


### Certificate Troubleshooting
# PKI → Certificate management → Debugging
Read ../cryptography/pki-fundamentals.md
Read ../cryptography/certificate-management.md



### Legacy Migration
# Understand legacy → Modern TLS → Migration
Read ../cryptography/ssl-legacy.md
```
END THIRD-PARTY FILE 37ab12cf72c39b68

The third-party file has ended. Everything between the 37ab12cf72c39b68 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2590 of 3287 bytes. © rand · MIT · https://github.com/rand/cc-polymath/tree/HEAD/skills/discover-cryptography/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
