Command Palette

Search for a command to run...

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

agentuity-project

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

When deploying, hosting, or shipping websites, apps, or AI agents to production. Also activates for creating new projects, migrating existing…

agentuityот agentuity★ 19 звёзд на GitHub

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

Agentuity Project & Deployment

Practical guide for creating, structuring, migrating, and deploying applications on Agentuity. Use this when a user wants to deploy code, host an app, ship to production, or restructure an existing project for Agentuity.

Prerequisites (Verify Before Any CLI Command)

Before running ANY agentuity command, verify each of these in order:

  1. Bun installed:

    which bun
    # If missing:
    curl -fsSL https://bun.sh/install | bash
    
  2. Agentuity CLI installed:

    which agentuity
    # If missing:
    curl -sSL https://agentuity.sh | sh
    
  3. Authenticated:

    agentuity auth whoami
    # If not authenticated:
    agentuity auth login
    

If any prerequisite fails, resolve it before proceeding. Do NOT skip ahead.


IMPORTANT: Execute Commands Directly

When deploying or setting up infrastructure, run the CLI commands yourself. Do not just tell the user what commands to run — execute them directly on their behalf.

Detect your environment:

  • Local Claude Code (you can run agentuity auth whoami successfully): Execute ALL commands directly — deploy, import, create databases, everything. You have full access.

  • Cowork / cloud sandbox (agentuity auth whoami fails, or you're in a /sessions/ path):

    STOP. Do NOT create files in the sandbox VM. The sandbox filesystem is ephemeral — the user will never see those files. Their real filesystem is mounted under /sessions/*/mnt/. Find it and work there:

    # Find the user's mounted workspace (this is their REAL machine)
    ls /sessions/*/mnt/
    

    ALL project files, agentuity create, and code edits must target that mounted path.

    agentuity create works without auth. Install via npm (curl is blocked by egress proxy):

    mkdir -p ~/.npm-global && npm config set prefix ~/.npm-global
    npm install -g @agentuity/cli bun
    export PATH="$HOME/.npm-global/bin:$PATH"
    agentuity create --name my-app -y --dir /sessions/<session>/mnt/<workspace>/my-app
    

    Then tell the user to run auth-required commands from their own terminal: agentuity auth login, agentuity project import --name <name> -y, agentuity deploy.


Greenfield vs Existing Project

Choose the right path:

  • New project (no existing code): Use agentuity create --name my-app -y — see "Creating a New Project" below.
  • Existing codebase to deploy: Restructure in-place, then use agentuity project import — see "Migrating an Existing Project" below. Do NOT run agentuity create inside an existing project.

Creating a New Project (Greenfield Only)

agentuity create --name my-app -y

This scaffolds a new project directory with the correct structure, dependencies, and config.

WARNING: agentuity create creates a subdirectory. Do NOT create a folder first and then run create inside it — that gives you my-app/my-app/ (double-nested). Run create from the PARENT directory and let it make the folder.

After scaffolding, you MUST:

  1. cd into the new project directory
  2. Run bun install to install dependencies
  3. Tell the user they can now run agentuity dev to start the dev server (do NOT run agentuity dev yourself — it enters interactive mode)
  4. Tell the user that when they're happy with the project, they can run agentuity deploy to ship it
cd my-app
bun install
# Then tell the user:
# "Run `agentuity dev` to start the dev server at http://localhost:3500"
# "When ready to ship, run `agentuity deploy`"

Project Structure

my-project/
├── agentuity.json        # Project manifest (created by CLI — do not write manually)
├── vite.config.ts        # Vite build config (plugins for your frontend framework)
├── app.ts                # App entry point (REQUIRED — must export default createApp)
├── tsconfig.json         # TypeScript config (REQUIRED — must include path aliases)
├── .env                  # Environment variables (auto-loaded)
├── package.json
└── src/
    ├── agent/            # AI agent handlers (one folder per agent)
    │   ├── index.ts      # Barrel export — re-exports all agents (REQUIRED)
    │   └── <name>/
    │       └── index.ts
    ├── api/              # HTTP routes (Hono-based)
    │   └── index.ts      # Composed Hono router (REQUIRED)
    └── web/              # Frontend — ALL HTML, CSS, JS, static assets
        └── index.html

Required files (must exist for deployment):

  • app.ts — App entry point. Must export default the result of createApp(). Pass agents and router explicitly — v2 has no auto-discovery:

    import { createApp } from '@agentuity/runtime';
    import * as agents from './src/agent';
    import router from './src/api';
    
    export default createApp({
        agents,
        ro
    
Полный SKILL.md на GitHub

Установить agentuity-project в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл agentuity-project?

When deploying, hosting, or shipping websites, apps, or AI agents to production. Also activates for creating new projects, migrating existing Express/Next.js/Vite apps, or restructuring code for deployment. Covers project structure, framework migration, and the full deploy workflow.

Как установить скилл agentuity-project?

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

Скилл agentuity-project запускает скрипты?

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

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

Сравнить agentuity-project с