mirror of
https://github.com/NomaDamas/k-skill.git
synced 2026-06-24 02:04:11 +00:00
Agent environments (OpenClaw, Claude Code, Codex) assume users delegate credentials to the agent. sops+age added setup friction without real security benefit since the agent decrypts on every call anyway. New model: skills declare required env var names; how they are supplied is up to the agent (own vault, shell env, or ~/.config/k-skill/secrets.env as the default fallback with 0600 permissions). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
346 B
Bash
Executable file
15 lines
346 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
SECRETS_FILE="${KSKILL_SECRETS_FILE:-$HOME/.config/k-skill/secrets.env}"
|
|
|
|
if [[ -f "$SECRETS_FILE" ]]; then
|
|
set -a
|
|
# shellcheck disable=SC1090
|
|
source "$SECRETS_FILE"
|
|
set +a
|
|
fi
|
|
|
|
cd "$ROOT_DIR"
|
|
exec node packages/k-skill-proxy/src/server.js
|