communication-1-secure-token-storage
Sub-skill of communication: 1. Secure Token Storage (+4).
Best use case
communication-1-secure-token-storage is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of communication: 1. Secure Token Storage (+4).
Teams using communication-1-secure-token-storage should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/1-secure-token-storage/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How communication-1-secure-token-storage Compares
| Feature / Agent | communication-1-secure-token-storage | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of communication: 1. Secure Token Storage (+4).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 1. Secure Token Storage (+4)
## 1. Secure Token Storage
```bash
# Use environment variables or secret managers
export SLACK_BOT_TOKEN=$(vault kv get -field=token secret/slack)
# Rotate tokens regularly
rotate_token() {
local new_token=$(generate_new_token)
vault kv put secret/slack token="$new_token"
}
```
## 2. Message Formatting
```bash
# Escape special characters for Slack
escape_slack() {
local text="$1"
text="${text//&/&}"
text="${text//</<}"
text="${text//>/>}"
echo "$text"
}
# Format mentions
format_mention() {
local user_id="$1"
echo "<@$user_id>"
}
# Format channel link
format_channel() {
local channel_id="$1"
echo "<#$channel_id>"
}
```
## 3. Idempotent Operations
```bash
# Prevent duplicate messages
SENT_MESSAGES_FILE="/tmp/sent_messages.txt"
send_once() {
local message_hash=$(echo "$1" | md5sum | cut -d' ' -f1)
if grep -q "$message_hash" "$SENT_MESSAGES_FILE" 2>/dev/null; then
echo "Message already sent" >&2
return 0
fi
if send_message "$1"; then
echo "$message_hash" >> "$SENT_MESSAGES_FILE"
fi
}
```
## 4. Webhook Verification
```bash
# Verify Slack signature
verify_slack_signature() {
local timestamp="$1"
local body="$2"
local signature="$3"
local base="v0:$timestamp:$body"
local computed=$(echo -n "$base" | openssl dgst -sha256 -hmac "$SLACK_SIGNING_SECRET" | sed 's/.*= //')
[ "v0=$computed" = "$signature" ]
}
```
## 5. Graceful Degradation
```bash
# Fallback when primary channel fails
notify() {
local message="$1"
if ! send_slack_message "$message"; then
echo "Slack failed, trying Teams..." >&2
if ! send_teams_message "$message"; then
echo "Teams failed, sending email..." >&2
send_email "$message"
fi
fi
}
```Related Skills
elite-frontend-ux-2-design-token-system
Sub-skill of elite-frontend-ux: 2. Design Token System.
memory-management-communication
Sub-skill of memory-management: Communication.
internal-comms-tone-by-communication-type
Sub-skill of internal-comms: Tone by Communication Type (+2).
communication-webhook-setup
Sub-skill of communication: Webhook Setup (+3).
communication-testing-communication-skills
Sub-skill of communication: Testing Communication Skills.
communication-slack-message-posting
Sub-skill of communication: Slack Message Posting (+3).
communication-skill-selection-guide
Sub-skill of communication: Skill Selection Guide.
communication-messaging-platforms
Sub-skill of communication: Messaging Platforms (+2).
communication-contributing
Sub-skill of communication: Contributing.
prompt-engineering-communication-style
Sub-skill of prompt-engineering: Communication Style.
prompt-engineering-communication-adaptation
Sub-skill of prompt-engineering: Communication Adaptation.
test-oversized-skill
A test fixture skill that exceeds 200 lines with multiple H2/H3 sections for split testing.