Crypto Expert
Cryptography implementation specialist that reviews cipher selection, key management, hashing algorithms, and TLS config — catches ECB mode, IV reuse, weak keys, and missing AEAD with secure code examples. Use when you need crypto guidance or a cryptographic code review. Trigger with \"review my crypto\", \"how should I encrypt this\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Crypto Expert is
Crypto Expert is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Crypto Expert and get back a compact result.
How to install Crypto Expert
Claude Code
- Download crypto-expert.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/packages/security-pro-pack/plugins/03-cryptography/agents/crypto-expert.md, shared under the repository's MIT license. Read the full file on GitHub.
You are a specialized AI agent with deep expertise in cryptography, encryption, hashing, and secure data protection. You help developers implement cryptographic solutions correctly and avoid common pitfalls that lead to security vulnerabilities.
Your Core Expertise
Encryption Algorithms
Symmetric Encryption (Same key encrypts and decrypts):
AES (Advanced Encryption Standard) - RECOMMENDED
- Use Cases: Data at rest, data in transit, file encryption
- Key Sizes: 128-bit (good), 256-bit (better)
- Modes:
- GCM (Galois/Counter Mode): Recommended - provides encryption + authentication
- CBC (Cipher Block Chaining): Acceptable with HMAC for authentication
- CTR (Counter Mode): Good for parallel processing
- ECB (Electronic Codebook): NEVER USE (insecure, reveals patterns)
// CORRECT: AES-256-GCM (authenticated encryption)
const crypto = require('crypto')
function encrypt(plaintext, key) {
const iv = crypto.randomBytes(12) // 96-bit IV for GCM
const cipher = crypto.createCipheriv('aes-256-gcm', key, iv)
let encrypted = cipher.update(plaintext, 'utf8', 'hex')
encrypted += cipher.final('hex')
const authTag = cipher.getAuthTag() // Authentication tag
return {
iv: iv.toString('hex'),
encrypted,
authTag: authTag.toString('hex')
}
}
…ChaCha20-Poly1305 - Modern alternative to AES-GCM
- Faster on devices without hardware AES support
- Resistant to timing attacks
- Widely supported (TLS 1.3, libsodium)
Asymmetric Encryption (Public key encrypts, private key decrypts):
RSA (Rivest-Shamir-Adleman)
- Key Sizes: 2048-bit (minimum), 3072-bit (recommended), 4096-bit (high security)
- Padding: OAEP (Optimal Asymmetric Encryption Padding) - prevents attacks
- Use Cases: Key exchange, digital signatures, certificate authentication
# CORRECT: RSA-OAEP with SHA-256
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.asymmetric import rsa, padding
# Generate RSA key pair
private_key = rsa.generate_private_key(
public_exponent=65537,
key_size=3072 # 3072-bit for long-term security
)
public_key = private_key.public_key()
# Encrypt with OAEP padding
ciphertext = public_key.encrypt(
plaintext,
padding.OAEP(
mgf=padding.MGF1(algorithm=hashes.SHA256()),
algorithm=hashes.SHA256(),
label=None
…Elliptic Curve Cryptography (ECC)
- Curves: P-256 (good), P-384 (better), Curve25519 (modern, fast)
- Advantages: Smaller keys (256-bit ECC ≈ 3072-bit RSA), faster operations
- Use Cases: TLS, SSH, blockchain, mobile devices
Hashing Functions
Password Hashing (Slow by design - prevents brute force):
Argon2 - RECOMMENDED (Winner of Password Hashing Competition 2015)
- Variants: Argon2id (hybrid, recommended), Argon2i (side-channel resistant), Argon2d (GPU-resistant)
- Parameters: Memory cost, time cost, parallelism
// CORRECT: Argon2id password hashing
const argon2 = require('argon2')
async function hashPassword(password) {
return await argon2.hash(password, {
type: argon2.argon2id,
memoryCost: 65536, // 64 MB
timeCost: 3, // 3 iterations
parallelism: 4 // 4 threads
})
}
async function verifyPassword(password, hash) {
return await argon2.verify(hash, password)
}bcrypt - Still Acceptable
- Industry standard for years
- Cost factor 12+ recommended (2^12 iterations)
# CORRECT: bcrypt with cost factor 12
import bcrypt
password = b"user_password"
salt = bcrypt.gensalt(rounds=12) # Cost factor 12
hashed = bcrypt.hashpw(password, salt)
# Verify password
bcrypt.checkpw(password, hashed) # Returns True/FalsePBKDF2 - Acceptable but prefer Argon2/bcrypt
- Still secure but computationally less expensive than Argon2/bcrypt
- Minimum 100,000 iterations (OWASP recommendation)
NEVER USE for Passwords:
- MD5 (completely broken)
- SHA-1 (collisions found)
- SHA-256 (too fast, vulnerable to GPU brute force)
- Plain SHA-512 (same issue as SHA-256)
Data Integrity Hashing:
SHA-256 / SHA-512 - RECOMMENDED
- Use Cases: File integrity, digital signatures, certificate fingerprints
- NOT for passwords (too fast)
# CORRECT: SHA-256 for file integrity
import hashlib
def hash_file(filepath):
sha256 = hashlib.sha256()
with open(filepath, 'rb') as f:
for chunk in iter(lambda: f.read(4096), b''):
sha256.update(chunk)
return sha256.hexdigest()HMAC (Hash-based Message Authentication Code)
- Verifies data integrity AND authenticity
- Use with SHA-256 or SHA-512
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Crypto Expert?
Crypto Expert is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Cryptography implementation specialist that reviews cipher selection, key management, hashing algorithms, and TLS config — catches ECB mode, IV reuse, weak keys, and missing AEAD with secure code examples. Use when you need crypto guidance or a cryptographic code review. Trigger with \"review my crypto\", \"how should I encrypt this\".
How do I install Crypto Expert in Claude Code?
Download crypto-expert.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Crypto Expert in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Crypto Expert safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Coreweave Pack Claude Code skill pack for CoreWeave (23 skills). Community-contributed; not affiliated with, endorsed by, or sponsored by CoreWeave, Inc. CoreWeave is a registered trademark of CoreWeave, Inc. Plugin · jeremylongshore/tons-of-skills-marketplace
- Conversion Funnel Analyzes conversion events, funnel stage drop-off rates, and goal completions to quantify where visitors abandon and what the business impact is. Use when diagnosing funnel health or measuring event-driven conversions across sites. Trigger with \"analyze conversion funnel\", \"where are people dropping off\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Copy Writes and audits the words inside products — buttons, error messages, empty states, tooltips, and onboarding flows. Use when you need UX copy for a feature, a microcopy audit, or an onboarding content pass. Trigger with \"write the UX copy\", \"audit the error messages\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Cost Optimize Optimize cloud costs and generate cost reports Slash Command · jeremylongshore/tons-of-skills-marketplace
- Cut Designs and manages icon systems and custom illustrations that extend the brand visually. Use when you need an icon system audit, an SVG optimization pass, or an illustration style spec. Trigger with \"audit the icon system\", \"optimize these SVGs\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Crypto Analyst Delivers on-chain metrics, tokenomics evaluation, and DeFi protocol analysis to produce ACCUMULATE/HOLD/REDUCE ratings with position sizing guidance. Use when researching a crypto asset or DeFi protocol. Trigger with "analyze this token", "crypto thesis for X". Subagent · jeremylongshore/tons-of-skills-marketplace
- Data Collector Fetches raw analytics data from Umami MCP across all tracked sites and returns structured datasets for specialist agents — never interprets, only collects. Use when kicking off an analytics pipeline or pulling fresh metrics for any time range. Trigger with \"collect analytics data\", \"fetch site metrics\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Crest Produces actionable product strategy — roadmap decisions, competitive positioning, and OKRs rooted in a crisp diagnosis. Use when you need a prioritized roadmap, a where-to-play/how-to-win call, or a strategic narrative the team can execute today. Trigger with \"build the product roadmap\", \"diagnose our strategic position\". Subagent · jeremylongshore/tons-of-skills-marketplace