decrypt-secrets
Skill2 starsChanged 9 months agoApache-2.0View on GitHub
Decrypt MCP tokens for remote sessions
- Reads credentials
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When the task doesn't match this skill's scope -- check related skills
- Distinctive: line 13
When a more specialized skill exists for the specific task
- Distinctive: line 18
When you see "Encrypted secrets found but not decrypted" in session startup
- Distinctive: line 19
When MCP servers fail due to missing authentication
- Distinctive: line 29
Run the decryption script and enter your passphrase:
- Distinctive: line 39
If you haven't encrypted your secrets yet:
- Very specific: line 41
Add your tokens to .env.local:
- Very specific: line 55
Commit .env.local.encrypted to your repo
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Decrypt Secrets
Decrypt your encrypted MCP tokens at the start of a remote session.
When NOT to Use
- When the task doesn't match this skill's scope -- check related skills
- When a more specialized skill exists for the specific task
When to Use
- At the start of a remote/web session when MCP servers need tokens
- When you see "Encrypted secrets found but not decrypted" in session startup
- When MCP servers fail due to missing authentication
How It Works
- Your tokens are stored encrypted in
.env.local.encrypted(safe to commit) - Running this decrypts them to
.env.local(gitignored) - MCP servers then use the tokens automatically
Instructions
Run the decryption script and enter your passphrase:
node scripts/secrets/decrypt-secrets.jsYou'll be prompted for the passphrase you set when encrypting.
First-Time Setup
If you haven't encrypted your secrets yet:
Add your tokens to
.env.local:GITHUB_TOKEN=ghp_your_token SONAR_TOKEN=sqp_your_token CONTEXT7_API_KEY=your_keyEncrypt them:
node scripts/secrets/encrypt-secrets.js- Commit
.env.local.encryptedto your repo - In future sessions, just run the decrypt script
Security Notes
.env.localis gitignored - your actual tokens are never committed.env.local.encrypteduses AES-256-GCM encryption- Choose a strong passphrase (8+ characters)
- Your passphrase is never stored anywhere
Version History
| Version | Date | Description |
| 1.0 | 2026-02-25 | Initial implementation |
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- find-skillsSkill
- add-debtSkill
- alertsSkill
- analyzeSkill
- artifacts-builderSkill
- audit-agent-qualitySkill
- audit-aggregatorSkill
- audit-ai-optimizationSkill
- audit-codeSkill
- audit-comprehensiveSkill
- audit-documentationSkill
- audit-engineering-productivitySkill
- audit-enhancementsSkill
- audit-healthSkill
- audit-performanceSkill
- audit-processSkill
- audit-refactoringSkill
- audit-securitySkill
- brainstormSkill
- checkpointSkill
- code-reviewerSkill
- comprehensive-ecosystem-auditSkill
- content-research-writerSkill
- convergence-loopSkill
- create-auditSkill
- data-effectiveness-auditSkill
- debt-runnerSkill
- deep-planSkill
- deep-researchSkill
- developer-growth-analysisSkill
- doc-ecosystem-auditSkill
- doc-optimizerSkill
- docs-maintainSkill
- document-analysisSkill
- ecosystem-healthSkill
- Excel AnalysisSkill
- find-skillsSkill
- frontend-designSkill
- gh-fix-ciSkill
- github-healthSkill
- health-ecosystem-auditSkill
- hook-ecosystem-auditSkill
- market-research-reportsSkill
- mcp-builderSkill
- media-analysisSkill
- multi-ai-auditSkill
- pre-commit-fixerSkill
- pr-ecosystem-auditSkill
- pr-retroSkill
- pr-reviewSkill
- quick-fixSkill
- recallSkill
- repo-analysisSkill
- repo-synthesisSkill
- script-ecosystem-auditSkill
- session-beginSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

