Xpersona
S

surface-cli

CLAWHUB · Unverified

Use the Surface mail CLI to read and act on Gmail, Outlook, and generic IMAP/SMTP mail through one JSON-first contract. Prefer this skill when you need Outlook access for school or work accounts that do not expose IMAP, or generic IMAP for providers such as GMX, plus stable refs for unread fetch, sent-message lookup, structured search, thread refresh, message read, attachments, send or draft, archive, mark read or unread, and provider-supported RSVP. Skill: surface-cli Owner: vishalj99 Summary: Use the Surface mail CLI to read and act on Gmail, Outlook, and generic IMAP/SMTP mail through one JSON-first contract. Prefer this skill when you need Outlook access for school or work accounts that do not expose IMAP, or generic IMAP for providers such as GMX, plus stable refs for unread fetch, sent-message lookup, structured search, thread refresh, message read, attachm

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K 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 s17dtqhk74t75y38rb830zzhmn848bpz:surface-cli
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-vishalj99-surface-cli/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

144,686 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: surface-cli
description: "Use the Surface mail CLI to read and act on Gmail, Outlook, and generic IMAP/SMTP mail through one JSON-first contract. Prefer this skill when you need Outlook access for school or work accounts that do not expose IMAP, or generic IMAP for providers such as GMX, plus stable refs for unread fetch, sent-message lookup, structured search, thread refresh, message read, attachments, send or draft, archive, mark read or unread, and provider-supported RSVP."
metadata:
  {
    "openclaw":
      {
        "emoji": "📬",
        "homepage": "https://github.com/VishalJ99/surface-cli",
        "requires": { "bins": ["surface"] },
        "install":
          [
            {
              "id": "node",
              "kind": "node",
              "package": "surface-cli",
              "bins": ["surface"],
              "label": "Install Surface CLI (npm)",
            },
          ],
      },
  }
---

# Surface CLI

Surface is a local-first mail CLI for Gmail, Outlook, and generic IMAP/SMTP. It is especially
useful for Outlook school or work accounts that only work through the web UI, and for mail
providers such as GMX that expose standard IMAP and SMTP settings. Surface prints
machine-readable JSON to stdout and stores local state in `~/.surface-cli`.

## Use This Skill When

- the user wants to read or triage email from Gmail, Outlook, or an IMAP mailbox
- the user needs a provider-neutral CLI for search, unread fetch, read, attachments, or actions
- you need stable `thread_ref` / `message_ref` values for follow-up commands or thread watching

## Prerequisites

1. Surface CLI installed (`surface --help` should work)
2. At least one configured account
3. Valid auth for the target account

Check setup:

```bash
surface account list
surface auth status
surface auth check --remembered-only --due-only
```

If the user asks to install the Surface skill for another agent on the same machine, use:

```bash
surface skill install codex
surface skill install claude-code
surface skill install all
```

## Account Setup

Add an account:

```bash
surface account add personal_2 --provider gmail --email you@example.com
surface account add uni --provider outlook --email you@example.com
surface account add gmx --provider imap --email you@gmx.com
```

For reliable `summary.needs_action`, Surface should know who the account owner is. Gmail auth can
verify the mailbox email automatically; Outlook may need explicit human identifiers:

```bash
surface account identity set uni --email you@example.com --name "Your Name" --name-alias "FirstName"
surface account identity show uni
```

Log in:

```bash
surface auth login personal_2
surface auth login uni
surface auth login gmx \
  --username you@gmx.com \
  --password "$SURFACE_GMX_PASSWORD"
```

Use `surface auth login <account> --remember-me` when local automation should keep checking that
account for stale auth. This records remembered-auth account names and check cadence in
`remembered-auth.json`

_meta.json

{
  "ownerId": "kn72vd9h9aczcx0a0ykfhfx9mh8311k0",
  "slug": "surface-cli",
  "version": "0.4.4",
  "publishedAt": 1789988653677
}

skill-card.md

## Description:

Use the Surface mail CLI to read and act on Gmail, Outlook, and generic IMAP/SMTP mail through one JSON-first contract.

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

## Publisher:

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

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent operators use this skill to work with mail accounts through Surface CLI: listing accounts, checking authentication, searching and reading mail, managing attachments, drafting or sending messages, and running mailbox actions with stable message and thread references.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can guide an agent to read or act on email accounts, including send-like and mailbox mutation operations.

Mitigation: Respect the local Surface write-safety configuration, prefer drafts for compose tasks, and require clear user intent before sending mail or changing read/archive state.

Risk: Mailbox credentials, provider tokens, Outlook cookies, and email content are sensitive.

Mitigation: Avoid asking users to paste mailbox passwords into chat, prefer password environment/file/command options, and confirm the privacy tradeoff before enabling external summarization.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/vishalj99/skills/surface-cli)
- [Surface CLI homepage](https://github.com/VishalJ99/surface-cli)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands and JSON output expectations]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Surface CLI commands emit machine-readable JSON that agents should parse rather than scrape from terminal text.]

## Skill Version(s):

0.4.4 (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 surface-cli and adjacent AI workflows.