← Back to Skills Marketplace
rachidjarray-hk-qa-fdt

Authenticate

by Rachid Jarray · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
284
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install authenticate
Description
Sign in to the Finance District agent wallet. Use when you or the user want to log in, sign in, connect, set up, or configure the wallet, or when any wallet...
README (SKILL.md)

Authenticating with the Finance District Agent Wallet

When the wallet is not signed in (detected via fdx status or when wallet operations fail with authentication errors), use the fdx CLI to authenticate via OAuth 2.1.

Authentication requires a browser — the agent guides the human through the flow, but the human must complete the browser-based authorization step.

Checking Authentication Status

fdx status

Displays the MCP server URL, token state, expiry, and whether a refresh token is available.

Authentication Flow

FDX supports two OAuth flows depending on the environment:

Browser Flow (default)

Use when the human has a browser available on the same machine:

fdx setup

This will:

  1. Register a client with the MCP server
  2. Print an authorization URL
  3. Start a local callback server on port 6260
  4. Wait for the human to complete browser authorization
  5. Exchange the authorization code for tokens

Tell your human: "Please open the URL in your browser and authorize the wallet. I'll wait for the callback."

Device Flow

Use when the human cannot open a browser on the same machine (e.g. remote server, headless environment):

fdx setup --device

This will:

  1. Register a device client with the MCP server
  2. Display a verification URL and a user code
  3. Poll for authorization completion

Tell your human: "Please go to the verification URL on any device, enter the code shown, and authorize. I'll wait here."

Logging Out

fdx logout

Removes stored credentials. The human will need to run fdx setup again to re-authenticate.

Example Session

# Check current status
fdx status

# If not authenticated, start login
fdx setup

# Human completes browser authorization...

# Confirm authentication succeeded
fdx status

Token Lifecycle

  • Tokens auto-refresh on subsequent fdx call commands if a refresh token is available
  • If the token is expired and no refresh token exists, the human must run fdx setup again
  • Token state is stored locally (default: ~/.fdx/auth.json)

Environment Variables

Variable Description Default
FDX_MCP_SERVER MCP server URL https://mcp.fd.xyz
FDX_REDIRECT_URI OAuth callback URI http://localhost:6260/oauth/callback
FDX_STORE_PATH Token store file path ~/.fdx/auth.json

Error Handling

  • "not authenticated" — Run fdx setup to authenticate
  • "token expired" with refresh token — Will auto-refresh on next call; no action needed
  • "token expired" without refresh token — Run fdx setup again
  • "OAuth state mismatch" — Possible CSRF; restart with fdx setup
  • "Callback server error" — Port 6260 may be in use; try --device flow instead
Usage Guidance
This skill is coherent for its stated purpose: it simply guides a human to run the `fdx` CLI to perform OAuth and manage tokens stored at ~/.fdx/auth.json. Before installing or using it, verify that the `fdx` CLI is present and comes from a trusted source, and confirm the MCP server URL (default https://mcp.fd.xyz) is correct for your deployment. Be cautious running this on multi-user or untrusted machines because the token file contains credentials; prefer the device flow on headless/remote hosts. Also note the SKILL.md advertises environment variables but the registry metadata doesn't declare them — harmless but worth correcting by the skill author for clarity.
Capability Analysis
Type: OpenClaw Skill Name: authenticate Version: 0.1.0 The skill bundle provides standard instructions for an AI agent to manage OAuth 2.1 authentication for the 'Finance District' wallet using a specific CLI tool (`fdx`). It restricts the agent's capabilities to a narrow set of commands (`fdx setup`, `fdx status`, `fdx logout`) and uses a legitimate-appearing endpoint (mcp.fd.xyz). No evidence of data exfiltration, malicious execution, or harmful prompt injection was found in SKILL.md.
Capability Assessment
Purpose & Capability
The skill is an instruction-only helper for authenticating the Finance District wallet via the local `fdx` CLI. All required actions described (fdx setup, status, logout) align with the stated purpose. Note: SKILL.md documents FDX-related environment variables (FDX_MCP_SERVER, FDX_REDIRECT_URI, FDX_STORE_PATH) but the registry metadata lists no required env vars — a minor metadata omission, not a functional mismatch.
Instruction Scope
Instructions are narrow and scoped to running `fdx status`, `fdx setup` (browser or device OAuth flows), and `fdx logout`. They instruct the human to complete browser/device authorization. The skill references the local token store (~/.fdx/auth.json) and a local callback server (port 6260), which are expected parts of an OAuth flow.
Install Mechanism
No install spec or code files — this is instruction-only. That minimizes risk because nothing is written or executed beyond invoking the existing `fdx` CLI on the host.
Credentials
The skill does not request secrets or credentials in metadata. The SKILL.md lists non-secret environment variables (MCP server URL, redirect URI, token store path) which are reasonable for configuration. However the metadata does not declare these env vars as required; also be aware that `fdx status` / `fdx setup` will read/write the local token store (e.g. ~/.fdx/auth.json) containing tokens.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent presence or modify other skills/system settings. Autonomous invocation remains enabled by default but that is normal and not raised here because the skill's actions are limited to guiding human-driven OAuth via the `fdx` CLI.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install authenticate
  3. After installation, invoke the skill by name or use /authenticate
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of the "authenticate" skill for signing in to the Finance District agent wallet. - Enables guided login and authentication using the `fdx` CLI via browser or device OAuth flows. - Allows users to check authentication status, handle errors, and log out as needed. - Prerequisite for all wallet operations such as sending tokens, swapping, and checking balances.
Metadata
Slug authenticate
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Authenticate?

Sign in to the Finance District agent wallet. Use when you or the user want to log in, sign in, connect, set up, or configure the wallet, or when any wallet... It is an AI Agent Skill for Claude Code / OpenClaw, with 284 downloads so far.

How do I install Authenticate?

Run "/install authenticate" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Authenticate free?

Yes, Authenticate is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Authenticate support?

Authenticate is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Authenticate?

It is built and maintained by Rachid Jarray (@rachidjarray-hk-qa-fdt); the current version is v0.1.0.

💬 Comments