GoFin + your agent

Set up your AI agent

Codex, Claude Code, OpenClaw or Hermes. One local CLI, with credentials and financial limits handled by GoFin’s protected broker.

Continue in your agent
Follow https://gofin.sh/docs/agents/ to set up GoFin with my AI agent, using the latest GoFin release. Guide me through any protected steps in my own Terminal and verify the setup.

1. Start with GoFin on your Mac

Install GoFin, then use an agent session that can run shell commands on that Mac. The protected runtime requires macOS 13 or newer on Apple Silicon or Intel and administrator access for installation. Setup works in Apple Terminal or a human-controlled macOS system OpenSSH session without GUI login or Touch ID; financial approval remains separate. These instructions assume the latest GoFin release. Update GoFin before starting; available capabilities depend on your connections.

Open a new Terminal or SSH login session after installation and check:

gofin --version
gofin doctor
gofin skill install --help

Complete protected setup and credential entry yourself in Apple Terminal or your own macOS system OpenSSH session. The skill supplies instructions; installing it grants no financial authority. The discovery request below needs no connected account or deposit. For a useful public market read, follow the read-only trial.

2. Add the skill for your agent

Run the commands for your agent as your normal Mac user, without sudo. If you selected that agent during GoFin setup, inspection may already report current.

Codex

gofin skill install --agent codex
gofin skill inspect --agent codex

The managed skill is ~/.agents/skills/gofin/SKILL.md. Codex detects local skill changes; restart it if GoFin does not appear. Ask Codex to use the GoFin skill explicitly. In Codex CLI or the IDE extension, you can also find it through /skills or a $ mention.

Claude Code

gofin skill install --agent claude
gofin skill inspect --agent claude

The managed skill is ~/.claude/skills/gofin/SKILL.md. In a local Claude Code session, invoke /gofin or ask Claude to use the GoFin skill. Start a new session if it is missing. A skill installed in your Mac’s home directory does not by itself give a cloud session access to GoFin on that Mac.

OpenClaw

gofin skill install --agent openclaw
gofin skill inspect --agent openclaw

The managed skill is ~/.openclaw/skills/gofin/SKILL.md. Check openclaw skills list, then start a new session and ask it to use GoFin. Workspace skills and, in OpenClaw’s default state, ~/.agents/skills/gofin can take precedence. Confirm the actual loaded path; GoFin inspection only checks its managed copy.

GoFin does not resolve OPENCLAW_STATE_DIR or custom profiles. Configure the intended skill root for those setups. This guide covers local macOS execution; host skill eligibility alone does not establish CLI or broker access from a sandbox.

Hermes

gofin skill install --agent hermes
gofin skill inspect --agent hermes

The managed skill is ~/.hermes/skills/gofin/SKILL.md. Check hermes skills list, start a new Hermes session, and invoke /gofin or ask it to use the GoFin skill.

GoFin manages the default user-home path, not HERMES_HOME or custom profiles. Make sure the active profile loads the intended copy and its execution tool runs on the GoFin Mac.

3. Make a first read-only request

Paste this into the agent you configured:

Copy into your agent
Use the GoFin skill to check my installed version and available capabilities, then suggest three read-only things I can explore. Keep this check to inspection only and tell me if anything is missing.

The agent should report your installed version and real capabilities, or explain what is missing. For a specific read, it should inspect gofin explain NAME --json and gofin schema NAME --json, with NAME taken from current discovery.

Discovery needs no broker or credentials. It does not prove that an account is connected, a provider is reachable or financial execution is ready.

4. Explore your connected accounts

When you want account balances, connect an account in your own Terminal. Enter API keys and private keys only in GoFin’s protected prompt. Then ask:

Use GoFin to show balances for the accounts I have connected. Discover the supported read operations first. Include asset and network identities and available timestamps; report missing or incomplete data. Do not place trades, transfer funds, change settings or ask me to paste credentials.

Account reads require completed setup, an accessible broker and the provider’s required permissions. A failed observation is not a zero balance.

Your agent chooses CLI commands. GoFin’s local broker uses the credentials and independently enforces financial authority and limits. Reads need no financial approval. See limits and approval before requesting financial actions.

If something is missing

The agent cannot find GoFin

Ask it to run command -v gofin through its actual execution tool. If GoFin works in Terminal but not the agent, check that tool’s PATH and restart the local session after setup. A skill does not connect a remote host or container to your Mac’s broker.

GoFin rejects an agent name

Check gofin skill install --help and gofin capabilities. Update GoFin, then use the target listed for your agent.

The skill is missing or outdated

Inspect the copy for your target. Replace AGENT below with codex, claude, openclaw or hermes:

gofin skill inspect --agent AGENT
gofin skill update --agent AGENT

Update applies to an existing managed copy and uses the skill bundled with your current GoFin binary. Update GoFin first if you need a newer bundled skill. GoFin does not manage copies installed through another agent’s installer.

The skill has edits or a conflict

Review the reported files before changing them. GoFin preserves modified or unmanaged content; follow its backup and conflict instructions. A current result describes GoFin’s managed files, not which copy the agent actually loaded.

Account reads fail

Run gofin doctor yourself, check the connection and provider permissions, and follow any human setup instructions. Report incomplete observations without inventing balances.

References

See the GoFin agent skill guide for installation, compatibility and maintenance details.