> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> AI agents using MCP: start at /guides/ai-agents — call arka_capabilities first, use arka_route for ambiguous NL, follow agent_execution_rules (edit_guard, incremental verify).
> Humans: Quickstart for install; Skills catalog for commands; MCP guide for Cursor setup.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# 在浏览器中打开 URL

> 从终端在默认浏览器中打开网站 —— YouTube、GitHub、Google 以及完整 URL。

无需离开终端，即可在系统默认浏览器中打开网站。

## 快速开始

```bash theme={null}
arka open youtube
arka open github.com
arka open https://news.ycombinator.com
arka browse google
open google in browser
```

## 站点别名

常见名称会自动映射到 URL：

| 名称                  | 打开                                                           |
| ------------------- | ------------------------------------------------------------ |
| `youtube`           | [https://youtube.com](https://youtube.com)                   |
| `google`            | [https://google.com](https://google.com)                     |
| `github`            | [https://github.com](https://github.com)                     |
| `reddit`            | [https://reddit.com](https://reddit.com)                     |
| `wikipedia`         | [https://wikipedia.org](https://wikipedia.org)               |
| `hackernews` / `hn` | [https://news.ycombinator.com](https://news.ycombinator.com) |

完整的 `https://` URL 以及 `domain.tld` 形式都可以直接使用。

Arka 会保留你提供的路径与查询参数。因此 `open https://example.com/docs?a=1`
会打开这个精确的 URL，而不会自行捏造一个新的。

自然语言示例：

```bash theme={null}
arka open this exact url https://example.com/docs?a=1
arka repair broken links in this file
```

## 与 play\_youtube 的区别

| 说法                          | 使用的技能               |
| --------------------------- | ------------------- |
| `arka open youtube`         | 在浏览器中打开 youtube.com |
| `arka play lofi on youtube` | YouTube 播放技能        |

Arka 会区分 **open**（浏览器）与 **play** / **watch**（媒体）。

## 命令

| 命令                          | 描述            |
| --------------------------- | ------------- |
| `arka open <site-or-url>`   | 在默认浏览器中打开     |
| `arka browse <site-or-url>` | 别名            |
| `open_url <target>`         | 直接调用的技能（fish） |


## Related topics

- [Kaggle 数据集](/cn/guides/kaggle.md)
- [书签管理器](/cn/guides/bookmarks.md)
- [AI 智能体指南 — 通过 MCP 使用 Arka](/cn/guides/ai-agents.md)
- [输出查看器](/cn/guides/output-viewer.md)
- [2026 年 7 月 13 日当周](/cn/changelog/2026-07-13.md)
