agentuity-project
БесплатноБез исполняемых скриптовНе проверенWhen deploying, hosting, or shipping websites, apps, or AI agents to production. Also activates for creating new projects, migrating existing…
от 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:
Bun installed:
which bun # If missing: curl -fsSL https://bun.sh/install | bashAgentuity CLI installed:
which agentuity # If missing: curl -sSL https://agentuity.sh | shAuthenticated:
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 whoamisuccessfully): Execute ALL commands directly — deploy, import, create databases, everything. You have full access.Cowork / cloud sandbox (
agentuity auth whoamifails, 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 createworks without auth. Install via npm (curlis 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-appThen 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 runagentuity createinside 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:
cdinto the new project directory- Run
bun installto install dependencies - Tell the user they can now run
agentuity devto start the dev server (do NOT runagentuity devyourself — it enters interactive mode) - Tell the user that when they're happy with the project, they can run
agentuity deployto 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. Mustexport defaultthe result ofcreateApp(). 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic