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
37 changes: 37 additions & 0 deletions .antigravity-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://antigravity.google/schemas/v1/plugin.json",
"name": "freightright",
"displayName": "Freight Right",
"version": "0.2.2",
"description": "Freight rates, quote requests, and shipment tracking with billing, customs, documents and a feed of what changed, from your Freight Right account, with skills that keep billing and bookings right.",
"logo": "assets/antigravity-logo.png",
"suggestedPrompts": [
"What shipments are arriving this week?",
"What would one 40-foot container from Shanghai to Los Angeles cost?",
"Find a shipment by its container or reference number."
],
"author": {
"name": "Freight Right",
"email": "support@freightright.com",
"url": "https://www.freightright.com"
},
"homepage": "https://developers.freightright.com/setup/antigravity/",
"repository": "https://github.com/freight-right/agent-plugins",
"license": "MIT",
"keywords": [
"freight",
"freight rates",
"shipping",
"logistics",
"ltl",
"ocean freight",
"fcl",
"lcl",
"air freight",
"freight quote",
"shipment tracking",
"container tracking",
"supply chain",
"ecommerce shipping"
]
}
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

- This repository is public. It must never contain credentials, customer data, internal ticket identifiers, or a
hostname belonging to a development or staging environment.
- `plugins/freightright/.mcp.json` and the root `gemini-extension.json` must carry exactly
`https://mcp.freightright.com/mcp`. The validator pins this string. To test against development, copy the plugin
elsewhere and change the copy.
- `plugins/freightright/.mcp.json`, the root `mcp_config.json`, and the root `gemini-extension.json`
must carry exactly `https://mcp.freightright.com/mcp`. The validator pins this string. To test against
development, copy the plugin elsewhere and change the copy.

## Source of truth

- The connector — `freight-right/fr-mcp` — defines the tools. `contract/tools.json` is a snapshot of it and is the
- The connector, `freight-right/fr-mcp`, defines the tools. `contract/tools.json` is a snapshot of it and is the
only thing this repository checks skills against. Refresh it with `scripts/export_contract.py`; never hand-edit it.
- Enum values, limits and precision belong to `freightright://reference/codes`, not to a skill.

Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this plugin are documented here. The format follows

## [Unreleased]

### Added

- An Antigravity plugin: `.antigravity-plugin/plugin.json`, `mcp_config.json` for
`https://mcp.freightright.com/mcp`, and `rules/AGENTS.md`. It loads the five skills in `skills/`.
Gemini CLI's context file is `gemini-context.md`, so Antigravity does not treat it as an unloaded rule.

### Fixed

- The `quote-requests` skill description is quoted. An unquoted colon made YAML parsers drop the skill's name and
description.

## [0.2.2] — 2026-11-10

### Fixed
Expand Down
20 changes: 13 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
```
.claude-plugin/marketplace.json the marketplace Claude Code reads
gemini-extension.json the Gemini CLI extension gallery manifest (repository root)
GEMINI.md connector facts Gemini CLI loads with the extension
skills/ a copy of plugins/freightright/skills: Gemini CLI reads skills/<name>/SKILL.md
gemini-context.md connector facts Gemini CLI loads with the extension
.antigravity-plugin/plugin.json the Antigravity plugin manifest
mcp_config.json the Antigravity MCP server (`serverUrl`, OAuth in the client)
AGENTS.md notes for agents working in this repository
rules/AGENTS.md connector facts Antigravity loads with the plugin
skills/ a copy of plugins/freightright/skills: Gemini CLI and Antigravity read skills/<name>/SKILL.md
from the extension root and breaks a symlink there when it installs a release.
Edit the plugin's skills, then `npm run sync-skills`; the validator fails on drift
contract/tools.json a snapshot of the connector's real tool surface, with the fr-mcp revision
Expand All @@ -17,7 +21,7 @@ plugins/freightright/
assets/ anything the INSTALLED plugin references
skills/<name>/SKILL.md one skill per user intent
evals/ cases, graders and mocks
assets/ images for this README only; they are not part of an install
assets/ README images, plus assets/antigravity-logo.png for the Antigravity manifest
assets/github/ imagery GitHub itself shows; neither can be set through the API
```

Expand All @@ -35,6 +39,7 @@ prefer installing that way.
| Copilot CLI | `.github/plugin/marketplace.json` | root `plugin.json` |
| Cursor | `.cursor-plugin/marketplace.json` | `.cursor-plugin/plugin.json` |
| Gemini CLI | GitHub topic `gemini-cli-extension` after merge | root `gemini-extension.json` |
| Antigravity | `agy plugin install` of this repository | root `mcp_config.json`, `.antigravity-plugin/plugin.json` |
| Grok | none — it scans `plugins/*/` | root `plugin.json` (the portable manifest) |
| Muse Code | `.agents/plugins/marketplace.json` or `.claude-plugin/marketplace.json`, whichever it finds first | root `plugin.json` (the portable manifest) |

Expand Down Expand Up @@ -77,8 +82,9 @@ requiring the same field placement. Adding a client means adding a row to `MARKE
Two rules that are easy to get wrong:

- Only `plugin.json` belongs inside `.claude-plugin/`. Everything else sits at the plugin root.
- An asset referenced by an installed manifest must live under `plugins/freightright/assets/`. Repository-root
assets render on GitHub but are absent from an installed plugin's cached directory.
- An asset referenced by an installed Claude, Codex, Cursor, or Copilot manifest must live under
`plugins/freightright/assets/`. Repository-root assets render on GitHub but are absent from those clients' cached
plugin directory. Antigravity installs the repository root, so its logo is `assets/antigravity-logo.png`.

### GitHub imagery

Expand Down Expand Up @@ -159,11 +165,11 @@ release; see `plugins/freightright/evals/README.md`.
python scripts/export_contract.py --fr-mcp ../fr-mcp
```
If a tool was added, removed or renamed, update the skills and the mocks, and say so in the changelog.
2. Bump the version. Nine files state it, in several shapes, so there is one command and no hand-editing:
2. Bump the version. Ten files state it, in several shapes, so there is one command and no hand-editing:
```sh
npm run set-version -- 0.2.0
```
The validator checks all nine agree. A bump makes an update *detectable*; it does not update anyone
The validator checks all ten agree. A bump makes an update *detectable*; it does not update anyone
automatically — each client has its own update action.
3. Run the eval suite on a pinned model with three trials, and record the model and commit — the gate
refuses to run without both.
Expand Down
36 changes: 26 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<p>Freight rates, quote requests and shipment tracking from your Freight Right account.</p>

<p><b>Claude Code · Codex · GitHub Copilot CLI · Cursor · Gemini CLI · Grok · Muse Code</b></p>
<p><b>Claude Code · Codex · GitHub Copilot CLI · Cursor · Gemini CLI · Antigravity · Grok · Muse Code</b></p>

<p>
<img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-1e3063">
Expand Down Expand Up @@ -151,21 +151,34 @@ Cursor takes a full git URL rather than `owner/repo`, and indexes the default br
**Gemini CLI**

Gemini CLI installs the latest GitHub Release, not the default branch. It clones the repository only when the
repository has no release at all. The current release does not contain `gemini-extension.json`, so this command
fails with `configuration file not found` until a release tag includes the manifest:
repository has no release at all. Release `v0.2.2` and later include `gemini-extension.json`:

```sh
gemini extensions install https://github.com/freight-right/agent-plugins
```

After that release, run `/mcp auth freightright` and sign in with your Shipment Manager account. Gemini CLI
discovers the OAuth endpoints from the connector and registers a client dynamically. There is no client id or
secret in this repository. The extension's tool timeout is already set to 60 seconds. Later updates follow the
release tag.
Then run `/mcp auth freightright` and sign in with your Shipment Manager account. Gemini CLI discovers the OAuth
endpoints from the connector and registers a client dynamically. There is no client id or secret in this
repository. The extension's tool timeout is already set to 60 seconds. Later updates follow the release tag.

Once the repository carries the `gemini-cli-extension` GitHub topic, the same extension appears in the
[Gemini CLI extension gallery](https://geminicli.com/extensions).

**Antigravity**

Antigravity 2.6.0 or later installs this repository as a plugin. It reads `.antigravity-plugin/plugin.json`,
`mcp_config.json`, `rules/AGENTS.md`, and the five skills in `skills/`. The connector URL is
`https://mcp.freightright.com/mcp`. Sign-in is OAuth in the client. There is no API key in this repository.

```sh
agy plugin install https://github.com/freight-right/agent-plugins
```

To install a branch before it is the default, append `/tree/<branch>` to that URL.

When the Freight Right server connects, Antigravity opens a browser so you can sign in with your Shipment Manager
account. A price check asks carriers live and can take up to a minute.

### Supported clients

| Client | Installs | Skills work |
Expand All @@ -175,6 +188,7 @@ Once the repository carries the `gemini-cli-extension` GitHub topic, the same ex
| Copilot CLI 1.0.87 | Verified | Verified |
| Cursor 2.2.44 | Verified | Verified |
| Gemini CLI 0.44.1 | Verified, from the latest GitHub Release | Verified |
| Antigravity desktop 2.31.0 and CLI 1.5.4 | Verified, from a local path and a GitHub branch | Verified in the desktop app |
| Grok 1.0.40 | Verified | Verified |
| Muse Code 1.3.0 | Verified, behind `MUSE_EXPERIMENTAL_PLUGINS` | Verified |

Expand All @@ -183,14 +197,16 @@ vendor's directory. Grok and Muse Code are the exceptions that prove the point:
[Agent Plugins](https://agent-plugins.org) manifest — Muse Code reads the Codex or Claude Code catalog as well — so
neither needs anything of its own. Muse Code installs the skills only: its plugin format cannot carry an authenticated
MCP server yet, which is why its install ends in a settings entry and a sign-in. Gemini CLI reads the root
`gemini-extension.json` and `GEMINI.md`. Its `skills` directory is a copy of `plugins/freightright/skills` that the
`gemini-extension.json` and `gemini-context.md`. Its `skills` directory is a copy of `plugins/freightright/skills` that the
validator keeps byte-identical, so it loads the same five skills; a symlink does not survive Gemini CLI's install
from a release.
from a release. Antigravity reads `.antigravity-plugin/plugin.json`, `mcp_config.json`, and `rules/AGENTS.md`, and
it loads those same five skills.

The production connector the plugin ships, `https://mcp.freightright.com/mcp`, is live: Freight Right's scripted
canary — a registered MCP client that signs in through the same OAuth flow these clients use — completes the sign-in
against it as a Freight Right administrator, and Muse Code has completed one interactively against the development
connector through `muse mcp login`. An interactive sign-in from each client against production is still to be
connector through `muse mcp login`. Antigravity 2.31.0 completed an interactive sign-in against production and a
read-only shipment lookup. An interactive sign-in from each other client against production is still to be
recorded here. Installing and using the skills is what the table reports.

## What the connector can do
Expand Down
Binary file added assets/antigravity-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
2 changes: 1 addition & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"timeout": 60000
}
},
"contextFileName": "GEMINI.md"
"contextFileName": "gemini-context.md"
}
7 changes: 7 additions & 0 deletions mcp_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"mcpServers": {
"freightright": {
"serverUrl": "https://mcp.freightright.com/mcp"
}
}
}
2 changes: 1 addition & 1 deletion plugins/freightright/skills/quote-requests/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: quote-requests
description: Freight Right quote requests — ask Freight Right's pricing team for a price that instant rates cannot give: full truckload, Mexico trucking, hazardous or temperature-controlled cargo on a mode that refuses it, unusual cargo, a lane with no instant offers, a second opinion. Covers previewing, submitting and polling a request, who may book it, listing quotes and reading one by its number (a customer's own, or every organization's for a Freight Right administrator), a quote's public read-only link, an administrator sharing a quote and finishing a draft: its offers, the one chosen, sending it. Also use when a customer asks Freight Right's team something in their own words — a spot rate, a contract inquiry, booking help, a shipment problem, a correction, a PO discrepancy (what a container held against the purchase order) or a feature request — or follows up on or withdraws such a request.
description: "Freight Right quote requests — ask Freight Right's pricing team for a price that instant rates cannot give: full truckload, Mexico trucking, hazardous or temperature-controlled cargo on a mode that refuses it, unusual cargo, a lane with no instant offers, a second opinion. Covers previewing, submitting and polling a request, who may book it, listing quotes and reading one by its number (a customer's own, or every organization's for a Freight Right administrator), a quote's public read-only link, an administrator sharing a quote and finishing a draft: its offers, the one chosen, sending it. Also use when a customer asks Freight Right's team something in their own words — a spot rate, a contract inquiry, booking help, a shipment problem, a correction, a PO discrepancy (what a container held against the purchase order) or a feature request — or follows up on or withdraws such a request."
Comment thread
hanryuken marked this conversation as resolved.
Resolved
---

# Freight Right: quote requests
Expand Down
10 changes: 10 additions & 0 deletions rules/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Freight Right

This plugin connects Antigravity to the Freight Right MCP connector at
`https://mcp.freightright.com/mcp` over streamable HTTP. When the server connects, sign in
with a Shipment Manager account in the browser. There is no API key.

A price check asks carriers live and can take up to a minute.

The skills shipped with this plugin are the workflow. The connector documentation is at
<https://developers.freightright.com>.
12 changes: 12 additions & 0 deletions scripts/selftest.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,22 @@ const VALIDATOR_CASES = [
edit(d, SKILL, (s) => s.replace('name: instant-pricing', 'name: something-else'))],
['a skill carrying allowed-tools', (d) =>
edit(d, SKILL, (s) => s.replace('name: instant-pricing', 'name: instant-pricing\nallowed-tools: Bash'))],
['a skill description with an unquoted colon', (d) => {
for (const file of [
'plugins/freightright/skills/quote-requests/SKILL.md',
'skills/quote-requests/SKILL.md',
]) {
edit(d, file, (s) => s.replace(/^description: "(.*)"$/m, 'description: $1'));
}
}],
['a connector URL that is not production', (d) =>
json(d, 'plugins/freightright/.mcp.json', (v) => {
v.mcpServers.freightright.url = 'https://dev-mcp.sm.freightright.com/mcp';
})],
['an Antigravity connector URL that is not production', (d) =>
json(d, 'mcp_config.json', (v) => {
v.mcpServers.freightright.serverUrl = 'https://dev-mcp.sm.freightright.com/mcp';
})],
['a Gemini CLI connector URL that is not production', (d) =>
json(d, 'gemini-extension.json', (v) => {
v.mcpServers.freightright.httpUrl = 'https://dev-mcp.sm.freightright.com/mcp';
Expand Down
3 changes: 2 additions & 1 deletion scripts/set-version.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
// One version lives in nine files. Bumping them by hand is how a release goes out inconsistent, so this is the
// One version lives in ten files. Bumping them by hand is how a release goes out inconsistent, so this is the
// only supported way to do it.
//
// npm run set-version -- 0.2.0
Expand Down Expand Up @@ -28,6 +28,7 @@ const TARGETS = [
['.github/plugin/marketplace.json', (v) => { v.version = version; }],
['.cursor-plugin/marketplace.json', (v) => { v.metadata.version = version; }],
['gemini-extension.json', (v) => { v.version = version; }],
['.antigravity-plugin/plugin.json', (v) => { v.version = version; }],
];

for (const [file, set] of TARGETS) {
Expand Down
Loading
Loading