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.
The skills
Section titled “The skills”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.
Claude Code
Section titled “Claude Code”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-arcgisThe Toolkit’s plugin depends on the core’s, so installing expo-arcgis-toolkit installs both. The
same, from a terminal:
claude plugin marketplace add alex-krassavin/expo-arcgisclaude plugin install expo-arcgis-toolkit@expo-arcgisClaude 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.
For a team
Section titled “For a team”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:
claude plugin install expo-arcgis-toolkit@expo-arcgis --scope projectCodex, 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:
npx skills add alex-krassavin/expo-arcgisIt asks which skills to install and for which agents. To answer up front, name them:
npx skills add alex-krassavin/expo-arcgis --skill '*' --agent codex cursor gemini-cli github-copilot -yThe 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 skill of your installed version
Section titled “The skill of your installed version”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:
npx skills add ./node_modules/expo-arcgisnpx skills add ./node_modules/expo-arcgis-toolkitA local path sends no telemetry. Run the commands again after you update the packages.
Copy the folders
Section titled “Copy the folders”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:
mkdir -p .agents/skillscp -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 docs as text
Section titled “The docs as text”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.