Best for
- Use when the user says "deploy this", "ship this demo", "give me a public link", "share this externally", or "deploy to AWS".
kirodotdev/KiroCrew/src/kiro_crew/deploy/skills/artifact-deploy/SKILL.md
One-click deploy a user's pre-built app/artifact into their OWN AWS account and get a global public HTTPS link (Vercel-like), with a default TTL and promote-to-persistent. Use when the user says "deploy this", "ship this demo", "give me a public link", "share this externally", or "deploy to AWS".
Decision brief
Shipped by the Artifact Deploy app (apps/builtins/deployweb/). Installing the app activates this skill -- that's how the fullstack deploy capability is distributed. The app page (sidebar - Artifact Deploy) owns AWS profile setup, verification, and the fleet/cost view; this skill…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/kirodotdev/KiroCrew --skill "src/kiro_crew/deploy/skills/artifact-deploy"Inspect the Agent Skill "artifact-deploy" from https://github.com/kirodotdev/KiroCrew/blob/5bcf51037a10a420d51a290b505245a3e6f0b1ee/src/kiro_crew/deploy/skills/artifact-deploy/SKILL.md at commit 5bcf51037a10a420d51a290b505245a3e6f0b1ee. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
First honor Invocation (above): summoned mid-session → run the steps below inside a spawnrun subagent; launched in a fresh Deploy-button session → run them inline.
The Artifact Deploy app owns the AWS configuration as a multi-profile registry at /.kiro/crew/deploy/profiles.json ({"profiles": [{"name", "region", ...}], "default": ""}). Resolve the deploy profile in this order, before asking the user anything:
An app-style artifact (kind="webapp") is generated first, as the primary object: every generated app is saved as an artifact up front (initially not deployed). Deploy is an optional downstream action on that existing artifact, offered two ways — a skill (in-conversation) and a D…
One shared base stack per account (kirocrew-deploy-base): a private S3
Every deploy runs in its own isolated, agent-debuggable context — deploys are long (CloudFront cold-create), fail in ways that need iterative fixing (IAM, boto3 Decimal, framework quirks), and are context-heavy. There are two entry points; the isolation source differs:
Permission review
The documentation asks the agent to run terminal commands or scripts.
run in their terminal, then verify withEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 89/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 1,286 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Shipped by the Artifact Deploy app (
apps/builtins/deploy_web/). Installing the app activates this skill -- that's how the fullstack deploy capability is distributed. The app page (sidebar -> Artifact Deploy) owns AWS profile setup, verification, and the fleet/cost view; this skill is the deploy action.
The Artifact Deploy app owns the AWS configuration as a multi-profile
registry at ~/.kiro/crew/deploy/profiles.json
({"profiles": [{"name", "region", ...}], "default": "<name>"}). Resolve the
deploy profile in this order, before asking the user anything:
Use the AWS profile "<name>".), use that entry's
name/region from the registry. If the name is not in the registry, stop
and send the user to the app page to register it -- never deploy with an
unregistered profile name.default.profiles.json doesn't exist, read the old
~/.kiro/crew/deploy/config.json (legacy: ~/.kiro/crew/apps/deploy-web/data/config.json) ({"profile", "region"}).After a successful deploy, back-fill webapp_metadata.deploy_target.profile
with the profile NAME actually used, so the fleet table and the artifact's
control card show which identity owns the deployment.
This replaces the old "pick the AWS profile" step: profiles are managed once in
the app, then every deploy (static publish or fullstack webapp) reuses them.
Optionally confirm reachability via the app's verify endpoint
(POST /api/deploy/verify with {"profile": "<name>"} -- an STS
read, no credential access).
Deploy a pre-built static site (and later, an app with a backend) into the user's own AWS account, served globally over HTTPS via CloudFront.
An app-style artifact (kind="webapp") is generated first, as the primary
object: every generated app is saved as an artifact up front (initially not
deployed). Deploy is an optional downstream action on that existing
artifact, offered two ways — a skill (in-conversation) and a Deploy
button on the artifact card. This skill is that deploy action; it does NOT
create the artifact. Deploying fills in the artifact's webapp_metadata
(deploy target, architecture, cost, TTL, teardown) and flips the card from its
not-deployed state (Deploy button) to the deployed control card.
Producer — register at generation time. When you generate a deployable app,
create the artifact immediately (before any deploy) via
artifact_save(name, content=<one-line human summary>, kind="webapp", webapp_metadata=…).
For a not-yet-deployed app: fill architecture (intended tiers) + cost
(projected from the model), set lifecycle.status="draft", and leave
deploy_target.public_url empty — the card then shows the Deploy button.
Filling cost.estimates is REQUIRED (empty estimates render a blank cost area
on the card; artifact_save warns when you skip it). For the unit prices, GET
/api/deploy/pricing?profile=<name> on the gateway — it returns live AWS
Pricing API rates for the profile's region (source: "live") or the fallback
table when the API is unreachable; multiply into per-bucket what-if totals
(e.g. 1,000 / 100,000 / 1,000,000 views). (The
MCP artifact_save tool accepts kind="webapp" + webapp_metadata.) Deploy — via this
skill or the card's Deploy button — fills in the rest.
kirocrew-deploy-base): a private S3
bucket + a global CloudFront distribution. Created once (~5-15 min for the
first CloudFront propagation — this is the only slow step, ever)./<slug>/ prefix + a CloudFront
invalidation → seconds. No per-deploy stack, no per-deploy cold-create.Every deploy runs in its own isolated, agent-debuggable context — deploys are
long (CloudFront cold-create), fail in ways that need iterative fixing (IAM,
boto3 Decimal, framework quirks), and are context-heavy. There are two entry
points; the isolation source differs:
spawn_run
subagent — the subagent is the isolation boundary, so the long/noisy deploy
and its debugging don't pollute or blow the current session's context.Rule of thumb: one isolated context per deploy — a fresh session (button) OR a subagent (in-conversation). Never run a deploy inline in a busy existing session.
The button is a launcher, not an executor: it does not run the deploy itself (a button can't debug a failed CloudFormation/IAM step) — it summons a skill-loaded session where the agent can. That is why deploy is a skill, not a button-triggered script.
The deploy scripts consume ONE fixed layout. The skill's real job is to get the user's app into this shape (see Adapter playbook), then ship it:
<app>/public/ static SPA — index.html at root → S3 + CloudFront
<app>/api/ an HTTP backend → API Gateway → Lambda at /<slug>/api/*
(index.py handler, OR any HTTP server wrapped in a Lambda shim —
see playbook; pick language via --runtime)
state DynamoDB single table (--table), read via os.environ["TABLE_NAME"]
Static-only apps need just public/. No auth in MVP (content is public).
A user's app almost never arrives in the contract shape. Conform it — but prefer wrapping the app's existing HTTP server in a Lambda adapter over hand-rewriting its routes (hand-rewriting is usually a language port + a data-model rewrite = fragile). Wrapping keeps the user's code and adds a thin shim:
--runtime python*.--runtime nodejs*.public/.deploy-backend.sh --runtime already supports the app's
own language.This broadens "our format" from one Python handler to static assets + any HTTP server + DynamoDB, so the adapter mostly places dirs + adds a shim, not rewrites business logic.
--table, TABLE_NAME).bash.
Windows is not supported; use WSL (Windows Subsystem for Linux) to run the
KiroCrew gateway if your host OS is Windows. The backend returns HTTP 400
with a clear message on unsupported platforms.~/.kiro/crew/deploy/profiles.json, verified via the app page).
Prefer a least-privilege deploy profile, not admin (see Security).public/ (+
optional api/); they don't build or adapt for you, so the agent produces
that layout first. Static apps need an index.html at the static root.These are run from this skill's directory by human operators in a terminal,
not by agents. Agents deploy via the POST /api/deploy/deploy API (see Agent
workflow above). All accept --profile and --region (default us-west-2).
scripts/deploy.sh <app_dir> [--slug NAME] [--ttl HOURS] [--profile P] [--region R]scripts/deploy-app.sh <app_dir> --slug NAME [--table] [--wait] [--profile P] [--region R]scripts/deploy-backend.sh <handler_dir> --slug NAME [--table] [--wait] [--profile P] [--region R]scripts/install-reaper.sh [--rate 'rate(1 hour)'] [--profile P] [--region R]scripts/teardown.sh <slug> [--profile P] [--region R]scripts/list.sh, scripts/cost.sh [slug], scripts/persist.sh <slug>, scripts/detach_backend.py --slug NAMECopy templates/handler-example.py as your app's api/index.py starting point.
Behind an API Gateway HTTP API (payload v2):
/api/: event["rawPath"].split("/api/",1)[1].isBase64Encoded — API Gateway base64-encodes the
request body when Content-Type isn't a known text type (or is absent, e.g.
curl -d without -H application/json). Calling json.loads(event["body"])
directly will 500 for those callers. base64.b64decode first when
event.get("isBase64Encoded"). (Browsers sending application/json are
unaffected — a browser-only test won't catch this.){"statusCode", "headers", "body": json.dumps(...)}.os.environ["TABLE_NAME"] (deploy with --table).First honor Invocation (above): summoned mid-session → run the steps below
inside a spawn_run subagent; launched in a fresh Deploy-button session → run
them inline.
When the user asks to deploy / ship / share a demo: 0. Conform the app to the contract (Adapter playbook) — greenfield: generate in-contract; brownfield: wrap the existing server in a Lambda shim. Fail loud on Tier-3 apps rather than shipping something broken.
Confirm the resulting app dir has public/ (an index.html at its static
root) and, if there's a backend, api/.
Resolve the AWS profile from the app registry (see "AWS config" above): user-picked > registry default > legacy config; if unconfigured, send the user to the Artifact Deploy page for the one-time setup. Then confirm which account (verify endpoint returns the account id) -- this provisions REAL resources that cost money. Never guess a prod account; if unsure, ask.
Scan the app for internal tokens first (see Security) — this content is going to the public internet.
Deploy via the audited API (PRIMARY path — all agent deploys MUST use this):
POST /api/deploy/deploy
Body: { "site_id": "<slug>", "artifact_slug": "<slug>" }
For static apps: use artifact_slug — the artifact's rendered HTML is
staged and deployed.
For fullstack apps (with a public/ + api/ layout): use local_dir
pointing at the conformed app's public/ directory:
POST /api/deploy/deploy
Body: { "site_id": "<slug>", "local_dir": "/path/to/app/public" }
This deploys the static frontend. The backend Lambda (api/) must be
attached separately by the operator in their terminal via
scripts/deploy-backend.sh — the agent cannot execute this (it requires
IAM write, CloudFormation stack creation, and interactive debugging). Tell
the user: "Your static site is live. To attach the backend API, run:
deploy-backend.sh <app_dir> --slug <slug> --profile <profile>"
This is a two-call confirm flow:
confirm): returns { "requires_confirm": true, ... } with
a preview (size, scan status).{ "blocked": true, "reason": "scan", "findings": "...", "count": N }. Show findings to the user. To override:
second call with "override_scan": true."confirm": true): executes the deploy and returns
{ "url": "https://...", ... }.The API path provides: schema validation, fail-closed scan gate, confirm gate,
SEL audit trail, and _deny_restricted session guard. Do NOT bypass it by
calling deploy scripts directly.
Return the https://<dist>.cloudfront.net/<slug>/ link + the TTL.
Important ordering: after the deploy succeeds, immediately back-fill
the artifact's webapp_metadata (public_url, lifecycle.status,
deploy_target) before performing endpoint verification (HTTP GET on the
deployed URL). The endpoint check can timeout (~30s+) or be killed by a
session budget wall — if the metadata write happens after it, a timeout
leaves the artifact in a stale "draft" state even though the deploy
succeeded. Metadata first, verify second.
Offer tear down / promote-to-persistent.
deploy_artifact tool (preview-only in MCP-tool-capable sessions)Agents with MCP tool access use the deploy_artifact tool to get a deploy
preview (cost, scan results, size). The tool is preview-only — it never
confirms or executes the deploy. Human confirmation happens exclusively in the
dashboard UI (Artifact Deploy page), where the user clicks the confirm button.
This design prevents an LLM caller from self-confirming a public deployment.
Parameters:
site_id (required): deploy slot nameartifact_slug: slug of a webapp artifact to deploy (renders HTML)local_dir: validated path to a static directory (fullstack public/ root)profile: AWS profile override (default: registry default)ttl_hours: hours until auto-cleanup (default: 72)Exactly one of artifact_slug or local_dir is required. The tool returns
a preview summary; to execute the deploy, the user must confirm via the
Artifact Deploy page in the dashboard.
The following scripts are for human operators running in a terminal — they are the underlying implementation that the API wraps. Agents do NOT call these directly (the API route enforces audit + scan + session guards that scripts cannot).
scripts/teardown.sh <slug> — destructive; agent-blocked by designscripts/install-reaper.sh — one-time account setup; operator-onlyscripts/deploy.sh / scripts/deploy-app.sh / scripts/deploy-backend.sh —
the raw deploy scripts; operators may use for debugging or manual deploysscripts/list.sh / scripts/cost.sh / scripts/persist.sh /
scripts/detach_backend.py — lifecycle management utilitiesaws configure --profile X / ada profile add ...) for the USER to
run in their terminal, then verify with
aws sts get-caller-identity --profile X (a read). After a successful deploy,
fill webapp_metadata.deploy_target.profile with the profile NAME (display
only — never a credential value).frame-ancestors 'self' +
loopback so the dashboard can live-preview the site) and enforces
TLS 1.2+ via redirect-to-https./<slug>/api/* (app-apigw.yaml + deploy-backend.sh). Live-validated:
/<slug>/ and /<slug>/api/ both 200 on one public link.
Chosen over a raw Lambda Function URL because some managed corporate accounts run
automated guardrails that auto-mitigate world-accessible Lambda Function URLs
(Principal:*). API Gateway keeps the Lambda non-world-accessible (scoped
apigateway.amazonaws.com invoke) so no auto-mitigation fires. app-lambda.yaml
(Function URL + CloudFront OAC) is kept as the lighter variant for unrestricted
accounts.list.sh / persist.sh / detach_backend.py, plus the
in-account scheduled reaper (install-reaper.sh → EventBridge-timed Lambda;
templates/reaper.yaml + scripts/reaper_lambda/) that deletes expired
non-persistent deploys (S3 prefix + CloudFront behavior + backend stack) via a
role scoped to kirocrew-deploy-app-*. Runs in-account with no local creds —
the reliable mechanism. Local reaper.sh is a dev-only fallback.cost.sh live usage estimate (per-slug S3 exact + shared
CloudFront account-wide; honest "estimate not bill" labeling).webapp_metadata (target/cost/TTL/teardown) and flips the card
from a not-deployed state (Deploy button) to the deployed control card.
Build: the Deploy button on the card (launches a skill-loaded session — see
Invocation) + fold the deploy engine into a core AwsDeployProvider (the
PublishProvider pattern). Card FE needs a not-deployed state + Deploy button.Alternatives
mission69b/t2000
Publishing, upgrading, and deploying Sui Move packages. Use this skill when the user needs to publish a package, upgrade a published package, deploy to multiple networks, serialize transactions for multisig signing, run a local Sui network (localnet), prepare for Mainnet launch, monitor production deployments, or debug dry run failures. Also use when the user asks about sui client publish, sui client upgrade, UpgradeCap, upgrade policies, Published.toml, --serialize-output, localnet, mainnet lau
teng-lin/notebooklm-py
Complete API for Google NotebookLM - full programmatic access including features not in the web UI. Create notebooks, add sources, generate all artifact types, download in multiple formats. Activates on explicit /notebooklm or intent like "create a podcast about X"
TencentCloudBase/CloudBase-AI-Toolkit
Build production-ready AI agent backends using the CloudBase Agent Python SDK — create agents with LangGraph/CrewAI/LlamaIndex, serve them via FastAPI with AG-UI protocol streaming + OpenAI-compatible endpoints, add tools (bash, filesystem, MCP, code execution), memory (in-memory, TDAI, MySQL, MongoDB), observability (OpenTelemetry/Langfuse), and middleware (auth, logging). Use this skill when the user wants to create an AI agent server, build a chatbot backend, set up human-in-the-loop workflow
ok-helloworld/vibe-pentest
Race condition and TOCTOU testing for web apps. Use when testing one-time operations, concurrent HTTP abuse, rate-limit bypass, Turbo Intruder gates, HTTP/2 single-packet attacks, and CWE-362-style synchronization gaps.