Agent skill

Marina Applet

by marin-community in marin-community/marin

Build, validate, publish, update, inspect, query, roll back, or archive a dynamic Marina applet.

Apache-2.0Auto-check passedBackend & APIs

Install Marina Applet

skills CLI
$ npx skills add marin-community/marin --skill marina-applet -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install marin-community/marin marina-applet --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/marin-community/marin.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/marina-applet .claude/skills/marina-applet && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
marina-applet
GitHub stars
3.9k
Token cost
~2.3k tokens
SKILL.md length
1,093 words
Files
2
Skills in repo
41
Repo updated
First seen
Licence
Apache-2.0

At a glance

Build, validate, publish, update, inspect, query, roll back, or archive a dynamic Marina applet.

  • Artifact+-style web apps that should run behind Marina authentication
  • SKILL.md covers Choose the applet shape, Build and validate, Use applet data and Publish and operate
  • Calls uv and npm; reaches marina.oa.dev
  • Carry small bundled assets

What it does

Marina Applet is an agent skill from marin-community/marin. Build, validate, publish, update, inspect, query, roll back, or archive a dynamic Marina applet. Use for Artifact+-style web apps that should run behind Marina authentication, carry small bundled assets or data, use an applet-owned Postgres schema, or add a trusted Python ASGI backend without a Marina image deployment.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Backend & APIs. It works with PostgreSQL, Python, npm and Vite. The repository describes itself as: Open-source framework for the research and development of foundation models. The licence is Apache-2.0.

When your agent uses it

  • Artifact+-style web apps that should run behind Marina authentication
  • Carry small bundled assets
  • Use an applet-owned Postgres schema
  • Add a trusted Python ASGI backend without a Marina image deployment

Example prompts

  • “/marina-applet”

Requirements

  • Python 3
  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit 2ea1c1d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • marina.oa.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Marina Applet loads about 2.3k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 1,093 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from marin-community/marin at commit 2ea1c1d, republished under its Apache-2.0 licence (© marin-community). 1,093 words, ~2,289 tokens.

Download SKILL.mdSave it as .claude/skills/marina-applet/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
marina-applet
description
Build, validate, publish, update, inspect, query, roll back, or archive a dynamic Marina applet. Use for Artifact+-style web apps that should run behind Marina authentication, carry small bundled assets or data, use an applet-owned Postgres schema, or add a trusted Python ASGI backend without a Marina image deployment.

Work with Marina applets

Read the Publishing an applet section of infra/marina/README.md before changing an applet or publishing one. Use infra/marina/examples/problem-set-applet/ as the minimal working package and backend reference. Treat those files and marina --help as authoritative when this skill disagrees with the checkout.

Choose the applet shape

Ensure the built package contains:

text
my-applet/
  applet.toml
  dist/index.html

Add browser assets below dist/. Use only relative asset, API, and query URLs so both /a/<uuid>/ and /a/<uuid>/v/<revision>/ work.

The source directory may omit dist/index.html only when applet.toml has a build_command that creates it before packaging.

Use plain HTML and JavaScript for a small single-view applet. Use Vue with Vite when the applet needs multiple views, reusable components, or substantial client state. For Vue applets:

  • Set Vite's base to "./" so built asset URLs remain relative.
  • Use createWebHashHistory() when the app has client-side routes. This avoids hard-coding an applet UUID or revision into the router base.
  • Use relative backend calls such as fetch("api/results") and fetch("query", ...); do not start applet-owned URLs with /.
  • Bundle dependencies into dist/. Marina's content security policy does not allow scripts loaded from a third-party CDN.

Keep the source index.html, package.json, the Vite configuration, and src/ beside applet.toml. They are local build inputs and are not uploaded. A typical manifest uses build_command = "npm ci && npm run build". Marina runs that command before every publish by default. Use --no-build only when the existing dist/ has already been built and validated.

Use the applet's implicit Postgres schema for mutable or queryable data. Do not create or attach a separate database. Load simple scalar tables with the CLI, or add server/ when the applet needs parameterized business logic, custom responses, or server-side integration.

An optional backend has this shape:

text
my-applet/
  server/__init__.py
  server/app.py

Declare it in applet.toml:

toml
title = "Problem sets"
description = "Browse generated math problem sets."
python_entrypoint = "server.app:create_api"

Export create_api(services) -> ASGIApp. Use services.engine() for an engine configured with the applet role and schema. Optionally export migrate(connection) -> None; it runs inside the publish transaction before the new revision becomes current. Keep schema changes compatible with retained revisions.

Use get_verified_identity() from rigging.server_auth when a backend needs the authenticated caller. Import only packages already declared in infra/marina/pyproject.toml. Shared Marin helpers must come from installed packages under lib/*; do not import checked-in apps under infra/marina/apps.

Treat Python applets as trusted plugins. They run inside Marina with its filesystem, network, credentials, and process identity. Do not publish code from an untrusted source or depend on lifespan events, background workers, or local filesystem persistence.

Build and validate

Inspect existing Marina and repository helpers before introducing a framework or dependency. Build frontend output locally; Marina does not install applet dependencies. marina publish runs a declared build_command before packaging by default, and the command may create dist/index.html. Pass --no-build to reuse an existing validated dist/.

Validate the package and import a declared backend from the current Marina environment without changing server state:

bash
uv run marina validate my-applet

The report names its completed checks and omissions. It does not execute the backend factory, run its migration, connect to Postgres, or start a browser. Use package-only validation when only the upload archive matters:

bash
uv run marina publish my-applet --dry-run

Dry-run reports backend imports as unchecked. Both commands reject executable inline scripts under Marina's script-src 'self' policy. Load JavaScript from relative packaged files.

Respect the current package limits: 25 MiB total, 8 MiB per file, and 2,000 regular files. Keep large data out of the package until Marina gains an object store path.

Run the complete local stack with:

bash
uv run marina publish my-applet --local

This starts disposable Postgres in Docker, installs Marina's privileged applet provisioning, migrates the registry, starts Marina on a free loopback port, publishes the applet with its migration, and prints its immutable revision URL. It requires a running Docker daemon, binds only to loopback, and does not enable IAP authentication. It stays in the foreground. After validation, send Ctrl-C and verify that both Marina and the container stop. If uv cannot write its cache in a restricted checkout, use the current checkout's .venv/bin/marina executable instead of installing or synchronizing dependencies.

To preserve the disposable Postgres stack across edits, leave the first publish --local --json process running. From a second terminal, publish the edit with this command, using each returned revision as the next base version:

bash
uv run marina publish my-applet --url <printed-origin> \
  --update <printed-id> --base-version <current-version>

Open the printed immutable revision URL. Exercise the frontend, every backend route, caller identity when used, and at least one schema read/write path. For Marina code changes, run the focused tests and then:

bash
cd infra/marina && uv run pytest
Show full SKILL.md (383 more words)Show less

Use applet data

The applet role owns applet_<uuid-without-hyphens> and inherits read access to checked-in and other applet schemas. It can write only its own schema. Prefer the CLI for small datasets:

bash
uv run marina applets table load <uuid> observations rows.parquet --replace
uv run marina applets sql <uuid> 'SELECT * FROM observations'

Table loading accepts JSON arrays, JSONL, CSV, and Parquet with scalar columns. Browser code may post one SQLAlchemy text statement to relative URL query. Query results are limited in Postgres to 10,000 rows and 5 MiB with a 10-second timeout. Transaction and role-control commands, data-modifying WITH, and mutation statements with RETURNING are rejected.

Prefer a Python backend over browser-submitted SQL when inputs need validation, authorization, stable response types, or multiple database operations.

Publish and operate

Treat a request to build or update a Marina applet as authorization to publish it and perform the server writes needed for the requested behavior, including schema migrations and requested data loading. Validate the package, then publish without asking for separate confirmation. Honor requests for local-only work, drafts, or review before publishing. Rollback, archive, and unrelated data mutations still need authorization within the user's request. The default target is https://marina.oa.dev, and the CLI uses cached iris login credentials or ambient Google credentials through IAP.

First publish:

bash
uv run marina publish my-applet --json

Record the returned UUID, revision, and immutable revision URL. A successful publish runs its migration and atomically selects the new revision as current. Fetch the stable current URL with:

bash
uv run marina applets versions <uuid> --json

Update the same applet with optimistic concurrency:

bash
uv run marina publish my-applet --update <uuid> --base-version <current>

Applets are private by default. Use --mode public on a publish or update when the frontend and its GET backend routes may be disclosed without authentication. An update without --mode preserves the current mode. Change only the mode with marina applets mode <uuid> public|private.

Public mode is limited to GET and HEAD requests, but Marina cannot prove that a GET backend is side-effect-free. Use it only for trusted applet code and data that may be disclosed to the unrestricted internet. Do not use public mode for untrusted publishers, sensitive data, SQL query access, or mutation routes.

Inspect before mutating lifecycle state:

bash
uv run marina applets list
uv run marina applets versions <uuid>

Roll back only to a retained revision:

bash
uv run marina applets rollback <uuid> <revision>

Archive an applet with:

bash
uv run marina applets archive <uuid>

Archival hides the applet but preserves its schema and retained revisions. Marina retains the current revision plus four other recent revisions.

Report the applet UUID, stable URL, immutable revision URL, validation or test results, and any trusted-code or schema-compatibility caveat that affects use.

© marin-community, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/marina-applet of marin-community/marin.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 2ea1c1d

Compare with similar skills

Marina Applet next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Marina Applet compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Marina Applet this skillmarin-community/marin3.9k—~2.3kAutomated safety check: PassApache-2.0
Term CLIEliasOenal/term-cli104—~3.3kAutomated safety check: PassBSD-3-Clause-Clear
Flowfile Build and Environment SetupEdwardvaneechoud/Flowfile389—~7.3kAutomated safety check: NotesMIT
Dockeravibebuilder/claude-prime120—~1kAutomated safety check: NotesMIT
Stack Previewvicoa-ai/vicoa508—~1.8kAutomated safety check: NotesAGPL-3.0
Silk Profilerbaserow/baserow6.1k—~2.9kAutomated safety check: PassCustom licence

Similar skills

  • Term CLI

    EliasOenal/term-cli

    Controls interactive terminal sessions for running long-lived processes, servers, REPLs, debuggers, and TUI programs without blocking.

    104 GitHub stars~3.3k tokensUpdated 2 mo ago
    DatabasesAuto-check passed
  • Flowfile Build and Environment Setup

    Edwardvaneechoud/Flowfile

    Recreates every Flowfile development and build environment from scratch, with exact version pins and an explanation of what each Makefile target really does.

    389 GitHub stars~7.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Docker

    avibebuilder/claude-prime

    ALWAYS activate when the user's query involves Docker in any way — even if it also matches other skills.

    120 GitHub stars~1k tokensUpdated 4 mo ago
    DevOps & CloudAuto-check: notes
  • Stack Preview

    vicoa-ai/vicoa

    Run the whole Vicoa stack (Postgres, backend, realtime server, web dashboard) from the current checkout and publish it at one public tunnel URL, so a branch can be reviewed from another machine or…

    508 GitHub stars~1.8k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Silk Profiler

    baserow/baserow

    Investigate backend performance using Django Silk profiling data.

    6.1k GitHub stars~2.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Media over QUIC

    moq-dev/moq

    Build live video, audio, and real-time data apps with Media over QUIC (MoQ). Use when adding live streaming, conferencing, voice AI, or real-time pub/sub to…

    1.6k GitHub stars~460 tokensUpdated today
    Backend & APIsAuto-check passed

More from marin-community/marin

All 41 skills in this repo
  • Noslop

    marin-community/marin

    Deslop, simplify, or review low-value tests and prose only when explicitly requested for a branch or diff.

    3.9k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Use Iris

    marin-community/marin

    Use Iris to submit, inspect, debug, monitor, or recover jobs and tasks; diagnose scheduling and federation; deploy controllers; or reserve dev GPUs and TPUs.

    3.9k GitHub stars~745 tokensUpdated today
    Auto-check passed
  • Launch Rl

    marin-community/marin

    Define, validate, submit, or restart a Marin SkyRL experiment through its artifact main.

    3.9k GitHub stars~894 tokensUpdated today
    Auto-check passed
  • Query Finelog

    marin-community/marin

    Query Finelog logs and telemetry for Iris tasks, workers, profiles, training, vLLM, and cross-cluster forwarding.

    3.9k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Trace Pulumi Diff

    marin-community/marin

    Run a read-only preview for a specified Marin infra/pulumi stack and trace each pending resource change to merged pull requests since its latest successful update when that update records a clean…

    3.9k GitHub stars~663 tokensUpdated today
    Auto-check passed
  • Deploy Hero Change

    marin-community/marin

    Deploy a significant code change (backend, kernel, optimizer, data path) to the live hero run: relaunch it under a new run id from a permanent checkpoint, compare against the old run over a trial…

    3.9k GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Categories

Questions about Marina Applet

What does Marina Applet do?

Build, validate, publish, update, inspect, query, roll back, or archive a dynamic Marina applet. Marina Applet is an agent skill from marin-community/marin. Build, validate, publish, update, inspect, query, roll back, or archive a dynamic Marina applet.

When should I use Marina Applet?

Marina Applet fits situations like: artifact+-style web apps that should run behind Marina authentication; carry small bundled assets; use an applet-owned Postgres schema; add a trusted Python ASGI backend without a Marina image deployment.

How do I install Marina Applet in Claude Code?

Run `npx skills add marin-community/marin --skill marina-applet -a claude-code`. Or copy the skill folder (.agents/skills/marina-applet in marin-community/marin) into .claude/skills/marina-applet in your project. Claude Code loads it when a task matches its description.

How do I install Marina Applet in Codex?

Run `npx skills add marin-community/marin --skill marina-applet -a codex`. Or copy the skill folder (.agents/skills/marina-applet in marin-community/marin) into .agents/skills/marina-applet in your project. Codex loads it when a task matches its description.

Can I use Marina Applet in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add marin-community/marin --skill marina-applet -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/marina-applet, .gemini/skills/marina-applet, .github/skills/marina-applet and .opencode/skills/marina-applet in your project.

What does Marina Applet need to run?

Going by SKILL.md and its folder, Marina Applet needs the command-line tools its instructions call (uv and npm). Our summary lists: Python 3; Docker.

Does Marina Applet access the network?

SKILL.md names 1 domain. In commands or code: marina.oa.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Marina Applet safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Marina Applet use?

Marina Applet is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Marina Applet use?

About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Marina Applet?

Skills that share tags, products or a category with Marina Applet: Term CLI (EliasOenal/term-cli, 104 stars), Flowfile Build and Environment Setup (Edwardvaneechoud/Flowfile, 389 stars), Docker (avibebuilder/claude-prime, 120 stars) and Stack Preview (vicoa-ai/vicoa, 508 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Marina Applet?

marin-community (a GitHub organization) maintains it in marin-community/marin, which has 3,925 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 11, 2026.

Source: marin-community/marin on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.