hai-agents skill teaches it H’s APIs, so instead of guessing at endpoints it scaffolds working sessions, agents, and environments from a plain-language prompt.
The same SKILL.md works in Claude Code, Cursor, VS Code, Hermes, claude.ai, and the Claude API; only the install step differs. It ships from the hcompai/computer-use-agents-demos repo, which also publishes it as a Claude Code plugin (marketplace hai-skills).
hcompai/computer-use-agents-demos/skills/hai-agents
The skill’s source on GitHub:
SKILL.md plus the reference docs Claude loads. Start here.What your assistant learns
Once active,hai-agents gives your assistant grounded knowledge of:
| Area | Coverage |
|---|---|
| Portal | Auth, organizations, invitations, billing, and API-key management, including an automated login script that writes your key into .env. |
| Agent platform | Sessions, agents, skills, environments, vaults, and /changes long-polling, the building blocks in this guide. |
| SDKs | The hai-agents Python and TypeScript clients: run_session / runSession, session handles, events, and error classes. |
| Agent View | The run-replay workflow for reviewing and sharing what an agent did. |
hk-... keys pulls it in without you naming it.
Install
- Claude Code
- Cursor
- Hermes
Register the marketplace, then install the skill in any Claude Code session:
/plugin is a built-in Claude Code command that opens an interactive menu. Type it directly in your prompt. The marketplace must be added first, otherwise hai-skills is unknown.Build a use case
With the skill installed, describe the workflow you want in plain language and let your assistant scaffold it against the live APIs. For example:❯ /hai-agents:hai-agents “Add one iPhone 17 Pro to my Amazon.com cart”Because the skill knows the session lifecycle, region defaults, and SDK surface, the code it produces uses the right endpoints and helpers instead of hand-rolled HTTP. It scaffolds TypeScript or Python. Here it builds a TypeScript availability check from a single prompt:
❯ /hai-agents:hai-agents “Generate TypeScript code that navigates to jacquemus.com, finds the France × Nike football jersey, and checks its availability in sizes S and XXL.”
examples/product_availability/src/index.ts (TypeScript)
Get your API key first at platform.hcompany.ai/settings/api-keys (see Authentication); the skill’s bundled login script can also fetch and store it for you.
Next steps
Quickstart
Run your first session end to end in under 5 minutes.
SDKs
The typed Python and TypeScript clients and CLI the skill builds on.
Skills
Reusable instruction fragments you attach to a running agent.
Demos repo
More recipes: QA via CLI, schema-driven extraction, counterfeit detection.