---
title: "How to share a Claude Code artifact with a teammate who uses Codex or Cursor"
description: "Share Claude Code HTML artifacts with Codex or Cursor teammates. Compare public links, private access, repo files, and how agents retrieve the content."
canonical_url: "https://factrove.app/blog/share-claude-code-artifact-with-codex-teammate/"
author: "Tom"
date: "2026-10-22"
---
# How to share a Claude Code artifact with a teammate who uses Codex or Cursor

Here's the situation I keep landing in. Claude Code writes me a really good implementation plan as an HTML artifact. A developer on the team who works in Codex needs it, both to read it and to have their agent build from it. In the [words of one engineer on X](https://x.com/v3ec/status/2097528508180508747), I want "the best way to share html artifacts with my team that is independent of what agent created them."

There are two problems here, and most guides only cover the first. Your teammate has to be able to *open* it. Then their agent has to be able to *read* it.

What follows is what each option gives you, as of October 2026. Vendor sharing rules change every few months, so check the linked docs before you rely on any of this.

## The workflow I'd use when you share a repo

If your teammate already has access to the repo, this is the simplest route that works for both the person and the agent, whatever agent they use:

1. Have Claude Code write the plan to a named path instead of a temp directory: "write the plan to `docs/plans/payments-refactor.html`." The [Claude Code artifacts docs](https://code.claude.com/docs/en/artifacts) say it writes the page to a temporary directory unless you name a location.
2. Commit it and push.
3. Your teammate pulls and opens the file in their browser.
4. They give their agent the exact path, for example:

   ```text
   Read docs/plans/payments-refactor.html.
   Summarize step 2 and its dependencies before proposing changes.
   ```

Hosting is optional for this route. The agent reads the file from disk, so there's no login or link to get in the way. Asking for the summary first is a quick way to see what the agent actually got out of the HTML before it starts changing code.

If you're also moving an unfinished task, use [the Claude Code to Codex handoff](https://factrove.app/blog/claude-code-to-codex-handoff/) to carry decisions, test evidence and the next action. For the Cursor route, see [Claude Code to Cursor](https://factrove.app/blog/claude-code-to-cursor/).

## The options side by side

| Route | Who can open it | Needs repo access | How updates behave | Can their agent get to it |
| --- | --- | --- | --- | --- |
| File committed to the repo | Anyone with repo access | Yes | Each change is a commit; the teammate pulls | Yes, from disk |
| Claude Code artifact, shared in your org | Org members signed in to claude.ai | No | Updates in place; viewers see the version you pick in Share | Their Claude Code can, if it's shared with them. Other agents need a tool that's signed in to claude.ai |
| Claude Code artifact, public link | Official sign-in guidance conflicts; test the intended recipient's access | No | New publishes become versions; see the pinned-link issue below | Test retrieval in the recipient's actual agent setup |
| GitHub Pages | Public, unless you're on Enterprise Cloud | No | Updates when you publish from the repo | Public pages, yes. Private pages need their login |
| Drag-and-drop host (e.g. Netlify) | Anyone with the URL, unless you add protection | No | You redeploy by hand to the same site | Public pages, yes |

## Option 1: Claude Code's own artifacts

Claude Code can publish what it writes to a page on claude.ai. The [artifacts docs](https://code.claude.com/docs/en/artifacts) describe it as a private URL that "updates in place as the session continues." `Ctrl+]` reopens the latest one, your gallery is at `claude.ai/code/artifacts`, and `CLAUDE_CODE_ARTIFACT_AUTO_OPEN=0` stops the browser tab from popping open every time. You need a Pro, Max, Team or Enterprise plan and a session signed in with `/login`; the docs list the full requirements.

A new artifact is visible only to you. From the Share control in the page header you get two kinds of access:

- **Within your organization** (Team and Enterprise): viewers sign in to claude.ai as members of your org.
- **Publicly:** the official pages disagree about sign-in requirements; see the check below. On Team and Enterprise, an Owner must enable external sharing or allow the individual artifact. Verify access before promising an anonymous link.

So if your Codex-using teammate also has a seat in your Claude org, this is the easiest route for the human side, and it stays live as you iterate. If they don't, a public link is one route. On a company plan, ask an Owner or Primary Owner to allow it. On Pro and Max there is no organization audience, and an email invite (beta) is the other Claude-hosted option. When external sharing is off, neither of those is the only way out. That case is the next paragraph.

The [Help Center page on sharing artifacts](https://support.claude.com/en/articles/9547008-share-artifacts) covers every plan and every place you make artifacts: in a chat, from a template, and in Claude Code. It says a shared artifact still needs a Claude account, even with the link, except a legacy artifact published from a chat. The Claude Code docs say a public link needs no sign-in. For that conflict, and how to get an artifact out when external sharing is off, see [sharing a Claude artifact when external sharing is off](https://factrove.app/blog/claude-team-enterprise-external-sharing-off/#does-a-public-link-need-a-claude-sign-in-the-docs-disagree).

## Option 2: GitHub Pages or a drag-and-drop host

**GitHub Pages.** A docs folder published by Pages gives you a real URL that people outside the repo can open. That's what the person in that X post settled on: "private GitHub pages. So simple!" One catch: private Pages visibility is a GitHub Enterprise Cloud feature ([GitHub docs](https://docs.github.com/en/enterprise-cloud@latest/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site)). On other plans a Pages site is public to anyone who finds the URL.

**A drag-and-drop host** (Netlify Drop, tiiny.host, any of the "share your Claude artifact" sites). It's fast, and a non-technical client can open the link. Updating doesn't have to mean a new link. On Netlify you can [drag the updated folder onto the existing site's Deploys page](https://docs.netlify.com/deploy/create-deploys/), and the new production deploy becomes what the site's main URL serves. Only the per-deploy permalinks are frozen: the [deploy overview](https://docs.netlify.com/deploy/deploy-overview/) says the content at a permalink "never changes." The real cost is that someone has to remember to republish by hand after every change to the plan. And unless you set up protection, the page is public to anyone who gets the URL.

For a self-contained HTML plan, one manual route is:

```bash
mkdir -p artifact-share
cp docs/plans/payments-refactor.html artifact-share/index.html
```

Sign in to the intended Netlify team, open [Netlify Drop](https://app.netlify.com/drop), and upload the `artifact-share` folder. Check the project's visibility, then test the resulting URL as the intended recipient and from their agent. For an update, replace `index.html` and upload that folder on the existing project's Deploys page.

This hosts the static page. If the original depends on Claude connectors or other account-backed features, ask for a self-contained snapshot first.

## The part most guides skip: the teammate's agent

Say the link works and your teammate has read the plan. Now they type into Codex: "implement step 2 of the payments plan." What does Codex actually see?

It depends on the agent's tools, not only on whether the link is public. A normal URL fetch won't carry your teammate's login, so a private or org-only claude.ai page usually won't come through that way. Some setups do have signed-in access: the artifacts docs say a teammate's own Claude Code can read an artifact shared with them if they give it the URL, and some agents can drive a signed-in browser. Retrieval tools also differ in what they hand back. Claude Code, per the same docs, gets a summary of the page and saves the full source to a local file. Other tools return the raw HTML or extract the text.

So don't assume. Test access from your teammate's actual agent setup, not yours. And if anything is unclear, the repo file is the dependable fallback: every agent can read a file on disk. (Raw HTML costs tokens for the styling. I go through that trade-off in [HTML for humans, Markdown for agents](https://factrove.app/blog/html-for-humans-markdown-for-agents/).)

## Check it before you send it

Before you tell a teammate "it's in the link", check three things:

1. **The intended person can open it**, signed in the way they normally are. A private browser window only tests signed-out access, not what an org member sees. It does not prove a public link opens without an account; the official pages disagree.
2. **Their agent can get the relevant content.** Have them ask it something specific from the plan, like the dependencies of step 2, and compare the answer with the page.
3. **Both see an update.** Change one small detail, republish, and confirm the person and the agent both see the new version, not a cached or pinned one.

## One instruction file for every agent

Add one rule to `AGENTS.md` so whichever agent opens the repo knows where plans live:

```markdown
## Plans and reports
- Plans and reports live in docs/plans/ as HTML. docs/plans/README.md lists
  each file with a one-line description.
- When a task mentions a plan, read it from there before starting.
  Ignore styling; follow the headings, lists and tables.
```

Codex reads `AGENTS.md` automatically ([OpenAI's docs](https://learn.chatgpt.com/docs/agent-configuration/agents-md)). Cursor supports it as a plain-Markdown alternative to `.cursor/rules`, and combines nested `AGENTS.md` files with their parents ([Cursor's rules docs](https://cursor.com/docs/rules)).

Claude Code is the one to check. Per the [Claude Code memory docs](https://code.claude.com/docs/en/memory), reading `AGENTS.md` directly needs v2.1.277 or later, and by default Claude reads it only when there's no `CLAUDE.md`, `.claude/CLAUDE.md` or `CLAUDE.local.md` in your working directory or above it. So if your project already has a `CLAUDE.md`, Claude reads that and skips `AGENTS.md`. A personal `CLAUDE.local.md` counts too.

The fix the docs give is an import. For a root `AGENTS.md`, use `@AGENTS.md` in a root `CLAUDE.md`. If your wrapper is `.claude/CLAUDE.md`, use `@../AGENTS.md` instead.

```markdown
@AGENTS.md
```

Put Claude-specific guidance in `.claude/rules/`; Cursor also reads a root `CLAUDE.md`.

If `/config` uses `managed-only`, change that setting if permitted or ask the administrator managing it. Start a new session, run `/context`, and ask Claude to name one exact rule from the shared `AGENTS.md` before it edits.

The docs say keeping the import never makes Claude read `AGENTS.md` twice. Then confirm it actually loaded: run `/context` in your next session and check that `CLAUDE.md` appears under Memory files. To check whether Claude read an `AGENTS.md` directly, the docs say to run `/memory` and look for its path (on versions before v2.1.280, `/memory` and `/context` didn't list it, so ask Claude what its project instructions say).

I compared what each agent reads, and the `CLAUDE.local.md` trap, in [AGENTS.md vs CLAUDE.md: which file each agent reads](https://factrove.app/blog/agents-md-vs-claude-md/).

## Troubleshooting Claude artifact links

Three issue reports in Anthropic's tracker are worth knowing before you promise a teammate a link:

1. **"This version can't be shared publicly."** [Issue #79824](https://github.com/anthropics/claude-code/issues/79824) reports it sticking even after republishing and on new artifacts.
2. **A generic error on public share while private viewing works.** [Issue #81410](https://github.com/anthropics/claude-code/issues/81410) was closed automatically for inactivity, not fixed. Before that, a commenter posted a bisection showing that a single `data:image/svg+xml` URI in the page's CSS was enough to block public sharing. If you inline icons as `data:` URIs, try stripping them first.
3. **The public link stuck on an old version.** In [issue #82820](https://github.com/anthropics/claude-code/issues/82820), republishing creates a new version, but "the publicly shared link keeps resolving to the old pinned version." The reporter's workaround is to switch access to private, pick Latest, then switch back to public, by hand after every redeploy. A later commenter adds that on Pro and Max even that doesn't work, because there's no organization audience to switch to. Unlike a Netlify redeploy, this one really does freeze the link.

## When the repo is enough, and what I'm building

For a team that shares a repo, the committed file is often all you need. "Every update is a commit" is usually a plus for implementation plans: you get history, review, and the plan moves with the branch it describes. A hand-kept `docs/plans/README.md` index is a maintenance risk, not a sure failure. If someone owns it, or the agent updates it as part of writing a plan, it stays useful.

Where it gets awkward is people outside the repo, and keeping the human link and the agent's copy the same thing. That's what I'm building Factrove for. The idea: publish an artifact once, then hand out the same ID to whoever needs it. A person opens it as a page. An agent, whichever vendor's, fetches it as Markdown.

The Markdown half exists and runs on my machine. `pnpm factrove get <id> --format markdown` converts a stored HTML artifact on request, keeping headings, lists, tables, code and links. It isn't released, and the command will probably change. The rest is planned, not built: links you can send to someone outside your machine, optional passwords on them, and a `factrove.md` index in the repo so agents can find artifacts by ID. I'll write up each one when it actually works.

If you're on a team where people use different agents, I'd like to hear how you handle this today. Even "we paste it into Slack and hope" is useful.

---

*Factrove is early and not available yet. [Follow me on X](https://x.com/thetomweiss) for rough builds as they land. The `pnpm factrove get` command above is real and runs on my machine today; its name and flags may change before release. Read the [planned artifact workflow](https://factrove.app/#how) or [join the waitlist](https://factrove.app/#access).*
