Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,22 @@ app, or the lint setup.

### Pick your goal

| I want to... | Go to |
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| Call Gina from TypeScript code | [`packages/sdk/README.md`](packages/sdk/README.md) |
| Call Gina from a terminal | [`packages/cli/README.md`](packages/cli/README.md) |
| Use the shared catalog and protocol types | [`packages/contracts/README.md`](packages/contracts/README.md) |
| Install the plugin in a host (Cursor, Grok Bot, Devin, and others) | [`plugins/ask-gina/README.md`](plugins/ask-gina/README.md#install) |
| Connect ChatGPT, Claude, Codex, or another client | Public [Connect guides](https://docs.askgina.ai/connect/index) |
| Run or change the evals | [`packages/evals/README.md`](packages/evals/README.md#start-here). Start with replay: it makes no network calls and needs no secrets. |
| Work on the public evals app | [Public evals app](#public-evals-app) in Reference |
| Contribute a change | [`ai_docs/contributing.md`](ai_docs/contributing.md), then the loop below |
| Edit the public docs site | `docs/` is the Mintlify source; authoring rules are in [`ai_docs/docs/authoring.md`](ai_docs/docs/authoring.md) |
| I want to... | Go to |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| Call Gina from TypeScript code | [`packages/sdk/README.md`](packages/sdk/README.md) |
| Call Gina from a terminal | [`packages/cli/README.md`](packages/cli/README.md) |
| Use the shared catalog and protocol types | [`packages/contracts/README.md`](packages/contracts/README.md) |
| Install the plugin in a host (Antigravity, Cursor, Grok Bot, Devin, and others) | [`plugins/ask-gina/README.md`](plugins/ask-gina/README.md#install) |
| Connect ChatGPT, Claude, Codex, or another client | Public [Connect guides](https://docs.askgina.ai/connect/index) |
| Run or change the evals | [`packages/evals/README.md`](packages/evals/README.md#start-here). Start with replay: it makes no network calls and needs no secrets. |
| Work on the public evals app | [Public evals app](#public-evals-app) in Reference |
| Contribute a change | [`ai_docs/contributing.md`](ai_docs/contributing.md), then the loop below |
| Edit the public docs site | `docs/` is the Mintlify source; authoring rules are in [`ai_docs/docs/authoring.md`](ai_docs/docs/authoring.md) |

Antigravity installs local plugin directories with `agy plugin install`. The
[Antigravity connect guide](https://docs.askgina.ai/connect/antigravity) covers
research, Spot, Perps and Predictions, their OAuth scopes, and confirmation for
venue writes. This source-install route does not imply a Marketplace listing.

### Contributor loop

Expand Down
37 changes: 27 additions & 10 deletions ai_docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ descriptor; `bun run manifests:generate` writes them and `bun run manifests:chec
fails on drift. `skills/index.json` is generated by `bun run skills:index` and
lists every declared skill. A `SKILL.md` that no plugin declares fails the check.

There is one marketplace per host, named `ask-gina-plugins`, and each lists every
plugin package: the read-only `ask-gina` and the transaction-capable
The Claude, Codex and Cursor repository marketplaces are named
`ask-gina-plugins`, and each lists every plugin package: the read-only
`ask-gina` and the transaction-capable
`ask-gina-spot`, `ask-gina-perps` and `ask-gina-predictions`. The Perps and
Predictions packages declare no skills, so their manifests carry no skills path.
`tools/docs/venue-tools.json` lists their native tools by annotation class and
Expand Down Expand Up @@ -54,6 +55,16 @@ install of that same directory, Devin activates `.devin-plugin/plugin.json`,
`.mcp.json`, and the canonical `skills/`. Cursor `mcp.json`, `rules/*.mdc`, and
`commands/` remain in the checkout; `devin plugins info` reports no rules, no
hooks, and only the `ask-gina` MCP server.
Antigravity installs the generated isolated tree through `agy plugin install
./plugins/<name>/targets/antigravity`. Each opted-in plugin has `.antigravity-plugin/plugin.json`
and a URL-only `mcp_config.json`; `listing.descriptions.antigravity` opts it into
manifest generation and packaging. All four plugins opt in. Components stay at
the plugin root, with skills where declared. The research plugin's
`rules/GEMINI.md` carries its read-only rule; Cursor's `.mdc` rule is not an
Antigravity rule. Venue plugins have no rules directory. These local source
installs do not establish an Antigravity Marketplace listing, and OAuth
sign-in remains separate from installation and confirmation of venue writes.

The repository is public. Automated remote marketplace proof still runs only on a
trusted same-repository push and uses an ephemeral, read-only GitHub token only while
Codex clones the marketplace. Pull-request jobs never receive this token. The smoke harness
Expand All @@ -63,16 +74,22 @@ consumers need no repository token; Ask Gina MCP authentication remains separate

`plugins/ask-gina/skills/` is the only authored skill tree. OpenAI-specific skill
metadata remains beside each canonical `SKILL.md` under `agents/openai.yaml`.
`plugins/ask-gina/targets/` contains only the Claude, Copilot, and Gemini
overlays; there is no `targets/openai/`, `targets/cursor/`, or `targets/devin/`
source tree.

Sync and pack operations build temporary host targets from these sources. The
OpenAI, Cursor, and Devin targets select only their root files and canonical skills.
`plugins/ask-gina/targets/` contains Claude, Copilot and Gemini CLI overlays plus
the complete generated Antigravity tree. There is no `targets/openai/`,
`targets/cursor/` or `targets/devin/` source tree. Gemini CLI remains a
research-only extension; Antigravity is a separate target for all four plugins.
`bun run manifests:generate` refreshes Antigravity copies of manifests, MCP config,
README, logo, skills and the research rule; `bun run manifests:check` rejects
missing, extra or byte-drifted files. Edit canonical root sources, not these copies.

Sync and pack operations build temporary host targets from these sources. The OpenAI, Cursor, Devin, and Antigravity targets select their host-specific
root files and declared skills.
Every remaining host combines its `targets/<host>/` overlay with the same
canonical skills. Generated host trees are output, never authoring source.
The Cursor generated host also includes `README.md`, `rules/`, and `commands/`.
Those extras are Cursor-only. The generated Devin archive stays lean
The Cursor generated host also includes `README.md`, its `.mdc` rules, and
`commands/`. Antigravity uses its own manifest, `mcp_config.json`, bundled logo,
README, declared skills and, for the research plugin, `rules/GEMINI.md`; it does
not load Cursor slash commands or `.mdc` rules. The generated Devin archive stays lean
(`.devin-plugin`, `.mcp.json`, `assets/icon.svg` because the manifest `logo`
points at it, and `skills/`) even though a `git-subdir` clone of
`plugins/ask-gina/` contains the rest of the package. Grok Bot still loads
Expand Down
29 changes: 28 additions & 1 deletion ai_docs/docs-host-verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,36 @@ Grok Build is another distinct surface: official docs support `grok mcp add --tr
- Targeted public searches did not establish a current Ask Gina listing on ChatGPT, Claude, or Cursor. Claude directory crawling was blocked. Absence of search evidence does not establish absence of a listing. Use direct MCP setup as the concrete path; add marketplace buttons only with a verified URL and successful install check.
- Package README explicitly distinguishes building archives from publishing/submitting. Do not infer npm availability or approved marketplace release from package names, generated archives, or target manifests. [README](../plugins/ask-gina/README.md).

## Antigravity source-install route - 2026-11-02

Google's [plugin guide](https://antigravity.google/docs/build-plugins/) documents
`agy plugin install ./<plugin-root>` and `agy plugin list`, with a manifest at
`.antigravity-plugin/plugin.json` and components at the plugin root. The
[MCP guide](https://antigravity.google/docs/mcp/) documents URL-only remote
servers, automatic OAuth for DCR-capable servers, and `/mcp` for the CLI manager.
The [connect guide](../docs/connect/antigravity.mdx) installs the generated
`plugins/<name>/targets/antigravity` trees for `ask-gina`, `ask-gina-spot`,
`ask-gina-perps` and `ask-gina-predictions`, not the multi-host source roots,
Gemini CLI overlay or an Antigravity Marketplace listing. Research uses
`tools:read`; venue connections use `tools:execute` and require confirmation
before writes.

Antigravity CLI 1.4.12 passed `agy plugin validate --strict --json` on all four
isolated trees with no findings. Installs into a disposable HOME succeeded, and
`agy plugin list --json` showed each enabled at version 1.0.0: research with four
skills, one GEMINI rule and one MCP server; Spot with two skills and one server;
Perps and Predictions with one server each and no skills or rules. No real HOME
was changed. These are loader and packaging proofs, not authenticated MCP or
Marketplace acceptance. OAuth sign-in and live reads were not exercised.

Source-root strict validation warned about foreign host files. Source-root
installation also converted Cursor commands and included the Cursor rule, so
only the isolated targets are documented for installation. Their copies are
checked by `bun run manifests:check` and regenerated by `bun run manifests:generate`.

## Acceptance evidence still needed

For each advertised host: record host/version or web date, setup method, successful OAuth/token authorization, discovered read tools, one successful read request, and reconnect behavior. For listings, record the real listing URL and installed package identity. For write guides, verify endpoint/access labels separately and never use a real trade as the connection smoke test. This research did not create credentials, install plugins, authorize accounts, or run financial tools.
For each advertised host: record host/version or web date, setup method, successful OAuth/token authorization, discovered read tools, one successful read request, and reconnect behavior. For listings, record the real listing URL and installed package identity. For write guides, verify endpoint/access labels separately and never use a real trade as the connection smoke test. The source research did not create credentials, authorize accounts, or run financial tools; the Antigravity loader proof above is separate.

## Client navigation update — 2026-09-07

Expand Down
10 changes: 7 additions & 3 deletions docs/agents/plugins-and-skills.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A skill that is not served over MCP is not available from a direct MCP connectio

## Install for your host

All plugins live in one marketplace per host. Add the marketplace once, then install the ones you need. Spot, Perps and Predictions move real funds, so review every quote and order before you approve it, and read [Write access (Degen mode)](/write-access/index) first.
Installation depends on the host: some use a repository marketplace, others load plugin directories. Spot, Perps and Predictions move real funds, so review every quote and order before you approve it. See [Write access (Degen mode)](/write-access/index) for their access boundaries.

### Claude Code

Expand Down Expand Up @@ -68,9 +68,13 @@ Add a `git-subdir` source to your Devin account or enterprise manifest. Use `plu

Copilot reads the manifest in each plugin's `targets/copilot` folder in the repository.

### Gemini
### Antigravity

The Gemini extension includes only `ask-gina`. The write plugins are not available as Gemini extensions. To use a write venue from another client, connect the [Spot](/spot-mcp/client-setup), [Perps](/perps-mcp/client-setup) or [Predictions](/predictions-mcp/client-setup) MCP server directly.
Antigravity installs each plugin's `targets/antigravity` directory with `agy plugin install` from a local checkout. Follow the [Antigravity guide](/connect/antigravity) for the paths, OAuth sign-in and a read-only connection check. This is a source-install route, not a claim of an Antigravity Marketplace listing.

### Gemini CLI

The Gemini CLI extension includes only `ask-gina`. The write plugins are not available as Gemini CLI extensions. Antigravity is a separate target and supports the venue plugins. For other clients, the [Spot](/spot-mcp/client-setup), [Perps](/perps-mcp/client-setup) and [Predictions](/predictions-mcp/client-setup) guides describe direct MCP connections.

### Hosts with manual skill loading

Expand Down
58 changes: 58 additions & 0 deletions docs/connect/antigravity.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: "Antigravity"
description: "Install Ask Gina plugins from local repository paths in Antigravity and sign in to the connections you choose."
---

Connect Antigravity to Gina for read-only research or to a separate trading venue. This guide uses local plugins from [askgina/plugins](https://github.com/askgina/plugins), not an Antigravity Marketplace listing. It is separate from the [Gemini CLI extension](/agents/plugins-and-skills#gemini-cli).

## Choose a plugin

Each plugin connects to a different MCP server. The OAuth scope applies to that connection, not to every Gina server.

| Plugin | OAuth scope | Access |
| ---------------------- | --------------- | ------------------------------------------------------------------------------------------------- |
| `ask-gina` | `tools:read` | Research wallets, spot tokens, Hyperliquid and Polymarket. No trading or asset transfers. |
| `ask-gina-spot` | `tools:execute` | Quote and, with your confirmation, execute spot swaps, transfers and liquidity-pool operations. |
| `ask-gina-perps` | `tools:execute` | Read Hyperliquid and, with your confirmation, manage orders, leverage and funding. |
| `ask-gina-predictions` | `tools:execute` | Research Polymarket and, with your confirmation, trade and manage positions, orders and balances. |

The research plugin stays read-only even when a venue plugin is also installed. Venue plugins grant separate [write access (Degen mode)](/write-access/index); installing research skills does not grant it. OAuth sign-in is not confirmation of a trade. Before a venue write, your agent must show the exact action and wait for your approval. These actions can move real funds and may not be reversible.

## Install from the repository

You need Git and the Antigravity CLI (`agy`). Clone the repository, then install the research plugin from its directory:

```sh
git clone https://github.com/askgina/plugins.git
cd plugins
agy plugin install ./plugins/ask-gina/targets/antigravity
```

For venue access, run the command for each plugin you want from the same repository root. These are optional, separate installs:

```sh
agy plugin install ./plugins/ask-gina-spot/targets/antigravity
agy plugin install ./plugins/ask-gina-perps/targets/antigravity
agy plugin install ./plugins/ask-gina-predictions/targets/antigravity
```

Each `targets/antigravity` directory is a complete plugin. Install that directory rather than the multi-host parent: the parent contains other hosts' rules and commands that Antigravity's installer can convert. Antigravity reads `.antigravity-plugin/plugin.json` and `mcp_config.json` in the isolated target. Research and Spot include skills; Perps and Predictions provide MCP connections without skills. Research also includes the read-only rule `rules/GEMINI.md`. See the [skills catalog](/agents/skills-catalog).

## Sign in

Open Antigravity and complete Ask Gina OAuth in the browser when the installed connection requests sign-in. Each plugin's MCP configuration contains only its server URL; no token or client secret needs to be pasted into the repository. In the CLI, `/mcp` opens the MCP manager to inspect connection status and reload configurations.

Authorize each connection you installed. A successful plugin install does not itself authenticate an account. Google's [plugin guide](https://antigravity.google/docs/build-plugins/) and [MCP guide](https://antigravity.google/docs/mcp/) describe local installation, server discovery and OAuth.

## Check that it works

1. Run `agy plugin list` and confirm the selected plugins are installed and enabled.
2. Open Antigravity's MCP or tools list and finish any pending sign-in. Confirm tools appear for each installed connection; venue execution tools are marked destructive.
3. Make a read request for the plugin you installed:
- Research: **“Use Gina to show ETH in USD over the past seven days.”** Confirm a Gina tool ran and the result identifies ETH and the requested period.
- Spot: **“Show my LP positions.”** Confirm a Spot read ran; an empty account can have no positions.
- Perps: **“Show my Hyperliquid positions.”** Confirm `getHyperliquidPositions` ran.
- Predictions: **“Show Polymarket markets that end today.”** Confirm `getExpiringMarkets` ran.
4. For a venue connection, ask its `bash` tool to run `echo ok`. Expect `ok`; this checks the sandbox without placing an order or transferring funds.

Connection checks do not need a trade. If tools are missing, check that the plugin is enabled and authenticated, then reload the MCP configuration. Avoid adding a duplicate manual connection for a server already supplied by the plugin. See [First successful request](/start/first-request) for read-result troubleshooting. Rich charts depend on the host's rendering support.
Loading
Loading