Xpersona
R

Ride Receipts

CLAWHUB · Unverified

Build a local SQLite ride-history database from Gmail ride receipt emails using gog for fetch and OpenClaw Gateway /v1/responses for extraction. Use when you...

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fhm07z0mpjpedj9np738myh83g4mt:ride-insights-test
  1. Install using `clawhub skill install s17fhm07z0mpjpedj9np738myh83g4mt:ride-insights-test` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/tuleyko/ride-insights-test before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tuleyko-ride-insights-test/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

153,463 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: ride-receipts-gateway-llm
description: Build a local SQLite ride-history database from Gmail ride receipt emails using gog for fetch and OpenClaw Gateway /v1/responses for extraction. Use when you want a portable Gateway-based pipeline that fetches taxi receipts into emails.json, iterates through each email with the Gateway-backed LLM, writes rides.json, and inserts the results into SQLite.
metadata:
  openclaw:
    requires:
      bins:
        - gog
        - python3
      config:
        - gateway.port
        - gateway.auth.token
        - gateway.http.endpoints.responses.enabled
---

# ride-receipts-gateway-llm

Build a ride-receipt pipeline that fetches Gmail receipts into one `emails.json` file, sends each email to the local OpenClaw Gateway `/v1/responses` endpoint for structured extraction, writes one `rides.json` array, and inserts the result into SQLite.

## Before you start

- Require `gog` CLI authenticated for the target Gmail account.
- Always run `gog auth list` before fetching, even if the user already named an account.
- If multiple accounts are configured, present explicit choices using the real account emails, e.g. `Which account should I use: (A) name1@example.com or (B) name2@example.com?` Do not summarize as "default" or make the user infer which accounts exist.
- If exactly one account is configured, use it and mention it briefly.
- Do not assume an account named `default` exists.
- Require a reachable local OpenClaw Gateway.
- Require Gateway auth token available via `OPENCLAW_GATEWAY_TOKEN` or `~/.openclaw/openclaw.json`.
- Require the Gateway HTTP Responses endpoint to be enabled.
- Ask the user for date scope: all-time, after a date, or between two dates.
- Treat receipt emails as sensitive financial/location data.
- Tell the user that `emails.json` stores fetched receipt emails locally and may include full HTML receipt content.
- Before extraction, confirm the user is okay sending raw receipt email JSON/HTML to the active local/private Gateway-backed model.
- Prefer loopback or private Gateway targets. Only use a non-local Gateway when the user explicitly accepts that data flow.

## Outputs

Primary artifacts:
- `data/gateway-llm/emails.json` — fetched receipt emails in one JSON array; may include full HTML receipt content
- `data/gateway-llm/rides.json` — extracted ride records in one JSON array
- `data/gateway-llm/rides.sqlite` — queryable SQLite database containing normalized ride fields plus `extracted_ride_json`, but not raw source email JSON

## Pipeline

Run each step in order. Stop and report on failure.

## Summary and querying

- When summarizing the SQLite output, do not guess schema field names.
- First inspect the actual schema with `PRAGMA table_info(rides)` or read `references/schema_rides.sql`.
- Base SQL queries only on confirmed columns from the live DB schema.
- If the schema and your expected fields differ, adapt the query to the real schema instead of forcing old column names.
- Prefer s

_meta.json

{
  "ownerId": "kn72955tzw27t60hxbck7jczf181cgjk",
  "slug": "ride-insights-test",
  "version": "0.1.12",
  "publishedAt": 1774446198534
}

references/provider_queries.json

{
  "Uber": "from:noreply@uber.com subject:(\"trip with Uber\")",
  "Bolt": "from:(bolt.eu OR receipts-poland@bolt.eu) subject:(\"Your Bolt ride\" OR \"Your Bolt trip\")",
  "Yandex": "from:(go@yandex.ru OR taxi.yandex.ru OR noreply@yandex.ru) subject:(\"electronic ride receipt\" OR \"Ride report\" OR \"ride receipt\")",
  "Lyft": "from:(lyftmail.com OR lyft.com) subject:(\"Your ride with\")",
  "FreeNow": "from:(free-now.com OR mytaxi.com OR no-reply@free-now.com OR no-reply@mytaxi.com) subject:(\"Your trip receipt\" OR \"Your FREE NOW receipt\" OR \"Your mytaxi receipt\" OR \"Receipt for your trip\")",
  "Curb": "from:(curbmobility.com OR ridecharge.com) subject:(\"Your receipt\" OR \"Trip receipt\")",
  "Via": "from:(ridewithvia.com OR via.com) subject:(\"Your receipt\" OR \"Your trip\")"
}

skill-card.md

## Description:

Build a local SQLite ride-history database from Gmail ride receipt emails using gog for fetch and OpenClaw Gateway /v1/responses for extraction.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tuleyko](https://clawhub.ai/user/tuleyko)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and analysts use this skill to fetch ride receipt emails, extract structured ride records through a local or private Gateway-backed model, store them in SQLite, summarize ride history, and export an anonymized CSV report.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Ride receipt emails can include sensitive financial and location data, including full HTML receipt content in emails.json.

Mitigation: Review before installation, limit the date scope, store generated files in a private directory, and delete raw email exports when they are no longer needed.

Risk: Raw receipt content and a Gateway token are used during extraction.

Mitigation: Prefer a loopback Gateway URL, avoid remote plaintext HTTP Gateway targets, and use a short-lived token when available.

Risk: CSV exports may still reveal travel patterns through dates, cities, amounts, and providers.

Mitigation: Share only the anonymized CSV when needed, review it before distribution, and use care when opening it in spreadsheet software.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/tuleyko/skills/ride-insights-test)
- [Ride SQLite schema](artifact/references/schema_rides.sql)
- [Provider Gmail queries](artifact/references/provider_queries.json)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, code, JSON, SQLite database, CSV]

**Output Format:** [Markdown guidance with shell commands; generated artifacts include JSON, SQLite, and CSV files.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces local files under data/gateway-llm and can attach the anonymized CSV through the host agent's media mechanism.]

## Skill Version(s):

0.1.12 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Ride Receipts and adjacent AI workflows.