> For the complete documentation index, see [llms.txt](https://wiki.surge.community/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.surge.community/basic/xin-jian-fen-liu-gui-ze.md).

# 新建分流规则

\[打开Surge]->\[首页]->\[通用]->\[出站模式]->\[代理规则]->\[新增规则集]->\[远程链接或者本地文件名]\
\
更多远程分流规则可在[Github仓库分享](/github-cang-ku-fen-xiang.md)中获取\
\
更多关于规则的说明请看官方文档：\
\
[https://manual.nssurge.com/\ <br>](https://manual.nssurge.com/)<https://manual.nssurge.com/book/understanding-surge/cn/>\
\
提醒：请不要添加过多脚本、重写、以及分流。

常用分流规则仓库分享：[Github仓库分享](/github-cang-ku-fen-xiang.md)

返回导航页面：[目录导航](/mu-lu-dao-hang.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.surge.community/basic/xin-jian-fen-liu-gui-ze.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
