Skip to content
Back to skills

App Deployment

ASecurity

"Generate, inspect, serve locally, and publish Mercury prediction

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopspythonapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill app-deployment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of App Deployment?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for App Deployment
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-app-deployment-9049d875/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-app-deployment-9049d875)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: app-deployment
description: "Generate, inspect, serve locally, and publish Mercury prediction
  apps from trained MLJAR AutoML models."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# App Deployment

Use this sub-skill when a task involves turning an already fitted `supervised.AutoML` model into a Mercury prediction app, inspecting the generated app workspace, previewing it locally, or preparing a guarded publish flow.

## Route here for

- Generating app files with `automl.app(path=..., overwrite=..., title=...)`.
- Inspecting generated files such as `mljar_app.json`, notebooks, `automl.zip`, `config.toml`, `requirements.txt`, and `runtime.txt`.
- Starting a local Mercury preview with `automl.local_app()` when Mercury is installed and the user accepts a foreground server process.
- Publishing with `automl.publish_app(...)` only after the user explicitly authorizes browser, network, and platform-auth actions.
- Diagnosing app workspace, Mercury startup, and publish failures.

## Route elsewhere

- To `../training-core/` when the user still needs to train, configure, evaluate, or retrain an `AutoML` model.
- To `../artifacts-reports/` for interpreting saved model folders, leaderboards, structured reports, explainability outputs, or `results_path` artifacts outside the generated app workspace.
- To `../fairness-workflows/` for fairness metrics, sensitive features, and fairness dashboard/report interpretation.
- Exclude maintainer-only CI docs deployment, package release, and platform credential administration tasks.

## Operating checklist

1. Confirm `supervised` imports and the model was fitted. App generation needs a valid `results_path` containing fitted AutoML artifacts.
2. Choose the deployment action:
   - `app()` for file generation only.
   - `local_app()` for a local Mercury server and browser preview.
   - `publish_app()` for the hosted platform workflow; require explicit authorization.
3. Decide output location and overwrite policy before writing app files. `overwrite=True` deletes an existing app workspace.
4. Inspect the generated `mljar_app.json` manifest before serving or publishing, especially `supports.single_sample`, feature count, and selected notebooks.
5. For local serving, install the generated app dependencies in a Python 3.10+ environment and ensure the `mercury` executable is on `PATH`.
6. For publishing, avoid embedding credentials in code. Use `open_browser=False` in non-interactive sessions and have the user open the printed login URL manually.

## Read next

- [App workflows](references/app-workflows.md) for generation, local preview, manual hosting, and publish recipes.
- [API reference](references/api-reference.md) for method signatures, return values, generated files, and state behavior.
- [Troubleshooting](references/troubleshooting.md) for overwrite, unfitted model, Mercury, server logs, publish/auth/network, URL reuse, and wide dataset issues.
- `scripts/generate_app_workspace_smoke.py` for a safe synthetic helper that trains a tiny model and generates app files without starting Mercury or publishing.
- Root package assumptions: `../../references/package-overview.md`; cross-cutting install/import issues: `../../references/troubleshooting.md`.

Files in this skill

  • SKILL.md3.2 KB
  • references/api-reference.md8.7 KB
  • references/app-workflows.md7.6 KB
  • references/troubleshooting.md8.4 KB
  • scripts/generate_app_workspace_smoke.py8.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.