Skip to content
GuidesToolkitAPI

AI agents

Coding agents know the ArcGIS Maps SDK for JavaScript far better than expo-arcgis, so they tend to write @arcgis/core code. Two things help them write code for these packages:

  • the packages’ skills, which an agent loads when the task needs them;
  • the docs as text (llms.txt), for an agent or a chat that reads a URL.

There is a skill for each package. They follow the open Agent Skills format, which most coding agents read.

Skill What it covers
expo-arcgis Setup and the config plugin, maps and scenes, layers, graphics, geometry, editing, query, geocoding, routing, offline, real-time, authentication and 3D analysis.
expo-arcgis-toolkit The Toolkit’s components, the options of its config plugin, and what each platform has.

An agent reads each skill’s description at the start and loads the rest when the task matches. For the Toolkit, install both skills: it builds on expo-arcgis.

The skills are in the repository’s skills/ folder. Each npm package also ships its own skill, for the version you have installed.

Add the repository as a plugin marketplace, then install the plugins:

/plugin marketplace add alex-krassavin/expo-arcgis
/plugin install expo-arcgis@expo-arcgis
/plugin install expo-arcgis-toolkit@expo-arcgis

The Toolkit’s plugin depends on the core’s, so installing expo-arcgis-toolkit installs both. The same, from a terminal:

Terminal window
claude plugin marketplace add alex-krassavin/expo-arcgis
claude plugin install expo-arcgis-toolkit@expo-arcgis

Claude uses a skill on its own when the task matches it. You can also call one: /expo-arcgis:expo-arcgis or /expo-arcgis-toolkit:expo-arcgis-toolkit.

To get newer skills, run /plugin marketplace update expo-arcgis, or turn on auto-update for the marketplace in /plugin.

Add --scope project to both commands. Claude Code then records the marketplace and the plugins in the project’s .claude/settings.json. Commit it. Each teammate’s Claude Code adds the marketplace once they trust the folder, and each teammate runs the install command once:

Terminal window
claude plugin install expo-arcgis-toolkit@expo-arcgis --scope project

Codex, Cursor, Gemini CLI, GitHub Copilot and others

Section titled “Codex, Cursor, Gemini CLI, GitHub Copilot and others”

The skills command line installs both skills into the folders your agents read:

Terminal window
npx skills add alex-krassavin/expo-arcgis

It asks which skills to install and for which agents. To answer up front, name them:

Terminal window
npx skills add alex-krassavin/expo-arcgis --skill '*' --agent codex cursor gemini-cli github-copilot -y

The skills go into the project’s .agents/skills/, which these agents share. If you also pick Claude Code, the command links them into .claude/skills/. Add -g to install them for your user instead of the project. npx skills update updates them later.

The skills command sends anonymous install counts to skills.sh. Set DISABLE_TELEMETRY=1 to turn that off.

The npm packages ship their skills in node_modules, so an agent can get the skill of the version you use, not of the repository’s main branch. Install them from there:

Terminal window
npx skills add ./node_modules/expo-arcgis
npx skills add ./node_modules/expo-arcgis-toolkit

A local path sends no telemetry. Run the commands again after you update the packages.

An agent that only reads a folder needs the skill’s folder copied into it. A skill is its whole folder, SKILL.md and references/, under the skill’s own name:

Terminal window
mkdir -p .agents/skills
cp -R node_modules/expo-arcgis/skills/expo-arcgis .agents/skills/
cp -R node_modules/expo-arcgis-toolkit/skills/expo-arcgis-toolkit .agents/skills/

Where each agent looks:

Agent In the project For your user
Claude Code .claude/skills/ ~/.claude/skills/
Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, Windsurf, Amp, Goose, Roo Code, Junie .agents/skills/ ~/.agents/skills/
Cline .cline/skills/ ~/.cline/skills/
Kiro .kiro/skills/ ~/.kiro/skills/

The site also serves its pages as plain text, in the llms.txt format:

File What it has
/llms.txt An index: what the packages are, and a link to each part of the docs.
/llms-full.txt Every page: the guides, the samples and both API references.
/llms-small.txt The guides, the samples and the API indexes, without the page of each symbol.

Give an agent one of these URLs, for example as a docs source in Cursor, or paste it into a chat. The skills point to the docs for what they don’t cover.