Technical docs

Work-with-Alloy Plugin

Overview

Support reference for the `work-with-alloy` Claude Code / Codex plugin.

Repository: https://github.com/Alloy-Systems/work-with-alloy

What it does

`work-with-alloy` is a Claude Code and Codex plugin that automatically wires an AI agent to Alloy. When the plugin is active, the agent:

  • connects to Alloy's hosted MCP endpoint and gains access to Alloy storage, documentation, system actions, and assigned upstream integrations
  • loads the `work-with-alloy` skill, which instructs the agent to treat Alloy as its source of truth for reading context and writing durable knowledge
  • loads `configure-alloy` from the connected teammate's available skills for workspace configuration, then reads its selected resources with `skill_read` and loads specialist skills as needed
  • follows the Alloy knowledge-management rules (artifact log, knowledge.md, org context) without any per-conversation setup

Plugin components

The plugin ships two parts:

ComponentFilePurpose
Skill`skills/work-with-alloy/SKILL.md`Behavioral instructions loaded into the agent's context at session start
MCP config`.mcp.json`Points the agent at `https://api.alloy.cx/mcp` with a bearer token

Requirements

  • An Alloy organization with an AI teammate and a minted PAT (see `hosted-mcp.md`)
  • An `ALLOY_TOKEN` environment variable set to that token

The plugin reads `ALLOY_TOKEN` at session start. If it is missing, the MCP connection will be skipped.

Installation

Claude Code

In Claude Code, add Alloy Marketplace and install the plugin:

```text /plugin marketplace add Alloy-Systems/alloy-marketplace /plugin install work-with-alloy@alloy-marketplace ```

After installation, restart Claude Code. Confirm the MCP is active:

```bash claude mcp list | grep alloy ```

Codex

Register Alloy Marketplace in Codex:

```bash codex plugin marketplace add Alloy-Systems/alloy-marketplace ```

Install `work-with-alloy` from the marketplace entry, then restart Codex to load the bundled `alloy` MCP server. Set the token in the host environment before starting Codex.

Skill behavior

The `work-with-alloy` skill activates automatically in every session where it is present. It:

  • reads `Organization/organization.md` and relevant `knowledge.md` files at startup
  • routes all durable notes, proposals, and artifacts to Alloy Storage rather than local files
  • logs created and updated docs to the user's artifact log
  • instructs the agent to write knowledge notes to Alloy

The skill description is intentionally written to trigger automatic use — no slash command is needed.

Token management

Tokens are created from the AI teammate's `PATs` tab in Alloy. Each token is shown only once at creation time.

To rotate a PAT: delete the old one from the tab, generate a new one, and update `ALLOY_TOKEN` in the environment.

See `hosted-mcp` for full token-management details.

Versioning

The plugin follows semantic versioning:

BumpMeaning
PatchWording fixes, clarity edits with no behavioral change
MinorNew guidance, new skill sections, additive changes
MajorBreaking path changes, rule removals, or structural rework

The marketplace installs the tagged release referenced in its catalog. A new plugin tag is not available through the marketplace until the catalog pin is updated.

Start building your AI team