From 2afd4cf0af990a7486cd5b0a172424a71075b2f9 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:22:44 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 15 +++++ README.md | 3 + commands/manage-ssl.md | 8 +++ plugin.lock.json | 61 +++++++++++++++++++ skills/ssl-certificate-manager/SKILL.md | 56 +++++++++++++++++ .../ssl-certificate-manager/assets/README.md | 6 ++ .../references/README.md | 7 +++ .../ssl-certificate-manager/scripts/README.md | 7 +++ 8 files changed, 163 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/manage-ssl.md create mode 100644 plugin.lock.json create mode 100644 skills/ssl-certificate-manager/SKILL.md create mode 100644 skills/ssl-certificate-manager/assets/README.md create mode 100644 skills/ssl-certificate-manager/references/README.md create mode 100644 skills/ssl-certificate-manager/scripts/README.md diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..0356bdb --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,15 @@ +{ + "name": "ssl-certificate-manager", + "description": "Manage and monitor SSL/TLS certificates", + "version": "1.0.0", + "author": { + "name": "Jeremy Longshore", + "email": "[email protected]" + }, + "skills": [ + "./skills" + ], + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..d9ac4f8 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ssl-certificate-manager + +Manage and monitor SSL/TLS certificates diff --git a/commands/manage-ssl.md b/commands/manage-ssl.md new file mode 100644 index 0000000..205880e --- /dev/null +++ b/commands/manage-ssl.md @@ -0,0 +1,8 @@ +--- +description: DESCRIPTION_PLACEHOLDER +shortcut: SHORTCUT_PLACEHOLDER +--- + +# TITLE_PLACEHOLDER + +CONTENT_PLACEHOLDER diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..20c208a --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,61 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/security/ssl-certificate-manager", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "f97c863e6668a91eba7ed986320f2570b5464eb8", + "treeHash": "4a06f26f7af11f16e74ffdb0046ca52e77aa962db3841242de66cd690f3077da", + "generatedAt": "2025-11-28T10:18:47.324563Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "ssl-certificate-manager", + "description": "Manage and monitor SSL/TLS certificates", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "0834a69d4dbb9aeb2cb335f0c26bd8f78af25e7d5804b9d01a3b2d421269a1b9" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "cbc1194d319289e90fcaa6c2ead1a298f82fa0c4224e7d8f980b6a5a916fc317" + }, + { + "path": "commands/manage-ssl.md", + "sha256": "26981dafecd0bda9d89082c091325c9fdc3ac197318243e952dde0b1a38f4088" + }, + { + "path": "skills/ssl-certificate-manager/SKILL.md", + "sha256": "ee8000fcccac04485f62df8c50be6317325ff766af25f46d1d8bf8522e5febb4" + }, + { + "path": "skills/ssl-certificate-manager/references/README.md", + "sha256": "2dee178f4e06daa6431b42560c9a11b3d9b7c8228a0abddcc6664bc9824e8883" + }, + { + "path": "skills/ssl-certificate-manager/scripts/README.md", + "sha256": "25fb3446e092cc726244f33011fcf1d47340bf1927300e10dc7fff14d66b70e4" + }, + { + "path": "skills/ssl-certificate-manager/assets/README.md", + "sha256": "e5ece6f59a9d9520da791f6d0c82979b08494dee2ecb510c79e274a02b7cc3d9" + } + ], + "dirSha256": "4a06f26f7af11f16e74ffdb0046ca52e77aa962db3841242de66cd690f3077da" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file diff --git a/skills/ssl-certificate-manager/SKILL.md b/skills/ssl-certificate-manager/SKILL.md new file mode 100644 index 0000000..76ce2cd --- /dev/null +++ b/skills/ssl-certificate-manager/SKILL.md @@ -0,0 +1,56 @@ +--- +name: managing-ssltls-certificates +description: | + This skill enables Claude to manage and monitor SSL/TLS certificates using the ssl-certificate-manager plugin. It is activated when the user requests actions related to SSL certificates, such as checking certificate expiry, renewing certificates, or listing installed certificates. Use this skill when the user mentions "SSL certificate", "TLS certificate", "certificate expiry", "renew certificate", or similar phrases related to SSL/TLS certificate management. The plugin can list, check, and renew certificates, providing vital information for maintaining secure connections. +allowed-tools: Read, Bash, Grep, Glob +version: 1.0.0 +--- + +## Overview + +This skill empowers Claude to seamlessly interact with the ssl-certificate-manager plugin, facilitating efficient management and monitoring of SSL/TLS certificates. It allows for quick checks of certificate expiry dates, automated renewal processes, and comprehensive listings of installed certificates. + +## How It Works + +1. **Identify Intent**: Claude analyzes the user's request for keywords related to SSL/TLS certificate management. +2. **Plugin Activation**: The ssl-certificate-manager plugin is automatically activated. +3. **Command Execution**: Based on the user's request, Claude executes the appropriate command within the plugin (e.g., checking expiry, renewing certificate, listing certificates). +4. **Result Presentation**: Claude presents the results of the command execution to the user in a clear and concise format. + +## When to Use This Skill + +This skill activates when you need to: +- Check the expiry date of an SSL/TLS certificate. +- Renew an SSL/TLS certificate. +- List all installed SSL/TLS certificates. +- Investigate SSL/TLS certificate issues. + +## Examples + +### Example 1: Checking Certificate Expiry + +User request: "Check the expiry date of my SSL certificate for example.com" + +The skill will: +1. Activate the ssl-certificate-manager plugin. +2. Execute the command to check the expiry date for the specified domain. +3. Display the expiry date to the user. + +### Example 2: Renewing a Certificate + +User request: "Renew my SSL certificate for api.example.org" + +The skill will: +1. Activate the ssl-certificate-manager plugin. +2. Execute the command to renew the SSL certificate for the specified domain. +3. Confirm the renewal process to the user. + +## Best Practices + +- **Specificity**: Provide the full domain name when requesting certificate checks or renewals. +- **Context**: If encountering errors, provide the full error message to Claude for better troubleshooting. +- **Verification**: After renewal, always verify the new certificate is correctly installed and functioning. + +## Integration + +This skill can be used in conjunction with other security-related plugins to provide a comprehensive security overview. For example, it can be integrated with vulnerability scanning tools to identify potential weaknesses related to outdated or misconfigured certificates. \ No newline at end of file diff --git a/skills/ssl-certificate-manager/assets/README.md b/skills/ssl-certificate-manager/assets/README.md new file mode 100644 index 0000000..0df438a --- /dev/null +++ b/skills/ssl-certificate-manager/assets/README.md @@ -0,0 +1,6 @@ +# Assets + +Bundled resources for ssl-certificate-manager skill + +- [ ] certificate_expiry_template.txt - Template for generating email notifications about expiring SSL certificates. +- [ ] example_openssl_config.txt - Example OpenSSL configuration file for generating certificate signing requests (CSRs). diff --git a/skills/ssl-certificate-manager/references/README.md b/skills/ssl-certificate-manager/references/README.md new file mode 100644 index 0000000..cc86472 --- /dev/null +++ b/skills/ssl-certificate-manager/references/README.md @@ -0,0 +1,7 @@ +# References + +Bundled resources for ssl-certificate-manager skill + +- [ ] openssl_commands.md - Documentation of common OpenSSL commands for managing SSL certificates. +- [ ] letsencrypt_guide.md - Guide on using Let's Encrypt for obtaining and renewing SSL certificates. +- [ ] certificate_troubleshooting.md - Troubleshooting guide for common SSL certificate issues (e.g., chain errors, hostname mismatch). diff --git a/skills/ssl-certificate-manager/scripts/README.md b/skills/ssl-certificate-manager/scripts/README.md new file mode 100644 index 0000000..74868af --- /dev/null +++ b/skills/ssl-certificate-manager/scripts/README.md @@ -0,0 +1,7 @@ +# Scripts + +Bundled resources for ssl-certificate-manager skill + +- [ ] check_cert_expiry.sh - Script to check the expiry date of an SSL certificate and return the number of days remaining. +- [ ] renew_cert.sh - Script to automate the renewal process of an SSL certificate using Let's Encrypt or other ACME providers. +- [ ] list_certs.sh - Script to list all installed SSL certificates on the server and their details (e.g., domain, expiry date, issuer).