home / skills / jeremylongshore / claude-code-plugins-plus-skills / vastai-core-workflow-b
/plugins/saas-packs/vastai-pack/skills/vastai-core-workflow-b
This skill helps you execute Vast.ai secondary workflow B, delivering API results and confirmations to complete core tasks efficiently.
npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill vastai-core-workflow-bReview the files below or copy the command above to add this skill to your agents.
---
name: vastai-core-workflow-b
description: |
Execute Vast.ai secondary workflow: Core Workflow B.
Use when implementing secondary use case,
or complementing primary workflow.
Trigger with phrases like "vastai secondary workflow",
"secondary task with vastai".
allowed-tools: Read, Write, Edit, Bash(npm:*), Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <[email protected]>
---
# Vast.ai Core Workflow B
## Overview
Secondary workflow for Vast.ai. Complements the primary workflow.
## Prerequisites
- Completed `vastai-install-auth` setup
- Familiarity with `vastai-core-workflow-a`
- Valid API credentials configured
## Instructions
### Step 1: Setup
```typescript
// Step 1 implementation
```
### Step 2: Process
```typescript
// Step 2 implementation
```
### Step 3: Complete
```typescript
// Step 3 implementation
```
## Output
- Completed Core Workflow B execution
- Results from Vast.ai API
- Success confirmation or error details
## Error Handling
| Aspect | Workflow A | Workflow B |
|--------|------------|------------|
| Use Case | Primary | Secondary |
| Complexity | Medium | Lower |
| Performance | Standard | Optimized |
## Examples
### Complete Workflow
```typescript
// Complete workflow example
```
### Error Recovery
```typescript
// Error handling code
```
## Resources
- [Vast.ai Documentation](https://docs.vastai.com)
- [Vast.ai API Reference](https://docs.vastai.com/api)
## Next Steps
For common errors, see `vastai-common-errors`.This skill executes Vast.ai secondary workflow: Core Workflow B. It complements the primary workflow by handling secondary use cases and optimized execution paths. Use it to run follow-up tasks after initial provisioning or to implement lower-complexity, high-performance job flows.
The workflow checks that Vast.ai credentials and the initial setup (vastai-install-auth) are present, then runs a three-step sequence: setup, process, and complete. It calls the Vast.ai API to perform the requested secondary operations, collects results, and returns a success confirmation or structured error details. Built-in checks and error classification help route recoveries or retries when needed.
Do I need to run the primary workflow first?
Yes. Core Workflow B expects the primary setup (Core Workflow A and vastai-install-auth) to be complete so dependencies and credentials are available.
What happens on API errors?
The skill returns structured error details and a suggested recovery path; use logged responses to implement retries or fallback handlers.