> ## 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.

# 脚本理解记忆

> 让 Arka 记住它经常使用的脚本。

让 Arka 记住它经常使用的脚本：

```bash theme={null}
arka understand-script show scripts/build.py
arka understand-script remember scripts/build.py
arka understand-script list
```

Arka 会本地记录脚本的函数、导入、行数和 CLI 提示的摘要。之后的编码和路由任务可以直接使用这份摘要，而无需重新发现脚本结构。分析时不会执行脚本。「remember this script tools/build.py」这类自然语言也支持。


## Related topics

- [仓库依赖与优先级图](/cn/guides/repo-graph.md)
- [安装和构建 Arka 插件](/cn/guides/plugins.md)
- [使用 pytest 套件测试 Arka](/cn/guides/testing.md)
- [合成视频](/cn/guides/compose-video.md)
- [多提供商故障切换的 LLM 编排](/cn/concepts/llm.md)
