hai-agents

hai-agents is a skill for Claude Code, Codex from hcompai/hai-agents-python. It costs 102 tokens per session (959 once invoked), scanned A, original, MIT.

A guide for delegating self-contained browser and research tasks to H Company’s remote computer-use agents. The agents browse and act on their own infrastructure rather than on the user’s computer.

In plain words
What is it for?
Use it to research across websites, extract information, navigate multi-step pages, and fill in or submit forms when the task is fully described.
Why use it?
It helps offload open-ended web work that requires navigation, multiple pages, form submission, or browser interaction.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to research across websites, extract information, navigate multi-step pages, and fill in or submit forms when the task is fully described.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hcompai/hai-agents-python/hai-agents
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hcompai/hai-agents-python --skill hai-agents
Clone the repo
git clone --depth 1 https://github.com/hcompai/hai-agents-python

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hai-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/hcompai/hai-agents-python/hai-agents/github.svg)](https://agentmods.dev/skills/hcompai/hai-agents-python/hai-agents)
Your own site
<a href="https://agentmods.dev/skills/hcompai/hai-agents-python/hai-agents"><img src="https://agentmods.dev/badge/skills/hcompai/hai-agents-python/hai-agents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hai-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/hcompai/hai-agents-python/hai-agents"><img src="https://agentmods.dev/badge/skills/hcompai/hai-agents-python/hai-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 959 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.00959
Opus 5.5 $0.00041 $0.00384
Sonnet 5.5 $0.00020 $0.00192
Haiku 4.5 $0.00010 $0.00096

Measured 18d ago against content hash 1794faf58f65, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hai-agents scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

User: *"is the H Company Agent API quickstart still showing the curl example"*
src/hai_agents_cli/host_skills/hai-agents/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

hai-agents

The hai-agents MCP server runs H Company's autonomous agents on H Company's infrastructure and streams back a single answer. You hand an agent a self-contained task; it opens its own browse-and-act loop in a remote browser and works until it has an answer, hits its step or time budget, or is cancelled. Nothing runs on the user's machine.

The agent is blind to this conversation. It sees only the task string, so fold in the context it needs: which site or source, what "done" looks like, the shape of the answer you want back. Keep the user's own action verbs and any literal text (search queries, message bodies) verbatim, since the agent grounds well on natural imperatives. Paraphrase by adding context, not by rewording.

Use it for open-ended work on the live web: finding and extracting information across pages, filling in and submitting forms, multi-step navigation behind logins the agent can perform, and research that needs a real browser. It is the wrong tool when the answer is already in your knowledge or a single fetch, when the job is local file, shell, or code work, or when the user wants something written or explained in the conversation rather than done on the web.

Tools

  • list_agents(page?, size?): agents the caller can run (their org's plus the public h/ ones). Pick the agent name from here.
  • run_agent(task, agent, max_steps?, max_time_s?, idempotency_key?): start a run. Returns either the final answer or a session handle { session_id, status, answer, done }.
  • wait_for_session(session_id, wait=True): long-poll a running session for its answer; wait=False returns the current snapshot without blocking.
  • send_message(session_id, message): steer a running session with a follow-up.
  • cancel_session(session_id): stop a run you no longer need.
  • share_session(session_id): get a public read-only URL for the run.
  • list_files(session_id, path="~/Downloads", ...), read_file(session_id, path), write_file(session_id, path, content_base64): files on the agent's browser machine, e.g. its downloads. These take the browser session id issued by env-manager, not the id run_agent returns.

Read the full file on GitHub · 47 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed · +1 lines 1794faf58f65
  2. 1mo ago Changed d23506a13612
  3. 1mo ago First seen · 46 lines · 102 tokens per session scan A 3391d279a9aa

Subscribe to this mod's changes

hai-agents is a skill published in the GitHub repository hcompai/hai-agents-python (44 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 959 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts with the existing agent-browser CLI, including screenshots and keyboard or interaction checks. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser automation.

compozy/compozy · 49 tokens