agentpit-deploy

Deploy AgentPit sub-apps with SSO, menus, and One API integration.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/hangeaiagent/agentpit-Skills --skill agentpit-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentpit-deploy
Source: https://github.com/hangeaiagent/agentpit-Skills/tree/main/skills/agentpit-deploy
Command: npx skills add https://github.com/hangeaiagent/agentpit-Skills --skill agentpit-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates the end-to-end deployment of AgentPit sub-apps by injecting SSO, user menus, and One API integration into cloned projects before building and deploying to a subdomain.

Core Features & Use Cases

  • SSO auto-login injection into deployed apps
  • User menu injection to expose usage, billing, and logout
  • One API base-url and key replacement to route traffic securely
  • Token usage reporting tooling to capture usage on the host
  • 7-stage deployment workflow with remote SSH, env-injection, and verification
  • Use Case: Deploy a new AgentPit sub-app to a fresh subdomain quickly with end-to-end validation

Quick Start

Trigger the deploy workflow from the AgentPit UI to inject SSO, menus, and One API, then deploy and verify on the target server.

Frequently Asked Questions about agentpit-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate SSO injection and subdomain deployment for Next.js or FastAPI apps?

Automating SSO injection and subdomain deployment involves cloning your project, injecting SSO and user menus, configuring One API, and deploying via remote SSH. This workflow supports Next.js, React/Vite, and Python FastAPI stacks with automated environment injection.

Can I deploy a React/Vite sub-app to a subdomain with built-in One API integration?

Yes, you can deploy a React/Vite sub-app to a subdomain with built-in One API integration. The deployment workflow replaces the base-url and API key to route traffic securely, then builds and deploys the project with post-deployment verification.

How does remote SSH deployment handle environment variables and secret management?

Remote SSH deployment handles environment variables by injecting them into a remote .env file on the target server. This approach ensures secure secret handling without exposing sensitive data in the codebase, applying configurations directly during the deployment stage.

What is the best way to add user menus for usage and billing to a deployed application?

The best way to add user menus for usage and billing is through automated injection during the deployment workflow. This process exposes usage, billing, and logout options directly in the deployed application, alongside SSO auto-login configuration.

Does the automated subdomain deployment process support rollback for failed updates?

No, the automated subdomain deployment process does not support rollback for failed updates. It implements a rollback-free update process using a 7-stage workflow with detailed logging and post-deployment verification to ensure successful builds.

Why do I need token usage reporting tooling when deploying apps to a remote server?

Token usage reporting tooling is needed to capture and monitor API usage on the host server after deployment. It integrates with the One API configuration to track traffic routing and usage metrics securely across your deployed sub-apps.