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

# Workflow templates

> पुन: उपयोग करने योग्य prompts और loops से नए Arka tasks compose करें।

```bash theme={null}
arka template list
arka template show research_brief
arka template use research_brief --set topic="local LLM serving"
arka template use repo_release
```

Templates inspectable text हैं, छिपा हुआ agent behavior नहीं। Prompt templates
एक prompt produce करते हैं; loop templates एक command produce करते हैं जिसे आप review करके run कर सकते हैं।
एक template output को `arka iterate` में copy करके नया workflow बनाएँ,

तेज़, विशिष्ट scripts के लिए code starters भी उपलब्ध हैं:

```bash theme={null}
arka template list
arka template use python_cli --set description="CSV inspector" --out tools/inspect.py
arka template use api_health_check --set url="https://example.com/health" --out tools/health.py
arka template use data_pipeline --out tools/normalize.py
arka template use browser_smoke --out tests/smoke.py
arka template use walk_folder --set pattern="*.py" --out tools/list_python.py
```

`--out` किसी मौजूदा file को overwrite करने से इनकार करता है। Templates जानबूझकर
छोटे और inspectable हैं ताकि Arka उन्हें generated logic छिपाए बिना customize कर सके।

`walk_folder` starter डिफ़ॉल्ट रूप से एक folder को handle करता है और `--recursive` के साथ
nested folders को शामिल करता है:

```bash theme={null}
python tools/list_python.py src --recursive --pattern "*.py"
```

## स्वचालित prompt optimization

Arka AI routing को भेजे गए natural-language requests पर एक local, deterministic
pass स्वचालित रूप से लागू करता है। यह URLs, files, requirements या facts का आविष्कार किए
बिना objective और expected output को स्पष्ट करता है। Symbolic routing मूल पाठ रखता है,
और code blocks, JSON, shell commands और URLs अपरिवर्तित रहते हैं। जब सटीक
prompt text संरक्षित होना चाहिए तो `arka llm route "..." --skills "..." --no-optimize` का उपयोग करें,
या `ARKA_PROMPT_OPTIMIZE=0` को globally सेट करें।

`web_screenshot` और `browser_check` द्वारा कैप्चर किए गए screenshots डिफ़ॉल्ट रूप से अस्थायी होते हैं
और command exit होने पर साफ़ हो जाते हैं। जब बाद के निरीक्षण के लिए एक review artifact
रखा जाना चाहिए तो `--output` पास करें।
`arka loop`, या कोई अन्य skill।


## Related topics

- [Meme templates](/hi/guides/meme-templates.md)
- [Agent Teams](/hi/guides/agent-teams.md)
- [Agent Hub](/hi/guides/agent-hub.md)
- [Video बनाएं](/hi/guides/compose-video.md)
- [17 अगस्त, 2026 का सप्ताह](/hi/changelog/2026-08-17.md)
