> ## 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).
> Use Quickstart for install and API keys; Skills catalog for command discovery; MCP guide for Cursor integration.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# Reverse-engineer a repository

> Turn local Git history and repository structure into a build-ready prompt.

```bash theme={null}
arka repo_reverse
arka repo_reverse ./project --commits 50 --output rebuild-prompt.md
arka "reverse engineer this repository"
```

Arka combines tracked files and recent Git evolution into an inspectable prompt
for rebuilding or onboarding to a codebase. It runs locally and does not upload
the repository.


## Related topics

- [Engineering loops](/guides/loop-engineering.md)
- [Repo health](/guides/repo-health.md)
- [Repository structure audit](/guides/structure.md)
- [Repository dependency and priority graph](/guides/repo-graph.md)
- [Voice control with wake word, STT, and TTS](/guides/voice.md)
