Geode On-device Transcribe & Summary
by @geodeteam
Transcribe and summarize audio/video files locally. Unlimited usage at a flat rate for heavy users.
clawhub install geode-transcribeπ About This Skill
name: Geode On-device Transcribe & Summary description: Transcribe and summarize audio/video files locally. Unlimited usage at a flat rate for heavy users.
GeodeCLI Transcription β OpenClaw Integration Guide
This document describes the recommended async integration between OpenClaw, GeodeCLI, and Geode.app.
Architecture:
GeodeCLI: the CLI entry called by OpenClaw.Geode.app: the worker app, launched with --worker.group.com.privycloudless.privyecho.If the Geode app is not installed, OpenClaw should guide the user to install it from the Mac App Store:
https://apps.apple.com/app/apple-store/id6752685916?pt=127800752&ct=openclaw&mt=81. Shared Paths
Both GeodeCLI and Geode.app use the same App Group container:
group.com.privycloudless.privyecho~/Library/Group Containers/group.com.privycloudless.privyecho/
~/Library/Group Containers/group.com.privycloudless.privyecho/CLIInbox/
~/Library/Group Containers/group.com.privycloudless.privyecho/CLITasks/
~/Library/Group Containers/group.com.privycloudless.privyecho/CLITranscriptions/If the source audio is outside the shared container, copy it into CLIInbox/ first.
2. Async API
2.1 Submit one task
OpenClaw should call the bundled GeodeCLI:
"/Applications/Geode.app/Contents/Helpers/GeodeCLI" --enqueue-transcription \
--audio "/Users/.../Library/Group Containers/group.com.privycloudless.privyecho/CLIInbox/audio.m4a" \
--language zh \
[--format txt|md|docx] [--summary]
GeodeCLI auto-detects the enclosing Geode.app and launches Geode --worker automatically.
Only during development or non-default installs, you may need:
"/path/to/GeodeCLI" --enqueue-transcription \
--audio "/Users/.../CLIInbox/audio.m4a" \
--language zh \
--app-bundle "/path/to/Geode.app"
Behavior:
--audio per task.GeodeCLI persists a task JSON file into the App Group container.GeodeCLI launches Geode --worker and returns immediately.2.2 Success output
TASK_ID=
0Example:
TASK_ID=123e4567-e89b-12d3-a456-426614174000
2.3 Error output
stderr: Error: plus optional English detail lines1: runtime error
- 2: invalid argumentsCommon async-specific codes:
TASK_CREATE_FAILEDTASK_READ_FAILEDWORKER_LAUNCH_FAILED3. Query Status
After receiving a task id, OpenClaw should poll:
"/Applications/Geode.app/Contents/Helpers/GeodeCLI" --task-status 123e4567-e89b-12d3-a456-426614174000
3.1 Success output
stdout: one JSON object0Example:
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"recordingId": "6a9b17c5-6c9d-4f0b-8401-f0d7f06a5e48",
"audioPath": "/Users/.../Library/Group Containers/group.com.privycloudless.privyecho/CLIInbox/audio.m4a",
"language": "zh",
"outputFormat": "txt",
"summarize": true,
"status": "summarizing",
"transcriptPath": "/Users/.../Library/Group Containers/group.com.privycloudless.privyecho/CLITranscriptions/audio_2026-03-18T07-00-00Z.txt",
"summaryPath": null,
"errorCode": null,
"errorDetail": null,
"workerId": "pid-12345",
"createdAt": "2026-03-18T07:00:00Z",
"updatedAt": "2026-03-18T07:02:10Z",
"startedAt": "2026-03-18T07:00:02Z",
"finishedAt": null
}
3.2 Status values
| Status | Meaning |
|--------|---------|
| queued | Task is persisted and waiting for a worker. |
| running | Transcription is in progress. |
| summarizing | Transcript is written; AI summary is still running. |
| succeeded | Task completed successfully. |
| failed | Task failed. Check errorCode / errorDetail. |
| cancelled | Reserved for future use. |
3.3 Task status error
stderr: Error: TASK_NOT_FOUND14. Common Error Codes
These codes may appear in task status JSON:
| Code | Meaning |
|------|---------|
| INVALID_ARGS | Missing required arguments or invalid usage. |
| AUDIO_NOT_FOUND | Audio file does not exist. |
| AUDIO_UNREADABLE | Audio file cannot be opened. |
| NOT_LOGGED_IN | User is not logged in to Geode. |
| INSUFFICIENT_QUOTA | Not enough transcription quota. |
| EMPTY_RESULT | Transcription returned no text. |
| OUTPUT_DIR_CREATE_FAILED | Failed to create the output directory. |
| OUTPUT_WRITE_FAILED | Failed to write an output file. |
| TRANSCRIPTION_FAILED | Internal transcription failure. |
| SUMMARY_NOT_LOGGED_IN | User is not logged in for AI summary. |
| SUMMARY_INSUFFICIENT_QUOTA | Not enough AI summary quota. |
| SUMMARY_FAILED | AI summary generation failed. |
| WORKER_INTERRUPTED | The worker stopped before finishing the task. |
5. Recommended Workflow
When the user wants to transcribe an audio file and later retrieve the result:
1. Copy the source audio into:
~/Library/Group Containers/group.com.privycloudless.privyecho/CLIInbox/
2. Call:
/Applications/Geode.app/Contents/Helpers/GeodeCLI --enqueue-transcription --audio "P" --language
3. Read TASK_ID= from stdout.
4. Poll:
/Applications/Geode.app/Contents/Helpers/GeodeCLI --task-status
5. When status becomes succeeded:
- read transcriptPath
- read optional summaryPath
- copy result files to the user-requested destination if needed
6. When status becomes failed:
- use errorCode for branching logic
- use errorDetail for logs or user-facing context
Recommended polling behavior:
succeeded, failed, or cancelled6. Summary
GeodeCLI inside Geode.app for async submission and status polling.GeodeCLI returns TASK_ID= immediately.Geode.app performs the actual transcription in --worker mode.7. Agent Instructions
Submission behavior
--enqueue-transcription to submit a task.TASK_ID immediately after submission.Progress & retrieval
--task-status .While task is running
queued, running, or summarizing:Completion
succeeded:transcriptPath.
- Return summaryPath if available.Failure handling
failed:errorCode.
- Include errorDetail if available.
- Suggest corrective actions if applicable (e.g., login, quota, file issues).