Command Palette

Search for a command to run...

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

run-workflow-weaver

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

Drives the hosted Workflow Weaver service (weaver.vibingfun.com) through its workflow-weaver CLI and MCP server: create projects, upload API doc sources…

britrikот britrik758 установок в других каталогах

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

run-workflow-weaver

Agent skill for driving the workflow-weaver CLI and MCP server headlessly. Works from any agent runtime that can invoke subprocesses or connect to an MCP host.

Prerequisites

  • Node.js ≥ 20
  • Global install:
    npm install -g [email protected] @workflow-weaver/[email protected]
    
    Pin these versions (the ones this skill is tested with) instead of installing the latest.

Authentication

Interactive (recommended for first-time setup):

workflow-weaver auth login --email [email protected]
# Password is prompted interactively — omit --password to avoid exposing it in shell history
***

**Non-interactive (agents / CI):**

After an interactive login the CLI stores the refresh token in `~/.workflow-weaver/config.json` (chmod 600) and uses it from there, so a local agent needs nothing else.

For CI or a remote agent, store the refresh token in that platform's secret store and expose it as the `WORKFLOW_WEAVER_REFRESH_TOKEN` environment variable. Never print the token to the terminal, logs or chat to copy it.

The CLI automatically reads `WORKFLOW_WEAVER_REFRESH_TOKEN` from the environment. No prefix mapping is needed.

## Security

| Rule | Detail |
|------|--------|
| No hardcoded credentials | Never embed tokens, passwords, or keys in scripts, logs, or skill files |
| Refresh token via env var only | `WORKFLOW_WEAVER_REFRESH_TOKEN` — never interpolate into log lines or `echo` |
| Supabase credentials via env var only | `WORKFLOW_WEAVER_SUPABASE_URL` and `WORKFLOW_WEAVER_SUPABASE_KEY` — never in scripts |
| Config file path | `~/.workflow-weaver/config.json` (chmod 600) — document but never read directly in automation scripts; one-time setup extraction is acceptable |
| Stripe/billing URLs | Present to the user to open in a browser — never open programmatically |
| Confirm before acting | Ask the user before `delete_project`, `remove_source`, `set_provider_key`, `remove_provider_key`, `create_share_link`, `revoke_share_link` and `generate_workflow` (it uses the account's quota) |
| Share links are public | Anyone with a share link can view the project's workflow; review sources for internal endpoints or secrets and get the user's OK before creating one |
| Smoke placeholder | Use clearly-named placeholders like `smoke-test-invalid-token`, never real-looking values |

## Run (Agent Path)

### CLI subprocess pattern

All commands support `--json` for machine-readable NDJSON output:

```bash
workflow-weaver <command> [args] --json

Exit codes

Code Meaning
0 Success
1 Domain error (WorkflowWeaverError) — check stderr for JSON
2 Unexpected error

Core 6-step sequence

# 1. Verify credentials
workflow-weaver auth status --json

# 2. Check quota before generating
workflow-weaver billing status --json

# 3. Create a project
PROJECT=$(workflow-weaver projects create \
  --title "Stripe Guide" \
  --use-case "Payment integration" \
  --json)
PROJECT_ID=$(echo "$PROJECT" | jq -r '.id')

# 4. Add a source
workflow-weaver sources add "$PROJECT_ID" \
  --type snippet \
  --content "GET /users" \
  --json

# 5. Generate (streams progress events as NDJSON, final line is the completed version)
GENERATE_OUTPUT=$(workflow-weaver generate "$PROJECT_ID" --json)
echo "$GENERATE_OUTPUT" | tail -1
VERSION_ID=$(echo "$GENERATE_OUTPUT" | tail -1 | jq -r '.versionId // .id')

# 6. Export
workflow-weaver export "$PROJECT_ID" "$VERSION_ID" --format md

Error handling for agents

On any WorkflowWeaverError (exit code 1), stderr contains JSON:

{ "error": "Project has no sources", "code": "PRECONDITION_FAILED", "statusCode": 400 }

Quota exhaustion / BYOK

When billing status --json returns canGenerate: false:

Resolution Action
Subscribe workflow-weaver billing subscribe → present Stripe URL to user
Buy credits workflow-weaver billing buy-credits → present Stripe URL to user
BYOK workflow-weaver providers set-key <provider> — bypasses quota entirely

If byok_active: true, generation is unlimited regardless of plan or credits.

Token rotation gotcha

The refresh token in ~/.workflow-weaver/config.json may be rotated (invalidated and replaced) by the server. Never cache the token by reading the config file directly.

  • Always pass the token via WORKFLOW_WEAVER_REFRESH_TOKEN env var
  • If you must read from config, re-read before every operation — do not cache
  • The CLI handles token refresh internally; let it read from its config file
  • When using the env var, each CLI call may rotate the token server-side. The CLI writes the new token to ~/.workflow-weaver/config.json, but the env var still holds the old value. For long-running agent sessions, prefer letting the CLI read from its config file rather than setting the env var persistently

MCP Server Configuration

The MCP server

Полный SKILL.md на ClawHub

Установить run-workflow-weaver в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл run-workflow-weaver?

Drives the hosted Workflow Weaver service (weaver.vibingfun.com) through its workflow-weaver CLI and MCP server: create projects, upload API doc sources (OpenAPI specs, endpoint lists, code snippets), generate step-by-step workflow guides on the service, and export them as Markdown, SVG, PNG, PDF or JSON. Generation happens server-side and needs a Workflow Weaver account. Bundled smoke.sh checks that the CLI and MCP server are installed and authenticated and, when a token is set, reads the account's billing status (plan and quota, read-only). Use when the user asks to use Workflow Weaver or to turn their API docs into a Workflow Weaver guide; not for general diagramming or documentation requests.

Как установить скилл run-workflow-weaver?

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

Скилл run-workflow-weaver запускает скрипты?

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

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

Сравнить run-workflow-weaver с