# Another agent

Choose a connection your runtime supports to pass saved keys to commands and request approved details.

### Read a web page

Read the linked skill and follow its connection steps if your runtime can execute commands. An example user request follows.

```text
Read https://asecret.sh/skill.md, then keep my API keys in aSecret.
```

### Run commands

Install the CLI, connect, and install the skill in your runtime. When `asecret add` finds no agent it knows, it saves the skill to the shared `~/.config/agents/skills` folder, which many agents read.

```sh
npm i -g @asecret/cli && asecret connect && asecret add
```

### MCP

Install the CLI and connect, then add `asecret-mcp` to your MCP host's settings. `asecret mcp --print` prints the entry.

```json
{
  "mcpServers": {
    "asecret": { "command": "asecret-mcp" }
  }
}
```

### Code

Encrypt with `@asecret/sdk/crypto` and call the API at `https://api.asecret.sh/v1`. The protocol says what each call takes. [Protocol](https://asecret.sh/docs/protocol)

Then keep a copy of the key: `asecret key --export --out asecret-key.json`. Something not working? See [Support](https://asecret.sh/docs/support).
