with one click
view-secret
Decrypt and view the contents of an .age secret file
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Decrypt and view the contents of an .age secret file
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Add an AeroSpace window rule to assign an app/window to a workspace (macOS only)
Create or update secrets using Infisical (preferred) or legacy agenix files
Re-encrypt all secrets after modifying .age files or changing host keys
Deploy NixOS/Darwin configuration to local or remote host using justfile commands
Analyze project from URL/path and auto-detect build system to create Nix package
Add a new project to ruinage with DNS, Caddy, Gatus, and deployment
| name | view-secret |
| description | Decrypt and view the contents of an .age secret file |
| compatibility | Requires agenix, agenix-helper |
| metadata | {"author":"ruinous.ai","version":"1.1","domain":"secrets"} |
| parameters | {"secret_path":{"type":"string","description":"Path to the .age secret file to view","required":true,"placeholder":"hosts/pilaster/files/docker/env/myapp.env.age"}} |
Decrypt and view the contents of an encrypted .age secret file.
If secret_path is missing from $ARGUMENTS, use mcp_question to gather it:
mcp_question({
questions: [
{
question: "Which secret file do you want to view?",
header: "Secret Path",
options: [
{ label: "Docker env file", description: "hosts/<host>/files/docker/env/<service>.env.age" },
{ label: "Caddyfile", description: "hosts/<host>/files/caddy/Caddyfile.age" },
{ label: "Cloudflared config", description: "hosts/<host>/files/cloudflared/*.age" },
{ label: "Enter custom path...", description: "Specify a custom path" }
]
}
]
})
Expected $ARGUMENTS format: <secret_path>
hosts/pilaster/files/docker/env/n8n.env.age# Unlock agenix before viewing secrets
just unlock
View a single secret:
just peek <path>.age
View all secrets for a host:
for f in hosts/<hostname>/files/**/*.age; do
echo "=== $f ==="
just peek "$f"
echo
done
Export to temporary file for editing:
just peek <path>.age > /tmp/secret.txt
# Unlock first
just unlock
# View a Docker environment file
just peek hosts/pilaster/files/docker/env/n8n.env.age
# View a Caddyfile
just peek hosts/monolith/files/caddy/Caddyfile.age
| Type | Path |
|---|---|
| Docker env | hosts/<host>/files/docker/env/*.env.age |
| Caddyfile | hosts/<host>/files/caddy/Caddyfile.age |
| Cloudflared | hosts/<host>/files/cloudflared/*.age |
/tmp/agenix-helper lock when finished with secrets work