Skip to main content

wework

Use the WeWork CLI to find desks, manage bookings, or export booking calendars.

Informações da origem

Repositório
dvcrn/skills
Última atividade na origem
8 de setembro de 2026 às 09:08
Idioma detectado do SKILL.md
inglês
Estrelas
0
Forks
0

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
4 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
wework
description
Use the WeWork CLI to find desks, manage bookings, or export booking calendars.
# WeWork ## Overview Use this skill to run `wework` safely and produce exact commands for location lookup, desk availability checks, booking, and calendar export. Prefer read-only commands first and only run booking once location and date are validated. Read `references/commands.md` when you need full command and flag coverage. Read `references/example-output.md` when you need concrete output shapes for desks, locations, and bookings. ## Choose the requested operation - Discovery: use `locations` or `desks` for the requested city/date. Do not create a booking. - Booking: resolve the requested location, check availability for the same date, then book within the user's authorization and verify with `bookings`. - Listing: use `bookings`; this does not require repeating discovery or creating a booking. - Calendar export: use `calendar` with the requested output path. Check installation and authentication when unavailable or failing. Reuse an established working setup. ## Installation And Auth Install the CLI: ```bash npm install -g wework-cli ``` Use environment variables by default: ```bash export WEWORK_USERNAME="your_username" export WEWORK_PASSWORD="your_password" ``` For installed CLI usage with env credentials: ```bash wework bookings ``` Use `--username` and `--password` only when explicitly requested. ## Common Tasks Use these as canonical examples: ```bash # list locations in Tokyo wework locations --city "tokyo" # list available desks in Bangkok for a date wework desks --city "Bangkok" --date 2025-12-09 # list available desks for one location UUID wework desks --location-uuid YOUR_LOCATION_UUID --date 2026-03-01 # create booking range with city + space name wework book --city "Tokyo" --name "Shibuya Scramble Square" --date 2026-02-18~2026-02-20 # list upcoming bookings wework bookings # write ICS file for calendar import wework calendar --calendar-path ./wework_bookings.ics ``` For single-day bookings, keep `--date` in `YYYY-MM-DD`. For multi-day booking ranges, use `YYYY-MM-DD~YYYY-MM-DD`. ## Output Strategy Use default CLI output for interactive use. This CLI does not currently expose a JSON output flag in `--help`, so for automation treat output as text and parse conservatively. ## Safety Checks Before `book` operations: 1. Confirm the target location exists (`locations`). 2. Confirm desk availability for the same date (`desks`). 3. Use explicit `--date` in `YYYY-MM-DD` format. 4. Verify result with `bookings` after booking. If authentication fails, re-check `WEWORK_USERNAME` and `WEWORK_PASSWORD` values, or explicitly pass `--username` / `--password`. ## Version Notes `wework-cli/README.md` includes older examples that use positional date arguments and a `me` command. Current live CLI help (checked via `wework --help` and subcommand `--help`) uses `--date` flags for `book`/`desks` and does not expose `me`. Prefer live command help when the README and binary behavior differ.
Ver no GitHub