Connectonion

From akillness/jeo-skills · View interactive version

Connectonion is an AI agent skill from the GitHub repository akillness/jeo-skills. Operate openonion/connectonion, the Apache-2.0 Python agent CLI harness whose single `co` command gives an AI agent accounts and tools: Gmail, Outlook, Google Calendar/Drive, YouTube, Slack, Discord, Telegram, WhatsApp, Linear, Canny, a logged-in Chrome (`co browser`), web search/fetch, MCP connecto

How to use this skill

Skill file

ConnectOnion `co` operator

When to use this skill

Use it when the task goes through the co command line:

When NOT to use this skill:

Safety model (read before running anything)

Many upstream mutating commands preview first and apply only with --yes / --confirm <code> (co canny status, co youtube put, co transfer, co rem start), but not all do: co gmail send "sends immediately, without a preview". Read the "Effects" line of the command's own --help first; where there is no built-in preview, show the user the exact recipient and content yourself and run it only after approval. Never add --yes/--confirm on the user's behalf unless they approved the exact preview you showed.

| Tier | Examples | Rule |

|---|---|---|

| 0 offline | scripts/preflight.py, reading this skill | Always allowed; no network, no execution of co. |

| 1 read-only | co --version, co --help, co commands, co <group> --help, co doctor, co status, co approvals, co env show | Allowed once the user wants to use co. Never pass --reveal; it prints secrets. |

| 2 reads private data | co gmail/outlook list+read, co gdrive download, co rem read commands, co browser page reads, co fetch --prompt (spends credit) | Only for an explicitly named account and purpose; summarize, do not dump bodies. |

| 3 writes / sends / spends | co gmail send, co slack/discord/telegram/whatsapp send, co youtube put, co gcalendar create/update/delete, co canny status/comment, co linear create/update, co transfer, co announce, co deploy, co server new/destroy | Use the built-in preview when the command has one (then re-run with the confirm flag); otherwise show the exact payload yourself. Get explicit approval naming recipient/target/amount before applying. |

| 4 environment-changing | co init (no path), co rem init/start, co auth <service>, co skills link, co sub sync, co setup, co env set/rotate/unset, co trust *, co call, co remote-browser, co proxy, co reset, remote installer script piped to shell | Separate explicit approval each time; state which files or schedulers change (see safety.md). Never run during blanket setup. |

Hard rules:

Instructions

  1. Run the offline gate.

```bash

python3 .agent-skills/connectonion/scripts/preflight.py --json

```

Add --repo PATH --expect-commit 90028ca1a3a64f3d74b68bef3c5732860ccd5a83 to verify a supplied source checkout (no symlinked path components). It never runs co, an installer, or the network, and reports ~/.co, ~/.codex, ~/.claude existence only.

  1. Find or install co (only if the user asked). If co is on PATH, continue. Otherwise show the user the two documented routes (upstream.md) and wait for a choice: the install.sh pipe (which also performs the co init setup) or pip install connectonion in a venv followed by an explicit decision on co init. Prefer pip in a venv when the user only wants the CLI.
  1. Confirm the version and capabilities read-only.

```bash

co --version

co doctor

co commands | grep -i <topic>

co <group> --help

```

Match the version against the audited 1.9.5; newer versions may rename commands, so trust co commands over the catalog in command-catalog.md.

  1. Classify the requested action with the tier table, then run the narrowest command. Quote the real --help "Effects" text to the user for tier 3–4 actions.
  1. Preview, approve, apply. If the command has a preview, run it without --yes/--confirm, show it, ask, then re-run with the flag only after approval. If it has none (e.g. co gmail send), present the exact payload and ask first. Use --json where offered.
  1. Verify. For sends/posts use the matching list/read command or co approvals to confirm the effect; report what actually happened, not what was intended.
  1. Undo guidance. For environment changes give the upstream undo (co rem stop, co rem sources remove, co auth logout, delete ~/.co/rem, remove the co:begin block from ~/.codex/AGENTS.md/~/.claude/CLAUDE.md) — see safety.md.

Examples

Example 1: "What can co do with calendars?"

co commands | grep -i calendar
co gcalendar --help

Tier 1 only; report the commands and which ones change data.

Example 2: "Draft and send a status email through Gmail"

co gmail send --help     # "Sends immediately, without a preview"

co gmail send has no preview, so write the full draft (to, --cc, --bcc, subject, body, attachments) in the reply and run co gmail send <to> "<subject>" "<body>" only after the user approves that exact message.

Example 3: "Set up co on this machine"

Run the preflight, report that co init edits Codex/Claude config and installs a scheduler, and ask whether to use the installer or a pip venv. Note that co create and co init ./ also create the global identity and skill/command-index links (they skip REM), so they are not config-free either. Do not start with plain co init.

Best practices

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.