Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/encrypting-and-decrypting-data

@820dfc8
Run it yourself

Validate encryption implementations and cryptographic practices. Use when reviewing data security measures. Trigger with 'check encryption', 'validate crypto', or 'review security keys'.

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/encrypting-and-decrypting-data

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈55 tokens for metadata: the name and description. ≈983 when used: this file. ≈175 more on demand in 3 files.

Description uses 2.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈219 characters, or 2.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Encryption Tool

Validate encryption implementations, audit cryptographic algorithm choices, and verify key management practices across codebases and configuration files.

Overview

This skill empowers Claude to handle data encryption and decryption tasks seamlessly. It leverages the encryption-tool plugin to provide a secure way to protect sensitive information, ensuring confidentiality and integrity.

How It Works

  1. Identify Encryption/Decryption Request: Claude analyzes the user's request to determine whether encryption or decryption is required.
  2. Select Encryption Method: Claude prompts the user to specify the desired encryption algorithm (e.g., AES, RSA). If not specified, a default secure method is chosen.
  3. Execute Encryption/Decryption: Claude utilizes the encryption-tool plugin to perform the encryption or decryption operation on the provided data or file.
  4. Return Encrypted/Decrypted Data: Claude presents the encrypted or decrypted data to the user, or saves the result to a file as requested.

When to Use This Skill

This skill activates when you need to:

  • Encrypt sensitive data before storage or transmission.
  • Decrypt previously encrypted data for access or processing.
  • Generate encrypted files for secure archiving.

Examples

Example 1: Encrypting a Text File

User request: "Encrypt the file 'sensitive_data.txt' using AES."

The skill will:

  1. Activate the encryption-tool plugin.
  2. Encrypt the contents of 'sensitive_data.txt' using AES encryption.
  3. Save the encrypted data to a new file (e.g., 'sensitive_data.txt.enc').

Example 2: Decrypting an Encrypted File

User request: "Decrypt the file 'confidential.txt.enc'."

The skill will:

  1. Activate the encryption-tool plugin.
  2. Decrypt the contents of 'confidential.txt.enc' using the appropriate decryption key (assumed to be available or prompted for).
  3. Save the decrypted data to a new file (e.g., 'confidential.txt').

Best Practices

  • Key Management: Always store encryption keys securely and avoid hardcoding them in scripts.
  • Algorithm Selection: Choose encryption algorithms based on the sensitivity of the data and the required security level. Consider industry best practices and compliance requirements.
  • Data Integrity: Implement mechanisms to verify the integrity of encrypted data to detect tampering or corruption.

Integration

This skill can be integrated with other Claude Code plugins, such as file management tools, to automate the encryption and decryption of files during data processing workflows. It can also be combined with security auditing tools to ensure compliance with security policies.

Prerequisites

  • Access to codebase and configuration files in ${CLAUDE_SKILL_DIR}/
  • Security scanning tools installed as needed
  • Understanding of security standards and best practices
  • Permissions for security analysis operations

Instructions

  1. Identify security scan scope and targets
  2. Configure scanning parameters and thresholds
  3. Execute security analysis systematically
  4. Analyze findings for vulnerabilities and compliance gaps
  5. Prioritize issues by severity and impact
  6. Generate detailed security report with remediation steps

Output

  • Security scan results with vulnerability details
  • Compliance status reports by standard
  • Prioritized list of security issues by severity
  • Remediation recommendations with code examples
  • Executive summary for stakeholders

Error Handling

If security scanning fails:

  • Verify tool installation and configuration
  • Check file and directory permissions
  • Validate scan target paths
  • Review tool-specific error messages
  • Ensure network access for dependency checks

Resources

  • Security standard documentation (OWASP, CWE, CVE)
  • Compliance framework guidelines (GDPR, HIPAA, PCI-DSS)
  • Security scanning tool documentation
  • Vulnerability remediation best practices

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings2mo3 checks · Risk MEDIUM
  • Gen Agent Trust Hub2mo

    The skill contains a utility script that can generate executable Bash files from arbitrary input and grant them execution permissions, creating a risk of dynamic code execution. Additionally, the script's actual functionality as a generic file generator does not match its stated purpose of generating encryption keys.

  • Socket2mo

    1 alert: gptAnomaly

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.24.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "security",
  "encrypting-decrypting"
]
All 8 allowed tools
ReadWriteEditGrepGlobBash(security:*)Bash(scan:*)Bash(audit:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/encrypting-and-decrypting-data