AI assistants
Your AI coding assistant can run cloud commands for you, but out of the box it
doesn’t know cloudhop: it reaches for aws --profile, guesses accounts, or
asks you to paste credentials. One command teaches it, for good:
cloudhop agent installPick your assistants, choose where to install, and you’re done. From then on, in any new chat, the assistant:
- Asks which alias to use before its first cloud command, showing you the
real list (alias, account and role, region). It never guesses. If the
project has a
.cloudhoprc, it offers that alias first, and still asks. - Checks the session first. If you need to sign in, it tells you to look at your browser instead of failing or retrying in a loop.
- Runs commands the cloudhop way:
hop <alias> ...for the AWS CLI andcloudhop exec <alias> -- ...for Terraform, CDK or scripts. - Confirms before changing anything, showing the alias, account, region and exact command, and takes extra care with production aliases.
- Never touches credentials: no access keys, no printing secrets, no
editing
~/.aws.
It also appears as the last, optional step of cloudhop setup, and in the
AI assistants section of cloudhop ui.
What gets installed
Section titled “What gets installed”Two pieces, and you can keep just the first one with --no-mcp:
- A skill: instructions in the open Agent Skills format (
SKILL.md), which all five assistants read. It is the same text for every assistant. - The cloudhop MCP server (
cloudhop mcp): tools the assistant can call directly. It is registered in each assistant’s MCP settings.
| Assistant | Skill (for you / this project) | MCP server (for you / this project) |
|---|---|---|
| Claude Code | ~/.claude/skills/cloudhop/ · .claude/skills/cloudhop/ |
claude mcp add --scope user · .mcp.json |
| Kiro | ~/.kiro/skills/cloudhop/ · .kiro/skills/cloudhop/ |
~/.kiro/settings/mcp.json · .kiro/settings/mcp.json |
| GitHub Copilot (VS Code) | ~/.copilot/skills/cloudhop/ · .github/skills/cloudhop/ |
code --add-mcp · .vscode/mcp.json |
| Cursor | ~/.cursor/skills/cloudhop/ · .cursor/skills/cloudhop/ |
~/.cursor/mcp.json · .cursor/mcp.json |
| Codex | ~/.agents/skills/cloudhop/ · .agents/skills/cloudhop/ |
~/.codex/config.toml · .codex/config.toml |
cloudhop only adds its own entry: other skills and MCP servers in those files stay as they are. If a settings file has comments (so it isn’t plain JSON), cloudhop leaves it alone and tells you what to add by hand.
For you or for this project? Install it for you to have it everywhere. Install it for this project to commit it with the repository: everyone on your team who opens the project gets the same instructions.
The MCP tools
Section titled “The MCP tools”| Tool | What it does | Changes anything? |
|---|---|---|
list_aliases |
Sources and aliases with their session state, plus the project’s .cloudhoprc and the alias your terminal uses, as hints |
No |
alias_status |
Which account an alias points to, and whether it can run now | No |
whoami |
Asks the cloud who the alias really is | No |
open_console |
Opens the AWS console in your browser as the alias, already signed in | No |
login |
Opens your browser to sign in and waits up to 5 minutes | Signs you in |
run_cloud_cli |
Runs the cloud CLI as the alias (like hop) and returns its output |
Can, so your assistant asks you first |
The MCP tools never open your browser on their own: if a session expired,
they say so and the assistant asks you before calling login. They refuse
--profile, and they never return credentials.
Staying up to date
Section titled “Staying up to date”The skill ships inside the cloudhop package, so it goes through the same review, tests and signed release as the code. You never download instructions from the internet at run time.
- After you upgrade cloudhop, the next
cloudhopcommand refreshes every skill it installed, and tells you in one line. If you edited a copy, cloudhop keeps your version;cloudhop agent update --forcereplaces it. - Once a day, cloudhop checks npm for a newer version and tells you
(
npm i -g cloudhop). It only reads the version number. Turn it off withCLOUDHOP_NO_UPDATE_CHECK=1; it is also off in CI and without a terminal.
Commands
Section titled “Commands”cloudhop agent # what is installed, for you and this projectcloudhop agent install # asks which assistants and wherecloudhop agent install --tools claude,kiro --scope project --no-mcpcloudhop agent update [--force] # refresh skills nowcloudhop agent remove [--tools codex] [--scope project]Restart the assistant or start a new chat after installing so it loads the skill.
Manual setup
Section titled “Manual setup”Prefer to do it yourself? Register the MCP server with cloudhop as the
command and mcp as the argument, for example:
{ "mcpServers": { "cloudhop": { "command": "cloudhop", "args": ["mcp"] } } }The skill text is what cloudhop agent install writes; copy it from any
installed SKILL.md.