store-file
Persist files through the storage abstraction rather than writing to arbitrary paths.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Persist files through the storage abstraction rather than writing to arbitrary paths.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a new sub-agent — no Terraform, no Docker by default. Starts as a systemd service, patched into the bridge immediately so @agent works right away.
Commit and push repo changes to GitHub using the standard Iris workflow.
Search the web using Perplexity AI API. Returns sourced, up-to-date information.
Send an email via Resend API from ${IRIS_EMAIL_FROM:-iris@example.com}. Use when human escalation is needed or to deliver results outside Slack/Telegram.
Transcribe an audio file (m4a, mp3, wav, ogg, webm) to text using OpenAI Whisper API. Use when a user shares a voice note or audio attachment.
Add, remove, and test MCP (Model Context Protocol) servers by editing meta/mcp.json. Tools from connected servers appear automatically as mcp__<server>__<tool>.
| name | store-file |
| description | Persist files through the storage abstraction rather than writing to arbitrary paths. |
Store a file durably. Always use this skill instead of writing to arbitrary paths.
Today it writes to the local VM filesystem under /iris/data/.
Future: swap to Azure Blob Storage, S3, or GCS without changing any other skill.
store-file <relative-path> <content>
Or pipe content:
echo "content" | store-file <relative-path>
#!/usr/bin/env bash
# store-file — cloud-portable file storage
set -euo pipefail
STORAGE_ROOT="${IRIS_STORAGE_ROOT:-/iris/data}"
REL_PATH="${1:?Usage: store-file <relative-path> [content]}"
FULL_PATH="${STORAGE_ROOT}/${REL_PATH}"
mkdir -p "$(dirname "$FULL_PATH")"
if [[ -n "${2:-}" ]]; then
echo "$2" > "$FULL_PATH"
else
cat > "$FULL_PATH"
fi
echo "stored: $FULL_PATH"
IRIS_STORAGE_ROOT env var controls where files go (set by container env)store-file "sends/log.jsonl" '{"ts":"2026-04-11","to":"list","status":"ok"}'
store-file "drafts/april-update.md" "$(cat draft.md)"