home / skills / yousufjoyian / claude-skills / workclaw
This skill exports the active terminal discussion to Google Drive and updates the Visual tab with completion status, improving workflow efficiency.
npx playbooks add skill yousufjoyian/claude-skills --skill workclawReview the files below or copy the command above to add this skill to your agents.
---
name: workclaw
description: Work-only shortcut skill for exporting current terminal discussion to Google Drive and showing completion in the terminal Visual tab. Use when the user says "workclaw".
---
# WorkClaw
Run a work-only export of the active terminal discussion and post completion status into the Visual tab.
## Command
```bash
python3 /home/yousuf/local_workspaces/skills/terminal-discussion-export/scripts/export_terminal_discussion.py \
--terminal-id "$TC_TERMINAL_ID" \
--lines 1800 \
--a2ui on
```
## Result
- Markdown export is saved to Drive.
- Visual tab receives an A2UI completion card.
- Command output JSON should include:
- `success: true`
- `a2uiUpdated: true`
## Rules
- Treat this as **work-only**.
- If `a2uiUpdated` is false, rerun with explicit `--a2ui-log` path and confirm success.
This skill exports the active terminal discussion to Google Drive and reports completion to the terminal Visual tab. It is designed as a work-only shortcut triggered when the user says "workclaw," producing a Drive markdown file and an A2UI completion card in the Visual tab.
The skill runs a Python export script with the current terminal ID, a configurable line limit, and A2UI reporting enabled. On success it saves a markdown file to Google Drive and posts an A2UI completion card to the Visual tab; the command returns JSON with success and a2uiUpdated flags. If A2UI reporting fails, the script can be rerun with an explicit log path to confirm completion.
What indicates a successful export?
The command outputs JSON with success: true and a2uiUpdated: true, the markdown is saved to Drive, and an A2UI completion card appears in the Visual tab.
What should I do if the Visual tab card isn't posted?
Rerun the export with an explicit --a2ui-log path to capture A2UI events, then confirm the log shows successful posting and that a2uiUpdated becomes true.