Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-app

БесплатноБез исполняемых скриптовНе проверен

Build and deploy an Atris app from a natural language description. Use when users ask to create Atris apps, workflows, or chat apps with setup automation.

atrislabsот atrislabs★ 71 звезда на GitHub

Об этом скилле

Create App

Build and deploy an Atris app from a natural language description.

When to Use

User says something like:

  • "I want daily analytics from my Mixpanel"
  • "Make me a chat app for job screening"
  • "Set up a workflow that monitors my app reviews"
  • "Build an app that qualifies leads from a CSV"

What an App Is

An app is a container: data in, agent processes, data out. Three independent parts:

  • App = the box (storage, API, schedule, auth)
  • Skill = the brain (what to do with the data)
  • Member = the operator (the agent that runs it)

Not every app needs all three. A chat widget just needs config. An autonomous workflow needs all three.

Bootstrap

Get the user's Atris API token:

TOKEN=$(node -e "console.log(require('$HOME/.atris/credentials.json').token)" 2>/dev/null)
if [ -z "$TOKEN" ]; then
  TOKEN=$(python3 -c "import json,os; print(json.load(open(os.path.expanduser('~/.atris/credentials.json')))['token'])" 2>/dev/null)
fi
if [ -z "$TOKEN" ]; then
  echo "Not logged in. Run: atris login"
  exit 1
fi
echo "Ready."

Base URL: https://api.atris.ai Auth header: Authorization: Bearer $TOKEN

Flow

Adapt the flow based on what the user described. Skip steps that don't apply.

Step 1: Create the App

Ask the user for a name. Generate a slug (lowercase, hyphens, no spaces).

curl -s -X POST "https://api.atris.ai/api/apps" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "APP_NAME",
    "description": "DESCRIPTION",
    "instructions": "SYSTEM_PROMPT",
    "share_token": "SLUG",
    "app_type": "external",
    "access_mode": "private",
    "ui_template": "chat",
    "config": {}
  }'

Save the returned id as APP_ID and share_token as SLUG.

Decisions:

  • access_mode: "private" for personal workflows, "public" for shared apps
  • ui_template: "chat" for conversational, omit for headless workflows
  • instructions: the system prompt if it's a chat app, or a description of purpose for workflows

Step 2: Store API Keys (if needed)

Only if the workflow needs external API access (Mixpanel, GitHub, Stripe, etc).

Ask the user for each key. Default to local storage (keys stay on their machine).

Option A: Local storage (default, recommended)

Keys are saved to ~/.atris/secrets/{SLUG}/ on the user's machine. They never leave the machine when using the CLI agent. If using the AI Computer, they're transmitted over TLS but never persisted on Atris infrastructure.

mkdir -p ~/.atris/secrets/SLUG

For each key:

read -s -p "Enter KEY_NAME: " secret_val
printf '%s' "$secret_val" > ~/.atris/secrets/SLUG/KEY_NAME
chmod 600 ~/.atris/secrets/SLUG/KEY_NAME
unset secret_val
echo "Saved locally."

Register the key in the web UI (manifest only, no value sent):

curl -s -X POST "https://api.atris.ai/api/apps/SLUG/secrets/KEY_NAME/register-local" \
  -H "Authorization: Bearer $TOKEN"

Verify (key names only, never values):

ls ~/.atris/secrets/SLUG/

Option B: Cloud storage (cross-device access)

If the user needs secrets accessible from any device or the web UI, store in the encrypted cloud vault:

curl -s -X PUT "https://api.atris.ai/api/apps/SLUG/secrets/KEY_NAME" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"value": "THE_SECRET_VALUE"}'

Never log or display the secret value after storing it.

Always ask the user which storage tier they prefer before storing keys. Explain: "Local means keys stay on your machine. Cloud means they're encrypted and available from any device."

Skip this step if the app doesn't need external API keys (chat apps, simple forms).

Step 3: Create the Agent + Skill (if needed)

For autonomous workflows, the app needs an agent with a skill that knows what to do.

3a. Create or pick an agent:

If the user already has an agent, use it. Otherwise create one:

curl -s -X POST "https://api.atris.ai/api/agent/create" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "AGENT_NAME",
    "instructions": "AGENT_INSTRUCTIONS",
    "access_mode": "api"
  }'

Save the returned id as AGENT_ID. If access_mode is "api", also save the api_key (shown once).

3b. Write the skill:

The skill is the logic. Write it as a markdown file that describes what the agent should do. Store it in the agent's file memory:

curl -s -X POST "https://api.atris.ai/api/agent/AGENT_ID/files" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "skills/APP_SLUG.md",
    "content": "SKILL_CONTENT"
  }'

The skill content should include:

  • What data to pull and how (API endpoints, auth patterns)
  • What analysis to run
  • What output to produce
  • Where to store results

Example skill for Mixpanel analytics:

# Mixpanel Analytics Skill

Pull daily
Полный SKILL.md на GitHub

Установить create-app в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл create-app?

Build and deploy an Atris app from a natural language description. Use when users ask to create Atris apps, workflows, or chat apps with setup automation.

Как установить скилл create-app?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-app запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить create-app с