Security and trust

Info:

Stream Agent Skills are markdown instructions: installing them executes nothing. One skill, stream-feeds-migration, ships a small Python script (standard library only, read-only against your app) that your agent runs only when you ask for a Feeds migration mapping. Network operations happen at four points: installing the getstream CLI (by you, or by the router once you say yes), on-demand skill fetches the router runs (silent for most packs; the Flutter pack asks first), the installs a build performs (scaffolding, and the verification tooling below), and the calls the CLI makes to your Stream app.

Everything across the lifecycle that can reach the network, and when:

flowchart TD
    I["Install CLI: curl -fsSL https://getstream.io/cli.sh | bash"] --> INIT["getstream init<br/>auth · pick app · offers skills"]
    INIT -->|writes skill files| OK["Installing executes nothing"]
    OK --> A["Router needs a pack it doesn't have"]
    OK --> B["A task changes your Stream app"]
    A -->|"getstream skills <name>"| FETCH["Fetch skill markdown<br/>most packs silent · Flutter asks"]
    B -->|"asks, then getstream api"| FE["App settings and configuration"]

    style I fill:#e1f3ff
    style INIT fill:#e1f3ff
    style OK fill:#e1ffe4
    style FETCH fill:#fff3e1
    style FE fill:#fff3e1

The getstream CLI

You can install the getstream CLI yourself (see Install for the command). If it's missing when a task needs it, or Stream Agents work needs the beta build, the router asks before it runs the install script from getstream.io; say no and install it yourself. getstream init and getstream login open a browser for you to sign in. Everything the CLI does after that runs on your machine, under your account.

Tip:

The CLI covers the same operations as the Stream Dashboard, from the terminal, so the agent reaches for it rather than an MCP server or ad-hoc API calls.

Install time (skills)

The skills land via getstream init / getstream skills in the project's skills directory. With Node.js installed, the CLI runs npx skills add, which fetches the skills package from npm and copies the skills into the project; without it, they're downloaded into a shared cache at ~/.stream/skills and linked. Nothing in the skills runs at install time. The pack is instruction and data files with one executable exception you can audit in a minute: stream-feeds-migration ships scripts/fetch_sample.py, a standard-library-only Python script that reads a sample of your Feeds v2 data (two read-only endpoints, credentials from environment variables) and writes one local JSON file. It runs only when you ask that skill for a migration mapping, never at install time.

On-demand skill fetches

The router installs a pack the first time a task needs one that isn't present, using getstream skills <name>. The web pack (stream-react), the platform packs for Swift, Android, React Native, Unreal and Unity, and the Feeds migration pack install silently, without a prompt; the Flutter pack asks for one confirmation first. Each fetch pulls the skill files from GetStream/agent-skills.

Build-time tooling

Building and verifying an app installs things the way any development session does. Scaffolding runs npx / npm. When a web build needs to verify a design visually and no browser tooling is present, the pack can install Playwright (published by Microsoft) into a project-local directory, with its ~120 MB Chromium build in the user's shared Playwright cache. The React Native pack's verification flow uses developer tools you'd expect for that platform (CocoaPods and the iOS simulator) and can offer brew install watchman. Each pack announces its plan up front and treats your request to build as consent; none of this runs at skill-install time.

Changes to your Stream app

Reading your app's data is read-only and needs no confirmation. Before an operation that creates, changes or deletes something in your Stream app, such as app settings, channel types, feed groups, moderation policies or getstream agents init, the skill says what it will run and waits for your yes. It checks which app the working directory is bound to with getstream status first.

Frontend skills

No skill installs third-party frontend skills. /stream-react uses vercel-react-best-practices and vercel-composition-patterns from vercel-labs/agent-skills only if they're already present in the session.

Credentials

Info:

Credentials are owned by the getstream CLI. It writes your API key (and, for server targets, your secret) into the project's env file, and they never enter the agent's prompt context.

getstream init stores the project credentials it manages in the project's .stream/ directory and adds .stream/ to the repo's .gitignore automatically, so they are never committed.

The rules every skill follows forbid reading, logging, or echoing secrets on any code path: the skills never cat or grep a .env, and the server secret never reaches the client bundle.