account_tree Schema-aware transforms
`agent adapt` sits between deterministic CLIs. It transforms one typed contract into another, validates the result, and leaves side effects to the destination CLI.
Cmdhub gives agents and humans a consistent command layer for mail, calendar, files, tasks, chat, docs, and structured transforms.
curl -fsSL https://cmdhub.run/install.sh | bash
{
"status": "validated",
"source_schema": "gmail.message.v1",
"target_schema": "gcal.event.create.input.v1",
"next": "pipe into gcal event create"
}Most SaaS automation becomes a mix of provider SDKs, local scripts, auth edge cases, and inconsistent output. Cmdhub makes the command contract explicit.
python3 ./utils/gmail_to_calendar.py --token "$GOOGLE_TOKEN" --raw-jsongmail message get m1 --jsonl | agent adapt --to "gcal event create"Cmdhub adapters are shaped around high-value workflows, not provider endpoint checklists. The target is a command surface that is obvious, inspectable, safe, and compact enough for agents and humans to keep in working memory.
Command families, nouns, aliases, examples, and help screens line up with how agents naturally try to use tools.
Adapters cover the jobs users actually need: read, search, inspect, create, update, recover, and safely clean up.
Default output is terse and readable, with rich enough fields for fast decisions and JSON or JSONL when full fidelity matters.
Lists return memorable refs like m1, f1, and c1 so follow-up commands do not depend on long provider IDs.
Catastrophic admin actions stay out of scope. Normal destructive actions require preview, dry-run, recovery context, or an explicit --yes.
Useful screens end with command-shaped follow-ups, using the refs and profiles already visible in the output.
Each provider makes setup, scopes, status, profile selection, and whoami checks explicit before an agent acts.
List, detail, empty, error, auth, and mutation screens are designed as product surfaces, not incidental logs.
The current release focuses on the tools people already live in: mail, calendar, files, tasks, chat, docs, and schema-aware transforms.
`agent adapt` sits between deterministic CLIs. It transforms one typed contract into another, validates the result, and leaves side effects to the destination CLI.
Use `cmdhub auth login` for the hub account and each provider CLI's auth commands for service credentials.
Verify install state, credential storage, provider links, and tool-specific health before workflows fail.
Human-readable output is the default. Switch to machine-readable JSON or streaming JSONL when a script, CI job, or agent needs to consume the result.
No. Cmdhub is the command layer. Agents can use it, but deterministic CLIs own the real app actions.
Not primarily. The CLI contract is the durable primitive. MCP can be one transport later.
No. The CLIs run locally. The hosted app handles account login, registry, docs, and provider auth flows where useful.
The product is still being tightened around install, auth, schemas, docs, and a small set of reliable workflows.