fx-integral/academia-archives/basilica-serverless-ops
Claude Code and agent skill by fx-integral/academia-archives
- community
Checking that the SKILL.md file is still in the repository.
Use when the user wants to deploy apps, APIs, inference endpoints, or OpenClaw/Tau-style services with the Basilica CLI.
Install
npx vskill@latest install fx-integral/academia-archives/basilica-serverless-opsSKILL.md
The same SKILL.md was published earlier as fx-integral/academia-archives/basilica-serverless-ops.
Basilica Serverless Ops
Use this skill for the managed deployment surface exposed by the CLI:
- generic
basilica deploy - inference templates like
vllmandsglang basilica summon openclawbasilica summon tau- deployment logs, status, scale, and delete
- share-token operations for private deployments
Choose The Right Deployment Mode
Use serverless deploys when the user wants:
- a public URL
- an HTTP API
- an inference endpoint
- an app that should come up without managing a box manually
Prefer rentals instead when the user needs SSH, custom system control, distributed training, or very large models that may spend a long time loading.
Canonical Preflight
Authenticate:
Check spendability:
Before you create a deployment, decide:
- source form: inline code, Python file, or container image
- whether it should be public or
--private - whether it needs GPU
- whether it needs storage
- whether it should auto-expire via
--ttl
Generic Deploy Patterns
Inline Python:
Python file:
Container image:
GPU-backed deploy:
Persistent storage:
Deployment Management
List:
Status:
Logs:
Scale:
Delete:
Always use deploy delete, not stale deployments delete variants from older examples.
Inference Templates
vLLM:
SGLang:
For large or unusual models, expect to tune health checks, GPU count, memory, or move to rentals.
OpenClaw And Tau
OpenClaw:
Tau:
OpenClaw-specific flags exposed by the current template include:
--provider openai|anthropic--backend-url--model-id--provider-id--provider-api--context-window--max-tokens
OpenClaw template env requirements:
OPENAI_API_KEYfor OpenAI-backed deploysANTHROPIC_API_KEYfor Anthropic-backed deploys
Tau template env requirements:
TAU_BOT_TOKENCHUTES_API_TOKEN
Optional Tau env:
TAU_CHAT_MODEL
Private Deployments And Share Tokens
Deploy privately:
Manage share tokens:
Current behavior:
- deployments are public by default
--privatemakes the deploy share-token-gated- OpenClaw is a special case and is intended to be public with its own gateway token behavior
Topology And Placement Controls
Spread replicas across nodes:
Use explicit spread policy:
Operational Caveats
- Use
--ttlby default unless the user explicitly wants a persistent service. - Large models can spend 10-30 minutes loading. Watch
deploy status --show-phasesanddeploy logs --follow. - If a model is huge enough to need 8x H100/H200 or lots of manual tuning, prefer rentals first.
- Deploys are public unless you say otherwise.
Good Agent Flow
- check
basilica balance - pick the deploy shape
- deploy with
--ttlunless persistence is required - watch status/logs until the URL is usable
- return the URL and the cleanup plan
- delete the deployment when done unless the user asked to keep it
File Pointers
examples/15_cli_deploy/README.mdexamples/inference/README.mdcrates/basilica-cli/src/cli/handlers/deploy/mod.rscrates/basilica-cli/src/cli/handlers/deploy/templates/openclaw.rscrates/basilica-cli/src/cli/handlers/deploy/templates/vllm.rscrates/basilica-cli/src/cli/handlers/deploy/templates/sglang.rscrates/basilica-cli/src/cli/handlers/deploy/templates/tau.rs
TODOs
- add a repo-local end-to-end example for
summon openclawwith provider env setup - add a tested table mapping model size to recommended
deployvsrentalspath
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrepos/tplr-ai__basilica/.claude/skills/basilica-serverless-ops/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fx-integral/academia-archives/basilica-serverless-ops)