comeonoliver/skillshub/cohere-security-basics
Claude Code and agent skill by comeonoliver/skillshub
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Apply Cohere security best practices for API key management and access control. Use when securing API keys, implementing key rotation, or auditing Cohere security configuration. Trigger with phrases like "cohere security", "cohere secrets", "secure cohere", "cohere API key security", "cohere key rotation".
Install
npx vskill@latest install comeonoliver/skillshub/cohere-security-basicsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as comeonoliver/skillshub/cohere-security-basics.
Cohere Security Basics
Overview
Security best practices for Cohere API keys, request validation, and data protection. Cohere uses bearer token auth with trial and production key tiers.
Prerequisites
- Cohere account at dashboard.cohere.com
- Understanding of environment variables
- Secret management solution for production
Instructions
Step 1: API Key Management
Key types:
- Trial keys — free, rate-limited, for development only
- Production keys — metered billing, for live applications
Step 2: Runtime Validation
Step 3: Key Rotation Procedure
Step 4: Request Data Protection
Step 5: Logging Safety
Step 6: Safety Modes
Cohere's Chat API supports safety modes that control content filtering:
Security Checklist
- [ ]
CO_API_KEYstored in environment variables, never in code - [ ]
.envfiles listed in.gitignore - [ ] Separate keys for development and production
- [ ] Key rotation scheduled (quarterly recommended)
- [ ] PII scrubbed from inputs sent to Cohere
- [ ] API keys excluded from all log output
- [ ] Production key has billing alerts configured
- [ ] Git pre-commit hook scans for leaked keys
Git Pre-Commit Hook
Error Handling
| Security Issue | Detection | Mitigation | ||
|---|---|---|---|---|
| Key in git history | `git log -p \ | grep CO_API_KEY` | Rotate key immediately | |
| Key in logs | Log audit | Add log scrubbing | ||
| Key in error report | Error handler review | Sanitize error payloads | ||
| Excessive token spend | Billing dashboard | Set budget alerts |
Resources
Next Steps
For production deployment, see cohere-prod-checklist.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/jeremylongshore/claude-code-plugins-plus-skills/cohere-security-basics/SKILL.md
Popularity
- 7-day trend score
- 5
Refreshed 17 Nov 2026, 10 days ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/comeonoliver/skillshub/cohere-security-basics)